FlatXmlDataSetBuilder accepts property caseSensitiveTableNames but if it set to false case insensitive tables are not fully supported.
E.g. if one created table MYTABLE in database and declared flat xml dataset with 'mytable' table name. FlatXmlDataSetBuilder converts names to uppercase only for Map keys of OrderedTableNameMap. Table name in table object itself will remain in lower case. So Dbunit won't find table in database.
<mytable column1='value1'/>
Thanks for the report.
Would you mind creating tests for this issue, proving the problem, and providing fixes please?
Yes, I'll prepare some tests. But I think this issue is not so easy to fix.
I've just noticed that the problem is not limit to FlatXmlDataSetBuidler class.
See deprecation comment at CaseInsensitiveDataSet class. It states that all IDataSet implementations are case insensitive. As we can see this is not true.
To fix the issue one should fully understand general naming strategy of the project. So the issue will be fixed globally.