When running DG on a schema xml it does not print an informative enough error message when a mandatory element is missing
C:\cygwin\home\robert\ucosp\DG\dist\data\schemas\movie.xml
1085 [main] FATAL com.ibm.dg.DataGenerator - An exception occured while trying
to parse database configuration file: Mandatory attribute 'type' has not been sp
ecified.
It does not give any information about where the problem might be
The current error message it prints:
db2inst1@ubuntu-school:~/DG/dist$ java -jar DG.jar
1 [main] INFO com.ibm.dg.DataGenerator - Data Generator started. Version: 0.3 Revision: f9a8e61dc4a9 tip
App config file:
/home/db2inst1/DG/dist/config.xml
DB config file:
/home/db2inst1/DG/dist/data/schemas/aroma-broke.xml
1987 [main] FATAL com.ibm.dg.DataGenerator - An exception occured while trying to parse database configuration file: Mandatory attribute 'type' has not been specified.
1987 [main] FATAL com.ibm.dg.DataGenerator - Aborting.
1988 [Thread-0] WARN com.ibm.dg.DataGenerator - Shutting down.