Re: XMLDocumentHandler vs. DefaultHandler

2003-10-14 Thread Alberto Massari
At 17.24 14/10/2003 +0100, Gareth Reakes wrote: [..] > What is the rationale for having two different Handler APIs? Can't say for definite, but lack of complexity and performance might well be contributing factors. If I remember right, the simpler one is the official SAX1 interface Alberto ---

Re: XMLDocumentHandler vs. DefaultHandler

2003-10-14 Thread Gareth Reakes
Hi, > I was using "normal" handlers (derived from DefaultHandler) in my code. > However, now I need to get notification about XML declaration (to get > the doc encoding data), and that is available only in > XMLDocumentHandler. That probably means I have to rewrite my code to use > XMLDocume

XMLDocumentHandler vs. DefaultHandler

2003-10-10 Thread Matt Nemenman
Hello Everyone, Can anyone explain me the difference between "advanced document handler" (XMLDocumentHandler derived) and normal ones (DefaultHandler derived) in SAX2? I.e. I see the different APIs that they have, but when is one supposed to be used over the other? I was using "normal" handlers (