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/11/27 10:32:04 UTC

DO NOT REPLY [Bug 25045] - UT8Reader is throwing a ArrayOutOfBounds Exception

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=25045>.
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=25045

UT8Reader is throwing a ArrayOutOfBounds Exception





------- Additional Comments From phil@triloggroup.com  2003-11-27 09:32 -------
Sorry, but in fact it appears to not be a Xerces problem but a Microsoft JDBC 
driver pb. When you ask for 2043 bytes, its read() method returns 2048!!!
Sorry again.
            count = fInputStream.read(fBuffer, 0, length);
System.out.println( "UTF8 Reader: count="+count+", length="+length);
UTF8 Reader: count=2048, length=2043

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