[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DCD v DTD?

  • From: rbourret@d... (Ron Bourret)
  • To: xml-dev@i...
  • Date: Mon, 28 Sep 1998 10:23:21 +0200

dcd v
> Can someone provide some perspective on the use of DCDs v DTDs?
> 
> This is what I know:
> 1) DTDs are standardized and ready now.

Correct.

> 2) DCDs use XML to describe that which you would use DTDs for (?)

Yes.  (XSchema, too.)

There are a two major advantages to using XML syntax for schema information 
rather than DTDs.  The first is the availability of tools -- while there are 
plenty of tools around for manipulating XML files, there are few available for 
manipulating DTDs.

The second advantage is extensibility.  Because of the stated goal that XML be 
compatible with SGML, XML DTDs are (in theory) extensible only if the same 
extension is simultaneously made to SGML DTDs.  This makes it difficult to add a 
lot of interesting schema information, such as data types, to XML DTDs.  Because 
there is no such requirement when schema information is represented in XML, the 
field is open.

The only drawback (besides short-term availability) is if your application 
requires a DTD.  This is not always the case, as it is often possible to 
separate authoring (which validates against schema information) from use (which 
assumes validity).  And even if your application requires a DTD, you might be 
able to convert part of your schema information into DTD form while still using 
the additional XML-based schema information (such as data types) in your 
authoring tools.

-- Ron Bourret

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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.