Details
Description
Having an element of type xsd list would mean to marshal multiple values into a white-space separated list (instead of creating multiple elements!).
e.g.
<xl:XmlListElement>100 200 300 400 500</xl:XmlListElement>
should map to five values in
private java.util.Vector _xmlListElementList;
and is defined as:
<xs:simpleType name="multiValuedType">
<xs:list itemType="xs:integer" />
</xs:simpleType>
The test fails (qed), but maybe even the tests needs to be improved when a solution is implemented.
Attachments
| 1. | Amend existing documentation re: <xs:list> whereever necessary | |
|
Unassigned |
|
As you know, currently I can produce a patch that allows Castor to marshal such lists successfully. On the unmarshalling side of things, it seems to be a bit trickier ... ;-(.