[jira] [Created] (XALANJ-2568) TransformerImpl causes a

2013-01-17 Thread Sami Suuriniemi (JIRA)
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: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org



[jira] [Updated] (XALANJ-2568) TransformerImpl NullPointerException when faulty encoded XSL file

2013-01-17 Thread Sami Suuriniemi (JIRA)

 [ 
https://issues.apache.org/jira/browse/XALANJ-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sami Suuriniemi updated XALANJ-2568:


Summary: TransformerImpl NullPointerException when faulty encoded XSL file  
(was: TransformerImpl causes a )

 TransformerImpl NullPointerException when faulty encoded XSL file
 -

 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: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org