xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Romanovski" <Dmitri.Romanov...@wisoftware.de>
Subject AW: How ask Xerces-J don't read DTD when DOM-parsing ?
Date Tue, 03 Oct 2000 10:45:39 GMT
hi,

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 ?


  Hello,

  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 !

  Laurent

Mime
View raw message