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


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


That's one use.   Well-formed is what the 
message or document should be in transport. 
With a correct-by-construction application, 
you can build that without a DTD.  Spitting 
well-formed XML from a database is trivial 
because the database schema, GUI, and business 
rules did all the heavy lifting.  On the other
hand, a DTD or schema has multiple use cases:

o  Rigorous form of contract between 
communicating systems

o  Means to validate a message on send 
or on receipt

o  Means to create or specify an 
authoring environment.  In the first 
case, editors take a DTD and create the 
GUI for editing.  In the second case, 
the DTD is used to get the rules for 
forms or other GUI objects.

This is all well-known stuff.  Your 
developers aren't wrong per se, but 
they aren't being very precise.

It's just another tool in the gig bag.


Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h

-----Original Message-----
From: Sandra Carney [mailto:scarney@endocardial.com]
Sent: Thursday, May 17, 2001 11:43 AM
To: xml-dev@lists.xml.org
Subject: DTD's

  We have a question about the necessity of DTD.  There are folks
  among our developers who postulate that so long as the document
  is well-formed, we don't need DTD's.  So far, so true.  However,
  might this pose a quality problem later on especially if you want
  to limit what are considered legitimate tags in the document?
Sandra Carney

The xml-dev list is sponsored by XML.org, an initiative of OASIS

The list archives are at http://lists.xml.org/archives/xml-dev/

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org