{
flatXmlDataSetBuilder.setMetaDataSetFromDtd(Thread.currentThread().getContextClassLoader().getResourceAsStream(dtd));
}
catch (DataSetException e)
{
throw new DBUnitInitializationException("Unable to attach DTD " + dtd + " defined for " + xmlFile, e);
}
catch (IOException e)
{
throw new DBUnitInitializationException("Unable to attach DTD " + dtd + " defined for " + xmlFile, e);
}
}
}