Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

drhyde (1683)

drhyde
  (email not shown publicly)
http://www.cantrell.org.uk/david

Journal of drhyde (1683)

Friday February 16, 2007
07:58 AM

Crossing the streams - XML and CPAN-testers!

[ #32420 ]
I recently sent a FAIL result to the cpan-testers for a module. It turns out that the module was fine, but the data source it was written to talk to was broken.

The breakage is that instead of sending this:

<?xml version="1.0" encoding="UTF-8"?>...and so on

they sent this:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;... and so on

There's already a module on the CPAN for dealing with doubly-encoded UTF-8. Perhaps someone needs to write XML::DoubleEncodedEntities as well :-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.