Re: [xml-dev] Is there a way to reuse and extend an enumeration in XML schema

From
William J. Kammerer <>
To
XML Developers List <>
Date
2005-03-05T23:44:15Z
ID
<01d501c521dd$41f34c40$c970fea9@CMHNovannet>
Thread
Re: [xml-dev] Is there a way to reuse and extend an enumeration in XML schema
I don't know how to do it.  But talk about serendipity: the OASIS UBL
Code list group is wrestling with this very issue as we speak.  The
substitutionGroup feature has been considered, but surely there has to
be a simpler way.

See  http://lists.oasis-open.org/archives/ubl-dev/200503/msg00014.html
for details.  I think the winner with the most elegant solution receives
a prize.

William J. Kammerer
Novannet
Columbus, OH 43221-3859 . USA
+1 (614) 487-0320

----- Original Message ----- 
From: "Kenneth Stephen" <>
To: "XML Developers List" <>
Sent: Saturday, 05 March, 2005 06:28 PM
Subject: [xml-dev] Is there a way to reuse and extend an enumeration in
XML schema


Hi,

    I have a simpleType defined as having an enumerated type having
(for example) values 'A','B', and 'C'. I want to be able to reuse this
type elsewhere and also add an additional value of 'D' without
altering the original definition. Is there a way to do that?

Thanks,
Kenneth