Skip Menu |

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

Report information
The Basics
Id: 17660
Status: new
Priority: 0/
Queue: XML-Dumper

People
Owner: Nobody in particular
Requestors: domq [...] cpan.org
Cc:
AdminCc:

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



Subject: XML::Dumper incorrectly treats byte data
Starting with Perl 5.6, all string scalars inside Perl have an "utf-8 bit" attached to them, indicating whether the string is to be interpreted as a string of bytes or a string of text (look for "How Do I Know Whether My String Is In Unicode?" in perluniintro). XML::Dumper should attempt to serialize and restore this bit, using a new attribute to <item> e.g. <item bytes="1">. Right now, t/11_control_characters.t seems to imply that XML::Dumper simply tries to weed out control characters, which means that objects with byte data in them cannot round trip.