Two Laptop Bag*
The moose likes XML and Related Technologies and the fly likes XML validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML validation" Watch "XML validation" New topic
Author

XML validation

Kejal Shah
Ranch Hand

Joined: Jun 27, 2003
Posts: 87
Given an XML and an XML Schema, what's the best technique to validate the XML using Java?

Tx in adv
Kejal


Kejal<br />SaneDevil@gmail.com
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41024
    
  43
Take a look at the JAXP API. The version that comes with Java 1.5 can do validation using schemas; if you have an older version of Java you can download the latest JAXP from dev.java.net.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML validation
 
Similar Threads
making XML Doc from JDBC Results
Ajax Jqery xml response - not able to read response
Castor Mapping
iText problem with html-table to pdf
Pronounciation of "Buzz Words"