Saxon XSLT Transformation: How to close outputstream when failing during transformation

后端 未结 1 1285
长情又很酷
长情又很酷 2021-01-28 12:21

I want to do a XSLT transformation with multiple output files. There for I used \"xsl:result-document\". When the transformation fails, all output files should be deleted. But i

相关标签:
1条回答
  • 2021-01-28 12:57

    I suspect you have uncovered a bug. I've logged it here: please track it for a resolution.

    https://saxonica.plan.io/issues/1857

    You could work around the problem by registering your own OutputURIResolver (perhaps based on the standard one) which keeps track of all open output streams and has the ability to be called directly by the application to close them at the end.

    0 讨论(0)
提交回复
热议问题