cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Activiti XML Schema (activiti.xsd)

limcheekin
Champ on-the-rise
Champ on-the-rise
Hi there,

As Activiti is support subset of BPMN 2.0, I think it is sensible to create an activiti.xsd for process elements supported by Activiti. It will make it easier for developers edit the XML directly using XML Editor.

Also, we as users of Activiti will have no doubt about which process elements supported by Activiti and which are don't.

What do you think?

Regards,
Chee Kin
10 REPLIES 10

jbarrez
Star Contributor
Star Contributor
I agree. Falko also already emailed me about it.
So it is a matter of time now to get it in (probably next release).

farrukh_najmi
Champ in-the-making
Champ in-the-making
+1 on creating XMl Schema for any any activity extension types.
-1 on creating a BPMN2 subset schema that is lioke BPMN2 schema but missing certain parts. I think this may create confusion and be a maintenance headache as we add more and more spec compliance over time.

jbarrez
Star Contributor
Star Contributor
I'm on the +1 side of things 😉

falko_menge
Champ in-the-making
Champ in-the-making
Should I commit what I created so far as a starting point?

jbarrez
Star Contributor
Star Contributor
Yes, if it doesnt break trunk 😉

limcheekin
Champ on-the-rise
Champ on-the-rise
-1 on creating a BPMN2 subset schema that is lioke BPMN2 schema but missing certain parts. I think this may create confusion and be a maintenance headache as we add more and more spec compliance over time.

It is true that it will increase the job to maintain the extra activiti.xsd, but I don't think it will create more confusion. I think it will bring more clarity to developers edit the XML directly especially when they are using visual XML editor. Moreover, it is unclear to me that Activiti supports which subset elements of BPMN 2.0. Yes, we can refer to the user guide, but don't you think it is good idea to let's the XML validator warns us if we enter elements that not supported by Activiti?

Look forward to coming release of Activiti with inclusion of the XSD.

Regards,
Chee Kin

falko_menge
Champ in-the-making
Champ in-the-making
I'll commit the schema after 5.0.rc1 is out.

What I also would like to have, would be a BPMN 2.0 XML Schema that contains documentation. It is quit an effort, but would be really helpful when editing the XML with a schema-aware editor.

limcheekin
Champ on-the-rise
Champ on-the-rise
I'll commit the schema after 5.0.rc1 is out.

What I also would like to have, would be a BPMN 2.0 XML Schema that contains documentation. It is quit an effort, but would be really helpful when editing the XML with a schema-aware editor.

Yes. I agreed. Please keep me inform after you commit the schema. Thanks.

Regards,
Chee Kin

yvoswillens
Champ in-the-making
Champ in-the-making
Hi,

I'm currently implementing such an editor in the Activiti Designer project.
Is it already in the repo?
I could try and implemented it in the next Designer release.

KR

Yvo Swillens