OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML Schema question on inheritance

Is it possible to derive a complexType from another complexType
if they both use the <all> content group ?

Here is an example of what I want to do:

    <complexType name="parentType">
                    <element name="x" type="string"/>
                    <element name="y" type="string"/>

    <complexType name="derivedType">
            <extension base="parentType">
                    <element name="z" type="string"/>

Xerces 1.4.0  won't allow this, and I'm wondering if this is a bug, or
something the spec won't allow.

Jim Williams