[lxml-dev] Bug: type annotation namespace-prefix goes missing
Stefan Behnel
stefan_ml at behnel.de
Fri Feb 8 20:12:30 CET 2008
Hi Holger,
jholg at gmx.de wrote:
> Yep, right. Here's without any objectify-ism:
[...]
> >>> xml[0] = bar
> >>> xml.append(foo)
> >>>
> >>> print etree.tostring(xml, pretty_print=True)
> <a xmlns:py="http://codespeak.net/lxml/objectify/pytype">
> <b name="b2">
> <text>bar</text>
> </b>
> <b name="b1">
> <title pytype="str">tit</title>
> <text>foo</text>
> </b>
> </a>
> >>> print etree.__version__
> 2.0.alpha4
Hmmm, I don't get that with 2.0 final and libxml2 2.6.30. Could you double
check that on your platform?
Stefan
More information about the lxml-dev
mailing list