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] New: XSLT task only writes to an outputstream
Date Wed, 05 Nov 2008 09:06:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46149

           Summary: XSLT task only writes to an outputstream
           Product: Ant
           Version: 1.7.1
          Platform: Macintosh
        OS/Version: Mac OS X 10.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: shaunramos@gmail.com


Currently the xslt task only allows writing to an outputstream. It should be
more flexible to allow writing to a character-based output (writers). This is
helpful especially when emulating a servlet program that calls the method
transform and passes in a printwriter instead of an outputstream. Right now,
using the same source xml and stylesheet, the xslt task generated html output
is different from that of the generated output from a servlet program - the
latter uses a printwriter.

The catch though is that the source xml contains some nordic(latin?) characters
(øæå). In the generated html, within the script tag, the characters, were
transformed into numeric characters entities when using the printwriter
(servlet program). Using xslt task, the characters were rendered correctly
because the outputstream is always used.


-- 
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