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 Dean Roddy did this original fix. Dean?
- Rich Taylor, WebMD Content Infrastructure
-----Original Message-----
From: Chris Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 6:18 PM
To: [EMAIL PROTECTED]
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]