W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2014

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 21 Dec 2014 00:35:26 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27681-523@http.www.w3.org/Bugs/Public/>

            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 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:52 UTC