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

RE: Incompatibilities XPath 1.0 vs 2.0?

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Tue, 8 Jan 2002 11:49:36 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210622B8D1@softwareag.com>
To: "'Michael Dyck'" <MichaelDyck@shaw.ca>, "Kay, Michael" <Michael.Kay@softwareag.com>
Cc: www-xpath-comments@w3.org
> "Kay, Michael" wrote:
> > 
> > [Incidentally, since we go out of our way to mention the 
> need to sometimes
> > put a space before "-" to stop it being swallowed as part 
> of a name, we
> > ought to say the same about "."].
> 
> Except that I don't think there's a context in which a "." can legally
> follow a name, so there's no ambiguity.
> 

What about
  $a div .

the "div" here is an operator, but if it's written
  $a div.

then the "div." will be tokenized as a single token and a parse error will
result.

Mike Kay
Received on Tuesday, 8 January 2002 05:49:42 GMT

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