Re: [Maypole] Mason caching

From: David R. Baird (dave at riverside-cms.co.uk)
Date: Thu Sep 30 2004 - 16:52:38 BST


On 30 Sep 2004 at 11:30, Dave Howorth wrote:

> Marcus Ramberg wrote:
> > Uhm, yes..
> > I don't know why this came up now, didn't see it yesterday and I don't
> > know why Firefox bothers to report that xhtml is non-compliant xml
> > rather than render the site
>
> You did ask ...
>
> Because xhtml IS xml ?? A major goal of XML is to reduce the hacks and
> bodges needed because of poorly-formed documents. An agent is required
> to reject malformed documents.
>
> If you don't like this behaviour, then generate html :)

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">

and it should work.

d.

>
> Snips from <http://www.w3.org/TR/2000/REC-xml-20001006>
>
> Violations of well-formedness constraints are fatal errors.
>
> fatal error
> [Definition: An error which a conforming XML processor must detect
> and report to the application. After encountering a fatal error, the
> processor may continue processing the data to search for further errors
> and may report such errors to the application. In order to support
> correction of errors, the processor may make unprocessed data from the
> document (with intermingled character data and markup) available to the
> application. Once a fatal error is detected, however, the processor must
> not continue normal processing (i.e., it must not continue to pass
> character data and information about the document's logical structure to
> the application in the normal way).]
>
>
>
>
>
>
>
> _______________________________________________
> maypole mailing list
> maypole at lists.netthink.co.uk
> http://lists.netthink.co.uk/listinfo/maypole

_______________________________________________
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