W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

Suggestion for XML Schema 1.1 - Complex Type Extension

From: Joseph Chiusano <jchiusano@hotmail.com>
Date: Tue, 29 Oct 2002 13:31:52 -0700
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>

 From XML Schema Part 1: Structures, Section 2.2.13:


A complex type which extends another does so by having additional content 
model particles at the end of the other definition's content model, or by 
having additional attribute declarations, or both.
NOTE: This specification allows only appending, and not other kinds of 
extensions. This decision simplifies application processing required to 
cast instances from derived to base type. Future versions may allow more 
kinds of extension, requiring more complex transformations to effect casting.


I would like to suggest that the W3C Schema standard allow a schema author 
to specify an insertion point for each element included in the extension of 
a complexType, other than the end of the complexType.  Perhaps an attribute 
called "insert-after" could be included, with the pertinent element specified.

Kind Regards,

Joseph Chiusano
Received on Tuesday, 29 October 2002 15:35:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:59 UTC