* libxslt/pattern.c: fixed a bug in match="node()" reported by Ben Ko
Daniel
+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
* 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))) {