Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 66752
Status: new
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: srezic [...] iconmobile.com
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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