Re: Comments and element content for serialization

Strictly, according to Section 5 the 'ia' element would need to be of type
Array in the http://schemas.xmlsoap.org/soap/encoding/ namespace or of a
type derived from that type.

Then 'ia' would contain between 0 and 10 elements that themselves each
contained a value in the array

Martin

----- Original Message -----
From: "Rich Salz" <rsalz@zolera.com>
To: "Andrew Layman" <andrewl@microsoft.com>
Cc: "W3C XP" <xml-dist-app@w3.org>
Sent: Saturday, June 02, 2001 2:05 AM
Subject: Re: Comments and element content for serialization


> > SOAP section 5 is meant to permit what XML schemas permits.  SOAP does
> > not elaborate on all the possible legal serializations because XML
> > schemas does.
>
> To sum up a thread I started on soap-builders, what about
>    <xs:element name='st1' type='this:st1Type' />
>    <xs:complexType name='st1Type' >
>      <xs:sequence>
>        <xs:element name='s1' type='xsd:string' />
>        <xs:element name='s2' type='xsd:string' />
>        <xs:element name='count' type='xsd:int' />
>        <xs:element name='ia' type='xsd:int' minOccurs='0'
> maxOccurs='10'/>
>      </xs:sequence>
>    </xs:complexType>
>
> The "ia" element would have to be in an array container, no?
> /r$
>

Received on Saturday, 2 June 2001 16:27:02 UTC