Meh-Lit Kim wrote:
Is there any guarantee that the org.xml.sax.ContentHandler.characters()
callback
will not break a whitespace-separated 'word' into different chunks ?
Michael is absolutely right.
In case you're interested, though, Xerces will split
the callbacks at the following:
1) a newline -- because newline chars have to be
normalized and it's more efficient to break up
the callbacks than to copy buffers; and
2) the end of an internal buffer
So, in general, you can never rely on all of the data
you need to be passed in a single characters callback.
--
Andy Clark * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]