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

Report information
The Basics
Id:
18393
Status:
rejected
Priority:
Low/Low
Queue:

People
Owner:
grantm [...] cpan.org
Requestors:
donk71 [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
2.14
Fixed in:
(no value)



Subject: CDATA bug
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1143482834-25016-4"
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 383
XML Simple (2.14) does not parse CDATA sections correctly when run on WinXP SP2 under ActivePerl (5.8.8 Build 816). CDATA sections get appended with a right-arrow (">") for some reason. This does not occur under RHEL4 using Perl 5.8.5. The attached test script demonstrates the behavior. Linux output: $VAR1 = 'filfthflarnfilfth'; Windows output: $VAR1 = 'filfthflarnfilfth>';
Subject: testr.pl
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1143482834-25016-3"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Type: application/octet-stream; name="testr.pl"
Content-Disposition: inline; filename="testr.pl"
Content-Transfer-Encoding: base64
Content-Length: 251
#!/usr/bin/perl use XML::Simple; use Data::Dumper; $pxml = new XML::Simple; $testmsg = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><testmsg><![CDATA[filfthflarnfilfth]]></testmsg>"; $comm = $pxml->XMLin($testmsg); print Dumper($comm);
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.5.HEAD-25006-1143483771-1547.18393-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: donk71@gmail.com
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 512
Please disregard, this is an issue with SAX 0.13. Sorry! On Mon Mar 27 13:07:16 2006, guest wrote:
Show quoted text
> XML Simple (2.14) does not parse CDATA sections correctly when run on > WinXP SP2 under ActivePerl (5.8.8 Build 816). CDATA sections get > appended with a right-arrow (">") for some reason. This does not occur > under RHEL4 using Perl 5.8.5. The attached test script demonstrates the > behavior. > > Linux output: > > $VAR1 = 'filfthflarnfilfth'; > > Windows output: > > $VAR1 = 'filfthflarnfilfth>';


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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