W3C home > Mailing lists > Public > www-svg@w3.org > January 2002

Re: SVG Schema: URL for XMLSchema.dtd ?

From: Dean Jackson <dean@w3.org>
Date: Thu, 17 Jan 2002 00:42:38 +1100
To: Tobias Reif <tobiasreif@pinkjuice.com>
Cc: www-svg@w3.org
Message-ID: <20020116134238.GC26648@grorg.org>
On Wed, 16 Jan 2002, Tobias Reif wrote:

> Hi;
> 
> in the doctype of the SVG 1.1 Schema, there is
> <!DOCTYPE schema SYSTEM "XMLSchema.dtd"
> .
> 
> Which version if the XMLSchema.dtd is referenced here?

THe one in the same directory as the schema.
http://www.w3.org/TR/2002/WD-SVG11-20020108/XMLSchema.dtd

This is in fact the standard one, from http://www.w3.org/2001/XMLSchema.dtd
(WARNING: this is off the top of my head and is probably the 
wrong location - check the schema spec).


> Is there a normative DTD for W3C Schema, or should a Schema be used to 
> validate schemas?

Yes :)

OK, seriously, yes and yes.

> 
> Would it make sense to change the doctype of the SVG 1.1 to reference a 
> public definition, via http, to resolve all this, so that
> 
> <!DOCTYPE svg PUBLIC "[...]"
>  "http://www.w3.org/[.xsd or .dtd]">

The Doctype of SVG 1.1 will change. We hope to provide a normative
schema and possibly a non-normative DTD (unless my memory is
fooling me). 

I guess it will be something like

<svg xmlns="http://www.w3.org/2000/svg"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.w3.org/2001/svg">

Dean
Received on Wednesday, 16 January 2002 08:44:44 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT