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
>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
() 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
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
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