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/05 23:01:14 UTC

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

Carol Szabo created XERCESC-2007:
------------------------------------

             Summary: 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


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.

--
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