in reply to Caching Entities with XML::LibXML
My installation of XML::LibXML does not behave as you describe and does in fact use a catalog to refer to a local copy of the DTD. The POD for XML::LibXML::Parser discusses a load_catalog() method, but I'm not calling it - catalogs seem to get used automatically if they're installed in the default place.
In my case I'm using Ubuntu Linux with the packaged version of XML::LibXML ('libxml-libxml-perl') from the Ubuntu repositories. I also have the 'w3c-dtd-xhtml' package installed. My system has a /etc/xml/catalog file which I've never edited - the package installers seem to look after that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Caching Entities with XML::LibXML
by ikegami (Patriarch) on Feb 25, 2010 at 05:01 UTC | |
by grantm (Parson) on Feb 25, 2010 at 05:48 UTC |