summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 10:35:06 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-05 10:35:06 +0000
commita14b57dc6cc1ec0562322490b9493bab501c0ff5 (patch)
tree9e7879fd810008f767a941fddabef6493474c51a /java/sca
parent33a251619ebe3121b7f56b4e80b2fb4595c247a8 (diff)
Don't let serious schema validation errors pass to fix for OASIS 120013
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@801124 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
index 2f933486b1..9d7927a81c 100644
--- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
+++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeFactoryImpl.java
@@ -275,7 +275,7 @@ public class NodeFactoryImpl extends NodeFactory {
*/
private void analyzeProblems() throws Exception {
for (Problem problem : monitor.getProblems()) {
- if ((problem.getSeverity() == Severity.ERROR) && (!problem.getMessageId().equals("SchemaError"))) {
+ if ((problem.getSeverity() == Severity.ERROR)) {
if (problem.getCause() != null) {
throw problem.getCause();
} else {