aspose file tools*
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 Spring in Action this week in the Spring 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: 42276
    
  64
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