InputStreamReader inReader = new InputStreamReader(Dbunit.class
.getResourceAsStream(path), "UTF-8");
// FlatXmlDataSet fxset = new FlatXmlDataSet(inReader, true,
// enableColumnSensing, false);
// return fxset;
return new CachedDataSet(new FlatXmlProducer(new InputSource(
inReader), true, enableColumnSensing, false));
} else {
return new XmlDataSet(Dbunit.class.getResourceAsStream(path));
}