Skip Menu |

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

Report information
The Basics
Id: 35114
Status: resolved
Priority: 0/
Queue: XML-LibXML

Owner: Nobody in particular
Requestors: MARKOV [...]

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

Subject: ::Document->namespaceURI segfaults
Download (untitled) / with headers
text/plain 439b
Of course, the namespaceURI() method should not be used on the document itself, but it happened to me... my method accepts XML fragments, both Elements and Documents; and I forgot to take the root element when a document was passed. This produces a segfault: my $doc = XML::LibXML::Document->new('1.0', 'utf-8'); print $doc->namespaceURI; I don't know whether this is a libxml2 problem or an XML::LibXML problem (I use libxml 2.6.26)
Thanks, I fixed this one and a bunch of similar in SVN. -- Petr

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

Please report any issues with to