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 4653 - Suggested improvements to schema for stylesheets
Summary: Suggested improvements to schema for stylesheets
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows 2000
: P2 enhancement
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: 4237
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-14 20:37 UTC by David Marston
Modified: 2014-05-15 14:00 UTC (History)
1 user (show)

See Also:


Attachments

Description David Marston 2007-06-14 20:37:13 UTC
1. The patterns for NCNames and QNames should be made consistent and more 
precise regarding the naming rules for the first character and later 
characters. This affects xsl:QName, nametests, and method, and could be an opportunity to define "QName-but-not-NCName" as a type.

2. For clarity, the complexType declarations for "text-element-base-type" 
and "transform-element-base-type" belong in Part A.
Comment 1 David Marston 2007-06-14 20:39:01 UTC
Changing severity to enhancement.
Comment 2 Michael Kay 2010-07-16 13:07:25 UTC
We will take these suggestions into account in our work on a schema for XSLT 2.1 stylesheets.

Noted also, a suggestion has been made to define xsl:QName as union(xs:NCName, xs:QName).
Comment 3 Michael Kay 2013-02-25 16:17:58 UTC
I believe that the schema now incorporates these suggested improvements (though it has also changed to accommodate EQNames). The move of the base types for xsl:text and xsl:transform to part A has not been, done, which I think can be justified that these base types are specific to a particular element type.