Project

Profile

Help

Bug #5634

closed

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

Added by Michael Kay 15 days ago. Updated 12 days ago.

Status:
Resolved
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.

Actions #1

Updated by Michael Kay 12 days ago

  • Status changed from New to Resolved
  • Applies to branch 11, trunk added
  • Fix Committed on Branch 11, trunk added
  • Platforms .NET, Java added

Please register to edit this issue

Also available in: Atom PDF