Skip Menu |
 

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

Report information
The Basics
Id: 30187
Status: resolved
Priority: 0/
Queue: XML-TreePP

People
Owner: Nobody in particular
Requestors: xatrix [...] atlas.cz
Cc:
AdminCc:

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



Subject: Encoding error with uncommon XML data
Download (untitled) / with headers
text/plain 234b
XML-TreePP extract wrong encoding when XML file starts with header using character \' instead of \" like this example: <?xml version='1.0' encoding='windows-1250'?> I hope that this patch will do the work. P.S: Sory for my English
Subject: TreePP-0.31.patch
Download TreePP-0.31.patch
text/x-diff 162b
1068c1068 < my $getcode = ( $args =~ /\s+encoding="(.*?)"/ )[0] or return; --- > my $getcode = ( $args =~ /\s+encoding=("(.*?)"|'(.*?)')/ )[0] or return;
Download (untitled) / with headers
text/plain 358b
Version 0.32 was released. http://www.kawa.net/works/perl/treepp/treepp-e.html http://tech.groups.yahoo.com/group/xml-treepp/message/25 1068c1068,1070 < my $getcode = ( $args =~ /\s+encoding="(.*?)"/ )[0] or return; --- Show quoted text
> my $getcode = ( $args =~ /\s+encoding=(".*?"|'.*?')/ )[0] or return; > $getcode =~ s/^['"]//; > $getcode =~ s/['"]$//;


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.