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 | 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 "Validate XML against XSD" Watch "Validate XML against XSD" New topic
Author

Validate XML against XSD

Shaan Shar
Ranch Hand

Joined: Dec 27, 2005
Posts: 1249

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 - Every great individual common man
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validate XML against XSD