RE: splits in character data using SAX

2004-02-23 Thread Vincent Finn
so what is the best strategy for getting a complete text? Do I have to do multiple calls to parseNext whenever I hit a text node until I hit an endElement? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 23 February 2004 17:50 > To: [EMAIL PROTECTED] > S

Re: splits in character data using SAX

2004-02-23 Thread david_n_bertoni
Hi, The parser will also make multiple calls to the characters function when it encounters an entity reference, so your plan is likely unworkable. Also, it's quite possible the buffer size could change in the future, or the parser's behavior could change for some other reason. Dave

splits in character data using SAX

2004-02-23 Thread Vincent Finn
Hi, I have a question about the way DefaultHandler::characters() can send to chunks for a single text element I found an answer of sorts in the mail archive but I am hoping for a bit more certainty The question is when will the characters function split data? Are there specific rules? What I a