I'm a heavy user of HTML::Template and have entertained some of the same concerns about validation as you. However, it is only as a purist that I want it to validate before the page is rendered in the browser. Of course, when the page is actually visited, all H::T coding is gone, and is basically valid at that point. So, my question: is it worth reworking H::T, or even switching to a new system, just to satisfy my purist leanings? In an ideal world, maybe 'yes', but in a more practical one, I have to be profitable.
Anyway, great mediation—one that I have not thought that thoroughly about.
—Brad
"Don't ever take a fence down until you know the reason it was put up. " G. K. Chesterton