what 's wrong?
"Activiti in Action 2012" chapter 5
there is a process with activiti form property definition like this:
<activiti:formProperty id="requestApproved" name="Do you approve the request?" required="true" type="enum"> <activiti:value id="true" name="Yes"/> <activiti:value id="false" name="No"/> </activiti:formProperty>
all right, seems a alternative selection.
but when type in eclipse, the xml editor report errors, that's activiti:formProperty 's content type is empty.
I check out the activiti-bpmn-extensions-5.15.xsd and found nothing.
finally check the eclipse -> window -> preferences -> xml -> xml category
and what sudden me is
the http://activiti.org/bpmn 's xsd is defined by plugin called Activiti Bpmn Designer version 5.14.1 which uses activiti-bpmn-extensions-5.4.xsd which is a lower edition.
I dont update the bpmn designer, and only specify another eclipse xsd using 15 edition.
references:
http://blog.sina.com.cn/s/blog_6940a6780100jhjx.html
http://forums.activiti.org/content/vs-validation-errors
(this inspire me)