Skip Menu |

This queue is for tickets about the SVG-Parser CPAN distribution.

Report information
The Basics
Id: 28420
Status: new
Priority: 0/
Queue: SVG-Parser

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

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

Subject: chr should be ord in SVG::XML
Date: Sun, 22 Jul 2007 10:58:21 +0000
To: bug-SVG-Parser [...]
From: "Debbie Harry" <hoglabogla [...]>
Download (untitled) / with headers
text/plain 523b
chr should be ord in SVG::XML:xmlescp sub xmlescp ($) { ... $s=~s/([\x00-\x1f])/sprintf('&#x%02X;',chr($1))/eg; should be: $s=~s/([\x00-\x1f])/sprintf('&#x%02X;',ord($1))/eg; $1 is the filtered "chr", you want to "ord" it, not "chr" it again. Otherwhise files containing \x{a} can't be parsed Cheers! Show quoted text
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE!

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

Please report any issues with to