Validates the given Document by writing it to a validating SAX Parser.
@param document is the Document to validate
@throws SAXException if a validation error occurs
@throws RuntimeException DOCUMENT ME!
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.