Skip Menu |

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

Report information
The Basics
Id: 6561
Status: new
Priority: 0/
Queue: XML-Mini

People
Owner: Nobody in particular
Requestors: horshack [...] lisa.franken.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: fromHash throws error on undefined values in tree
XML-Mini-1.2.8 Perl Version 5.8.3 == use strict; use warnings; use XML::Mini::Document; my $log = { log => { status => 'start', jobresult => undef, msg => 'Starting a Job', }, }; my $xmini = XML::Mini::Document->new(); print $xmini->fromHash($log); === This leads to error: XML::Mini Error MESSAGE:XML::Mini::Document::extractSTRING No value passed! I think that jobresult => undef should lead to an empty value in XML like <jobresult />. jobresult => "" works well!