Sami Suuriniemi created XALANJ-2568:
---------------------------------------
Summary: TransformerImpl causes a
Key: XALANJ-2568
URL: https://issues.apache.org/jira/browse/XALANJ-2568
Project: XalanJ2
Issue Type: Bug
Security Level: No security risk; visible to anyone (Ordinary problems in
Xalan projects. Anybody can view the issue.)
Components: Xalan
Affects Versions: 2.7.1
Reporter: Sami Suuriniemi
Assignee: Steven J. Hathaway
Priority: Minor
In situation:
String sourceFile = "./transform.xsl";
TransformerFactory tFac = TransformerFactory.newInstance();
Transformer transformer = tFac.newTransformer(new StreamSource(sourceFile));
transformer.setOutputProperty("encoding", "UTF-8");
If source XSL file has UTF-8 characters in it and the FILE itself is not
encoded UTF-8 it causes a an odd and hard to locate nullpointerexception in eg,
java.lang.NullPointerException
at
org.apache.xalan.transformer.TransformerImpl.setOutputProperty(TransformerImpl.java:966)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]