You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Shirish M. Kulkarni" <sh...@ptc.com> on 2001/12/11 15:17:26 UTC

Queries about the location / search path for the extern DTD

Hi,

I am trying to attempt the following using XERCES parser

   * Have all the XML instances to point to a <system directory > to
     pick up the external DTD declared.
   * Not to hard code the path to the <system directory> in all the
     XML files

Since, I could not find an API on Parser Interface, which will

   * get the current search path for the DTD
   * set the search path for the DTD

I have the following queries

   * What is the search path criteria for locating the external
     DTD declared in an XML instance
        o Local directory, $PATH, $CLASSPATH
        o Is it possible to set any environment variable to tune this ?
        o Any other work-around ?

Following is a general query

   * What all types of protocols does ( e.g. http, file, ? ) the
     XERCES parser support ?

--
With best regards,

Shirish