Skip to main content
December 6, 2006

XML 2006: External vs. internal DTDs

The presenter is describing a workflow in which there is an “editorial” DTD and a “delivery” DTD. It makes me cringe on general principle, but I see where they are going with it.

They optimized the editorial DTD for content creators and optimized the delivery DTD for their publishing workflow.

I’d like to see a detailed assessment of why they did this instead of some other approach.

Ah…good question: This decouples the editorial process from the delivery process. Does this buffer the editorial people from what is happening downstream? Answer? Sort of.

In response to a question from me, the major disadvantage to the dual-DTD approach is that the end result XML is extremely loose, so occasionally the output looks weird or search doesn’t work properly. That’s the one thing they’d like to go back and fix, so that the various content contributors have more constraints and better conformance checking.