They're exposed in SAX2, but not in SAX1.  This question is about the SAX1
parser, so comments are not available.  To get them, you have to install a
Xerces-specific handler.

Dave



                                                                                       
                                   
                    "Reyes Ponce"                                                      
                                   
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>         
                                   
                    om>                  cc:     (bcc: David N Bertoni/CAM/Lotus)      
                                   
                                         Subject:     Re: comments outside root        
                                   
                    03/26/2001                                                         
                                   
                    10:23 PM                                                           
                                   
                    Please                                                             
                                   
                    respond to                                                         
                                   
                    xerces-c-dev                                                       
                                   
                                                                                       
                                   
                                                                                       
                                   



> 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.


---------------------------------------------------------------------
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]

Reply via email to