[Bug 30052] New: [FO31]Markup in xml-to-json example is not well-formed

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

            Bug ID: 30052
           Summary: [FO31]Markup in xml-to-json example is not well-formed
           Product: XPath / XQuery / XSLT
           Version: Proposed Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: martin.honnen@gmx.de
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

The section
https://www.w3.org/TR/2017/PR-xpath-functions-31-20170117/#func-xml-to-json has
the last paragraph saying

The input <map xmlns="http://www.w3.org/2005/xpath-functions"><number
key="Sunday">1</number><number key="Monday">2</string></map> produces the
result {"Sunday":1,"Monday":2}. 


That markup is not well-formed, it should be <number key="Monday">2</number>
for the second child element.

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

Received on Saturday, 21 January 2017 18:33:01 UTC