[Bug 21619] wrong results when handeling -0 negativeZero

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21619

--- 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
"-0".

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