Next in thread → Next in month →

Re: [xml-dev] DOCTYPE used in an XML Schema

From
<>
To
"Delmerico, James" <>
Date
2003-12-05T08:54:44Z
ID
<>
Thread
Re: [xml-dev] DOCTYPE used in an XML Schema
"Delmerico, James" <> writes:

> Can someone explain why some XML Schemas include a DTD definition similar to
> the following?  Is this to ensure the integrity of the schema itself?
>
> <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN"

<snip/>

I can't be sure, but I can guess that the author(s) of that schema
document were using a DTD-based XML editor.

Editting out the DOCTYPE (after moving the namespace declarations on
to the document element) is a perfectly reasonable move, as is using a
schema processor which supports catalogs, or using a local caching
proxy. . .

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: 
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Next in thread → Next in month →