XMLparser: Difference between parser.setErrorHandler() vs. parser.setContentHandler()

XMLparser: Difference between parser.setErrorHandler() vs. parser.setContentHandler()

Post by bernd22 » Thu, 10 Jun 2004 10:26:10


What is the difference between

parser.setContentHandler

and

parser.setErrorHandler

for a XMLParser ?

Can I apply both functions to DOM AND to SAXParsers or only to one of them ?

Can I apply both function to an JAXP based implementation or to an NON-Jaxp based implementation as well?

Bernd
 
 
 

1. Parser Generated vs. Hand Written Parsers

2. Parser OBjects - Open source parser framework


Parser OBjectS (or POBS) is a Java framework for creating parsers.

It consist of a number of "atomic" objects which can be easily linked
together to create parsers of all shapes and sizes.

Anybody who can read BNF can program with POBS, it is specifically designed
to be easy to use and at a low cost (no steep learning curve, no
preprocessor steps, high performance, low memory profile, etc). POBS is easy
to extend with any feature and can be fully integrated with normal Java
programs.

Currently still in alpa, the code is stable enough (it's quite small so very
easy to debug) to build projects with. We are also looking for developers to
help, please visit our site at http://www.yqcomputer.com/ , download the
latest version from CVS (new file releases coming soon!) and join us!

regards,
Martijn van der lee

3. pgsql-server/contrib/tsearch parser.h parser.l

4. Parser Theory - Using grammars to build parsers

5. One parser class using another parser class on the same stream

6. HTML-Parser / SGML-Parser

7. Another case of RB Parser ~~ Dolphin parser

8. HPStack/Parser parser.h "incomplete element type"?

9. An XML parser is an XML parser. Period.

10. import parser does not import parser.py in same dir on win

11. understanding the intuition behind LL(k) parsers and LR(k) parsers

12. Which is better or more flexible, a recursive-descent parser or a bottom-up parser?

13. What are the differences between MSXML and .NET XML Parsers?

14. What is the difference between MSXML 6.0 Parser (KB933579) and Microsoft Core XML Services (MSXML) 6.0?