This is not true. From previous mails I would assume that a SAX parser
is being used. 
    
where did this assumption come from (i must have missed it in the long
thread :) ) - if you look on the top post it talks about tracking  '<'
and '</' ... there is no need to track them if you use XML parser (such
as SAX API) then you just need to track indentationLevel (startElement:
++indentationLevel; endElement: --indentationLevel;
if(indentationLevel==0) { parser is on the last end element };)
  

The issue is stopping Xerces from reading ahead in the buffer. If SAX is used then the endElement with depth == 0 won't help if Xerces has already pulled in bytes of the next XML document in the stream. That was the original problem. So using SAX alone is not the solution.

Pete




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

Reply via email to