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

People
Owner: Nobody in particular
Requestors: MARKOV [...] cpan.org
Cc:
AdminCc:

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



Subject: ::Document->namespaceURI segfaults
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