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]

XMLSchema enumeration


I'm having difficulties managing to extend an enumerate type.

My base type looks like :

<xsd:complexType name="error.Type">
   <xsd:attribute name="code">
         <xsd:restriction base="xsd:string">
	    <xsd:enumeration value="E_UNKNOWN_ERROR"/>
            <xsd:enumeration value="E_FATAL_ERROR"/>

This type is declared in a schema with a targetNamespace.

What I need is to derive this base type in schemas that
declares another targetNamespace, to add more enumeration
values. The goal of course is to use the right type depending
on the context.

 Any help appreciated !

Fabrice Desré - France Telecom R&D/DMI/GRI
Tel: +(33) 2 96 05 31 43
Fax: +(33) 2 96 05 32 86