<?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>4070</bug_id>
          
          <creation_ts>2006-12-11 23:41:24 +0000</creation_ts>
          <short_desc>particlesOb001 et seq - invalid derivation for wildcards</short_desc>
          <delta_ts>2010-04-05 17:22:54 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></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>13137</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-11 23:41:24 +0000</bug_when>
    <thetext>In the Microsoft Particles test set, test groups particlesOb001 et seq (note the first O is a letter):

I believe:

particlesOb001.xsd should be invalid: 

  The content model of the complex type R is not a valid restriction of the content model of the type B. Restricted type allows xs:any content that is not allowed by the base type. The xs:any wildcard in the restricted type has a processContents that is less strict than the processContents in the base type

The following tests are invalid for the same reason:

particlesOb002.xsd 

particlesOb004.xsd 

particlesOb008.xsd 

particlesOb009.xsd 

particlesOb013.xsd 

particlesOb018.xsd 

The last two are also invalid because the wildcard permits namespaces that are not permitted in the base type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13771</commentid>
    <comment_count>1</comment_count>
    <who name="Zafar Abbas">zafara</who>
    <bug_when>2007-01-22 23:13:27 +0000</bug_when>
    <thetext>This test should indeed be invalid. This is due a bug in the packaging process of Microsoft schema tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20734</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-22 15:29:31 +0000</bug_when>
    <thetext>Agreed, the schemas in these tests are invalid, and the metadata will be changed to mark them as such.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>