XMLparser: Difference between setValidating() and setFeature(.....validation) ???

Discussion in 'XML' started by Markus Meckler, Jun 12, 2004.

  1. What is the difference between

    parser.setFeature("http://xml.org/sax/features/validation",true);
    and
    parser.setFeature("http://apache.org/xml/features/validation/schema",true);
    and
    parser.setValidating(true);

    when I prepare a SAX/DOM parser for validation of an xml/xsd scheme

    Marcus
     
    Markus Meckler, Jun 12, 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,924
  2. Bernd Oninger
    Replies:
    0
    Views:
    928
    Bernd Oninger
    Jun 9, 2004
  3. Markus Meckler
    Replies:
    0
    Views:
    443
    Markus Meckler
    Jun 12, 2004
  4. Fahad
    Replies:
    0
    Views:
    1,609
    Fahad
    Nov 16, 2005
  5. Bernd Oninger
    Replies:
    0
    Views:
    947
    Bernd Oninger
    Jun 9, 2004
  6. Santa
    Replies:
    1
    Views:
    1,442
    Mark A. Odell
    Jul 17, 2003
  7. PerlFAQ Server
    Replies:
    0
    Views:
    558
    PerlFAQ Server
    Jan 6, 2011
  8. PerlFAQ Server
    Replies:
    0
    Views:
    481
    PerlFAQ Server
    Apr 15, 2011
Loading...