loading xsd schema seperately for validating the xml Document

Hello All.

The problem : I am trying to validate a xml document which has inbuilt reference to its xsd schema.
but the problem is that the xsd if somewhere on the classpath and its exact uri is unknown. so the parser
is not able to load this xsd file. Meaning this xsd is packed somewhere in a ear file. 

question : is it possible to load xsd seperately and then ask DOMParser to use this xsd to validate a certain xml doc. In context to Java APIs.

Thanks for any help,
nitin.

Received on Thursday, 3 April 2003 05:40:06 UTC