XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Type substitution vs. element substitution (akasubstitution groups)

Farrukh Najmi wrote:
> Dear colleagues,
>
> Is there a suggested best practice to choose between type substitution 
> and element substitution for XML schemas that wish to support 
> extension via inheritance? Please share your opinions and experience 
> as well as any resources on the subject. Thank you.
>

Here are some resources I have found:

Against xsi:type:

<http://blog.whatfettle.com/2006/11/29/xsitype-is-evil/>
<http://norman.walsh.name/2004/01/29/trainwreck>

Against element substitution:

<http://www.kohsuke.org/xmlschema/XMLSchemaDOsAndDONTs.html>

Neutral or leaning towards xsi:type:

<http://www.xfront.com/VariableContentContainers.pdf>

I am surprised that this question got only 1 response (thanks Boris).
Can we please get some more input and experience sharing on this. 

Thanks.

-- 
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS