Subject: | Reversed argument order in XML::DOM::Lite::Node method replaceChild |
The current code in the replaceChild method in Node.pm calls the
insertBefore method like so:
$self->insertBefore($refNode, $node);
The arguments are reverse and it should actually be:
$self->insertBefore($node, $refNode);