Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Not A Problem
-
3.1.0
-
None
-
None
-
Linux 64bit. CentOs 5
Description
I have a simple XML document (no DTD), UTF-8 encoded. One of the elements contains a large Base64 encoded binary object (1078616) characters. I feed the data through the BinInputStream 49151 bytes at a time. This works on Windows fine (it results in 2 calls to characters(one with about 1 million characters, the other with the remainder). On Linux I get 2 calls as well, 523 thousand and some characters each, but the remaining characters are never sent. the endOfElement callback comes next.
Sorry, not a bug. It is an error in my program and my misreading of the logs due to not knowing that the size of wchar_t is 4 on Linux while XMLCh is 2.