Skip Menu |

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

Report information
The Basics
Id: 95509
Status: open
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: valmid [...] gmail.com
Cc:
AdminCc:

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



Subject: Cloning an XML::LibXML::Document causes SEGV
Date: Fri, 9 May 2014 20:19:40 +0200
To: bug-XML-LibXML [...] rt.cpan.org
From: Valmi Dufour-Lussier <valmid [...] gmail.com>

Message body is not shown because it is too large.

Subject: [rt.cpan.org #95509] Bug → feature request?
Date: Fri, 9 May 2014 21:07:07 +0200
To: bug-XML-LibXML [...] rt.cpan.org
From: Valmi Dufour-Lussier <valmid [...] gmail.com>
It has been pointed out to me that it may be normal for clone and dclone not to work. If this is indeed the case, may I change this bug report into a feature request? - XML::LibXML should probably croak instead of cause a SEGV - The documentation may be clarified with respect to this
Hi Valmi, On Fri May 09 15:07:35 2014, valmid@gmail.com wrote: Show quoted text
> It has been pointed out to me that it may be normal for clone and > dclone not to work. > > If this is indeed the case, may I change this bug report into a > feature request? > > - XML::LibXML should probably croak instead of cause a SEGV > - The documentation may be clarified with respect to this
Maybe it would be possible, but: 1. XML::LibXML already contains a lot of documentation and many people don't read it all. 2. We can try croaking instead of causing a SEGV, but there are other ways to serialise and deserialise an object (JSON / YAML / etc.) and I'm not sure we can support them all. Regards, -- Shlomi Fish