fixing the loop bug, fixing schematron text error rendering started
* schematron.c xmllint.c: fixing the loop bug, fixing schematron
text error rendering
* Makefile.am result/schematron/* test/schematron/zvon1*.sct:
started integrating within "make tests"
Daniel
diff --git a/xmllint.c b/xmllint.c
index b4c7b73..ca94c6c 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2591,7 +2591,7 @@
if (wxschematron != NULL) {
xmlSchematronValidCtxtPtr ctxt;
int ret;
- int flag = XML_SCHEMATRON_OUT_TEXT;
+ int flag;
if ((timing) && (!repeat)) {
startTimer();
@@ -2599,6 +2599,10 @@
if (debug)
flag = XML_SCHEMATRON_OUT_XML;
+ else
+ flag = XML_SCHEMATRON_OUT_TEXT;
+ if (noout)
+ flag |= XML_SCHEMATRON_OUT_QUIET;
ctxt = xmlSchematronNewValidCtxt(wxschematron, flag);
#if 0
xmlSchematronSetValidErrors(ctxt,