I have encountered a problem in Xerces 1.2.0. During a SAX parse in the characters(char [], int, int) method. The contents of the element I am processing should be "1541". What I am seeing is:
1. characters(char [], int, int) is called once with a length of 2 resulting in a value of "15". 2. characters(char [], int, int) is called again with a length of 2 resulting in a value of "41". I have traced this to the fact that is element is spans the CharDataChunk chunk boundary with the "15" being in the first chunk and "41" in the second chunk. I confirmed this by changing the CHUNK_SHIFT to 16 giving me a 64k chunk from 16k. I have the following questions? 1. Has this been corrected in a later version of Xerces? 2. Is this something that my handler must deal with and if so can you direct me to some code patterns for solving the problem? 3. What problems if any will I encounter by increasing the chunk size? 4. Can this be configures without hacking the code? Randolph M. Cox, CDP, CCP Application Development Specialist COUNTRY Insurance and Financial Services 1711 G.E. Road Bloomington, Ill. 61702-2020 Ph. 309-821-3810 FAX 309-821-4009 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
