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

RE: Doctypes again (was Re: Documents withindocument


RE:  Doctypes again (was Re:  Documents withindocument
Re: "one of the weakest things about DTDs is that a
     document is considered valid if it meets the
     sender's criteria, whether or not it meets
     the recipient's"

Michael, is that a fair criticism of DTDs per se? 
At the formal level, a DTD provides a very weak basis
for a contract (whatever the type declaration) because
the semantics are opaque [1].  But a schema language
that's competent to express and validate semantics is
no better than a DTD if the two parties sharing the
conforming (instance) documents have not agreed on the
constraint "criteria" expressed in the schema.  It
seems that you're equivocating on the word "valid"
in this criticism of DTDs.

Or....?

Robin Cover

[1] "The SGML/XML Aversion to Semantics" at
http://xml.coverpages.org/sgmlEschewsSemantics.html

-----------------------------------------------------------------------

On Fri, 8 Feb 2002, Michael Kay wrote:

> > For me, the most compelling use for (the notion
> > of) document type is as a contract.  A document
> > type declaration asserts that a document's
> > syntax follows some set of rules to express the
> > document creator's intended semantics.
> 
> Yes. I've always thought one of the weakest things about DTDs is that a
> document is considered valid if it meets the sender's criteria, whether or
> not it meets the recipient's.
> 
> Michael Kay
> Software AG
> home: Michael.H.Kay@n...
> work: Michael.Kay@s...
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 


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.