ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46149] XSLT task only writes to an outputstream
Date Thu, 04 Dec 2008 09:44:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46149


Stefan Bodewig <bodewig@apache.org> changed:

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




--- Comment #1 from Stefan Bodewig <bodewig@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.

Mime
View raw message