The moose likes XML and Related Technologies and the fly likes Parser for XML Schema which uses XSD Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Parser for XML Schema which uses XSD" Watch "Parser for XML Schema which uses XSD" New topic
Author

Parser for XML Schema which uses XSD

prathibha, ar
Greenhorn

Joined: Jun 22, 2001
Posts: 13
I am using XML which uses XML schema(XSD) for validation. I am using org.apache.xerces.parsers.SAXParser . But the parser is not validating the xml document.
Can anybody please send me a code which helps in validating the XML.
Thanks in advance
prathibha
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
May be this link is useful to u
http://www.javaranch.com/ubb/Forum31/HTML/000923.html
Anil


SCJP 1.5, SCEA, ICED (287,484,486)
Caroline Iux
Ranch Hand

Joined: May 14, 2001
Posts: 103
Anil,
I noticed that you pointed a couple of posts to the same link. It's a very interesting article, but didn't talk much about validation.
Maybe I missed it. If you have answers to the question, please be more specific. Thanks!
 
IntelliJ Java IDE
 
subject: Parser for XML Schema which uses XSD
 
Threads others viewed
Does Xerces validate xml files with schema(xsd)
How can i validate?
xml schema with xerces parser
Problem validating XML against XSD using JDK1.4
Creating dynamic xml using xsd
IntelliJ Java IDE