Tue Jul 08 18:02:31 2008user42 [...] zip.com.au - Ticket created
Subject:
EntityValue ! versus =~
Date:
Wed, 09 Jul 2008 08:01:39 +1000
To:
bug-xml-sax [...] rt.cpan.org
From:
Kevin Ryde <user42 [...] zip.com.au>
In xml-sax 0.16 PurePerl/DTDDecls.pm EntityValue() function I noticed a
line
if (!$data =~ /^"/) {
I wonder if that might be always false due to ! having higher precedence
than =~.
(I came across it trying some perlcritic to detect that sort of doubtful
"!". I don't know if it hurts anything in practice.)
Wed Aug 06 06:38:15 2008grantm [...] cpan.org - Correspondence added
Thanks for your report. Your analysis was correct and the condition was
always being treated as false. The impact being that only double quotes
would be valid for quoting strings in DTD declarations.
I have fixed the issue in the recent 0.96 release of XML::SAX.
Wed Aug 06 06:38:36 2008The RT System itself - Status changed from 'new' to 'open'
Wed Aug 06 06:38:38 2008grantm [...] cpan.org - Status changed from 'open' to 'resolved'