/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SAXParserFactory spf = SAXParserFactory.newInstance() spf.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
URL: http://www.isocra.com/2006/05/making-xerces-ignore-a-dtd