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
Message body not shown because it is not plain text.