just do that :
     DOMParser parser = new DOMParser();
     parser.setFeature( "http://xml.org/sax/features/validation", false );
Bye, Dmitri.
-----Ursprüngliche Nachricht-----
Von: Laurent Cornelis [mailto:laurent@ubiquity.be]
Gesendet: Dienstag, 3. Oktober 2000 10:47
An: general@xml.apache.org
Betreff: How ask Xerces-J don't read DTD when DOM-parsing ?

I have a problem with Xerces-J : I want to parse an InputSource which has a DTD but I don't want that the parser read it because the DTD is on the Web and I don't want to be connected all the time . The parser that I use is a DOMParser, I tried a lot of things but nothing works... Help !