W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2001

Inconsistency between Primer and Structures

From: <afo@zurich.ibm.com>
Date: Mon, 29 Jan 2001 19:11:03 +0100
To: www-xml-schema-comments@w3.org
Message-ID: <C12569E3.0063E89F.00@d12mta01.de.ibm.com>


Section 3.4 of XML Schema Part 1 :Structures says "A complex type for which
{abstract} is true must not appear as the {type definition} of an Element
Declaration ("
So according to the Spec, the following example extracted  from XML Schema
Part 0:Primer  section 4.7 is invalid :

<schema xmlns="http://www.w3.org/2000/08/XMLSchema"

      <complexType name="Vehicle" abstract="true"/>
               <!-- etc -->
     <element name="transport" type="target:Vehicle"/>

Achille Fokoue.
Received on Monday, 29 January 2001 13:12:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT