[Home] [By Thread] [By Date] [Recent Entries]


"Delmerico, James" <James.Delmerico@i...> 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: ht@c...
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member