XML::Xerces: Schema caching and XML catalog files questions

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I routinely validate thousands of XML documents in a batch.
Right now this takes several hours and I get more than a few
socket errors because of the old version of Xerces I'm using.
I recently installed XML::Xerces and as we know, extensive
documentation has yet to be written. So I want to write
the simplest program possible to do nothing more than validate
my documents and display the errors, but I want to either cache
the Schemas or at least use an XML catalog to refer to local
copies on my harddrive. I've looked at the extensive Java
documentation on the subject but as I know nothing about Java
I'm having a hard time translating this to perl.

Can someone demonstrate how to read an XML catalog file
and cache schemas using XML::Xerces?



Site Timeline