Crossing the streams - XML and CPAN-testers!

drhyde on 2007-02-16T12:58:53

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 :-)