Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12039

Flexible reports use an old noNamespaceSchemaLocation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 18.12.01, 17.12.05
    • Component/s: birt
    • Labels:
      None

      Description

      While working on using flexible reports during this discussion I found these errors in log:

      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'.
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              jleroux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: