cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing BPMN2 prefix on Documentation element.

rdomingues
Champ in-the-making
Champ in-the-making
Hi everyone.

I have been trying to import a BPMN model without any success and I already know why. Given the following model excerpt:

<bpmn2:userTask id="UserTask_1" name="User Task 1">
      <bpmn2:documentation><![CDATA[dasadda&]]></bpmn2:documentation>


Activiti cannot parse this, however if I delete bpmn2 prefix from documentation,  Activiti parses it.

My question is. Is this known? Shouldn't bpmn2 prefix be allowed on documentation element..

I haven't checked yet, this issue on other elements, but I'll investigate.

Thanks in advance.
Rui Domingues
2 REPLIES 2

pedro_joao
Champ in-the-making
Champ in-the-making
Hello. I've come across this issue in the past…

If someone can clarify this would be great.

frederikherema1
Star Contributor
Star Contributor
Activiti expects the bpmn-namespace to be the default one, so no explicit check for that is done in the parsing. As the classes responsible for this just check on the "local name" of the element, I don't immediately see why it would fail. Can you share the exception you're experiencing?