[Home] [By Thread] [By Date] [Recent Entries]

  • From: Farrukh Najmi <farrukh@w...>
  • To: xml-dev@l...
  • Date: Tue, 25 Nov 2008 12:39:41 -0500

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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member