[Bug 27681] New: [XP31] Unary lookup operator equivalence

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

            Bug ID: 27681
           Summary: [XP31] Unary lookup operator equivalence
           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

Section 3.11.3.1 states:

If the context item is an array, the UnaryLookup operator is equivalent to the
following expression:

for $k in 1 to array:size(.)
return .($k)

This statement follows the conditional "If the KeySpecifier is not a wildcard
("*")", and I guess it is intended to be subject to that conditional, though
this is ambiguous. In fact the equivalence holds only when the KeySpecifier is
a wildcard; and is restated later in the section for that case.

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

Received on Sunday, 21 December 2014 00:35:27 UTC