Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » ComplexTypes, Unbounded, Arraylist
ComplexTypes, Unbounded, Arraylist [message #146770] Wed, 09 November 2005 12:51
Eclipse UserFriend
Originally posted by: co8lo.hotmail.com

Hi:
I found that the terms enwrapped with the

These complexTypes are serialized into the javatypes,
They are basically the same. I can not see any logic in the
created javacode. I am not sure whether I am wrong?

For example:
<xsd:complexType name="example">
  <xsd:sequence>
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="a" type="x:aa" />
     <xsd:element name="b" type="x:bb" />
 </xsd:choice>
 </xsd:sequence>
 </xsd:complexType>
 the above the maxOccurs seems have no effect at all.
 <xsd:complexType name="example">
  <xsd:sequence>
   <xsd:all maxOccurs="unbounded">
     <xsd:element name="a" type="x:aa" />
     <xsd:element name="b" type="x:bb" />
 </xsd:all>
 </xsd:sequence>
 </xsd:complexType>

The created javatypes are basically the same. Also ,
I think that the <choice maxOccurs="unbounded">
There are should be one Arrary to reprensent it, but I can not
Find any arrary in the Java files. (using topdown wizard with WTP eclipse)

any Sugestions? I am wondering whether I have to implement the "choice",
"all" myself?
thank u very much
Lopezz
Previous Topic:Latest Release (I20051105) Status info
Next Topic:NullPointerException JSEditor
Goto Forum:
  


Current Time: Thu Apr 17 20:20:27 EDT 2025

Powered by FUDForum. Page generated in 0.04802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top