Conflicting sizex and sizey data between <table> and child <tables> is not properly handled (or handled at all)
Fix: Done. Create handler in DOMRomUnmarshaller.parseTable() -- override child table's
size attributes with parent's?
Added following code right before
return in DOMRomUnmarshaller.unmarshallTable()
Code:
// set axis sizes
if (table.getType() == Table.TABLE_2D) {
System.out.println(table.getName() + " 2D");
if (((Table2D)table).getAxis().isStatic() == false) ((Table2D)table).getAxis().setDataSize(table.getDataSize());
} else if (table.getType() == Table.TABLE_3D) {
System.out.println(table.getName() + " 3D");
if (((Table3D)table).getXAxis().isStatic() == false) ((Table3D)table).getXAxis().setDataSize(((Table3D)table).getSizeX());
if (((Table3D)table).getYAxis().isStatic() == false) ((Table3D)table).getYAxis().setDataSize(((Table3D)table).getSizeY());
}