This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Under Section 22.2 fn:json-to-xml we write the following example: <quote> The expression json-to-xml('{"x": "\\", "y": "\u0025"}') returns one of the following: <map xmlns="http://www.w3.org/2013/XSL/json"> <string key="x">\</string> <string key="y">%</string> </map> or map{"x": "\","y": "%"}. </quote> It is about the last part: > or map{"x": "\","y": "%"}. But the signature of fn:json-to-xml only allows returning a document node. I don't think we allow it to return a map.
Note also that the namespace http://www.w3.org/2013/XSL/json needs updating.
The changes have been applied (the examples have been refreshed from the XPath 3.1 version of the specification).