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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6131





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