You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/10/30 16:08:49 UTC

DO NOT REPLY [Bug 24252] New: - RewindableInputStream

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24252>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

RewindableInputStream 

           Summary: RewindableInputStream
           Product: Xerces2-J
           Version: 2.5.0
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: k.venugopal@sun.com
                CC: k.venugopal@sun.com


We get the following error when we try to read a bytestream encoded in UTF-16 in
xerces.

Exception in thread "main" java.lang.InternalError: Converter malfunction
(Unicode) -- please submit a bug report via
http://java.sun.com/cgi-bin/bugreport.cgi
	at java.io.InputStreamReader.malfunction(InputStreamReader.java:127)
	at java.io.InputStreamReader.convertInto(InputStreamReader.java:141)
	at java.io.InputStreamReader.fill(InputStreamReader.java:186)
	at java.io.InputStreamReader.read(InputStreamReader.java:249)
	at java.io.InputStreamReader.read(InputStreamReader.java:222)
	at Test.main(Test.java:13)
bash-2.05# 

A simple testcase to reproduce the problem is attached(simpletest.tar)

Revelant Testcase(test.tar)

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org