[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: How to find out the name of the tag where my xmldocument did not validate
  • From: "Peter Magnusson" <peter.magnusson@e...>
  • Date: Mon, 10 Jun 2002 10:07:23 +0200

I am using the com.sun.msv.verifier.jarv.TheFactoryImpl() to create a factory. Then I am creating a new verifier, and setting an errorhandler. which implements the ErrorHandler interface. If thers is an error validating my xmldoc. aginst it`s schema, a SaxParseException is thrown. How can I use this exception to find out which TAG the problem did arise ?? Please send a short codeexample.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member