-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
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
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. |
Rank | New: Ranked higher |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Remaining Estimate | New: 0 minutes [ 0 ] | |
Original Estimate | New: 0 minutes [ 0 ] |
Assignee | New: Daniel Meyer [ meyer ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Fix Version/s | New: 7.1.0-alpha3 [ 13193 ] |
Workflow | Original: camunda BPM [ 26054 ] | New: Backup_camunda BPM [ 58324 ] |