babloosony babbled: > in the below code snippet which is a xsd representation for java.util.Vector ...
> I think we are saying that a vector can only contain string objects but not any other type of java objects. Am I right ? Yes. Therefore it is not a java.util.Vector, is it? If you want to send a set or arbitrary objects, untyped, then it should be xsd:any, not xsd:string. -----Original Message----- From: babloosony [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 11:17 AM To: [email protected]; [email protected] Subject: 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.
