cancel
Showing results for 
Search instead for 
Did you mean: 

Attribute 'name' is not allowed to appear in element 'textAn

wolpert
Champ in-the-making
Champ in-the-making
I've been seeing XML generated by modeler (exported via cycle) fail to load via probe, with the following error:

Attribute 'name' is not allowed to appear in element 'textAnnotation'.

Sample XML it creates is here:
<textAnnotation id="TextAnnotation_6" name="TextAnnotation" textFormat="text/plain">
         <documentation id="sid-26152e80-5edb-4b76-b86b-c936b770df3f">Original Name: "" Original ID: "sid-B2CE0751-2C7C-44A1-B8A9-640F025B2176"</documentation>
         <text>Marked as blank was checked, and is it blank</text>
</textAnnotation>

Is the modeler/cycle correct in the xml format or is probe?
5 REPLIES 5

jbarrez
Star Contributor
Star Contributor
The engine validates the XML against the BPMN 2.0 schema, so probably it is incorrect.

Moving post to cycle forum.

wolpert
Champ in-the-making
Champ in-the-making
Okay, so this is a bug in cycle? Can you point me to the XSD that describes the textAnnotation node, as my search on
http://www.omg.org/spec/BPMN/20100501/ was fruitless…

The PDF spec only lists id and text as valid params to the textAnnotation node… so to me this appears as a problem in modeler.

bernd_ruecker
Champ in-the-making
Champ in-the-making
Hi Wolpert.

I guess then it is produced wrongly by the Activiti Modeler (check the "Raw BPMN" to make sure). I will check with the Signavios.

Cheers
Bernd

bernd_ruecker
Champ in-the-making
Champ in-the-making
Hi Wolpert.
It is a bug in the modeler, see http://code.google.com/p/signavio-core-components/issues/detail?id=16. But as far as I can see, it should be fixed in the modeler for 5.3, but I will double check.

Cheers
Bernd

wolpert
Champ in-the-making
Champ in-the-making
Thanks for the follow up, that's good to know.