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

RE: DTD's

  • From: "Dudley, Mark" <Mark.Dudley@u...>
  • To: xml-dev@l...
  • Date: Thu, 17 May 2001 13:58:53 -0400

mark dudley
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!

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.