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

[Bug 26859] orderBy63 may not test intended error conditions

From: <bugzilla@jessica.w3.org>
Date: Fri, 14 Nov 2014 10:00:47 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26859-523-VjC1pDVae4@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I don't think the proposed change helps much. An implementation can still
determine that xs:decimal(.) contributes nothing to the sorting. A better fix
would be one where the test is made error-free. Perhaps 

            for $x in NegativeNumbers/*
            order by (if name(.) = 'orderData' then $x else -$x)
            return $x)

which produces different results depending on the context item used to evaluate

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 14 November 2014 10:00:48 UTC

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