Fix namespace serialization

XMLWordPrintable

      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.

            Assignee:
            Daniel Meyer
            Reporter:
            Sebastian Menski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: