Project

Profile

Help

Bug #5634

closed

xsl:on-empty - SignificantItemDetector#append(Item) is not implemented

Added by Michael Kay over 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2022-08-05
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
11, trunk
Fix Committed on Branch:
11, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

On the 12.x branch I'm getting a test failure on an xsl:on-empty test because SignificantItemDetector does not implement the method append(Item) (as opposed to append(Item, Location, int)) which means that a significant item sent to this method may go undetected, leading the "on-empty" instruction to fire when it should not.

I haven't seen an 11.x test that fails for this reason, but the incorrect code is there so a failure could easily occur, and the fix is trivial.

Please register to edit this issue

Also available in: Atom PDF