<?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>4064</bug_id>
          
          <creation_ts>2006-12-10 14:06:27 +0000</creation_ts>
          <short_desc>stZ041 - simpleType with final=extension</short_desc>
          <delta_ts>2010-07-05 13:53:24 +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>Metadata updated 2010-07-05</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>
          <cc>David_E3</cc>
    
    <cc>tobias.koenig</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>13125</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-10 14:06:27 +0000</bug_when>
    <thetext>In the Microsoft SimpleType test set, testGroup stZ041, the schema stZ041.xsd has:

&lt;xs:simpleType name=&quot;myType&quot; final=&quot;extension&quot;&gt;

Part 2 section 4.1.2 gives the content model as:

&lt;simpleType
  final = (#all | List of (list | union | restriction)) 

The schema is therefore invalid, but it is labelled as valid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13769</commentid>
    <comment_count>1</comment_count>
    <who name="Zafar Abbas">zafara</who>
    <bug_when>2007-01-22 22:13:12 +0000</bug_when>
    <thetext>The question of the final attribute supporting &apos;extension&apos; is an old one, please see http://lists.w3.org/Archives/Public/xmlschema-dev/2001Jun/0047.html.
The structures and datatypes spec are in conflict here, it is more likely that it was eliminated from the datatypes BNF as a typo. At other places in the normative spec it clearly talks about supporting extension on final attribute on simple types.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20729</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-22 14:47:04 +0000</bug_when>
    <thetext>In 1.1 (notwithstanding the typo documented in bug #5782) the {final} property of simpleType allows &quot;extension&quot;, making the test valid.

Bug #5783 has been raised documenting the inconsistency between Part 1 and Part 2, and this bug will be marked as dependent on the resolution of #5783</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22456</commentid>
    <comment_count>3</comment_count>
    <who name="Tobias Koenig">tobias.koenig</who>
    <bug_when>2008-11-17 16:08:18 +0000</bug_when>
    <thetext>Even if the extension is allowed in the final attribute, shouldn&apos;t the test be marked as invalid anyway? ct tries to derive from myType by extension but extension is blocked by myType...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34709</commentid>
    <comment_count>4</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2010-04-09 15:43:58 +0000</bug_when>
    <thetext>WG agreed that either way the test is invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34710</commentid>
    <comment_count>5</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2010-04-09 15:45:10 +0000</bug_when>
    <thetext>Removed dependency because Tobias&apos;s analysis is correct</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>