AnsweredAssumed Answered

XML Parsing Error

Question asked by rsaunder on Apr 22, 2015
Latest reply on Nov 24, 2015 by ooactiviti
Creating a deployment throws an XML parsing exception. The bpmn20.xml file in fact fails validation but I'm not sure why.  Here are the namespaces:

definitions xmlns="" xmlns:xsi="" xmlns:xsd="" xmlns:activiti="" xmlns:bpmndi="" xmlns:omgdc="" xmlns:omgdi="" typeLanguage="" expressionLanguage="" targetNamespace="">

Here is an example of an offending element:
<serviceTask id="servicetask21" name="Verify Document" activiti:class="ActivitiServices.VerifyDocument"></serviceTask>

The error is:
Multiple annotations found at this line:
   - cvc-pattern-valid: Value 'ActivitiServices.VerifyDocument' is not facet-valid with respect to pattern '([a-z]{2,3}(\.[a-zA-Z][a-zA-Z_$0-9]*)*)\.([A-Z][a-zA-Z_$0-9]*)' for type
   - cvc-attribute.3: The value 'ActivitiServices.VerifyDocument' of attribute 'activiti:class' on element 'serviceTask' is not valid with respect to its type, 'null'.