XML and namespaces

Fredrik Lundh fredrik at pythonware.com
Mon Dec 5 19:28:03 EST 2005


Alan Kennedy wrote:

> [Fredrik Lundh]
> > and this hypothetical situation is different from the current situation in
> > exactly what way?
>
> Hmm, not sure I understand what you're getting at.
>
> If changes are made to minidom that implement non-standard behaviour,
> there are two groups of people I'm thinking of
>
> 1. The people who expect the standard behaviour, not the modified
> behaviour. From these people's POV, the software can then be considered
> broken, since it produces different results from what is expected
> according to the standard.
>
> 2. The people who are ignorant of the decisions made on their behalf,
> and assume that they have written correct code. But their code won't
> work on other DOM implementations (because the automagic namespace fixup
> code isn't present, for example). From these people's POV, the software
> can then be considered broken.

my point was that (unless I'm missing something here), there are at least
two widely used implementations (libxml2 and the 4DOM domlette stuff) that
don't interpret the spec in this way.

> > so L2 is the "we support namespaces, but we don't really support them"
> > level ?
>
> Well, I read it as "we support namespaces, but only if you know what
> you're doing".

or "we support namespaces, but no matter how you interpret the word
'support', we probably mean something else.  nyah nyah!"

</F>






More information about the Python-list mailing list