- From: <bugzilla@jessica.w3.org>
- Date: Fri, 28 Mar 2014 07:28:46 +0000
- To: public-qt-comments@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: 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"/>
</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.
Received on Friday, 28 March 2014 07:28:48 UTC