RE: Problem understanding characters() callback in SAX2 parser

2001-08-14 Thread David_N_Bertoni
em understanding characters() callback in SAX2 parser I don't fully know the internals of Xerces so maybe my problem is caused bya misunderstanding. Although, I'd need some advice about something. I'm using SAX2 to parse an XML file and retrieve its content. It's been running fine

Re: Problem understanding characters() callback in SAX2 parser

2001-08-14 Thread Joseph_Kesselman
>Is there a way to only get one call to characters or do I have to >concatenate the contents? The latter. SAX explicitly does _not_ promise that all adjacent text will be delivered as a single call to characters(), for reasons having to do with buffer management inside parsers. Entities are one

RE: Problem understanding characters() callback in SAX2 parser

2001-08-14 Thread Prior, Chris
() callback in SAX2 parser I don't fully know the internals of Xerces so maybe my problem is caused bya misunderstanding. Although, I'd need some advice about something. I'm using SAX2 to parse an XML file and retrieve its content. It's been running fine for a while until someone u

RE: Problem understanding characters() callback in SAX2 parser

2001-08-14 Thread Prior, Chris
Hi, You have to concat the contents until you get endElement. Chris -Original Message- From: Benoît Desmeules [mailto:[EMAIL PROTECTED]] Sent: 14 August 2001 16:53 To: [EMAIL PROTECTED] Subject: Problem understanding characters() callback in SAX2 parser I don't fully kno

Problem understanding characters() callback in SAX2 parser

2001-08-14 Thread Benoît Desmeules
I don't fully know the internals of Xerces so maybe my problem is caused by a misunderstanding. Although, I'd need some advice about something. I'm using SAX2 to parse an XML file and retrieve its content. It's been running fine for a while until someone used < and > codes in the XML file. Whe