* @return
* @throws Exception
*/
private synchronized Element getXSDXmlReport(String schema, Element md) {
// NOTE: this method assumes that enumerateTree has NOT been run on the metadata
ErrorHandler errorHandler = new ErrorHandler();
errorHandler.setNs(Edit.NAMESPACE);
Element xsdErrors;
try {
xsdErrors = validateInfo(schema,
md, errorHandler);