Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Ive heard that XML does not require a DTD. That makes XML very simple to implement, right?

0
Posted

Ive heard that XML does not require a DTD. That makes XML very simple to implement, right?

0

Although the XML standard makes supplying a DTD optional, for most serious applications, we believe it is prudent to build a DTD to go along with your application. XML allows you to define your own document elements. Without a DTD, you can verify that a document is well-formed, but not which particular document elements you want to allow, and in what order. Having a DTD allows you to use XML tools (many of which are free and available in the public domain) to validate your documents. A validating processor can check for much more than just well-formedness. In particular, it can check the document structure against a set of declarations to make sure that the structure contains all the parts (and no extra parts) required by those declarations. This makes it easy to use XML to define a format, and then test documents against that format to make sure they meet all requirements laid out by the declarations. In DCL’s experience, documentation tends to vary greatly in consistency. While it is

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123