W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2005

[Bug 2542] fn:id and fn:idref are not affected by ordering mode unordered

From: <bugzilla@wiggum.w3.org>
Date: Mon, 21 Nov 2005 13:02:06 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EeBJ8-000087-R9@wiggum.w3.org>

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

           Summary: fn:id and fn:idref are not affected by ordering mode
                    unordered
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: rittinge@in.tum.de
         QAContact: public-qt-comments@w3.org


In http://www.w3.org/TR/xquery/#id-unordered-expressions the ordering mode 
``unordered'' changes the order of most XQuery constructs returning a sequence 
of nodes (path steps, union, except, and intersect) to an implementation 
dependent order.

The only other XQuery expressions, that also return a sequence of nodes, are the 
two functions fn:id (http://www.w3.org/TR/xpath-functions/#func-id)and fn:idref 
(http://www.w3.org/TR/xpath-functions/#func-idref).

In the current version they return their result always in document order.

I would, however, expect their result to be in an implementation dependent 
order, whenever the ordering mode is ``unordered'', as well.
Received on Monday, 21 November 2005 13:02:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:42 GMT