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

Re: Help wanted with XML Schema for Dublin Core in RDF/XML

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 09 Jan 2002 09:12:36 +0000
To: kboo@ca.ibm.com
Cc: "David E. Cleary" <davec@progress.com>, "Dave Beckett" <dave.beckett@bristol.ac.uk>, <xmlschema-dev@w3.org>
Message-ID: <f5b7kqrdh17.fsf@cogsci.ed.ac.uk>
kboo@ca.ibm.com writes:

> >Depends on whether you reference xml:lang or xml:space as attribute
> >declarations in your schema.  If you don't, remove it.  If you do,
> >edit the import to have
> >schemaLocation="http://www.w3.org/2001/xml.xsd" so you get the version
> >appropriate to http://www.w3.org/2001/XMLSchema
> xml.xsd has the following line:
>   <!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
> "XMLSchema.dtd" >
> So, while trying to <import> xml.xsd, the validation fails to find
> "XMLSchema.dtd". Where is the dtd file supposed to be placed?

What validator are you using?  XMLSchema.dtd is at
http://www.w3.org/2001/XMLSchema.dtd, so
http://www.w3.org/2001/xml.xsd is correct in using a relative URL for
it.  I'm surprised any validator would have a problem with this.

  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 Wednesday, 9 January 2002 04:12:41 UTC

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