You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Busch, Timo" <Ti...@t-systems.de> on 2001/03/06 15:46:36 UTC

reading several Documents with the same DTD

Hello
 
Using Xerces 1.2.1 I have the following problem. I have several xml
documents which all share the same dtd. I parse the xml-files one by one
using a new instance of the same parser. The first document is parsed
correctly but when the second one is passed I get a fatal Error saying that
the dtd could not be found. 
 
I saw that for the second document the stream to the dtd-file could not be
opened so I assume that the first parser still holds the dtd-file.
 
Is there a posiibility to share the DTD-Files or to close it?
 
Any help would be very much appreciated.
 
timo
 

Timo Busch 
T-Systems 
debis Systemhaus GEI GmbH 
Geschäftsstelle Ulm 
Karlsruher Str. 3, 70771 Leinfelden-Echterdingen 
Telefon: (07 11) 972 - 2951 
Telefax: (07 11) 972 - 6002 
E-Mail: Timo.Busch@t-systems.de 
Internet:  <http://www.t-systems.de/> http://www.t-systems.de