Skip Menu |

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

Report information
The Basics
Id: 69934
Status: resolved
Priority: 0/
Queue: XML-Smart

People
Owner: Nobody in particular
Requestors: peter.kerner [...] knorr-bremse.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.6.9
Fixed in: (no value)



Subject: Bug in nodes_keys method
Description: After copying nodes from an XML::Smart object to another the nodes_keys method cannot handle these new nodes. If I saved into file by save method and re-read this object this problem was not show up. Example code: push(@{$XMLtarget->{root}->{newnode}},$XMLsource->{root}->{newnode}); #Copy new node from XMLsource object to XML target object. print $XMLtarget->{root}->nodes_keys(); #The 'newnode' will not be printed out. $XMLtarget->save("temp.xml"); $XMLtarget = new XML::Smart( "temp.xml", 'XML::Parser'); print $XMLtarget->{root}->nodes_keys(); #In this case the 'newnode' will be printed out. Perl version: 5.10
Fixed in 1.73