[Bug 14173] New: Wrong substitution group in test

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14173

           Summary: Wrong substitution group in test
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WG tests
        AssignedTo: cmsmcq@blackmesatech.com
        ReportedBy: sandygao@ca.ibm.com
         QAContact: public-xml-schema-testsuite@w3.org


In test group "sg-and-defined-Sibling-3", the schema "wgData/sg/snbranch.xsd"
is meant to test "interaction of substitution groups and #definedSibling".

The only substitution group in the schema is

 <xsd:element name="s1" type="xsd:string" substitutionGroup="tns:s"/>

But instance tests "snn1a" and "snn1c" seem to expect another substitution
group:

 <xsd:element name="n1" type="xsd:string" substitutionGroup="tns:n"/>

If "n1" does not substitute "n", then it is not excluded by the
"#definedSibling" wildcard, and the schema only allows an "a" to following
"n1", which means "snn1a" is valid (but it's expected to be invalid) and
"snn1c" is invalid (but expected to be valid).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 16 September 2011 03:16:52 UTC