<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14173</bug_id>
          
          <creation_ts>2011-09-16 03:16:45 +0000</creation_ts>
          <short_desc>Wrong substitution group in test</short_desc>
          <delta_ts>2011-10-21 16:34:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>WG tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>10121</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>XSD 1.1 PR</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56879</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2011-09-16 03:16:45 +0000</bug_when>
    <thetext>In test group &quot;sg-and-defined-Sibling-3&quot;, the schema &quot;wgData/sg/snbranch.xsd&quot; is meant to test &quot;interaction of substitution groups and #definedSibling&quot;.

The only substitution group in the schema is

 &lt;xsd:element name=&quot;s1&quot; type=&quot;xsd:string&quot; substitutionGroup=&quot;tns:s&quot;/&gt;

But instance tests &quot;snn1a&quot; and &quot;snn1c&quot; seem to expect another substitution group:

 &lt;xsd:element name=&quot;n1&quot; type=&quot;xsd:string&quot; substitutionGroup=&quot;tns:n&quot;/&gt;

If &quot;n1&quot; does not substitute &quot;n&quot;, then it is not excluded by the &quot;#definedSibling&quot; wildcard, and the schema only allows an &quot;a&quot; to following &quot;n1&quot;, which means &quot;snn1a&quot; is valid (but it&apos;s expected to be invalid) and &quot;snn1c&quot; is invalid (but expected to be valid).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58647</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2011-10-21 16:25:07 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 10121 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>