This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The published xml-to-json.xsl stylesheet in Appendix B2 contains an error. The xsl:package element specifies default-mode="j:xml-to-json" but there is no xsl:mode declaration for this mode. By default, declare-packages="yes", so all mode names in the stylesheet must be explicitly declared. Workaround: add an xsl:mode declaration <xsl:mode name="j:xml-to-json"/>
Covered by draft erratum E30