This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 30052 - [FO31]Markup in xml-to-json example is not well-formed
Summary: [FO31]Markup in xml-to-json example is not well-formed
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Proposed Recommendation
Hardware: PC Windows NT
: P2 editorial
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2017-01-21 18:32 UTC by Martin Honnen
Modified: 2017-02-01 08:33 UTC (History)
1 user (show)

See Also:


Description Martin Honnen 2017-01-21 18:32:51 UTC
The section has the last paragraph saying

The input <map xmlns=""><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.
Comment 1 Michael Kay 2017-02-01 08:33:51 UTC
Thank you.

Corrected in both the F+O and XSLT versions of the spec.