W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2009

RE: Extending Types

From: Michael Kay <mike@saxonica.com>
Date: Tue, 1 Dec 2009 19:00:48 -0000
To: "'Flavio Cordova'" <flavio.cordova@gmail.com>, <xmlschema-dev@w3.org>
Message-ID: <4320A951E6F24F25AE4875C013A60858@Sealion>
> Actually, in my case, I need to create a complexType that 
> will be extended by other people, just overwriting (or 
> "implementing") the BusinessContent tag. 

I think the simplest solution is a low-tech one: have your type refer to a
named model group called BusinessContentGroup which you define in a separate
schema document, which people can edit.

OK that has disadvantages, for example it makes it difficult for different
extensions of the schema to coexist, but those disadvantages apply to nearly
all other techniques as well.


Michael Kay
Received on Tuesday, 1 December 2009 19:01:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:17 UTC