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.

        This is the controller panel for Smart Panels app

            [CAM-1829] Fix namespace serialization

            Sebastian Menski created issue -
            Sebastian Menski made changes -
            Description Original: Currently the XML transformer adds for every namespace an extra url 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.
            New: 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.
            Sebastian Menski made changes -
            Rank New: Ranked higher
            Sebastian Menski made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]
            user-a6477 (Inactive) made changes -
            Assignee New: Daniel Meyer [ meyer ]
            Daniel Meyer made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Daniel Meyer made changes -
            Fix Version/s New: 7.1.0-alpha3 [ 13193 ]
            Thorben Lindhauer made changes -
            Workflow Original: camunda BPM [ 26054 ] New: Backup_camunda BPM [ 58324 ]

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

                Created:
                Updated:
                Resolved: