Skip Menu |

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

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

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

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

Subject: unbindNode will attempt to unbind DOCUMENT and DOC_FRAGMENT
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 764
Download (untitled) / with headers
text/plain 764b
Found by code inspection although doing unbindNode on a DOCUMENT object doesn't seem to cause problems. In LibXML.xs: void unbindNode( self ) xmlNodePtr self ALIAS: XML::LibXML::Node::unlink = 1 XML::LibXML::Node::unlinkNode = 2 PREINIT: ProxyNodePtr docfrag = NULL; CODE: !!! This is logically TRUE regardless of self->type !!! if ( self->type != XML_DOCUMENT_NODE || self->type != XML_DOCUMENT_FRAG_NODE ) { !!! xmlUnlinkNode( self ); if ( self->type != XML_ATTRIBUTE_NODE ) { docfrag = PmmNewFragment( self->doc ); xmlAddChild( PmmNODE(docfrag), self ); } PmmFixOwner( PmmPROXYNODE(self), docfrag ); }
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Disposition: inline
Charset: utf8
Message-Id: <rt-3.6.HEAD-11906-1225666926-1237.35257-0-0 [...]>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 34
Thanks, fixed in the SVN. -- Petr

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

Please report any issues with to