W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

Re: Using XML Schema in local directory

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 14 Feb 2002 11:52:23 +0000
To: Lau Chung Sing <singlau_lcs@yahoo.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bzo2cl1qg.fsf@cogsci.ed.ac.uk>
Lau Chung Sing <singlau_lcs@yahoo.com> writes:

> I am a beginner in XML Schemas.  I would like to ask if I have a XML
> schema (let say put in c:\schema\schema.xsd), can I set the above
> path in the namespace of the XML file I would like to validate and
> then parse the file?

Namespace names must be URIs, so use file:///c:/schema/schema.xsd as
your namespace name and that should do it.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 14 February 2002 06:52:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT