http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2291

*** shadow/2291 Fri Jun 22 12:06:11 2001
--- shadow/2291.tmp.21617       Fri Jun 22 12:06:11 2001
***************
*** 0 ****
--- 1,33 ----
+ +============================================================================+
+ | Reading "META-INF/services/" should NOT assume default character encoding  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2291                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.x                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version: Other                   |
+ |     Priority: Other                     Component: javax.xml               |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                   |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I installed Xalan-J_2_1_0 on an OS/390 V2.10 system. The following classes 
+ assume that the default character encoding of the executing system is UTF-8.
+ 
+ ./javax/xml/parsers/DocumentBuilderFactory.java
+ ./javax/xml/parsers/SAXParserFactory.java      
+ ./javax/xml/transform/TransformerFactory.java  
+ 
+ This is not true on systems like OS/390 V2.10. To fix these classes, change the 
+ code to read:
+ 
+ BufferedReader rd =new BufferedReader(new InputStreamReader(is,"UTF-8"));
+ 
+ instead of:
+ 
+ BufferedReader rd =new BufferedReader(new InputStreamReader(is));
+ 
+ Or, they will not be able to correctly read META-INF/services/
\ No newline at end of file

Reply via email to