- From: <afo@zurich.ibm.com>
- Date: Mon, 29 Jan 2001 19:11:03 +0100
- To: www-xml-schema-comments@w3.org
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