[
https://issues.apache.org/jira/browse/XERCESC-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carol Szabo updated XERCESC-2007:
---------------------------------
Priority: Trivial (was: Major)
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.
was: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.
> Large text nodes truncated in SAX
> ---------------------------------
>
> Key: XERCESC-2007
> URL: https://issues.apache.org/jira/browse/XERCESC-2007
> Project: Xerces-C++
> Issue Type: Bug
> Components: SAX/SAX2
> Affects Versions: 3.1.0
> Environment: Linux 64bit. CentOs 5
> Reporter: Carol Szabo
> Priority: Trivial
>
> 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.
--
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: [email protected]
For additional commands, e-mail: [email protected]