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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bernd Oninger

    #1

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

    What is the difference between

    parser.setConte ntHandler

    and

    parser.setError Handler

    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
Working...