This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26444 - [XSLT30] xsl:package in the XSLT's Schema does not match the one in the specification
Summary: [XSLT30] xsl:package in the XSLT's Schema does not match the one in the speci...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on: 26468
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-28 17:10 UTC by Abel Braaksma
Modified: 2014-08-22 16:04 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2014-07-28 17:10:52 UTC
In the specification, the production of xsl:package's children is defined as:

<!-- Content: ((xsl:use-package | xsl:expose | xsl:global-context-item | xsl:stylesheet | xsl:transform)*) -->

But in the XML Schema for XSL, the definition of xsl:package (http://www.w3.org/2012/07/schema-for-xslt30.xsd#elem_package) does not allow this syntax, it only allows xsl:use-package before xsl:stylesheet, and xsl:expose behind it. It does not allow xsl:global-context-item.
Comment 1 Michael Kay 2014-07-30 14:34:15 UTC
Correct, the schema needs to be updated. But this area may change again as a result of bug 26468, so we'll hold this for the moment.
Comment 2 Michael Kay 2014-08-21 17:11:44 UTC
With the resolution of bug #26468, this can now be fixed editorially.
Comment 3 Michael Kay 2014-08-22 16:03:54 UTC
The schema has now been updated and all non-error tests in the test suite validate OK.