Project

Profile

Help

Bug #3754

closed

Multiple close() attempts on StreamResult

Added by John Lumley about 6 years ago. Updated over 5 years ago.

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

100%

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

Description

+9.9 trunk+

XsltController.applyTemplates() is prematurely closing the result stream when called from XsltTransformer.applyTemplates() when output is a FileOutputStream and output is default XML. This ends with XMLEmitter.close() being called twice, failing with the second @write.flush()@.

The commented-out logic for mustClose may need to be revisited

Please register to edit this issue

Also available in: Atom PDF