[Bug 5355] [XQuery] PITarget string literals should follow NCName rules

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

           Summary: [XQuery] PITarget string literals should follow NCName
                    rules
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: jim.melton@acm.org
         QAContact: public-qt-comments@w3.org


Bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=5269 observed that certain
syntactically correct XQuery expressions could not be represented in XQueryX.
An example is the expression: $e/processing-instruction("123ncname")

The PITarget is a string literal whose value does not correspond to the XML
rules for processing instruction targets, which require them to be NCNames. 
The XML Query WG believes that the proper solution to this report is to process
an erratum to XQuery that requires such string literals to have values that
conform to the rules for NCNames.

Received on Friday, 11 January 2008 00:26:25 UTC