[jdom-interest] Trouble with DTD

Alex Rosen arosen at silverstream.com
Tue May 14 07:56:56 PDT 2002


Check out the JDOM FAQ at jdom.org.

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Lendholt Matthias
> Sent: Tuesday, May 14, 2002 8:39 AM
> To: jdom-interest
> Subject: [jdom-interest] Trouble with DTD
> 
> 
> 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 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com



More information about the jdom-interest mailing list