0

I have an xml file that has a schema as follows

<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "JATS-journalpublishing1.dtd">

I have put JATS-journalpublishing1.dtd on the project root but still complaining with dom4j.documentException. My code looks like this..

SAXReader dom = new SAXReader();</br>

dom.setValidation(false);

Document document = dom.read("some.xml");

How do I tell the project to ignore the validation

Community
  • 1
  • 1

0 Answers0