You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by babloosony <ba...@gmail.com> on 2005/02/24 17:17:19 UTC
Doubts on java.util.Vector and XSD
Hi All,
How do we represent a java.util.Vector in xsd file. Can anyone give
some code snippet since a vector can contain any type of java
objects.
Also, in the below code snippet which is a xsd representation for
java.util.Vector
<element name="vector">
<complexType>
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="item" type="xsd:string"/>
</sequence>
</complexType>
</element>
I think we are saying that a vector can only contain string objects
but not any other type of java objects. Am I right ?
Please suggest ...
Thanks & Regards,
Kumar.