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