Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3143

targetNamespace and schemaLocation missing in generated XML for process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 5.3
    • jBPM 5.0
    • Eclipse
    • None
    • Hide

      create a new process using BPMN2 Visual Editor by codehoop and look at the definitions root element of the generated XML. When the process is executed, you will see errors on console. A sample process is attached for reference.

      Show
      create a new process using BPMN2 Visual Editor by codehoop and look at the definitions root element of the generated XML. When the process is executed, you will see errors on console. A sample process is attached for reference.

    Description

      The process XML generated behing the scenes does not have targetNamespace and schemaLocation for BPMN20.xsd, thus gives warnings when the process is executed.

      warnings on console are

      (null: 2, 360): cvc-elt.1: Cannot find the declaration of element 'bpmn2:definitions'.
      (null: 33, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
      (null: 34, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
      (null: 37, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.
      (null: 38, 63): cvc-elt.4.2: Cannot resolve 'dc:Point' to a type definition for element 'di:waypoint'.

      Attachments

        Activity

          People

            bbrodt_jira Robert (Bob) Brodt (Inactive)
            harjotnarula09 Harjot Narula (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: