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 4591 - [XSLT 2.0] inline import-schema with no namespace
Summary: [XSLT 2.0] inline import-schema with no namespace
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows XP
: P2 normal
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:
Blocks:
 
Reported: 2007-05-30 12:16 UTC by Michael Kay
Modified: 2007-10-10 21:45 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2007-05-30 12:16:16 UTC
We currently say (in 3.14)

If the xsl:import-schema  element contains an xs:schema element, then the schema-location attribute must be absent, and the namespace attribute must either have the same value as the targetNamespace  attribute of the xs:schema element (if present), or must be absent, in which case its effective value is that of the targetNamespace attribute of the xs:schema element if present or the zero-length string otherwise.

However, the zero-length string is not a valid value of the namespace attribute. We should say that in this situation (an inline schema for the no-namespace) that the namespace attribute is treated as absent.
Comment 1 Michael Kay 2007-06-21 16:45:23 UTC
The WG discussed this on 21 Jun 2007 and agreed to make the proposed change.
Comment 2 Michael Kay 2007-06-21 17:30:16 UTC
Erratum E9 drafted.