[Bug 28701] New: Use of NCName in KeySpecifier underspecified?

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

            Bug ID: 28701
           Summary: Use of NCName in KeySpecifier underspecified?
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: pwalmsley@datypic.com
        QA Contact: public-qt-comments@w3.org

The meaning of using an NCName as a KeySpecifier feels underspecified to me.  

It says "If the KeySpecifier is not a wildcard ("*"), the semantics of the
UnaryLookup operator are as follows: Let KS denote the items in the sequence to
which the KeySpecifier evaluates."

If KeySpecifier is an NCName, for example ?foo, what are "the items in the
sequence to which the KeySpecifier evaluates"? 

It seems clear from the examples that that NCName foo would result in KS being
a single xs:string value ("foo"). But should the spec rely on examples to show
the intent?  Or maybe I'm missing something?

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

Received on Tuesday, 26 May 2015 15:21:47 UTC