W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2005

Re: XML InfoSet and property value preservation

From: Julian Reschke <julian.reschke@gmx.de>
Date: Fri, 18 Nov 2005 11:19:53 +0100
Message-ID: <437DAAC9.6000800@gmx.de>
To: Lukas Mathis <lukas.mathis@numcom.com>
CC: WebDav <w3c-dist-auth@w3.org>

Lukas Mathis wrote:
>> Maybe you could give a concrete example?
> 
> Client A stores XML code in property x:
> 	<p:Foo>some data</p:Foo>
> 
> Client B stores XML code in property y:
> 	<p:Bar>some other data</p:Bar>
> 
> Client A's namespace prefix p points to a different namespace than client B's namespace prefix p. Now, client A gets all properties (including x ans y) for this resource. The server needs to create on XML file containing both properties, but it can't preserve both prefixes, since they point to different namespaces.

Sure it can. For instance. Let's assume "x" and "y" live in namespace 
"custom", and "p" has namespace "ns1" for x and "ns2" for y.

The response could be:

<prop xmlns="DAV:">
   <x xmlns="custom" xmlns:p="ns1"><p:Foo>some data</p:Foo></x>
   <y xmlns="custom" xmlns:p="ns2"><p:Bar>some other data</p:Bar></y>
</prop>


> It's entirely possible that I simply don't understand the sitation, of course.
> 
> lukas
> 

Best regards, Julian
Received on Friday, 18 November 2005 10:20:51 GMT

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