1
0
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:
Daniel Veillard
2002-09-09 12:08:24 +00:00
parent f9ff9edb1d
commit 367932aafb
2 changed files with 7 additions and 1 deletions

View File

@@ -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>
* libxslt.spec.in: fixes libary path for x86_64 AMD

View File

@@ -2174,7 +2174,8 @@ xsltGetTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node,
* Some of the tests for elements can also apply to documents
*/
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;
while ((list != NULL) &&
((ret == NULL) || (list->priority > priority))) {