- From: Ed Day <edday@obj-sys.com>
- Date: Tue, 4 Apr 2006 14:14:57 -0500
- To: "George Cowe" <gcowe@origoservices.com>, <public-xsd-databinding@w3.org>
Received on Tuesday, 4 April 2006 18:15:04 UTC
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 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 Tuesday, 4 April 2006 18:15:04 UTC