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

validation of the SVG Schema with a schema, not a DTD

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Wed, 16 Jan 2002 16:32:25 +0100
Message-ID: <3C459D09.3040404@pinkjuice.com>
To: www-svg@w3.org
Hi,

My question, version clear :)

For validating SVGs, you switched from DTD to the more powerful W3C XML 
Schema format.
Good IMHO.

For validation of this SVG Schema, a DTD is used. One would think it 
would make sense to switch to a schema too.

In the current Schema for SVG,
http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd
there is
<!DOCTYPE schema SYSTEM "XMLSchema.dtd"[...]>

Here is the schema for schemas:
http://www.w3.org/2001/XMLSchema.xsd

So the doctype of the SVG schema could be changed to

<!DOCTYPE schema PUBLIC "-//W3C//[...]"
"http://www.w3.org/2001/XMLSchema.xsd" [
  ^^^^                             ^^^

Tobi
-- 
http://www.pinkjuice.com/
Received on Wednesday, 16 January 2002 10:33:06 GMT

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