Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-1829

Fix namespace serialization

    XMLWordPrintable

Details

    Description

      Currently the XML transformer adds for every namespaceUri an extra prefix even if it is globally defined. Which looks really ugly.

      Example:

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <definitions xmlns:camunda="http://activiti.org/bpmn" targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL">
      <process id="process_4dd2fa37-cdab-4314-8ae6-5faf3b63b809">
      <startEvent id="start" xmlns:ns0="http://activiti.org/bpmn" ns0:test1="hello" xmlns:ns1="http://activiti.org/bpmn" ns1:test2="world"/>
      </process>
      </definitions>

      Althoug the camunda prefix is globally definied the transformer adds the ns0 and ns1 prefix to the start event.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              meyer Daniel Meyer
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce