[Bug 29178] New: [XSLT30] (editorial) texts says json-to-xml returns a map

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

            Bug ID: 29178
           Summary: [XSLT30] (editorial) texts says json-to-xml returns a
                    map
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 5 October 2015 21:42:19 UTC