You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Chris Hill <ch...@wolfram.com> on 2001/03/27 01:17:36 UTC
comments outside root
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org