RE: XML InfoSet and property value preservation

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