cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Flesch <>
Subject Error in HTML Doctype Statement
Date Mon, 20 Nov 2000 00:58:27 GMT
	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"

The valid statement would read:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

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

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

View raw message