public void validate ( Document doc ) { try { doValidate ( doc ) ; } catch ( Exception e ) { throw new PluginException ( "Error validating document: " + e , e ) ; } }
Validate the given xmlDocument using any schemas specified in the document itself .