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
Message-Id: <E1EeBJ8-000087-R9@wiggum.w3.org>


           Summary: fn:id and fn:idref are not affected by ordering mode
           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 

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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:26 UTC