Of DTDs, Namespaces, and Schemas for XML

Of DTDs, Namespaces, and Schemas for XML
By Ed Tittel

XML Schemas represent the final element of this unholy trinity. Schemas (or should that be Schemata?) allow XML developers to (a) permit XML documents to be defined using standard XML notation (rather than SGML as with DTDs, or relying on other definitions elsewhere, as with namespaces) and (b) provide a way to combine DTDs, namespaces, and external schemas within document definitions for which the developers plan to enable mechanical validation. Presto! The best of all three worlds.

Of course, XML Schemas are still under development and their final form and capabilities are still in flux. The W3C published working drafts that described Schema structures and data types in May of 1999, and has been working feverishly to deliver a new set of drafts ever since. Suffice it to say that schemas are controversial, complex, and more than just a little bit interesting. But the jury's still out on where this initiative is headed and exactly what it's going to do for the XML developer community.

My favorite resources on XML Schemas include:

  • Norman Walsh, another member of the SGML/XML pantheon, wrote a wonderful paper for XML.com called "Schemas for XML," that not only covers the territory, but also gives great pointers to other important resources on the topic. For once, I could get away with a single reference on the subject. (

    Requires Free Membership to View

Where schemas are concerned, all I can say is "Stay tuned for further details!" But while the jury's still out on this topic, the tools and techniques for defining XML documents are improving all the time. Acquaint yourselves with these topics, and get to work!

Ed Tittel is a principal at LANWrights, Inc.: a wholly owned subsidiary of LeapIt.com. LANwrights offers training, writing and consulting services on Internet, networking, and Web topics, plus various IT certifications (Microsoft, Sun/Java, Prosoft/CIW).

This was first published in November 2000

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.