- From: <jon.calladine@bt.com>
- Date: Mon, 10 Apr 2006 14:40:11 +0100
- To: <edday@obj-sys.com>, <gcowe@origoservices.com>, <public-xsd-databinding@w3.org>
- Message-ID: <1FEC48AEB652204991E28362D9ADD5821DFBCC@I2KM41-UKDY.domain1.systemhost.net>
Ed wrote: > I would hope the group does not add something to their document that discourages the use of the choice type as it is useful and widely used. If our basic patterns doc describes the set of patterns that give a good experience with the majority of current tooling then we may not be including xs:choice at this level. It is not a case of adding anything to discourage the use of this construct. As far as the BP deliverable goes what we do not say is as important as what we do. Patterns will be 'damned' by their omission not by their inclusion ..... George, we also have had experience of difficulties using xs:choice. This is also seen by some tools as a reason to drop the developer into a DOM tree. JonC -----Original Message----- From: public-xsd-databinding-request@w3.org [mailto:public-xsd-databinding-request@w3.org] On Behalf Of Ed Day Sent: 04 April 2006 20:15 To: George Cowe; public-xsd-databinding@w3.org Subject: Re: xs:choice support I have seen this mentioned as a limitation in some binding products and, quite frankly, I don't understand it. In general, all a binder needs to do is examine the start tag of the element and it can determine the contents. It can then use something like a union type in C to hold the different alternatives or a base class with generated derived classes in an OO language. It shouldn't be that hard to do. I would hope the group does not add something to their document that discourages the use of the choice type as it is useful and widely used. Regards, Ed Day Objective Systems, Inc. http://www.obj-sys.com ----- Original Message ----- From: George Cowe <mailto:gcowe@origoservices.com> To: public-xsd-databinding@w3.org Sent: Tuesday, April 04, 2006 8:28 AM Subject: xs:choice support There seem to be some tools that do not support <xs:choice> very well with respect to databinding. I have used Apache Axis 1.3 to generate web service implementation code from WSDL. The generated code simply supported the first option in the choice and ignored the rest! Has anyone else had similar problems? George
Received on Monday, 10 April 2006 13:40:30 UTC