|[BPMN2] What determines the id type of Definitions? [message #718895]
||Thu, 25 August 2011 15:11
Registered: February 2011
Hi all, I am generating BPMN2 using eclipse.bpmn2 API. Looking at the generated definitions element, for example:|
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ... id="f667d0cc-fe19-49eb-90eb-2efe17812663" ..../>
the id attribute is not of type NCName, which is what it should be as per BPMN20 xsd.
Looking at the BPMN20.ecore in eclipse.bpmn2 model Definitions extends BaseElement and BaseElement defines attribute "id" of EType EString[java.lang.String].
When I change this type to NCName however, my generated BPMN2 picks up this change for all elements _except_ the definition element where the id is still of type EString.
Could someone please let me know where in the model I can specifically change the type of the id attribute of the definitions element??
I also tried changing the Diagram element in DI.ecore and set the id type to NCName, however that did not do anything either. Please let me know if there is some magic going on here or am I missing something obvious.
[Updated on: Thu, 25 August 2011 15:13]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01657 seconds