RE: XPath 2.0 -- StepExpr question

> The August WD has changed the description of StepExpr (Section
> 3.2.1) so that PrimaryExpr is now possible.  Does this mean 
> that a PathExpr like:
> 
>              A/B/3.14159
> 
> is legal? 

It's legal in the grammar, but it's a type error. Just like:

               A | B | 3.14159

which is grammatically legal, but a type error, in XPath 1.0.

Michael Kay

Received on Monday, 23 September 2002 12:37:45 UTC