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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XML trade off 1 - DTD vs XML Schema

[ Lists Home | Date Index | Thread Index ]
  • From: MEdson@walldata.com
  • To: DuCharmR@moodys.com, xml-dev@ic.ac.uk
  • Date: Wed, 21 Jul 1999 14:00:57 -0700

So do you believe that both DTDs and XML Schemas are necessary?  Would you
please elaborate on what advantage DTDs have over Schemas and if possible
explain why DTDs were NOT designed to be written in XML?

> -----Original Message-----
> From:	DuCharme, Robert [SMTP:DuCharmR@moodys.com]
> Sent:	Wednesday, July 21, 1999 9:53 AM
> To:	'XML Dev'
> Subject:	RE: XML trade off 1 - DTD vs XML Schema
> 
> >I challenge anyone to translate an XML Schema to a mental
> >model without the aid of either paper or machine. 
> 
> I'll go with the machine, since I have one on my desk, and it has lots of
> software on it capable of reading and manipulating XML documents. 
> 
> When XMI came out, I had just been studying up on UML, and I thought
> "Cool!
> I'll print out the DTD so that I can look it over on the subway ride
> home!"
> When I saw how big the XMI DTD was, I decided not to print it out--I
> prefer
> not to spend that much time in the subway. My point is that many XML 1.0
> DTDs are too big to form mental models of as well (especially when they
> use
> lots of parameter entities), but they're still useful in serious
> production
> environments, and schema that can't be understood by a visual skimming
> will
> still have a lot going for them. The added machine-readability of schemas
> has many system development payoffs, not least of which is that it will be
> more extensible than SGML-style declarations--once it's in place, adding
> new
> features to it will be easier than adding them to XML 1.0 DTD syntax.
> 
> It's adding up to having all the makings of a religious issue, which is
> too
> bad, because two years from now people will be getting work done using
> both
> styles. Each will be more appropriate for certain kinds of projects. 
> 
> Bob DuCharme          www.snee.com/bob           <bob@  
> snee.com>  "The elements be kind to thee, and make thy
> spirits all of comfort!" Anthony and Cleopatra, III ii
> 
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
> CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
> message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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