Re: comments outside root

2001-03-27 Thread David_N_Bertoni
om> cc: (bcc: David N Bertoni/CAM/Lotus) Subject: Re: comments outside root

Re: comments outside root

2001-03-26 Thread Reyes Ponce
> At 7:20 PM 3/26/2001, Chris Hill wrote: >> I don't think comments are even exposed via SAX events, so this would not >> be an issue. There is no SAX comment event to suppress. Or is there? Comments are exposed via LexicalHandler in SAX. Xerces-C++ 1.4 does implement LexicalHandler.

RE: comments outside root

2001-03-26 Thread Dean Roddey
> When you speak of better performance, are you > referring to the extra function call to the > advanced handler? The SAX API is just generally higher overhead than the internal interface, because it requires that the SAXParser handle the internal event callbacks, then just turn around and pass

RE: comments outside root

2001-03-26 Thread Chris Hill
At 05:21 PM 3/26/2001, Dean Roddey wrote: >I think that this is a SAX convention, which is why the suppression was >added. If the SAX spec says that such events won't show up, we can't send >them because it could seriously freak out applications written to the SAX >spec. I don't think comments ar

RE: comments outside root

2001-03-26 Thread Taylor, Richard
My guess is that comments slipped through the cracks. Processing instructions (PIs) were originally (Xerces 1.2?) ignored outside of the root element, but after some pestering I got the code changed to make sure this wasn't so (since I really wanted to use a PI before the root element. I think D

RE: comments outside root

2001-03-26 Thread Dean Roddey
I think that this is a SAX convention, which is why the suppression was added. If the SAX spec says that such events won't show up, we can't send them because it could seriously freak out applications written to the SAX spec. We could argue that the advanced handler, since its already outside of