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 

> 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 

> 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:30 UTC