Subject: | serialize(2) not supported anymore with libxml2.7.8 |
It seems that toString(2) resp. serialize(2) is not anymore supported by
libxml2.7.8. The output of serialize(2) is now the same as the output of
serialize(1). The changes seemed to happen with the following libxml2
commit:
Author: Adam Spragg <adam@spra.gg>
Date: Mon Nov 1 14:24:56 2010 +0100
Force _xmlSaveCtxt.format to be 0 or 1
* xmlsave.c: force _xmlSaveCtxt.format to be 0 or 1 and check
accordingly, this will allow other values of "format" to be used
for other purposes.
I don't know exactly how to deal with the situation in XML::LibXML.
Maybe the documentation should just be adjusted and point out that
$format >= 2 is not supported anymore by libxml. Or maybe the libxml2
change was accidental and should be reverted?
Regards,
Slaven