[Bug 29790] New: [xslt30] Sample stylesheet for xml-to-json conversion uses a reserved namespace

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

            Bug ID: 29790
           Summary: [xslt30] Sample stylesheet for xml-to-json conversion
                    uses a reserved namespace
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

At some stage we changed the namespace used for elements in the "xml
representation of JSON" schema to use the standard F+O namespace. We then
changed the stylesheet for xml-to-json transformation accordingly. A
consequence of this change is that the stylesheet now has used-defined
functions in the F+O namespace, which is not allowed (the namespace is
reserved).

Also the following sentence in the spec (ยง22.4) is no longer true: 

This stylesheet includes a function j:xml-to-json which, apart from being in a
different namespace, is functionally identical to the xml-to-json function
described in the previous section.

The j:xml-to-json namespace is currently in the same namespace as the standard
fn:xml-to-json function.

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

Received on Tuesday, 23 August 2016 20:57:37 UTC