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

RE: syntax-error expression as example of lexical structure?

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 22 Apr 2002 22:22:50 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602679D55@daemsg02.software-ag.de>
To: "'Oleg Tkachenko'" <olegt@multiconn.com>, www-xpath-comments@w3.org
Thanks. We've already changed this for the next draft. We won't be
disambiguating the two cases using a space, but using parentheses, so you
write (/) div foo. (This ambiguity actually exists at XPath 1.0, though it
went largely unnoticed, and the solution is the same).

Michael Kay

> -----Original Message-----
> From: Oleg Tkachenko [mailto:olegt@multiconn.com]
> Sent: 21 April 2002 10:52
> To: www-xpath-comments@w3.org
> Subject: syntax-error expression as example of lexical structure?
> 
> 
> Hello there!
> 
> WD-xpath20-20011220, A.3 Lexical structure, last bullet:
> 
> "A space may be significant after "/" or "//", in order to 
> distinguish, 
> for instance "//div" and "// div foo" without lookahead."
> 
> I believe "// div foo" is syntax-error expression and should 
> not be used 
> as usual example without some special notification, because it may be 
> confusing to readers. Isn't "/ div foo" a better example?
> 
> -- 
> Oleg Tkachenko
> Multiconn International, Israel
> 
Received on Monday, 22 April 2002 16:22:59 GMT

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