<?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>14559</bug_id>
          
          <creation_ts>2011-10-25 15:17:07 +0000</creation_ts>
          <short_desc>Test stZ007, stZ047, stZ055 (xs:anySimpleType) invalid in XSD 1.1</short_desc>
          <delta_ts>2012-01-20 14:59:52 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>decided</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>XSD 1.1 PR</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>am_spamfaenger</cc>
    
    <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>58918</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-10-25 15:17:07 +0000</bug_when>
    <thetext>I believe the schemas used by these tests are invalid in XSD 1.1. (I think they should be invalid in 1.0 too, but the spec isn&apos;t clear).

In all three cases the schema defines a type that is effectively;

    &lt;xs:complexType name=&quot;t2&quot;&gt;
	&lt;xs:simpleContent&gt;
         &lt;xs:restriction base=&quot;t1&quot; &gt;
         &lt;/xs:restriction&gt;
        &lt;/xs:simpleContent&gt;
    &lt;/xs:complexType&gt;

where t1 is a complex type with simple content, whose simple content type is xs:anySimpleType.

I believe this violates the rule in Part 2 section 2.4.2.1: &quot;The </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59622</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2011-11-04 16:00:28 +0000</bug_when>
    <thetext>add a result for 1.1 of schema invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60658</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-11-30 09:41:44 +0000</bug_when>
    <thetext>Tests fixed as suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62936</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-01-20 14:59:52 +0000</bug_when>
    <thetext>*** Bug 15639 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>