handler = new DTSMContentHandler(builder);
SAXHelper.parse(source, handler);
SAXException e = handler.getException();
if ( e != null )
throw new DTSMException("Error parsing document", e);
else
return builder.buildDocumentTable();
}
catch ( SAXException e ) {
throw new DTSMException(e);
}
catch ( IOException e ) {
throw new DTSMException(e);
}
}