Subject: | cloneNode bug |
From XML::GOME::Node document on usage of $node = $n->cloneNode($deep);
"deep": If true, recursively clone the subtree under the specified
node;if false, clone only the node itself (and its
attributes, if it is an Element).
And when I code like this:
my $newnode = $node->cloneNode(0);
Attributes of $node will not be copied to $newnode.
I am tring to find the bug in sources, but I am not familiar with Perl and C, anyone can give me a hand?
I am using XML::GDOME 0.86 from CPAN, Perl v5.8.0 OS: RedHat 8.0.