W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2002

restricted use of Dot and DotDot

From: Michael Dyck <MichaelDyck@shaw.ca>
Date: Fri, 25 Jan 2002 00:21:28 -0800
To: www-xml-query-comments@w3.org, www-xpath-comments@w3.org
Message-id: <3C511588.D995724D@shaw.ca>
XQuery 1.0: An XML Query Language
W3C Working Draft 20 December 2001
and
XML Path Language (XPath) 2.0
W3C Working Draft 20 December 2001

Is there any reason why the syntax disallows (e.g.)
                ..[whatever]
but allows
              (..)[whatever]
and
    parent::node()[whatever]
?

That is, why is DotDot an entire step (with no opportunity for
StepQualifiers), rather than an alternative to 'Axis NodeTest'?

Ditto all the above for Dot.

-Michael Dyck
Received on Friday, 25 January 2002 05:39:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:54 GMT