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

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

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