- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 14 Sep 2005 19:14:58 +0000
- To: www-xml-schema-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2212
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:simpleType>
<xs:restriction base="xs:string"/>
<xs:simpleType>
<xs:element>
<xs:complexType name="base">
<xs:sequence>
<xs:element ref="elt" minOccurs="0"/>
<xs:sequence>
<xs:complexType>
<xs:complexType name="derived">
<xs:complexContent>
<xs:restriction base="base">
<xs:sequence>
<xs:element ref="elt"/>
<xs:sequence>
<xs:restriction>
<xs:complexContent>
<xs:complexType>
See: http://lists.w3.org/Archives/Member/w3c-xml-schema-wg/2003Dec/0000.html
Received on Wednesday, 14 September 2005 19:15:03 UTC