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

Discussion in 'Java' started by Bernd Oninger, Jun 9, 2004.

  1. 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
     
    Bernd Oninger, Jun 9, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page