Bug #3754
Updated by Michael Kay over 5 years ago
+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