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

Owner: Nobody in particular
Requestors: domq [...]

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

Subject: XML::Dumper incorrectly treats byte data
Download (untitled) / with headers
text/plain 561b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to