Re: [xsl] Complete list of processor-specific capabilities in XPath 2.0?

Subject: Re: [xsl] Complete list of processor-specific capabilities in XPath 2.0?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Apr 2008 19:09:46 +0100
> 1. Evaluating the range expression in an XPath "some" expression is
> 2. Evaluating the range expression in an XPath "every" expression is

It's misleading to single out specific expressions. It's a general
feature of xpath that if a system can deduce that it has evaluated the
only possible non-error value, it may (or may not)  return that value
rather than have to evaluate an arbitarily large mount of data to check
for errors. So more or less any xpath expression may or may not generate
an error depending on processor behaviour.

> 3. A processor that is not schema-aware will not support these
> functions:
> 
>    - schema-element()
>    - element()
>    - attribute()

they are not functions but node tests, and the second two may be used in
all processors not just schema-aware one, in their no or one argument forms.



> What else?



search the spec for the many instances of "implementation-defined" or
"implementation-dependent" 

also see.

http://www.w3.org/TR/xpath20/#id-impl-defined-items



David

Current Thread