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

RE: namespace and no-net environment

From: Rahul Srivastava <rsrivastava@firstam.com>
Date: Tue, 1 Apr 2003 20:16:39 +0530
To: xmlschema-dev@w3.org
Cc: "miten mehta" <imiten@yahoo.com>
Message-ID: <1057787643.IAA22192@phantom.w3.org>

Hi Miten,

If I understand you correctly, by no-net environment you mean to refer to a
standalone workstation not connected to any network. If that is the case,
then let me point out that Namespaces have nothing to do with the network
connection on your workstation. It is the URLs that make the difference. If
your schema files are on your local workstation, then you can specify the
URI something like file:///.../a.xsd. Though, a namespace is a URI by
definition, the XMLSchema spec. does not mandates to do that check.
Therefore, you can specify a namespace, as "foo", if that works for you. The
other URIs that you use in your document such as
http://www.w3.org/2001/XMLSchema and
http://www.w3.org/2001/XMLSchema-instance has nothing to do with the network
connection as well.

Hope that helps.


 > -----Original Message-----
 > From: xmlschema-dev-request@w3.org
 > [mailto:xmlschema-dev-request@w3.org]On Behalf Of miten mehta
 > Sent: Saturday, March 29, 2003 5:53 AM
 > To: xmlschema-dev@w3.org
 > Subject: namespace and no-net environment
 > Hello,
 > I am unable to understand how to use namespace in
 > no-net environment in xmlschema and validate it with
 > xsv.
 > Can we use file urls for schemaLocation and
 > targetNamespace?
 > Thanks.
 > Miten.
 > __________________________________________________
 > Do you Yahoo!?
 > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
 > http://platinum.yahoo.com
Received on Tuesday, 1 April 2003 11:19:20 UTC

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