This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
validating xml
Problem validating XML against XSD using JDK1.4
XSD Validation using DOMSource isn't working in Java6
XML schema validation program error
all validation error using saxParser