Seperating out the schemaLocations with spaces seems to work. I am not sure
if this is the recommended way of doing things
eg
<abc:root
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:abc="http://abc.apache.org"
xmlns:xyz="http://xyz.apache.org"
xsi:schemaLocation="http://abc.apache.org abc.xsd http://xyz.apache.org
xyz.xsd" >
...
</abc:root>
-----Original Message-----
From: Tony Zhang [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 5:46 PM
To: [EMAIL PROTECTED]
Subject: How to validate against two schema docs?
Can anybody give me some information on how to validate against two schema
documents (a different namespace for each) using xerces1.4.1?
I put two schema documents in 'xsi:schemaLocation=...'. The parser seems
to be able to find the two schema document ok, but I had some strange
errors. If someone wants to look at my example and the error, I'd glad to
supply them.
An example of how to do this will be greatly appreciated!
I posted the same question on xerces-j-user list and did not get any
response.
Thanks there.
Tony Zhang
ESS Web Development
5600 Cottle Rd. XIX/051 - 3A24, San Jose, CA 95193
408 256 7038 (o) 408 256 6214 FAX
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]