Hi, 

I have got some questions about
SAX2 parser. (it is important, it is going about SAX2 !!! parser)
First, is it possible to to
parse from memory, but not
the hole xml at once, 
but piece for piece... ?
So I have always only peaces
in memory...

So, as far I can see, MemBufInputsource
reads from memory, but you have to
define the amount before, and
I think it only works, if the hole XML is in 
Memory present, with all start and end tags.
(or it will give errors or?)
That is my problem with that, because
I can't have this all im Memory.
(my XML Data is more than 2 GB and I dont
have so much Memory aviable)

would that be possible that
I always use the same memory
block for the parse input operation?

I want to use threads, so one thread could
fill up the block, and when it is full, the
parser could read it.

What would be the best solution for
this with the sax2 parser?

Or would it be better for that, to use
standardinput and make a pipe to
the parsers input?
But I think with memory it is faster than
with pipe, and I have to do very
much data (more than 2 GB) with that
so the solution should be performant.

Has anyone an idea, then let me know
it and write back to
[EMAIL PROTECTED] 

Also write me, if you think i have to
write my own inputclass for the parser, or
if you have already a solution for this
please let me know it :-)

thx

Stefan Hummert

Stefan Hummert (SIS/hu)

Schober Informationssysteme GmbH
Max-Eyth-Stra�e 6-10
D-71254 Ditzingen
Tel.:   07156-304-493
Fax:   07156-304-310
EMail:  [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to