W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2017

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 21 Jan 2017 18:32:51 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-30052-523@http.www.w3.org/Bugs/Public/>

            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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:03 UTC