Thanks Tom but the goal here unfortunately is to be able to explicitly specify a local URL for the simple DTD used in a fixed application and by specifying

<!DOCTYPE CFS SYSTEM "file:///D:/GFA/cfs.dtd">

with THREE slashes works just fine....

project time line and available resources ...

Alan





"Tom Wang" <[EMAIL PROTECTED]>

08/12/2002 06:19 PM
Please respond to xerces-j-user

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        RE: specifying an absolute reference to the local file system via URL



Alan,
 
You can implement your own entity resolver to locate the DTD during runtime.  Check out the SAX EntityResolver interface.
 
Tom Wang
Panscopic Corporation
http://www.panscopic.com/
 
-----Original Message-----
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Monday, August 12, 2002 1:17 PM
To:
[EMAIL PROTECTED]
Subject:
specifying an absolute reference to the local file system via URL


Hi -


I saw this awhile back but cannot remember the proper syntax -


i have the following -

<!DOCTYPE CFS SYSTEM "cfs.dtd">


but need it to be
<!DOCTYPE CFS SYSTEM "file://D:/GFA/cfs.dtd">


I want the URL to reference the local file system ....


this will be a local application running on W2K machines without network connectivity.


thanks for any help with this.


alan


Reply via email to