cvc-complex-type.3.2.2属性'uuid'不允许出现在元素'jasperreport'中 [英] cvc-complex-type.3.2.2 attribute 'uuid' is not allowed to appear in element 'jasperreport'
问题描述
下载适用于Linux的iReport-4.6.0,并在通过File-> New ...菜单创建新报告时,新报告未显示在预览中,但错误消息 cvc- complex-type.3.2.2属性'uuid'不允许出现在元素'jasperreport'
中。
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.
即使在选项中选择兼容性4.5.0,也会出现相同的错误消息。
打开由iReport-4.6.0(Windows)的其他用户生成的报告文件时也会出现相同的错误消息。
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).
报告文件将其架构设置为 http://jasperreports.sourceforge.net/xsd/jasperreport.xsd
,但此架构文件未提及任何 uuid
。
The report files have their schema to http://jasperreports.sourceforge.net/xsd/jasperreport.xsd
, but this schema file doesn't mention any uuid
.
可能是什么问题?
推荐答案
我找到了答案:
我用记事本++打开了JRXML文件并执行了搜索和替换 uuid =\ w * -\w * -\w * -\w * -\w *
,并选择了REGULAR EXPRESSION,使用空字符串,然后删除了所有出现的错误标记。
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.
为我工作。
这篇关于cvc-complex-type.3.2.2属性'uuid'不允许出现在元素'jasperreport'中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!