Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Boost this thread!