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

Andrew Rodland arodland at comcast.net
Mon Mar 2 13:18:02 PST 2009


On Monday 02 March 2009 02:26:25 pm Jim Jacobus wrote:
> 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.
>

Those entities aren't defined within XML-in-general. Maybe you want
<description><![CDATA[This is some <b>HTML</b> stuff]]></description> ?





More information about the Chicago-talk mailing list