You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Carol Szabo (JIRA)" <xe...@xml.apache.org> on 2013/02/06 02:12:11 UTC

[jira] [Closed] (XERCESC-2007) Large text nodes truncated in SAX

     [ https://issues.apache.org/jira/browse/XERCESC-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carol Szabo closed XERCESC-2007.
--------------------------------


Reporter took back the issue.
                
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org