Right, the XML namespace needs special-casing in the serialiser. PR welcome. See https://github.com/lxml/lxml/blob/fd81ebb9269e5955eca8d4e9668b1a1daf9e00c0/src/lxml/serializer.pxi#L1089 Tests are in "test_incremental_xmlfile.py". It might actually be worth special casing everything that's in "_DEFAULT_NAMESPACE_PREFIXES" (defined in "etree.pyx").
Right, the XML namespace needs special-casing in the serialiser. PR welcome. See /github. com/lxml/ lxml/blob/ fd81ebb9269e595 5eca8d4e9668b1a 1daf9e00c0/ src/lxml/ serializer. pxi#L1089 al_xmlfile. py". NAMESPACE_ PREFIXES" (defined in "etree.pyx").
https:/
Tests are in "test_increment
It might actually be worth special casing everything that's in "_DEFAULT_