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.CatalogResolver
-Dcom.renderx.jaxp.uriresolver=org.apache.xml.resolver.tools.CatalogResolver
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.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
MB> Hi,
MB> sorry to take up a rather old message that I asked previously for
MB> using (at that time) SGML catalogs with XEP. Having fully switched
MB> to XML now, I wonder how to tell XEP to use my catalog system with
MB> the root catalog in /etc/xml/catalog.xml (on a Debian system).
MB> I did read the XEP user guide section about resolution of external
MB> entities, but did not quite grasp how you'd use it to specify a local
MB> catalog file. And the in-depth link to Sun's site is outdated.
MB> So thanks for any help and assistance.
MB> Marc
MB> (also, for verification purposes, is there a kind of "--nonet" switch
MB> like eg xsltproc has to verify that I am really only using local
MB> files and no stuff from the net ?)
>>>> Alexander Peshkov said:
MB> >> [..]
MB> >> The more general approach is to setup XML catalogs properly. Very
MB> >> helpful info about XML catalogs creation can be found here:
MB> >> http://wwws.sun.com/software/xml/developers/resolver/article/
MB> >> Note that starting from version 3.5 XEP provides support for XML
MB> >> catalogs (so there is no real need for extension any more). Use of
MB> >> XML catalogs with XEP described in section "3.5. Resolution of
MB> >> External Entities and URIs" of "XEP 3.5 User Guide" (userguide.pdf,
MB> >> included in XEP distribution).
MB> >> [..]
-------------------
(*) 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
This archive was generated by hypermail 2.1.8 : Tue Aug 30 2005 - 03:00:10 PDT