i ve validated, problems are kinds of sticky types as far as i researched from the forums… the generated process xml and referring definitions have some kind of dont match issues…
<code>
Description Resource Path Location Type
cvc-attribute.3: The value 'mail' of attribute 'activiti:type' on element 'serviceTask' is not valid with respect to its type, 'null'. expense_process.bpmn /demo/src/main/resources/diagrams line 22 XML Problem
cvc-attribute.3: The value 'mail' of attribute 'activiti:type' on element 'serviceTask' is not valid with respect to its type, 'null'. expense_process.bpmn /demo/src/main/resources/diagrams line 124 XML Problem
cvc-complex-type.2.1: Element 'activiti:formProperty' must have no character or element information item [children], because the type's content type is empty. expense_process.bpmn /demo/src/main/resources/diagrams line 49 XML Problem
cvc-complex-type.2.1: Element 'activiti:formProperty' must have no character or element information item [children], because the type's content type is empty. expense_process.bpmn /demo/src/main/resources/diagrams line 76 XML Problem
cvc-complex-type.3.2.2: Attribute 'datePattern' is not allowed to appear in element 'activiti:formProperty'. expense_process.bpmn /demo/src/main/resources/diagrams line 17 XML Problem
cvc-complex-type.3.2.2: Attribute 'datePattern' is not allowed to appear in element 'activiti:formProperty'. expense_process.bpmn /demo/src/main/resources/diagrams line 43 XML Problem
cvc-complex-type.3.2.2: Attribute 'datePattern' is not allowed to appear in element 'activiti:formProperty'. expense_process.bpmn /demo/src/main/resources/diagrams line 70 XML Problem
cvc-complex-type.3.2.2: Attribute 'datePattern' is not allowed to appear in element 'activiti:formProperty'. expense_process.bpmn /demo/src/main/resources/diagrams line 95 XML Problem
cvc-enumeration-valid: Value 'mail' is not facet-valid with respect to enumeration '[shell]'. It must be a value from the enumeration. expense_process.bpmn /demo/src/main/resources/diagrams line 22 XML Problem
cvc-enumeration-valid: Value 'mail' is not facet-valid with respect to enumeration '[shell]'. It must be a value from the enumeration. expense_process.bpmn /demo/src/main/resources/diagrams line 124 XML Problem
</code>
still cant deploy the process above, resulting in xml "Deployment failed.Error parsing xml."…
this is turning to be cumbersome, any help?