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

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].

No.

> 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

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