- From: <kboo@ca.ibm.com>
- Date: Tue, 8 Jan 2002 12:46:41 -0500
- To: ht@cogsci.ed.ac.uk (Henry S. Thompson)
- Cc: "David E. Cleary" <davec@progress.com>, "Dave Beckett" <dave.beckett@bristol.ac.uk>, <xmlschema-dev@w3.org>
>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?
- Kihup
ht@cogsci.ed.ac.uk (Henry S. Thompson)@w3.org on 01/08/2002 11:34:16 AM
Sent by: xmlschema-dev-request@w3.org
To: "David E. Cleary" <davec@progress.com>
cc: "Dave Beckett" <dave.beckett@bristol.ac.uk>, <xmlschema-dev@w3.org>
Subject: Re: Help wanted with XML Schema for Dublin Core in RDF/XML
"David E. Cleary" <davec@progress.com> writes:
> > Remove the <import>s of http://www.w3.org/XML/1998/namespace and
> > http://www.w3.org/2000/10/XMLSchema as they aren't required - "over
> > the top" and may cause performance problems with tools.
> > -- I thought these were required for validation
>
> The import of http://www.w3.org/2000/10/XMLSchema should certainly be
> removed. What this is doing is importing the CR version of XML Schema
into
> the Rec version. As for the xml namespace, I'm not sure what is best to
do.
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
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 Tuesday, 8 January 2002 12:49:10 UTC