[Bug 29501] New: [xp31] Colon is not in the list of non-terminal symbols

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29501

            Bug ID: 29501
           Summary: [xp31] Colon is not in the list of non-terminal
                    symbols
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The list of non-terminal symbols in A.2.2 does not include colon, which is
present in the syntax of MapConstructor.

It would seem to make sense to make it a delimiting terminal symbol, and to
treat it like "." and "-" as an exception case (see last para of the section)
where a symbol separator is needed if the character follows an NCName. Whether
it also needs a symbol separator if it follows a prefixed QName is an open
question.

These choices would invalidate a number of test cases recently added to the
MapConstructor test set: for example MapConstructor-029 uses map{*:b:b} where
not only the parser but also the human reader can otherwise be easily misled
into an incorrect reading.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 23 February 2016 16:34:15 UTC