cvc-complex-type.3.2.2 attribute 'uuid' is not allowed to appear in element 'jasperreport'

Markus Pscheidt picture Markus Pscheidt · Jul 13, 2012 · Viewed 46k times · Source

Downloaded iReport-4.6.0 for Linux and when creating a new report via the File->New... menu, the new report is not shown in the preview, but the error message cvc-complex-type.3.2.2 attribute 'uuid' is not allowed to appear in element 'jasperreport' instead.

The same error message happens even when choosing compatibility 4.5.0 in the options. The same error message happens also when opening a report file that was being produced by other users of iReport-4.6.0 (Windows).

The report files have their schema to http://jasperreports.sourceforge.net/xsd/jasperreport.xsd, but this schema file doesn't mention any uuid.

What could be the problem?

Answer

Marthym picture Marthym · Dec 4, 2012

In iReport Designer, in the options window you can change compatibility mode to the version you prefer. For me if I put compatibility to jasperreport 3.5.1, when I save the report again, the uuid are all removed.

Regards