<?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>2212</bug_id>
          
          <creation_ts>2005-09-14 19:14:58 +0000</creation_ts>
          <short_desc>R-220: Problem with erratum E1-17</short_desc>
          <delta_ts>2009-04-21 19:25:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</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="Sandy Gao">sandygao</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6233</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:14:58 +0000</bug_when>
    <thetext>E1-17 changes the definition of Type Derivation OK (Complex) and Type 
Derivation OK (Simple) to require the type defns being checked to be named. 

This change results in an unintended and negative side-effect, namely that 
anonymous types can&apos;t be used at all, even for top-level element declarations.

So for example, the following derivation is _not_ conformant any more: 

&lt;xs:element name=&quot;elt&quot;&gt;
 &lt;xs:simpleType&gt;
  &lt;xs:restriction base=&quot;xs:string&quot;/&gt;
 &lt;xs:simpleType&gt;
&lt;xs:element&gt;

&lt;xs:complexType name=&quot;base&quot;&gt;
 &lt;xs:sequence&gt;
  &lt;xs:element ref=&quot;elt&quot; minOccurs=&quot;0&quot;/&gt;
 &lt;xs:sequence&gt;
&lt;xs:complexType&gt;

&lt;xs:complexType name=&quot;derived&quot;&gt;
 &lt;xs:complexContent&gt;
  &lt;xs:restriction base=&quot;base&quot;&gt;
   &lt;xs:sequence&gt;
    &lt;xs:element ref=&quot;elt&quot;/&gt;
   &lt;xs:sequence&gt;
  &lt;xs:restriction&gt;
 &lt;xs:complexContent&gt;
&lt;xs:complexType&gt;

See: http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003Dec/0000.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6422</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-23 04:05:22 +0000</bug_when>
    <thetext>E1-54 [1] supersedes E1-17.
[1] http://www.w3.org/2001/05/xmlschema-errata#e1-54

Propose to mark this one as resolved/fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6538</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-28 14:27:58 +0000</bug_when>
    <thetext>Discussed at 2005-09-23 telecon and decided this was already fixed in the 
published 2E recommendation, with erratum E2-54, which supersedes E1-17.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>