Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1080 MessageWarner crashes on close() if no messages written

v9.2
closed
Michael Kay
5
2012-10-08
2010-07-09
Michael Kay
No

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.

Discussion

  • Michael Kay
    Michael Kay
    2010-08-09

    Fixed in 9.2.1.2