This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes How do I turn off DTD retrieval within Xerces and Xalan? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How do I turn off DTD retrieval within Xerces and Xalan?" Watch "How do I turn off DTD retrieval within Xerces and Xalan?" New topic
Author

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

Teddy Wang
Greenhorn

Joined: Sep 17, 2003
Posts: 19
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
DocumentBuilderFactory#setValidating(false)
SAXParserFactory#setValidating(false)


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I turn off DTD retrieval within Xerces and Xalan?