in reply to Re^4: copyCurrentNode in XML::LibXML::Reader will add xmlns attribute ( setNamespaceDeclURI )
in thread copyCurrentNode in XML::LibXML::Reader will add xmlns attribute
Anyone can explain why the namespace isn't changed?
Hi,
Its some kind of bug, if I were setup to compile libxml2 I'd narrow it down with this addition to LibXML.xs
int _setNamespaceNULL(self ) SV * self PREINIT: xmlNodePtr node = PmmSvNode(self); INIT: if ( node == NULL ) { croak( "lost node" ); } CODE: xmlSetNs(node, NULL); RETVAL = 1; OUTPUT: RETVAL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: copyCurrentNode in XML::LibXML::Reader will add xmlns attribute ( setNamespaceDeclURI )
by choroba (Cardinal) on Sep 30, 2017 at 09:59 UTC | |
|
Re^6: copyCurrentNode in XML::LibXML::Reader will add xmlns attribute ( setNamespaceDeclURI )
by choroba (Cardinal) on Oct 01, 2017 at 20:09 UTC |