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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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" <marvin.the.paranoid@gmail.com>
To: "XML Developers List" <xml-dev@lists.xml.org>
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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS