cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: Error in HTML Doctype Statement
Date Mon, 20 Nov 2000 01:55:40 GMT
This is a bug in the XHTML serializer, which is not part of the Cocoon 
source code - Cocoon only calls it.

Luke Flesch <> wrote:
>	I've been using Cocoon and the W3C Validation Service in an
>attempt to create a valid XHTML document.  I have managed to get Cocoon to
>output Transitional XHTML that is valid with but one error (in the first
>The invalid statement is:
><!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>		"DTD/xhtml1-transitional.dtd">
>The valid statement would read:
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>		"DTD/xhtml1-transitional.dtd">
>The word 'html' must not be capitalized.  As far as I can tell, I cannot
>modify this text using the file.
>	Interestingly, I checked whether a Strict HTML document can use
>the lower-case form.  According to the validator, it can.  You can check
>that the following is a valid document:
><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"
>		"" >
>	<p>
>	Results Page
>	</p>
>As a side note, Saxon gets this right and outputs 'html'.
>	Thus, I believe the problem can be fixed simply by changing the
>hard-coded Cocoon default from 'HTML' to 'html'.
>	If I have overlooked some critical piece, I apologize.  I am very
>new to Cocoon and the XML language family.
>-Luke Flesch

Get Your Private, Free E-mail from MSN Hotmail at

Share information about yourself, create your own public profile at

View raw message