W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

loading xsd schema seperately for validating the xml Document

From: Nitin Malhotra <nitin.malhotra@khalsa.com>
Date: Thu, 3 Apr 2003 12:34:40 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <PMEDLCOBPNPLHPKFHMKBAECICEAA.nitin.malhotra@khalsa.com>

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,
Received on Thursday, 3 April 2003 05:40:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:10 UTC