You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/12/04 10:44:37 UTC

DO NOT REPLY [Bug 46149] XSLT task only writes to an outputstream

https://issues.apache.org/bugzilla/show_bug.cgi?id=46149


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2008-12-04 01:44:37 PST ---
it really has to be an output stream because the transformer may decide to use
an encoding different from the one used by your writer (this is what you see).

I don't think the Ant task is well suited as a way to do general XSLT
transformations, I'd use TraX directly, which isn't really more difficult than
using the Ant API.

I don't really see how you currently use the Ant API at all since it doesn't
expose a method to write to a stream, but only to files - or am I missing
something?

Honestly, I think this is a WONTFIX case since it sounds as if you were trying
to force Ant into doing things that it doesn't need to do - and your live would
be much simpler of you chose a different approach.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.