This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by Shrinivas Mujumdar: hello friends, I have one doubt: How to validate XML against XSD in Java?, I am using jdk 1.4.2_08. One more thing is apart from jdk 1.5 where i will get the support for package javax.xml.validation
Hello Rajgopal, Which version of Xerces.jar i am supposed to use? & how to check wheather my parser supports schema validation as mentioned in first line of link page?
Joined: Nov 26, 2004
Originally posted by Shrinivas Mujumdar: Hello Rajgopal, Which version of Xerces.jar i am supposed to use? & how to check wheather my parser supports schema validation as mentioned in first line of link page?
Ya I forgot the Crimson parser that comes bundled with java 1.4 does not support validation against schema
Regarding the first question any latest version of the xmlAPIs.jar and xercesImpl.jar from the apache website ought to do the trick
I think rather than relying on xerces api it is better to rely on Jaxp features
so maybe using code snippet is a better idea
Joined: Aug 27, 2004
Thanks a lot Rajgopal, I will try this Shrinivas Mujumdar
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com