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

Re: Retrieving namespace as schema?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: Sat, 11 Oct 2003 11:15:41 +0100
To: Jan Egil Kristiansen <janegil@landsbank.fo>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bekxk9j1u.fsf@erasmus.inf.ed.ac.uk>

Jan Egil Kristiansen <janegil@landsbank.fo> writes:

> When trying to validate
> http://heima.olivant.fo/~styrheim/xml/cd-toc/ol.xml with
> http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fheima.olivant.fo%2F%7Estyrheim%2Fxml%2Fcd-toc%2Fol.xml&warnings=on&keepGoing=on&logOK=on&style=xsl,
> I get
> ...
> Attempt to load a schema document from http://www.w3.org/1999/xhtml
> (source: docElt) for http://www.w3.org/1999/xhtml, failed:
> Not recognised as W3C XML Schema or RDDL: html
> ...
> That seems a bit strange, as
> xmlns:html="http://www.w3.org/1999/xhtml"
> is a specification of a namespace, not of a schema location?

You didn't include all the error messages in your email -- XSV also
tried to follow your schemaLocation hint, but that failed.

Since XSV couldn't find a valid schema document for your instance at
http://heima.olivant.fo/~styrheim/xml/cd-toc/ol.xsd, it tries
dereferencing the namespace URIs, but that doesn't work either.  If
you correct your schema document so it specifies the same target
namespace as the namespace of your cd: elements, you should make some
progress.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Saturday, 11 October 2003 06:20:52 GMT

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