1 Reply Latest reply: Oct 16, 2007 6:17 AM by 807605 RSS

    Regarding XML Validation

    807605
      Hi All,
      i have problem to validate XML Document with Schema file....
      if u have solution than can u plz reply me how to validate XML Document with Schema file.......

      Thanks,
      Amita.
        • 1. Re: Regarding XML Validation
          807605
          Always provide your problem precisely, the approach you tried and the error you have got.

          I would suggest you to look at this class :
          javax.xml.validation.Validator : http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/validation/Validator.html

          And a sample program at : http://www.java-tips.org/java-se-tips/javax.xml.validation/how-to-create-xml-validator-from-xml-s.html