[Bug 25196] [XSLT30] Availability of the xml-to-json packages

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

Michael Kay <mike@saxonica.com> changed:

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

--- Comment #3 from Michael Kay <mike@saxonica.com> ---
The WG was generally happy with the text that appears in the current editor's
draft. But there was a feeling that the xml-to-json stylesheet should be a
package, and that we should require implementations to support xsl:use-package
specifying the relevant package name.

This in turn led to a discussion about the use of static variables in packages.
This stylesheet uses two static parameters INDENT and VALIDATION, and these
parameters need to be supplied at package compile time. As a result, there will
be multiple versions of the "compiled package" with different settings for
these parameters. One would expect an xsl:use-package declaration to be able to
say which of these versions it wants. (Perhaps this is out of scope for the
spec and simply implies an indirection between the name of the source package
and the name of a compiled package?)

Resolved to close this as resolved, but with an action to look at converting
the stylesheet to a package.

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

Received on Thursday, 31 July 2014 13:05:12 UTC