Project

Profile

Help

Bug #149

closed

MessageWarner crashes on close() if no messages written

Added by Anonymous almost 14 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

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

Description

SourceForge user: mhkay

If the class net.sf.saxon.event.MessageWarner is nominated as the MessageEmitter for an XSLT transformation, but no messages are actually output during the transformation, then Saxon crashes trying to close the message emitter with the exception "java.lang.IllegalStateException: Emitter must have either a Writer or a StreamResult to write to".

A patch is being raised on both the 9.1 and 9.2 branches.

Actions #1

Updated by Anonymous over 13 years ago

SourceForge user: mhkay

Fixed in 9.2.1.2

Please register to edit this issue

Also available in: Atom PDF