OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS