aspose file tools
The moose likes XML and Related Technologies and the fly likes Validate XML against XSD Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Validate XML against XSD" Watch "Validate XML against XSD" New topic
Author

Validate XML against XSD

Ankur Sharma
Ranch Hand

Joined: Dec 27, 2005
Posts: 1234
Hi I was trying to validate a XML document against XSD.

Everything is fine if that XSD is a very simple XSD. But if my XSD includes some other XSD's also as mentioned below as an example this program is not functioning.

<xs:include schemaLocation="ABC.xsd"


I am also attaching code which I used to validate.



Could anyone let me know, if I need to use something else to validate XML against complex XSD's. Any insight would be appreciated.>


The Best way to predict your future is to create it
Ankur Sharma
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validate XML against XSD
 
Similar Threads
XSD Validation using DOMSource isn't working in Java6
all validation error using saxParser
Problem validating XML against XSD using JDK1.4
validating xml
XML schema validation program error