Reading XML namespaces

Stefan Behnel stefan_ml at behnel.de
Sun May 16 03:21:37 EDT 2010


Martin v. Loewis, 16.05.2010 09:07:
>> the approach that the OP is apparently trying to follow is
>> clearly misguided.
>
> I completely agree. However, I recommend that we let him find out on his
>   own. I suspect he has some idiomatic usage of XML, perhaps with all
> namespace prefixes defined in the root element. He'll find out that his
> approach is flawed in the general case when he encounters such a case.
> It's probably pointless trying to convince him in the abstract.

Probably, yes. It's just that I prefer it if broken code doesn't get 
written in the first place, rather than having to fix it later on, which in 
this case even seems to imply breaking a user visible feature. But you're 
right, let's leave the decision to the OP.

Stefan




More information about the Python-list mailing list