Hi all, Is there any method that receives the notification of comments,in ContentHandler interface.I mean comments, like processing instructions, are passed to the SAX application or not ? Thanx Prem Sagar (SCJP2)
posted 15 years ago
The SAX core api has no support for comments.
However, SAX2, the extensible SAX API supports comments and a few other things not supported by SAX1. For instance, the LexicalHandler class provides lexical information about an XML document, such as comments and CDATA section boundaries.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).