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 10121 - WG-submitted substitution-group tests
Summary: WG-submitted substitution-group tests
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: WG tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows NT
: P2 normal
Target Milestone: XSD 1.1 PR
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords: decided
: 14173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-09 13:33 UTC by Michael Kay
Modified: 2011-10-21 16:34 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Kay 2010-07-09 13:33:18 UTC
1. There are components in the test suite that are not listed here in Bugzilla. I have therefore been obliged to misclassify this bug against the NIST tests.

2. In snbranch.xsd, notQname should be notQName. I have taken the liberty of correcting this in CVS.

3. Instance document snn1a is described as invalid. I can't see any reason for this. It claims to be something to do with substitution groups, but the only element that can substitute for another is s1, and this plays no further role in either the schema or the instance.

4. Conversely, snn1c is described as valid, but as far as I can see, it doesn't satisfy the content model, for reasons quite unconnected with #definedSibling.
Comment 1 Michael Kay 2010-09-17 15:47:24 UTC
Reclassified component.
Comment 2 David Ezell 2011-10-21 16:25:07 UTC
*** Bug 14173 has been marked as a duplicate of this bug. ***
Comment 3 David Ezell 2011-10-21 16:26:28 UTC
bug 14173 has additional important information.
Comment 4 David Ezell 2011-10-21 16:30:14 UTC
old:  <xsd:element name="n1" type="xsd:string"/>
new:  <xsd:element name="n1" type="xsd:string" substitutionGroup="tns:n"/>
Comment 5 Sandy Gao 2011-10-21 16:34:07 UTC
Fixed in CVS.