W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2002

RE: XPath 2.0 -- StepExpr question

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 23 Sep 2002 18:37:38 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453DBA9@daemsg02.software-ag.de>
To: Jeff Kenton <jkenton@datapower.com>, public-qt-comments@w3.org

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:23 GMT