W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2000

Re: [Moderator Action] validating an xml without internet connection

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 10 Jul 2000 14:49:08 +0100
To: Dan Connolly <connolly@w3.org>
Cc: Hans Hermawan <hhermawa@students.wisc.edu>, xmlschema-dev@w3.org
Message-ID: <f5bk8euw0x7.fsf@cogsci.ed.ac.uk>
Dan Connolly <connolly@w3.org> writes:

> "Henry S. Thompson" wrote:
> > 
> [...]
> > > The problem is I need to be able to validate my schema without having to go to
> > >      the internet. Is there any way that I can validate my schema without
> > >            connecting to the internet? I tried to save the url
> > >  [[www.w3.org/1999/XMLSchema]] to my hard drive and calling that file at the
> > >                top line of my schema. But it doesn't work.
> > 
> > Sure, you can use xsi:schemaLocation _in your schema_ to provide a
> > pointer to a local copy of the schema for schema documents.
> We should add local catalog/caching support to XSV, ala SP's[1].


> It shouldn't be necessary for folks to mess with their instance
> documents just to tell XSV where local copies of web resources
> are available.

True -- if you supply one or more schema docs on the command line,
that pre-empts other searches.  No catalog is necessary.  Think of the 
targetNamespace attribute in the supplied schema docs as the left hand
sides of catalog entries, and the schema docs themselves as the
right hand sides

  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 Monday, 10 July 2000 09:49:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:49 UTC