summaryrefslogtreecommitdiff
path: root/relaxng.c
diff options
context:
space:
mode:
Diffstat (limited to 'relaxng.c')
-rw-r--r--relaxng.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/relaxng.c b/relaxng.c
index dd8b6cd..16527cc 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -9899,8 +9899,10 @@ xmlRelaxNGValidateState(xmlRelaxNGValidCtxtPtr ctxt,
if ((ctxt->flags & FLAGS_IGNORABLE) == 0) {
xmlRelaxNGDumpValidError(ctxt);
ret = 0;
+#if 0
} else {
ret = -2;
+#endif
}
} else {
if (ctxt->errNr > errNr)