The routine xsltApplyTemplates, in the 'for' loop
near the end of the routine, changes the value of ctxt->node (which, of
course, is correct and required). Unfortunately, it does not bother to
restore the original value before leaving the routine. This (among many
more serious consequences) caused the "docbook" test "article.xml" to miss it's
Table of Contents. When the variable is saved before the loop and restored
after it, this test behaves "completely correctly" (note that this "correct"
output is NOT the output expected by the "make test" procedure) (my current
[assumed] correct behaviour is defined to be the output produced by the Saxon
java xslt processor).
Bill Brack
ABC QuickSilver
|