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

RE: XML InfoSet and property value preservation

From: Lukas Mathis <lukas.mathis@numcom.com>
Date: Fri, 18 Nov 2005 08:49:13 +0100
Message-ID: <60897A0F7690ED43A1E0995D0534F8FB03FE74@daddy.numcom.local>
To: "WebDav" <w3c-dist-auth@w3.org>

> >   So unless the XML spec is going to change to require parsers to 
> > preserve prefix and we can require XML parsers to comply with the
> The XML spec requires that.

Are you sure? I didn't find any requirement like that.

I thought prefix names weren't important per se, it's their declaration that gives them meaning. You need to bind a prefix to a namespace name, and the parser needs to look that up. The server should be free to change the prefix as long as he keeps the binding consistent.

What if the client uses a prefix which the server already wants to use for another namespace? What if different clients change different properties, but use the same namespace prefixes with different bindings?

Now, if current clients expect the prefixes to be kept, servers should try to do that, but I don't think the spec should require it.

lucas

-- 
Lukas Mathis, Numcom Software AG
Hardturmstrasse 66, CH-8005 Zürich
Direct +41(0)43-204 06 08
mailto:lukas.mathis@numcom.com, http://www.numcom.com/
Received on Friday, 18 November 2005 07:49:38 GMT

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