Community
Participate
Working Groups
Build Identifier: I have a BPMN2 choreogaphy model that has a default namespace (the BPMN2 URI xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"). However when I set a value in the targetNamespace field (Properties->Definitions->Target Namespace) it results in the value being placed in the default namespace as well as the targetNamespace attribute - but the previous default namespace is also present, so the resulting XML is no longer valid. Reproducible: Always Steps to Reproduce: 1. Using the PurchaseGoodsOriginal.bpmn model, select the Properties->Definitions tab 2. Set the "Target Namespace" field to any non-empty value 3. View the XML, and you will see two 'xmlns=' attributes on the top level element.
Created attachment 209265 [details] Original model, before setting the target namespace property Set the target namespace property on this model to see the duplicate xmlns (default namespace) created.
Created attachment 209266 [details] Example of the model after target namespace set This cannot be opened in the editor as it is no longer valid xml.
Looks like this is happening in the EMF/BPMN2 model, so will close the issue here.