[Bug 5269] [XQueryX] No way to represent K2-NameTest-21 in XQueryX

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


jim.melton@acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #3 from jim.melton@acm.org  2007-11-17 00:24 -------
I have to agree with Mike Kay.  Although the query you cited is syntactically
valid XQuery, it is not really valid XQuery as it is guaranteed to produce a
dynamic error.  (And, by the way, a conforming processor might be able to
detect that the query will fail at runtime because of the obviously
inappropriate literal string value, in which case that processor can raise the
dynamic error at "analysis" time.)

I see no reason to modify the XQueryX specification specifically to allow
invalid queries to be represented. 

Received on Saturday, 17 November 2007 00:24:52 UTC