* xsltproc/xsltproc.c libxslt/xsltutils.c doc/xsltproc.xml:
fixed some return code problems raised by Thomas Mauch
Daniel
+Thu May 2 11:08:22 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * xsltproc/xsltproc.c libxslt/xsltutils.c doc/xsltproc.xml:
+ fixed some return code problems raised by Thomas Mauch
+
Tue Apr 30 18:06:14 CEST 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/transform.c: don't allow adding an attribute to
<para>7: unsupported xsl:output method</para>
<para>8: string parameter contains both quote and double-quotes</para>
<para>9: internal processing error</para>
+ <para>10: processing was stopped by a terminating message</para>
</refsect1>
} else {
xsltGenericError(xsltGenericErrorContext,
"xsl:message : terminate expecting 'yes' or 'no'\n");
+ ctxt->state = XSLT_STATE_ERROR;
}
xmlFree(prop);
}
}
if (ctxt->state == XSLT_STATE_ERROR)
errorno = 9;
+ if (ctxt->state == XSLT_STATE_STOPPED)
+ errorno = 10;
xsltFreeTransformContext(ctxt);
if (timing) {
if (repeat)
}
cur = xsltParseStylesheetDoc(style);
if (cur != NULL) {
+ if (cur->errors != 0) {
+ errorno = 5;
+ goto done;
+ }
if (cur->indent == 1)
xmlIndentTreeOutput = 1;
else