aspose file tools*
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
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?