[jboss-dev-forums] [Design of JBoss jBPM] - JPDL custom element attributes

paolodt do-not-reply at jboss.com
Mon Mar 5 07:42:15 EST 2007


It would be very useful to introduce in JPDL engine an API to handle custom attributes on process definition elements.

It could be done in a very easy way adding support for custom xml namespace in JDPL.

In this way it will possible to add custom attributes to annotate process elements (node, transition, task, etc). For example


<process-definition xmlns="urn:jbpm.org:jpdl-3.1" xmlns:custom="http://stuff.com/custom" >

<node node="node1" custom:attr1="x" custom:attr2="y" >
: 


:
</process-definition>

This would be useful to express extra semantics in domain specific language.


What do you think about?


Regards, Paolo Di Tommaso

  

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025030#4025030

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025030



More information about the jboss-dev-forums mailing list