cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti xsd problems

fandji
Champ in-the-making
Champ in-the-making
Hello

So as I'm triyng to setup usable xml files in kepler, i needed to have some xsds. so i tried to use the ones found in the designer repository, did function more or less, but gave me this error:

cvc-attribute.3: Der Wert 'mail' von Attribut 'activiti:type' bei Element 'serviceTask' ist bezüglich des Typs 'null' ungültig.

Using the bpmn_extensions_5_4.xsd with the additional bpmn20.xsd, all taken from here:

https://github.com/Activiti/Activiti-Designer/blob/master/org.activiti.designer.eclipse/xsd/activiti...

So after i got this error, i tried the xsds from https://github.com/Activiti/Activiti/blob/master/modules/activiti-bpmn-converter/src/main/resources/.... Because somehow the engine does an xml validation (Got some types those cool cvc complex errors from the engine). Nope, still not better.

Trying out bpmn_extensions_5_11.xsd, but doesn't change anything.

Looking around this forum i didn't anything more than that there were fixes, but the repositorys should hold the latest version of the xsd. Am I missing something?

Thanks in advance

fandji

PS:
bpmn_extensions_5_11.xsd made it worse with this error:

cvc-complex-type.2.4.a: Ungültiger Inhalt beginnend mit Element 'sequenceFlow' wurde gefunden. Eines der Attribute '{"http://www.omg.org/spec/BPMN/20100524/MODEL':flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL':artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL':resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL':correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL':supports}' wurde erwartet.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Hmmm we didn't try those xsd's for a long time, frankly because we see very little using them, and on top of that you can't express certain activiti extensions in it.

The engine actually using BPMN2.0_xsd. The custom activiti stuff isnt xsd-checked, but custom-parser checked. Could you give a go with BPMN2.0.xsd?