LXML: can't register namespace

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri Mar 9 07:59:27 EST 2018


On Fri, 09 Mar 2018 13:08:10 +0100, Stefan Behnel wrote:

>> Is there a good reason not to support "" as the empty prefix?
> 
> Well, the "empty prefix" is not an "empty" prefix, it's *no* prefix. The
> result is not ":tag" instead of "prefix:tag", the result is "tag".

That makes sense, thanks.


-- 
Steve




More information about the Python-list mailing list