Re: What is the difference between a "struct" and an "array" in the e dge case?

Kevin Johnsrude wrote:
> In SOAP 1.2, 3.1.2 "Encoding compound values" [1], is there any way to
> distinguish between a "struct" and an "array" that has neither an "itemType"
> nor an "arraySize" attribute?  Note that this appears to be permitted per
> item 3.
IIRC, an array's child elements all have the same name. A struct's child 
elements all have different names. A generics child elements can be a 
mixture of the two.

So, for a struct or array with only one child element then its difficult 
to tell the difference without the attributes.


> [1]

Marc Hadley <>
XML Technology Centre, Sun Microsystems.

Received on Tuesday, 2 July 2002 06:35:27 UTC