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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25187

            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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

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"/>
</xsl:template>

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"/>
</xsl:template>

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

Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25187

Abel Braaksma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Abel Braaksma <[hidden email]> ---
Thanks for your bug report (I believe you are Michael Müller-Hillebrand from
the xsl list). Your report led me to a few other issues, please see bug 25196
also, the two are dependent on each other.

--
You are receiving this mail because:
You are the QA Contact for the bug.
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25187

Michael Kay <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Michael Kay <[hidden email]> ---
This is overtaken by events, we have rewritten the stylesheet.

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