[Chicago-talk] Help with LibXML parsing entities not found

Jim Jacobus JJacobus at PonyX.com
Mon Mar 2 12:26:25 PST 2009

I'm trying to parse an XML document using XML::LibXML. I'm running 
into a problem where it fails with "entity .. not found". The 
entities are HTML codes such as "ã" "¢" etc. These 
entities are part of descriptions I want to use as-is. They are 
within a <description></description> block. I can't seem to find a 
way to have LibXML ignore trying to parse entities within a block.

My code looks like:
	my $parser = XML::LibXML->new();
	my $doc    = $parser->parse_file($url);

The error I'm getting looks like "parser error: Entity &cent not defined"
Any help would be appreciated.

More information about the Chicago-talk mailing list