You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Michael Glavassevich <mr...@ca.ibm.com> on 2011/08/12 16:17:52 UTC

Re: SAX Parser : I lose data

Hi,

SAX parsers are allowed to split contiguous text over multiple calls to
characters(). Please read this FAQ [1].

Thanks.

[1] http://xerces.apache.org/xerces2-j/faq-sax.html#faq-2

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

Pierre-Luc Pineault <PP...@korem.com> wrote on 08/12/2011 09:58:12 AM:

> Hello
>
> I'm using Xerces SAXParser to parse a KML file that I want to
> convert the coordinates. By cons, in a certain place in the file, I
> receive in the event Characters, a line that was cut and the rest of
> the line is lost. This data loss is causing me a huge problem in
> rendering. Is is possible to avoid this problem ?
>
> P-L