[xep-support] Catalog file

Werner Donné werner.donne at re.be
Wed Jul 4 02:42:34 PDT 2007


Hi JingJung,

You can set the attached entity resolver on an XMLReader
and create a SAXSource with it.

Regards,

Werner.

jingjun long wrote:
> Hello,
> 
> I searched the supporting mail archive. There are some discussion about
> using xml catalog file. The following is an example of what I mean xml
> catalog file:
> 
> <?xml version="1.0" encoding="utf-8"?>
> 
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
> prefer="public">
> <public publicId="-//ASA//DTD BOOK//EN" uri="./DTD/book.dtd"/>
> 
> </catalog>
> 
> I downloaded the entity resolver from
> http://xml.apache.org/commons/index.html. It works fine.
> 
> 
> The thing is I have some "old" catalog file. Doese anyone of you has any
> ideas about "old" version of catalog file support? What I mean "old"
> catalog file is something like the following:
> 
> --
> CATALOG FILE
> --
> PUBLIC "-//ASA//DTD BOOK//EN" "./DTD/book.dtd"
> 
> 
> Can I use above catalog file in RenderX (Or maybe I should say in XML
> parser and XSL engine)?
> 
> I have several software (For example: XMetaL and RenderX) use the DTDs,
> I want they use the same catalog file to search for DTDs.
> 
> Thank you in advance.
> 
> JingJun Long
> 
> 
> 
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at 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
> 

-- 
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne at re.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CatalogResolver.java.gz
Type: application/x-tar
Size: 2071 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20070704/323c761f/attachment.tar>


More information about the Xep-support mailing list