<?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>13889</bug_id>
          
          <creation_ts>2011-08-24 15:25:11 +0000</creation_ts>
          <short_desc>Handling of open contents in complex type extension</short_desc>
          <delta_ts>2011-10-24 15:51:05 +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>IBM tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needsAgreement</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>
    
    <cc>mike</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>55762</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2011-08-24 15:25:11 +0000</bug_when>
    <thetext>Similar to bug 13760, IBM &quot;openContent&quot; test &quot;s3_4_1si06&quot; should have expected validity &quot;valid&quot;. The schema /ibmData/schema_invalid/S3_4_1/s3_4_1si06.xsd has

&lt;!-- 
Test Case Type: Schema invalid test
Description   : Tests 1.4.3.2.2.4 - baseType wildcard is not a subset of derived type&apos;s wildcard in extension
--&gt;

&lt;complexType name=&quot;c&quot;&gt;
 &lt;openContent mode=&quot;interleave&quot;&gt;
  &lt;any processContents=&quot;lax&quot;/&gt;
 &lt;/openContent&gt;
 &lt;all&gt;
  &lt;element name=&quot;x&quot; type=&quot;integer&quot;/&gt;
  &lt;element name=&quot;y&quot; type=&quot;integer&quot;/&gt;
 &lt;/all&gt;
&lt;/complexType&gt;

&lt;complexType name=&quot;d&quot;&gt;
 &lt;complexContent&gt;
  &lt;extension base=&quot;a:c&quot;&gt;
   &lt;openContent mode=&quot;interleave&quot;&gt;
    &lt;any processContents=&quot;lax&quot; notQName=&quot;hi&quot;/&gt;	&lt;!-- invalid --&gt;
   &lt;/openContent&gt;
  &lt;/extension&gt;
 &lt;/complexContent&gt;
&lt;/complexType&gt;

Type &quot;d&quot; extends &quot;c&quot;, so it&apos;s open content wildcard is merged with that of the base type, and the subset condition is satisfied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57951</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2011-10-07 16:12:42 +0000</bug_when>
    <thetext>Discussed on 2011-10-07.  Related to bug 13760, and should have a similar outcome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58752</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-10-24 15:51:05 +0000</bug_when>
    <thetext>*** Bug 14490 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>