[
https://issues.apache.org/jira/browse/OFBIZ-12039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207303#comment-17207303
]
ASF subversion and git services commented on OFBIZ-12039:
---------------------------------------------------------
Commit 908db3444972f5f6cb4c71ea3de8abd546cc7979 in ofbiz-plugins's branch
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=908db34 ]
Fixed: Flexible reports use an old noNamespaceSchemaLocation (OFBIZ-12039)
While working on using flexible reports during this discussion
(https://markmail.org/message/qgebmemkqb6ddgzw)
I found this kind of errors in log:
XmlFileLoader: File Internal Content process error. Line: 20. Error message:
TargetNamespace.2: Expecting no namespace, but the schema document has a target
namespace of 'http://ofbiz.apache.org/Widget-Form'.
Turned out that it was due to an old use of noNamespaceSchemaLocation when
dynamically creating forms.
The fix is to use the same definition than in current forms.
Thanks: Georg Potthast for starting the discussion
> Flexible reports use an old noNamespaceSchemaLocation
> -----------------------------------------------------
>
> Key: OFBIZ-12039
> URL: https://issues.apache.org/jira/browse/OFBIZ-12039
> Project: OFBiz
> Issue Type: Bug
> Components: birt
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Major
>
> While working on using flexible reports during [this
> discussion|https://markmail.org/message/qgebmemkqb6ddgzw] I found these
> errors in log:
> {noformat}
> 2020-10-03 19:07:48,924 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 20. Error
> message: TargetNamespace.2: Expecting no namespace, but the schema document
> has a target
> namespace of 'http://ofbiz.apache.org/Widget-Form'.
> 2020-10-03 19:07:48,924 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 1. Error
> message: cvc-elt.1.a: Cannot find the declaration of element 'forms'.
> 2020-10-03 19:07:48,926 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 20. Error
> message: TargetNamespace.2: Expecting no namespace, but the schema document
> has a target
> namespace of 'http://ofbiz.apache.org/Widget-Form'.
> 2020-10-03 19:07:48,929 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 20. Error
> message: TargetNamespace.2: Expecting no namespace, but the schema document
> has a target
> namespace of 'http://ofbiz.apache.org/Widget-Form'.
> 2020-10-03 19:07:48,931 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 20. Error
> message: TargetNamespace.2: Expecting no namespace, but the schema document
> has a target
> namespace of 'http://ofbiz.apache.org/Widget-Form'.
> 2020-10-03 19:07:48,933 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 20. Error
> message: TargetNamespace.2: Expecting no namespace, but the schema document
> has a target
> namespace of 'http://ofbiz.apache.org/Widget-Form'.
> 2020-10-03 19:07:48,935 |jsse-nio-8443-exec-4 |UtilXml
> |E| XmlFileLoader: File Internal Content process error. Line: 20. Error
> message: TargetNamespace.2: Expecting no namespace, but the schema document
> has a target
> namespace of 'http://ofbiz.apache.org/Widget-Form'.
> {noformat}
> Turned out that it was due to an old use of noNamespaceSchemaLocation when
> dynamically creating forms. The fix is to use the same definition than in
> current forms.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)