Sign In/My Account | View Cart  
advertisement

Article:
 XML Schema Design Patterns: Is Complex Type Derivation Unnecessary?
Subject: Polymorphism is not a problem
Date: 2003-11-05 12:20:03
From: Will Provost

I don't see why the scenario you describe as a problem for complex-type extension is a shortcoming of WXS. This is just polymorphism, as used throughout OO systems. It's important to be aware of the pitfalls (even that seems too strong a word), but this seems to be a feature of WXS, not a bug or limitation.


From your <signature>, I can guess that we see this differently, especially the OO aspect! But note that this WXS feature is used to good effect in many Web-service implementations, enabling (in a struggling, poorly-understood form, I'll admit) polymorphism over the SOAP wire. Also consider binding technology such as JAXB, which maps extension to extension -- and polymorphism to polymorphism.



Previous Message Previous Message   Next Message No Next Message


Sponsored By: