Project

Profile

Help

Bug #3284

closed

xsl:number throws "Bad parent pointer found in..." message

Added by Jarno Elovirta almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2017-06-14
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.8
Fix Committed on Branch:
9.8
Fixed in Maintenance Release:
Platforms:

Description

Saxon-HE 9.8.0-1 throws

*** Bad parent pointer found in element()[fn:contains(...)] at 848 ***

messages. These seem to come from XSLT where xsl:number is used inside xsl:variable, e.g.

<xsl:variable name="uicontrolcount"><xsl:number count="*[contains(@class,' ui-d/uicontrol ')]"/></xsl:variable>

or

<xsl:variable name="itemgroupcount"><xsl:number count="*[contains(@class, ' topic/itemgroup ')]"/></xsl:variable>

Files

Archive.zip (89.1 KB) Archive.zip Test case and stylesheets Jarno Elovirta, 2017-06-15 17:58

Please register to edit this issue

Also available in: Atom PDF