Inconsistency between Primer and Structures

Hi,

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 (§2.2.2.1)"
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"
         targetNamespace="http://cars.example.com/schema"
         xmlns:target="http://cars.example.com/schema">

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


Achille Fokoue.

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