W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2004

Re: Request for feedback: WebDAV property datatype draft

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 23 Sep 2004 15:49:53 +0200
Message-ID: <4152D481.2000804@gmx.de>
To: Lisa Dusseault <lisa@osafoundation.org>
CC: Bernard Desruisseaux <bernard.desruisseaux@oracle.com>, webdav <w3c-dist-auth@w3.org>

Lisa Dusseault wrote:

> Bernard & I came up with more questions yesterday:
> 
> Can there be untyped arrays?  How would I show an array of XML elements?

1) Yes. You can have whatever datatypes you want.

2) It's up to you to define a type for that (so far, we haven't needed 
that).

> E.g.  would this be valid?
>   <supportedliveproperties xsi:type="soap-enc:Array">
>     <supportedliveproperty><getetag/></supportedliveproperty>
>     <supportedliveproperty><resourcetype/></supportedliveproperty>
>     ...
>   </supportedliveproperties>

As far as I can tell, it would be legal according to 
<http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383522>.

> Are arrays assumed to be ordered or unordered?  Would it be legal for a  
> server to reorder array values when returning them?

"The representation of the value of an array is an ordered sequence of 
elements constituting the items of the array."

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Thursday, 23 September 2004 13:50:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:06 GMT