- From: <bugzilla@jessica.w3.org>
- Date: Thu, 16 Jan 2014 14:51:52 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24310
Bug ID: 24310
Summary: Importing or including xsl:package
Product: XPath / XQuery / XSLT
Version: Last Call drafts
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XSLT 3.0
Assignee: mike@saxonica.com
Reporter: abel.braaksma@xs4all.nl
QA Contact: public-qt-comments@w3.org
It seems that we are not explicit enough about whether we can or cannot use
xsl:include or xsl:import to import a stylesheet that has xsl:package as its
root.
The spec says:
"The referenced stylesheet module may be any of the four kinds of stylesheet
module: that is, it may be standalone or embedded, and it may be standard or
simplified. If it is a simplified stylesheet module then it is transformed into
the equivalent standard stylesheet module by applying the transformation
described in 3.9 Simplified Stylesheet Modules."[1]
While in essence this seems to exclude stylesheets that are packages, the
stylesheet inside a package is considered a "embedded standard stylesheet
module"[2] and a referenced stylesheet can also be an embedded standard
stylesheet module.
Since locating stylesheet modules is largely implementation dependent, I think
it is fair that we be explicit about this. I.e., either explicitly forbid
(unless with an xpointer ref), explicitly make it implemention-dependent, or
explicitly allow a referenced stylesheet module, in which case we should define
whether the xsl:package declarations and the stylesheet, or only the embedded
stylesheet is referenced.
[1] http://www.w3.org/TR/xslt-30/#locating-modules
[2] http://www.w3.org/TR/xslt-30/#dt-package-manifest (#2 in the numbered list)
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 16 January 2014 14:51:54 UTC