[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: DTD's
Sandra, There is no question that an XML instance does not *have* to have a DTD associated with it. That is the whole concept of well-formedness and makes XML instances more portable and lightweight. It seems to me that, if you want to limit the number of legitimate tags in the document, the only real way to do it is to have a schema or DTD associated with it. There are opportunities to enforce the tags that are allowable by some sort of convention. I find the DTDs that we use invaluable for writing stylesheets and other code that may be operating on an XML instance. If you open the XML instance up to include any tag that someone can dream up, you run the risk of breaking the tools that may require a valid document to be robust. Mark Dudley -----Original Message----- From: Sandra Carney [SMTP:scarney@e...] Sent: Thursday, May 17, 2001 12:43 PM To: xml-dev@l... Subject: DTD's Hi, 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? Regards, Sandra Carney ------------------------------------------------------------------ The xml-dev list is sponsored by XML.org, an initiative of OASIS <http://www.oasis-open.org> 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@l...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|