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 28172 - [F+O 3.1] Spec of json-to-xml() says nothing about the choice of namespace prefixes
Summary: [F+O 3.1] Spec of json-to-xml() says nothing about the choice of namespace pr...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 09:32 UTC by Michael Kay
Modified: 2016-12-16 19:55 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2015-03-09 09:32:22 UTC
The specification of json-to-xml() says that it returns elements in the namespace http://www.w3.org/2005/xpath-functions/json but says nothing about the namespace prefix to be used on these elements.

By analogy with fn:analyze-string, the prefix should be implementation-dependent.

I think this is the implication of the current spec if we say nothing, but it's better to be explicit.
Comment 1 Michael Kay 2015-03-11 12:21:46 UTC
This was accepted by the WG on 10 Mar 2015, and has been applied to the spec.