mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-08 21:42:07 +03:00
fixed a bug in match="node()" reported by Ben Ko Daniel
* libxslt/pattern.c: fixed a bug in match="node()" reported by Ben Ko Daniel
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
Mon Sep 9 14:07:06 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* libxslt/pattern.c: fixed a bug in match="node()" reported by
|
||||||
|
Ben Ko
|
||||||
|
|
||||||
Mon Sep 9 14:06:25 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
Mon Sep 9 14:06:25 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* libxslt.spec.in: fixes libary path for x86_64 AMD
|
* libxslt.spec.in: fixes libary path for x86_64 AMD
|
||||||
|
@@ -2174,7 +2174,8 @@ xsltGetTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node,
|
|||||||
* Some of the tests for elements can also apply to documents
|
* Some of the tests for elements can also apply to documents
|
||||||
*/
|
*/
|
||||||
if ((node->type == XML_DOCUMENT_NODE) ||
|
if ((node->type == XML_DOCUMENT_NODE) ||
|
||||||
(node->type == XML_HTML_DOCUMENT_NODE)) {
|
(node->type == XML_HTML_DOCUMENT_NODE) ||
|
||||||
|
(node->type == XML_TEXT_NODE)) {
|
||||||
list = curstyle->elemMatch;
|
list = curstyle->elemMatch;
|
||||||
while ((list != NULL) &&
|
while ((list != NULL) &&
|
||||||
((ret == NULL) || (list->priority > priority))) {
|
((ret == NULL) || (list->priority > priority))) {
|
||||||
|
Reference in New Issue
Block a user