1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

fixed the bug generating a template loop in libxslt when using

* xpath.c: fixed the bug generating a template loop in libxslt
  when using docbook-xsl-1.4, * should filter out document nodes
* HACKING: added William
* TODO: updated
Daniel
This commit is contained in:
Daniel Veillard
2001-06-23 16:32:46 +00:00
parent 7b06bcb1d3
commit 8cf14d5ab6
4 changed files with 13 additions and 4 deletions

View File

@ -7361,9 +7361,7 @@ xmlXPathNodeCollectAndTest(xmlXPathParserContextPtr ctxt,
addNode(list, cur);
}
} else {
if ((cur->type == XML_ELEMENT_NODE) ||
(cur->type == XML_DOCUMENT_NODE) ||
(cur->type == XML_HTML_DOCUMENT_NODE)) {
if (cur->type == XML_ELEMENT_NODE) {
if (prefix == NULL) {
#ifdef DEBUG_STEP
n++;