Bad parent pointer message in Saxon-HE-9.8.0-2
Saxon-HE-9.8.0-2 from maven issues a following text on output during compilation:
*** Bad parent pointer found in param at ...my.xslt#7 *** *** Bad parent pointer found in $e at ...my.xslt#9 *** *** Bad parent pointer found in $e at ...my.xslt#9 ***
on the following xslt:
<xsl:sequence select="$e, $e"/>
Not sure whether it's an error of an info but it looks scaring. This does not happen with earlier versions.
P.S. Use any input.
Thanks for reporting it. I have reproduced it.
The "bad parent pointer found" indicates that something has gone wrong usually while rewriting the expression tree during optimization. It's an early indicator of problems: very often the code recovers from the problem (the tree can be repaired) but sometimes a crash occurs later on as a consequence. So you're right, it's an indicator that there's a problem we need to fix.
Logged as a bug here:
Please track this issue for an explanation and eventual resolution.
Please register to reply