fix a Relax-NG bug related to element content processing, fixes bug

* relaxng.c: fix a Relax-NG bug related to element content processing,
  fixes bug #302836
Daniel
diff --git a/ChangeLog b/ChangeLog
index 05c8689..c4ad209 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 13 18:30:55 CEST 2006 Daniel Veillard <daniel@veillard.com>
+
+	* relaxng.c: fix a Relax-NG bug related to element content processing,
+	  fixes bug #302836
+
 Fri Oct 13 14:42:44 CEST 2006 Daniel Veillard <daniel@veillard.com>
 
 	* parser.c: fix a problem in xmlSplitQName resulting in bug #334669
diff --git a/relaxng.c b/relaxng.c
index dd8b6cd..16527cc 100644
--- a/relaxng.c
+++ b/relaxng.c
@@ -9899,8 +9899,10 @@
                 if ((ctxt->flags & FLAGS_IGNORABLE) == 0) {
                     xmlRelaxNGDumpValidError(ctxt);
                     ret = 0;
+#if 0
                 } else {
                     ret = -2;
+#endif
                 }
             } else {
                 if (ctxt->errNr > errNr)