W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

[Bug 28179] [F+O 3.1] handling of numbers in json-to-xml() is underspecified

From: <bugzilla@jessica.w3.org>
Date: Wed, 11 Mar 2015 12:24:44 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28179-523-zHXZy9bYbr@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
This was accepted by the WG on 10 Mar 2015, and has been applied to the spec.

Specifically: json-to-xml() retains the lexical form of the number in the
string value of the generated node (except when the XDM implementation
reconstructs the string value from the typed value). xml-to-json()starts with
the typed value of the node, or converts the string value to xs:double, and
then outputs the result of casting this xs:double to xs:string.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 11 March 2015 12:24:46 UTC

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