diff --git a/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/parse/BpmnParseTest.java b/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/parse/BpmnParseTest.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/parse/BpmnParseTest.java
+++ b/modules/activiti-engine/src/test/java/org/activiti/engine/test/bpmn/parse/BpmnParseTest.java
@@ -43,7 +43,9 @@ public class BpmnParseTest extends PluggableActivitiTestCase {
       repositoryService.createDeployment().name(resource).addClasspathResource(resource).deploy();
       fail();
     } catch (ActivitiException e) {
-      assertTextPresent("Attribute 'invalidAttribute' is not allowed to appear in element 'process'", e.getMessage());
+      assertTextPresent("cvc-complex-type.3.2.2:", e.getMessage());
+      assertTextPresent("invalidAttribute", e.getMessage());
+      assertTextPresent("process", e.getMessage());
     }
   }
ACT-<I>: changed assertion to allow distro to run on localized JDK