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 14999 - Use of xsi:schemaLocation after first appearance of namespace
Summary: Use of xsi:schemaLocation after first appearance of namespace
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: IBM tests (show other bugs)
Version: 2006-11-06
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 00:14 UTC by Michael Kay
Modified: 2011-12-02 16:42 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2011-11-30 00:14:59 UTC
The two IBM tests s3_3_4v15 and s3_3_4v21 use an xsi:schemaLocation attribute after the first appearance of the relevant namespace.

This is not a hard error in XSD 1.1 as it was in XSD 1.0. I can configure my processor to pass these tests. However, with these configuration settings it fails other (XSD 1.0) tests that were designed to report this error condition. It would be simpler to change the tests to move the xsi:schemaLocation attribute to the outermost element.
Comment 1 David Ezell 2011-12-02 16:42:30 UTC
WG agrees with the proposal to move schemaLocation to the outer element where it would normally be, and maintain the original intent of the test, i.e. to test id/idref without opening this new issue.