On Sun Apr 30 08:11:01 2006, NPEREZ wrote:
Show quoted text> What version of X::S::E::I? If it is more recent than 0.02, then I
> haven't really tested it.
0.4
Show quoted text> There is a 0.28 release, to fix a small bug dealing with to_str() and
> update from MakeMaker to Module::build, but it won't address this.
was wondering what this update did- you should have a Changes or
ChangeLog file
Show quoted text> Also, are you using PFX inside or outside of POE? Let me see your
> code, too.
the segfault occurred inside POE as well as outside, so i'm just
including the simple outside test case, as well as the case where
X:S:E:I is used directly without segfaulting.
Show quoted text> And a backtrace from gdb would also help too.
sorry, that's beyond my ability.
Show quoted text__________________________
use POE::Filter::XML;
my $p = POE::Filter::XML->new();
local $/; my $xml = <>;
my $out = eval { $p->get([$xml]) };
use Data::Dump;
print Data::Dump::dump($out), "\n";
__END__
# doesn't segfault
use XML::SAX::ParserFactory;
local $XML::SAX::ParserPackage = "XML::SAX::Expat::Incremental (0.02)";
my $p = XML::SAX::ParserFactory->parser();
local $/; my $xml = <>;
my $out = eval { $p->parse_string($xml) };
use Data::Dump;
print Data::Dump::dump($out), "\n";
__END__