aspose file tools
The moose likes Product and Other Certifications and the fly likes Receiving comments while using a SAX Parser Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Product and Other Certifications
Reply Bookmark "Receiving comments while using a SAX Parser" Watch "Receiving comments while using a SAX Parser" New topic
Author

Receiving comments while using a SAX Parser

Prem Sagar
Greenhorn

Joined: Feb 04, 2002
Posts: 3
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)
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
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 Master IT Architect.
Sun Certified Architect(SCEA).
 
 
subject: Receiving comments while using a SAX Parser
 
developer file tools