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

Re: Comments and element content for serialization

From: Rich Salz <rsalz@zolera.com>
Date: Fri, 01 Jun 2001 21:05:46 -0400
Message-ID: <3B183BEA.937A57E2@zolera.com>
To: Andrew Layman <andrewl@microsoft.com>
CC: W3C XP <xml-dist-app@w3.org>
> 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 Friday, 1 June 2001 21:00:25 GMT

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