Hello,
U can try out this progressive parser in SAX, it will be helpful in stopping
and running the parser again.
rgrds
Vinod
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VINODKUMAR S.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SIEMENS COMMUNICATION SOFTWARE
E-mail : [EMAIL PROTECTED]
Other : [EMAIL PROTECTED]
Phone
Off : (+91)-80-559 4067-73
Extn. : 4513
Res : (+91)-80-565 3792
Address : #25/2, 7th Floor,
S.N.Towers,
Mahatma Gandhi Road,
Bangalore-560 001,
India.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: Miroslaw Dobrzanski-Neumann [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 12:11 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Separate MemBufInputSource as input
On Fri, Jun 22, 2001 at 12:19:29PM -0500, Williamson, Siehnai wrote:
> Hi,
>
> I am using the MemBufInputSource as my input source for the SAX parser.
> However, my application will have to stream the data piecemeal as separate
> MemBufInputSource's to the SAX parser because of the size of the input
> files.
>
> For instance, a MemBufInputSource will represent only a chunk of the
actual
> xml file. When the SAX parser reaches the end of that memory buffer, it
> will need to wait for the next MemBufInputSource to continue parsing
rather
> than ending the parse or giving an error. Is there a way for the SAX
parser
> to parse one buffer, wait, then parse another buffer, wait, and so on,
until
> you tell the parser that this is the last buffer?
Implement you own InputSource.
Few days ago I proposed a general InputSource for standard c++ istream, but
it
was rejected. The implementation is very simple if you want it tell me
please.
--
Miroslaw Dobrzanski-Neumann
MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
E-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]