You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Guy Nirpaz <ni...@netvision.net.il> on 2000/12/18 12:11:52 UTC

Xerces J - DTD name resolution

Hi,

The version I refer to is - Xerces J, version 1.2.3.

I am trying to do SAX parsing using with my own EntityResolver. When I put
the following doc type declaration in my XML file, I find that the systemId
that is passed to the EntityResolver is something like
file://jvm_startup_dir/query.dtd

<!DOCTYPE query SYSTEM "query.dtd">

I would like to get only the relative file name as I define it in the
document type declaration. Is it possible?

Thanks in advance,


Guy Nirpaz
Java Architect

Tantian Corp.
guyn@tantian.com