Skip to content
Snippets Groups Projects
Commit 7c8a5ec1c590 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fix bug #120828 make sure that xsl:sort is empty. Daniel

* libxslt/preproc.c: fix bug #120828 make sure that xsl:sort is
  empty.
Daniel
parent 87535b5fa8b5
Branches
No related tags found
No related merge requests found
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
......
......@@ -296,7 +296,6 @@
xsltSortComp(xsltStylesheetPtr style, xmlNodePtr inst) {
xsltStylePreCompPtr comp;
if ((style == NULL) || (inst == NULL))
return;
comp = xsltNewStylePreComp(style, XSLT_FUNC_SORT);
......@@ -371,6 +370,11 @@
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++;
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment