W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2003

Re: Typo in array example?

From: <noah_mendelsohn@us.ibm.com>
Date: Thu, 8 May 2003 15:11:39 -0400
To: Andreas Aardal Hanssen <soap@andreas.hanssen.name>
Cc: xml-dist-app@w3.org
Message-ID: <OF3D05C5D0.B8D70B57-ON85256D20.0069DAE2@lotus.com>

I'm guessing you're looking at SOAP 1.1 [1], and that does indeed look 
like a typo to me.  The version of SOAP under development is SOAP 1.2, and 
that syntax has changed significantly in any case.  See [2 & 3].  Thank 
you.

[1] http://www.w3.org/TR/SOAP/#_Toc478383522
[2] http://www.w3.org/TR/2003/PR-soap12-part2-20030507/#complexenc
[3] http://www.w3.org/TR/2003/PR-soap12-part2-20030507/#arraySizeattr

------------------------------------------------------------------
Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------







Andreas Aardal Hanssen <soap@andreas.hanssen.name>
Sent by: xml-dist-app-request@w3.org
05/08/2003 05:41 AM

 
        To:     xml-dist-app@w3.org
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        Typo in array example?






Is this a typo?

>From 5.4.2 - Arrays:

--8<--
Arrays may have other arrays as member values. The following is an example 

of an array of two arrays, each of which is an array of strings.

<SOAP-ENC:Array SOAP-ENC:arrayType="xsd:string[][2]">
   <item href="#array-1"/>
   <item href="#array-2"/>
</SOAP-ENC:Array>
<SOAP-ENC:Array id="array-1" SOAP-ENC:arrayType="xsd:string[2]">
   <item>r1c1</item>
   <item>r1c2</item>
   <item>r1c3</item>
</SOAP-ENC:Array>
---8<---

Note the string[2] and three items..

Andy

-- 
Andreas Aardal Hanssen
Received on Thursday, 8 May 2003 15:21:12 GMT

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