You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Tony Zhang <tj...@us.ibm.com> on 2001/08/10 19:04:59 UTC

RE: schemaLocation configurable????

Gavin:
Have you tried to use this for two schemas, different namespaces?
In case you have the following line in the instance doc:
xsi:schemaLocation='namespace1 systemID1 namespace2 systemID2'
Do you have any experience using the following line in your code?
parser.setProperty
("http://apache.org/xml/properties/schema/external-schemaLocation",
        "namespace1  schemaFile1 namespace2 schemaFile2");

The scenario is that one does not want to put a <import....> in the
schemaFile1 because one doesn't own it, although one might obtain a local
copy for efficiency.


Gavin Bong <Ga...@consortio.com> on 07/29/2001 08:45:00 PM

Please respond to xerces-j-user@xml.apache.org

To:   "'Lei Chen '" <Le...@sfcommerce.com>,
      "''xerces-j-user@xml.apache.org' '" <xe...@xml.apache.org>
cc:
Subject:  RE: schemaLocation configurable????



 <<Test.java>>
Lei,

Here's a sample code.

Cheers,

Gavin

-----Original Message-----
From: Lei Chen
To: 'xerces-j-user@xml.apache.org'
Sent: 7/27/01 7:02 AM
Subject: RE: schemaLocation configurable????

Thanks for the info, Maik. Can you provide me with some code example? If
this can be done through JAXP, I would really want to know how?

-Lei


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org