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?
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
I found an answer:
I opened the JRXML file with notepad++ and did a "Search and Replace" of uuid="\w*-\w*-\w*-\w*-\w*"
, and selected REGULAR EXPRESSION, with empty string then all the occurrences of this wrong tag were removed.
Worked for me.
Open report in the notpad++ and just only remove uuid and it's number.. After You will compile proper and generate report.... I have same problem and I solveby this way..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With