My advanced handler (XMLDocumentHandler) wasn't receiving docComment events 
for comments outside the root element, so I took a look at 
SAXParser::docComment, and it is intentionally suppressing the events.  Is 
there any particular reason that comments outside the root are 
suppressed?  Processing instructions are permitted, why not comments?

Looking in the CVS log I see that this behavior was changed then changed 
back in SAXParser.cpp 1.12 and 1.13. Perhaps comments slipped through the 
cracks?  In the mail archives, I found a fragment of a conversation about 
this.  I don't think comments should be suppressed.

Chris


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

Reply via email to