Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I turn off DTD retrieval within Xerces and Xalan?

 
Teddy Wang
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm building an intranet application which resides behind a firewall which will probably not allow me to retrieve DTD's for parsing or transforming purposes. How do I de-activate teh DTD retrieval?

Thanks!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DocumentBuilderFactory#setValidating(false)
SAXParserFactory#setValidating(false)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic