Skip Menu |

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

Report information
The Basics
Id: 22290
Status: resolved
Priority: 0/
Queue: POE-Filter-XML

People
Owner: nperez [...] cpan.org
Requestors: ewaters [...] uarc.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.1
  • 0.1.1
  • 0.2.0
  • 0.2.1
  • 0.21
  • 0.22
  • 0.23
  • 0.24
  • 0.27
  • 0.28
  • 0.29
Fixed in: 0.30



Subject: No XML decode in Handler->start_element()
Date: Thu, 19 Oct 2006 15:52:19 -0600
To: bug-POE-Filter-XML [...] rt.cpan.org
From: Eric Waters <ewaters [...] uarc.com>
Distribution: POE-Filter-XML-0.29 File: POE-Filter-XML-0.29/lib/POE/Filter/XML/Handler.pm Line: 51 Problems: The code as it reads: $start->attr($attrib->{'Name'}, $attrib->{'Value'}); causes issues where entities appear in the value. This needs to be decoded: $start->attr($attrib->{'Name'}, POE::Filter::XML::Node::_decode($attrib->{'Value'}) ); Eric Waters -- Email signed with GnuPG key id 0x7FE92A42 http://www.vegcrew.net/~ewaters/pubkey.asc
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

Acknowledged. I'll put decoding/encoding in place based on http://www.w3.org/TR/REC-xml/#NT-AttValue On Thu Oct 19 17:53:17 2006, ewaters@uarc.com wrote: Show quoted text
> Distribution: POE-Filter-XML-0.29 > > File: POE-Filter-XML-0.29/lib/POE/Filter/XML/Handler.pm > Line: 51 > > Problems: > > The code as it reads: > > $start->attr($attrib->{'Name'}, $attrib->{'Value'}); > > causes issues where entities appear in the value. This needs to be > decoded: > > $start->attr($attrib->{'Name'}, > POE::Filter::XML::Node::_decode($attrib->{'Value'}) ); > > Eric Waters