W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2014

[Bug 25187] New: [XSLT30] Stylesheet for converting XML to JSON has static errors

From: <bugzilla@jessica.w3.org>
Date: Fri, 28 Mar 2014 07:28:46 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25187-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 25187
           Summary: [XSLT30] Stylesheet for converting XML to JSON has
                    static errors
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mmh@docufy.de
        QA Contact: public-qt-comments@w3.org

The stylesheet presented at
http://www.w3.org/TR/xslt-30/#xml-to-json-stylesheet has some simple errors:

It says:

<xsl:param name="j:array-separator" as="xs:string" select="$j:comma"/>

but $j:comma does not exist, it was probably meant to be $j:entry-separator

It says:

<xsl:template name="j:map-separator">
  <xsl:value-of select="$j:map-separator"/>

but the definition of $j:map-separator is missing and might be 

<xsl:param name="j:map-separator" as="xs:string" select="$j:entry-separator"/>

It uses:

<xsl:call-template name="j:entry-separator"/>

but that template is not (yet) defined. It might be

<xsl:template name="j:entry-separator">
  <xsl:value-of select="$j:entry-separator"/>

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 28 March 2014 07:28:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:46 UTC