<?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>4067</bug_id>
          
          <creation_ts>2006-12-11 00:33:18 +0000</creation_ts>
          <short_desc>ctG001: type subsumption and processContents</short_desc>
          <delta_ts>2009-01-15 18:14:16 +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>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>metadata updated 2009-01-15</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          
          
          <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>13128</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-11 00:33:18 +0000</bug_when>
    <thetext>In the Microsoft ComplexType test set, test group ctG001 illustrates what is probably a problem in the spec rather than in the test itself.

In the schema, fooType is a restriction of myType. fooType has the particle &lt;element name=&quot;myElement&quot;/&gt; where myType has &lt;any processContents=&quot;strict&quot;/&gt;. Since there is no global element declaration for myElement, an instance containing myElement would conform to the subtype but not to the base type, meaning that type subsumption is violated.

I suspect, though I have not checked carefully, that this is a problem in the specification rather than in the test. Other examples are ctG007-011.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13888</commentid>
    <comment_count>1</comment_count>
    <who name="Zafar Abbas">zafara</who>
    <bug_when>2007-02-02 19:17:22 +0000</bug_when>
    <thetext>The test is valid per spec, the WG should address this issue as intuitively the derived type does not fit within the bounds of the base type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20733</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-22 15:23:16 +0000</bug_when>
    <thetext>Agreed, we might not like the 1.0 spec, but that&apos;s the way it&apos;s written, so the test should stand. Note however that in 1.1 the schema will be invalid.

The bug is therefore classed as INVALID.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23119</commentid>
    <comment_count>3</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2009-01-15 18:14:16 +0000</bug_when>
    <thetext>This non-bug has been extended to non-cover ctG007--ctG011 as well</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>