Re: [Maypole] Mason caching

From: Dave Howorth (dhoworth at mrc-lmb.cam.ac.uk)
Date: Thu Sep 30 2004 - 17:24:33 BST


David R. Baird wrote:
> Or just tell the browser to expect HTML and not XHTML. Change the
> doctype to
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">

Well, if you test this by overriding the doctype, the W3C validator says:

http://validator.w3.org/check?uri=http%3A%2F%2Fmaypole.perl.org%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional

This page is not Valid HTML 4.01 Transitional!

So it's not quite that simple, though I grant that browsers will then
make some attempt to display it and you can have the great joy of
testing the document against every possible browser to see just what
they do with it. Or labelling your output as only viewable with IE, or
whatever. I'd say it was simpler to generate valid documents in the
first place.

On a more important note, I'm still seeing the same symptoms as Ovid,
that is, sometimes when I access a page I get an XML error, sometimes it
works (i.e. repeatedly accessing the same page using refresh - no caches
or proxies AFAIK)

Cheers, Dave

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT