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

Andy_Bach at wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Mon Mar 2 13:00:33 PST 2009


>From the XML::LibXML perldoc

expand_entities
             $parser->expand_entities(0);
 
Turn entity expansion on or off, enabled by default. If entity expansion 
is off, any external         parsed entities in the document are left as 
entities.  Probably not very useful for most           purposes.

or maybe load_ext_dtd or
recover
  $parser->recover(1);


Turn the parsers recover mode on (or off). Defaults to off. 
This allows one to parse broken XML data into memory. This switch will 
only work with XML data rather than HTML data. Also the validation will be 
switched off automaticly


-------------------
Andy Bach
Systems Mangler
Internet: andy_bach at wiwb.uscourts.gov
Voice: (608) 261-5738; Cell: (608) 658-1890

Entropy just ain't what it used to be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20090302/2a91e6ef/attachment.html>


More information about the Chicago-talk mailing list