[jdom-interest] Trouble with DTD

Lendholt Matthias matthias.lendholt at bln1.siemens.de
Tue May 14 05:38:51 PDT 2002


Hi

"public SAXBuilder(boolean validate)"

With the paramter validate of this constructor it is possible to prevent the
validation (of the xml file).

How is it possible to prevent SAX to search the DTD if one is mentioned in
the xml file ?

If the DTD can not be found, I get:

Error on line 0 of document file:///home/lendholt/test/pd1.xml: File
"file:///home/lendholt/test/ProjectDescription.dtd" not found.

I know, I can delete the row with the DTD-name of the xml file but is there
another way ?

Thank you,

Matthias Lendholt

----
Siemens AG - ICM N PG ES PD D2 
Siemensdamm 50
D-13629 Berlin 
Build. 10, Room E737
email: matthias.lendholt at bln1.siemens.de 
fon: +49-30-386-23484 



More information about the jdom-interest mailing list