W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2011

[Bug 9721] [XSLT 2.1] Support for chameleon modes

From: <bugzilla@jessica.w3.org>
Date: Wed, 08 Jun 2011 21:16:36 +0000
To: public-qt-comments@w3.org
Message-Id: <E1QUQ7A-0004Ov-6B@jessica.w3.org>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Michael Kay <mike@saxonica.com> 2011-06-08 21:16:35 UTC ---
The minutes of the Prague F2F (March 2011) record:

We believe our work on packaging satisfies this requirement. (Hint: write a
wrapper stylesheet that includes the other; add a mode to the wrapper with a
rule that calls apply-templates on the current node, in the default mode;
package the result; the default mode is now private to the package.)

To expand this, the essence of the requirement is to be able to use multiple
modules that were each written to use the unnamed mode and integrate them into
a single stylesheet. We can now do this by putting each of the modules in its
own package, with a wrapper that does:

<xsl:template match="~item()" mode="M">

and then make "M" a public mode in this package, and the unnamed mode private
to the package.

I have captured a note on this approach as a note in the spec, which will be
expanded, so I am marking the bug fixed.

Evan, if you are happy with this outcome, please close the bug. (Alternatively,
feel free to wait until you have seen the spec.)

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 8 June 2011 21:16:38 UTC

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