On Tue, Dec 23, 2008 at 21:46, Daniel Convissor <dani...@analysisandsolutions.com> wrote: > On Mon, Dec 22, 2008 at 02:57:46PM +0800, Gang Chen wrote: >> >> $header = <<<HEADER >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >> "http://www.w3.org/TR/html4/loose.dtd"> > > Has there been discussion of making this, and all (relevant) PhD output, > XHTML compliant? I can go through the code and make it so (or at least > closer).
PhD does try to be as xhtml compliant as it can. There are several cases which we simply cannot fix, but others that simply have been an oversight. This particular header defines html so at the very least the header should be html, although most of PhD will continue to make an effort to xhtml.. It is a tough problem. Be anal about validation or just scrw it, along as it works properly - or should we simply drop the whole xhtml stuff and move to html5? Bug reports are however welcome, but like I said, there are several cases where we simply can't fix. -Hannes