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

numbering should not traverse XInclude nodes left in the tree. Closes bug

* libxslt/numbers.c: numbering should not traverse XInclude
  nodes left in the tree. Closes bug #101114 raised by
  Bernd Kuemmerlen
Daniel
parent 30ddce17be8c
No related branches found
No related tags found
No related merge requests found
Fri Dec 13 11:59:07 CET 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/numbers.c: numbering should not traverse XInclude
nodes left in the tree. Closes bug #101114 raised by
Bernd Kuemmerlen
Thu Dec 12 01:17:09 CET 2002 Daniel Veillard <daniel@veillard.com> Thu Dec 12 01:17:09 CET 2002 Daniel Veillard <daniel@veillard.com>
* doc/apibuild.py: fixed a bug in merging public info from * doc/apibuild.py: fixed a bug in merging public info from
......
...@@ -486,7 +486,9 @@ ...@@ -486,7 +486,9 @@
(cur->type == XML_HTML_DOCUMENT_NODE)) (cur->type == XML_HTML_DOCUMENT_NODE))
break; /* while */ break; /* while */
while ((cur->prev != NULL) && (cur->prev->type == XML_DTD_NODE)) while ((cur->prev != NULL) && ((cur->prev->type == XML_DTD_NODE) ||
(cur->prev->type == XML_XINCLUDE_START) ||
(cur->prev->type == XML_XINCLUDE_END)))
cur = cur->prev; cur = cur->prev;
if (cur->prev != NULL) { if (cur->prev != NULL) {
for (cur = cur->prev; cur->last != NULL; cur = cur->last); for (cur = cur->prev; cur->last != NULL; cur = cur->last);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment