try
{
final DocumentBuilder db = dbf.newDocumentBuilder();
db.setEntityResolver(ParserEntityResolver.getDefaultResolver());
db.setErrorHandler(new LoggingErrorHandler());
final InputSource input = new InputSource(stream);
final Document document = db.parse(input);
final Element documentElement = document.getDocumentElement();
if ("Schema".equals(documentElement.getTagName()))// NON-NLS
{