Test, test, test.
Step 2: The rest is easy.
Finally, test, test, test. There are unit tests in net.windward.datasource.dom4j.test and net.windward.datasource.jdbc.test and you are encouraged to either borrow from them and/or implement similar tests. If your data source code has a bug in it, it will affect all of Windward Reports.