Inconsistency between Primer and Structures


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=""

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

Achille Fokoue.

Received on Monday, 29 January 2001 13:12:09 UTC