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


Help: OASIS Mailing Lists Help | MarkMail Help



   xml schema extension

[ Lists Home | Date Index | Thread Index ]

What are the rules for extending in XML schema from a base class but not
adding any additional attributes or elements. 

like say I have a bass class foo and I would like to have a foobar class
that extends foo.  I just want to extend it for description purposes and in
case in the future there is a need to add some attributes or elements to
this sub class. 

would this be all that I need to do?

<xs:complexType name="foobar">  		
		<xs:extension base="foo"/>  		

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.


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

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