Re: Why does xml.xsd have a DOCTYPE declaration?

Costello, Roger L. writes:

> xml.xsd is at this URL:
>
> http://www.w3.org/2001/03/xml.xsd
>
> Notice that it has a DOCTYPE declaration:
>
> <!DOCTYPE schema SYSTEM "XMLSchema.dtd" PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN">

I see 

<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >

> Why?

Why not?  The document is in fact valid per that DTD, and there are
tools, including the one I use all the time, which can exploit the
DOCTYPE in useful ways.

> Are there any plans to remove it?

Not that I know of -- see previous question.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Tuesday, 26 April 2016 16:32:43 UTC