Skip Menu |
 

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

Report information
The Basics
Id: 94048
Status: rejected
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: p.safarik [...] cgi.com
Cc:
AdminCc:

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



Subject: doc->toString(>0) and libxml2 v2.9.1
Date: Thu, 20 Mar 2014 16:44:48 +0000
To: "bug-XML-LibXML [...] rt.cpan.org" <bug-XML-LibXML [...] rt.cpan.org>
From: "Safarik, Pavol (ESOC)" <p.safarik [...] cgi.com>
Download (untitled) / with headers
text/plain 794b
Dear all, without being entirely certain, it seems to me that with XML-LibXML-2.0113 perl-5.18.2-2 libxml2-2.9.1-5 on my acrhlin machine (3.13.6-1-ARCH), the ::Document toString(2) sub doesn't behave as it used to. In particular I obtain the same output for toString({0,1,2}), while the xmllint does work as it used to, i.e. the output formatting changes with --format (or as of the newer version of libxml2 with --pretty {0,1,2}). As far as I could see this seems to be due to some new way the libxml2 works? (I didn't find any relevant changes in perl code on my own). Independently on whether I am right and there is indeed a discrepancy in the behaviour or not, thank you very much for creating LibXML in the first place and, even more so, for its maintenance! Best regards, Pavol
Dear Pavol, thanks for your report. On Thu Mar 20 12:45:39 2014, p.safarik@cgi.com wrote: Show quoted text
> Dear all, > > without being entirely certain, it seems to me that with > > XML-LibXML-2.0113 > perl-5.18.2-2 > libxml2-2.9.1-5 > > on my acrhlin machine (3.13.6-1-ARCH), the ::Document toString(2) sub > doesn't behave as it used to. > > In particular I obtain the same output for toString({0,1,2}), while > the xmllint does work as it used to, i.e. the output formatting > changes with --format (or as of the newer version of libxml2 with > --pretty {0,1,2}). > > As far as I could see this seems to be due to some new way the libxml2 > works? (I didn't find any relevant changes in perl code on my own). >
This is quite vague and hard-to-reproduce. Please provide a reproducing example of one-or-more scripts that reproduce the problem. "Code talks" like they say. You can attach the code to this message. Furthermore, I should note that I recently had to decomission two VMs - one of Arch Linux and one of a derivative with a more user-friendly installer (can't exactly remember how it was called), because pacman -Syu threw a fit and refused to properly upgrade the system. I can try installing a new version of this Arch Linux derivative, but would prefer to avoid it , unless I can find a way to install Arch Linux on a VM automatically (using something like vagrant). If you can reproduce that issue inside a VM of a different distribution, with less user-hostile and buggy installation and upgrade processes, that would be appreciated (I think Debian, Ubuntu, Mint, and Mageia should all be OK, and I can tolerate installing a throwaway VM of Fedora). You can try installing all the required things directly from source. Show quoted text
> Independently on whether I am right and there is indeed a discrepancy > in the behaviour or not, thank you very much for creating LibXML in > the first place and, even more so, for its maintenance!
You're welcome, but please provide us with the necessary inputs. Show quoted text
> > Best regards, > Pavol
Regards, -- Shlomi Fish
This has already been reported in RT #66752: https://rt.cpan.org/Public/Bug/Display.html?id=66752
Download (untitled) / with headers
text/plain 345b
Hi Nick, On Fri Mar 21 13:13:28 2014, NWELLNHOF wrote: Show quoted text
> This has already been reported in RT #66752: > > https://rt.cpan.org/Public/Bug/Display.html?id=66752
thanks for the input. I'm now marking this ticket as "Rejected" so it will be considered a duplicate of the other ticket (don't know how to do that exactly). Regards, -- Shlomi Fish


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.