Re: [xep-support] XML catalogs in XEP

From: Marc Baaden <baaden@smplinux.de>
Date: Tue Aug 30 2005 - 03:50:01 PDT

Hello Alexander (and many others with excellent tips),

your hints helped a lot. Being on Debian, I could install the xml-commons
tools by simply doing:

  apt-get install libxml-commons-resolver1.1-java

I then modified your xep.bat (as I am on Linux), which seems to work fine
now. I attach it in case there are other Linux users who may find it useful.

What I don't quite understand is where you define the fact that the
CatalogManager.properties file is to be read in the /usr/local/XEP/lib
directory. (I am asking this because I had another script that embeds an
XEP call, and this one complains about "Cannot find CatalogManager.properties")

Thanks,
Marc

>>> Alexander Peshkov said:
>> Hello Marc,
>>
>> You are right, the link to Sun website is outdated (we should fix the
>> documentation). Sun has donated whole XML catalogs resolver stuff to
>> Apache project. Its new home is the xml-commons tools. It can be
>> downloaded from Apache website:
>>
>> xml-commons distribution (http://xml.apache.org/commons/)
>> downloadable from http://apache.gdi-tech.com/xml/commons/
>>
>> This resolver.jar has new paths, specifically you need to use:
>>
>> -Dcom.renderx.sax.entityresolver=org.apache.xml.resolver.tools.CatalogResol
     ver
>> -Dcom.renderx.jaxp.uriresolver=org.apache.xml.resolver.tools.CatalogResolve
     r
>>
>> Please find attached modified version of xep.bat along with sample
>> CatalogManager.properties and catalog.xml files which map references
>> to SVG DTDs to the local files. Both CatalogManager.properties and
>> catalog.xml as well as resolver.jar and SVG DTDs are supposed to be
>> placed into 'lib' subdirectory of XEP installation (actually DTD files
>> expected in 'lib/common/dtd/'). Please modify all paths to match your
>> system configuration.
>>
>> Hope this helps.

Marc Baaden

 BioMolSim meeting 2&3 Sep 2005: http://www.iecb.u-bordeaux.fr/satellite2005/

 Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris
 mailto:baaden@smplinux.de - http://www.baaden.ibpc.fr
 FAX: +33 15841 5026 - Tel: +33 15841 5176 ou +33 609 843217

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

Received on Tue Aug 30 04:15:03 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 30 2005 - 04:15:03 PDT