W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

[Bug 2212] R-220: Problem with erratum E1-17

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 19:14:58 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1EFcig-0000yb-O6@wiggum.w3.org>


           Summary: R-220: Problem with erratum E1-17
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org

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't be used at all, even for top-level element declarations.

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

<xs:element name="elt">
  <xs:restriction base="xs:string"/>

<xs:complexType name="base">
  <xs:element ref="elt" minOccurs="0"/>

<xs:complexType name="derived">
  <xs:restriction base="base">
    <xs:element ref="elt"/>

See: http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003Dec/0000.html
Received on Wednesday, 14 September 2005 19:15:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:04 UTC