W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2017

[Bug 30105] New: [xslt30ts] X/copy-of() and X/snapshot() - order of results

From: <bugzilla@jessica.w3.org>
Date: Sat, 29 Apr 2017 19:46:30 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30105-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=30105

            Bug ID: 30105
           Summary: [xslt30ts] X/copy-of() and X/snapshot() - order of
                    results
           Product: XPath / XQuery / XSLT
           Version: Proposed Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

We have some 15 tests that use a path expression ending in /snapshot(), and
some 69 tests that use a path expression ending in /copy-of(), and in nearly
all these cases we assume that the result of X/snapshot() or X/copy-of() will
correspond with the order of X nodes. However, as we point out in a note in
19.7 of the spec, there is no guarantee of this: the order of nodes in the
result of an expression such as X/snapshot() is completely unpredictable.

Example: test square-array-019

(I am currently puzzling about why Saxon-HE is returning these results in a
different order from Saxon-EE. That's an internal problem, but it exposed the
fact that the tests are making unwarranted assumptions.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 29 April 2017 19:46:38 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 29 April 2017 19:46:39 UTC