F
FilexBB
I try to bypass DTD validation within a xml message with the following
statement using jdom API
SAXBuilder builder = new SAXBuilder(false);
builder.setValidation(false);
builder.build("c:/abc.xml");
In API documentation, it mentions "setValiation()" can bypass DTD
validation, but still got
java.io.FileNotFoundException: C:\xxx.dtd (The system cannot find the
file specified)
It's seem the setValidation doesn't work.
Please advise.
statement using jdom API
SAXBuilder builder = new SAXBuilder(false);
builder.setValidation(false);
builder.build("c:/abc.xml");
In API documentation, it mentions "setValiation()" can bypass DTD
validation, but still got
java.io.FileNotFoundException: C:\xxx.dtd (The system cannot find the
file specified)
It's seem the setValidation doesn't work.
Please advise.