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

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.
Similar Threads
  1. jakk
    Replies:
    4
    Views:
    13,925
  2. Markus Meckler
    Replies:
    0
    Views:
    443
    Markus Meckler
    Jun 12, 2004
  3. Fahad
    Replies:
    0
    Views:
    1,609
    Fahad
    Nov 16, 2005
  4. fierymustang

    SAX XMLParser Error

    fierymustang, Jan 21, 2006, in forum: Java
    Replies:
    1
    Views:
    413
  5. Bernd Oninger
    Replies:
    0
    Views:
    949
    Bernd Oninger
    Jun 9, 2004
  6. Markus Meckler
    Replies:
    0
    Views:
    1,534
    Markus Meckler
    Jun 12, 2004
  7. Manoj Nair
    Replies:
    1
    Views:
    1,552
    Patrick TJ McPhee
    Jul 7, 2004
  8. Santa
    Replies:
    1
    Views:
    1,444
    Mark A. Odell
    Jul 17, 2003
Loading...