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

[Bug 21619] wrong results when handeling -0 negativeZero

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Apr 2013 16:28:01 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-21619-523-PNcVmxuNHV@http.www.w3.org/Bugs/Public/>

--- Comment #7 from Michael Kay <mike@saxonica.com> ---
>The correct results should only contain 0, without the minus.

No, that's wrong. As I explained in comment 3 these tests are returning the
original element from the input XDM instance, which contains the text node

One *could* justify returning "0" as an alternative, on the theory that 

"If an implementation stores only the typed value of an element, it may use any
valid lexical representation of the typed value for the string-value property."

(XDM 3.0 section 6.2.4)

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 10 April 2013 16:28:05 UTC

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