[lxml-dev] Best practice for lxml and html5lib
Stefan Behnel
stefan_ml at behnel.de
Tue Sep 16 14:37:02 CEST 2008
Fabien wrote:
> I'm trying to make lxml and html5lib working together and I must say
> that I've some difficulties to find the best solution. lxml 2.2 seems
> to works well with lxml.html.html5parser but I'm a bit reluctant to
> put alpha software in production. And when using lxml 2.1.x and
> html5lib "lxml" tree builder, I get "ValueError: Invalid attribute
> name u'xml:lang'".
Have you tried copying the html5parser.py file over into your lxml 2.1
install?
Stefan
More information about the lxml-dev
mailing list