+Fri Oct 31 20:26:04 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/preproc.c: fix bug #120828 make sure that xsl:sort is
+ empty.
+
Fri Oct 31 15:53:45 CET 2003 Daniel Veillard <daniel@veillard.com>
* libxslt/documents.c libxslt/imports.c libxslt/xslt.c libxslt/xslt.h
xsltSortComp(xsltStylesheetPtr style, xmlNodePtr inst) {
xsltStylePreCompPtr comp;
-
if ((style == NULL) || (inst == NULL))
return;
comp = xsltNewStylePreComp(style, XSLT_FUNC_SORT);
comp->select);
if (style != NULL) style->errors++;
}
+ if (inst->children != NULL) {
+ xsltTransformError(NULL, style, inst,
+ "xsl:sort : is not empty\n");
+ if (style != NULL) style->errors++;
+ }
}
/**