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.

Reply via email to