an optimization of the char data inner loop, can gain up to 10% in pure

* parser.c: an optimization of the char data inner loop,
  can gain up to 10% in pure SAX2 parsing speed
* xmlschemas.c: applied patch from Kupriyanov Anatolij fixing
  a bug in XML Schemas facet comparison #310893
Daniel
diff --git a/xmlschemas.c b/xmlschemas.c
index 70be413..3948562 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -8689,7 +8689,6 @@
 	    xmlSchemaParseInclude(ctxt, schema, child);
 	    ctxt->includes--;
 	} else if (IS_SCHEMA(child, "redefine")) {
-	    fprintf(stderr, "redefine is not yet implemented\n");
 	    TODO
 	}
 	child = child->next;
@@ -15663,7 +15662,7 @@
 	    res = xmlSchemaCompareValues(fmininc->val, bfmaxinc->val);
 	    if (res == -2)
 		goto internal_error;
-	    if (res == -1) {
+	    if (res == 1) {
 		xmlSchemaDeriveFacetErr(pctxt, fmininc, bfmaxinc, -1, 1, 1);
 	    }
 	}