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

Re: Request for feedback: WebDAV property datatype draft

From: Lisa Dusseault <lisa@osafoundation.org>
Date: Thu, 23 Sep 2004 06:58:18 -0700
Message-Id: <9F209974-0D68-11D9-AE25-000A95B2BB72@osafoundation.org>
Cc: Bernard Desruisseaux <bernard.desruisseaux@oracle.com>, webdav <w3c-dist-auth@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>

Can we include an example of an array of XML elements in the draft, so 
that implementors are likely to do it the same way?

I would also like to request some words on ordering in the draft, 
although I agree that the W3C Note says that ordering is significant 
that doesn't say everything.
  - Say that "servers MUST preserve ordering if the server is storing a 
dead property in array format" or something equivalent
  - What clients should do is a little less clear but let's take a stab 
at it:  clients that are adding a new value, removing a value, or 
changing a value in an array SHOULD maintain the rest of the array 
ordering, unless the user actually intends to resort the array to a 
different order.



On Sep 23, 2004, at 6:49 AM, Julian Reschke wrote:

> 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:58:53 UTC

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