25 Sep
2014
25 Sep
'14
4:59 p.m.
Burak Arslan schrieb am 18.09.2014 um 21:13:
On 09/16/14 18:55, Stefan Behnel wrote:
You have three options:
1) silently filter namespaces out 2) throwing an exception when using html serialization with namespaced elements 3) let namespaces pass
I'd choose 1 to make the lives of people who generate xhtml and html with the same code easier.
ISTM that 3) is the simpler and more obvious option, i.e. let libxml2 handle it.
done. see: https://github.com/plq/lxml/compare/lxml:master...master
Thanks. I applied the changes manually and moved them around a bit. Stefan