Project

Profile

Help

Bug #4457

closed

MessageListener.message() terminate parameter set incorrectly

Added by Michael Kay about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
-
Start date:
2020-02-10
Due date:
% Done:

100%

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

Description

(Since 9.9.1.6) A call to a user-supplied MessageListener.message() method does not set the terminate parameter to true when <xsl:message terminate="yes"> was specified.

Unit test TestMessageListener.testMessageTerminate() created.

Actions #1

Updated by Michael Kay about 4 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 9.9, trunk added

A slightly messy fix, but it works: the xsl:message code now inserts into the pipeline (between the document builder and the message emitter) a custom ProxyReceiver that adds the TERMINATE property to the startDocument() event.

Actions #2

Updated by O'Neil Delpratt about 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.7 added

Patch applied in the 9.9.1.7 maintenance release.

Please register to edit this issue

Also available in: Atom PDF