W3C home > Mailing lists > Public > xml-dist-app@w3.org > June 2001

Re: Comments and element content for serialization

From: Martin Gudgin <marting@develop.com>
Date: Sat, 2 Jun 2001 21:25:21 +0100
Message-ID: <003401c0eba2$2755af10$0300a8c0@greyarea>
To: "Rich Salz" <rsalz@zolera.com>, "Andrew Layman" <andrewl@microsoft.com>
Cc: "W3C XP" <xml-dist-app@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:01 GMT