validate
Validate a document. Need to use this method to validate due correct order:
XmlValidator
SAXValidator
In different order will be error because of Document tag, tag will not be passed to SAXValidator and processed as part of xml structure
Parameters
inputStream
The raw byte stream containing the document.
Throws
Any SAX exception, possibly wrapping another exception.
An IO exception from the parser, possibly from a byte stream or character stream supplied by the application.