[jdom-interest] DTD Validation with SAXBuilder()
jchen at centor.com
Thu Jun 17 10:17:57 PDT 2004
I am trying to validate the XML with DTD with the following code. I wrote an
invalidate xml for testing, but the code did not catch it (where
MyErrorHandler extends BuilderErrorHandler). Can you tell what went wrong?
SAXBuilder builder = new SAXBuilder (true);
MyErrorHandler handler = new MyErrorHandler();
reportsParamDoc = new SAXBuilder().build(file);
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest