W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2009

[Bug 6131] [XPath 2.1] Requirement: context-free paths

From: <bugzilla@wiggum.w3.org>
Date: Wed, 08 Jul 2009 23:18:34 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MOgPK-0001l3-1b@wiggum.w3.org>

--- Comment #10 from Michael Kay <mike@saxonica.com>  2009-07-08 23:18:33 ---
>Is there any particular reason why allowing an URILiteral wherever a NCName prefix would be allowed wouldn't work?

It feels rather error-prone to me: even if it's not technically ambiguous there
would be very similar constructs with very different meanings, resulting in
poor error messages. For example mistyping the ";" as a ":" in 

$a:="fred";if (f($a)) then 1 else 0

would not hit an error until the keyword "then" is encountered.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 8 July 2009 23:18:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:27 UTC