Marc,
You could use the classes from the Apache xml-commons project, including code from Norman Walsh. This is where the Sun utilities have
gone to (after their Project X parser ("Crimson") was moved to the Apache project, I presume).
Take a look at http://xml.apache.org/commons/components/resolver/resolver-article.html and at http://xml.apache.org/commons from where
you can select a suitable mirror for downloading the distribution. Look for xml-commons-resolver-1.1 or higher.
The "org.apache.xml.resolver.tools.CatalogResolver" class implements both EntityResolver and URIResolver. As RenderX expects a
no-argument constructor, you'll have to set appropriate system properties to specify (among other things) the catalogs that you want
to use.
A bit less straightforward than a "--nonet" or similar switch, I'm sorry.
Hoping this helps,
-- Jacques DESEYNE System Engineer Marketing Support - User Documentation SWIFT s.c. Messaging services to 7800 financial institutions in more than 200 countries Avenue Adele 1 B-1310 La Hulpe Please visit www.swift.com for more information on SWIFT. >-----Original Message----- >From: owner-xep-support@renderx.com >[mailto:owner-xep-support@renderx.com] On Behalf Of Marc Baaden >Sent: Monday, August 29, 2005 11:20 PM >To: xep-support@renderx.com >Subject: [xep-support] XML catalogs in XEP > > >Hi, > >sorry to take up a rather old message that I asked previously for >using (at that time) SGML catalogs with XEP. Having fully switched >to XML now, I wonder how to tell XEP to use my catalog system with >the root catalog in /etc/xml/catalog.xml (on a Debian system). > >I did read the XEP user guide section about resolution of external >entities, but did not quite grasp how you'd use it to specify a local >catalog file. And the in-depth link to Sun's site is outdated. > >So thanks for any help and assistance. > >Marc > >(also, for verification purposes, is there a kind of "--nonet" switch > like eg xsltproc has to verify that I am really only using local > files and no stuff from the net ?) > > >>>> Alexander Peshkov said: > >> [..] > >> The more general approach is to setup XML catalogs properly. Very > >> helpful info about XML catalogs creation can be found here: > >> http://wwws.sun.com/software/xml/developers/resolver/article/ > >> Note that starting from version 3.5 XEP provides support for XML > >> catalogs (so there is no real need for extension any more). Use of > >> XML catalogs with XEP described in section "3.5. Resolution of > >> External Entities and URIs" of "XEP 3.5 User Guide" (userguide.pdf, > >> included in XEP distribution). > >> [..] > >-- > 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 >
-------------------
(*) 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:06:35 PDT