[ https://issues.apache.org/jira/browse/OFBIZ-12039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-12039. ----------------------------------- Fix Version/s: 17.12.05 18.12.01 Resolution: Fixed > 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 > Fix For: 18.12.01, 17.12.05 > > > 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)