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 3195 - [XSLT] missing error code for section 3.14
Summary: [XSLT] missing error code for section 3.14
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: 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: 2006-05-04 14:09 UTC by Joanne Tong
Modified: 2006-07-02 03:13 UTC (History)
0 users

See Also:


Attachments

Description Joanne Tong 2006-05-04 14:09:08 UTC
The 5th paragraph in section 3.14 (Importing Schema Components) reads:

"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, ... "

What is the error code if the namespace attribute and the targetNamespace attribute does not have the same value?

This section of the spec contains one error code which I believe does not apply:

[ERR XTSE0220] It is a static error if the synthetic schema document does not satisfy the constraints described in [XML Schema Part 1] ...
Comment 1 Michael Kay 2006-05-11 14:04:16 UTC
A general point: I've no objection to adding specific error codes for conditions like this, but there is always a fallback, in this case for example error XTSE0020. At some point we'll have to stop fine-tuning...
Comment 2 Michael Kay 2006-05-12 19:37:56 UTC
I have allocated error XTSE0215 to this condition.
Comment 3 Michael Kay 2006-07-02 03:13:26 UTC
I am marking this closed; the agreed text appears in the June draft.