Sorry if this has been answered somewhere, but I have searched the FAQ, several mailing list archives and other sites, and have tried to figure this out myself for several hours. So finally I give up and hope that somebody on the list can help me.
I want to use Cocoon to generate XHTML pages that pass the validation test at W3C. Unfortunately, Cocoon (or rather, the XML Serializer in Xerces, if I understand the interdependencies correctly) always emits a doctype declaration likes this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> while the W3C validator insists on having one like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> i.e., "html" in lower case. In my sitemap.xmap I have the following definition: <map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer"> <doctype-public>-//W3C//DTD XHTML 1.0 Transitional//EN</doctype-public> <doctype-system>DTD/xhtml1-transitional.dtd</doctype-system> <omit-xml-declaration>true</omit-xml-declaration> <encoding>ISO-8859-1</encoding> <indent>1</indent> </map:serializer> Any help (or pointer to documentation) would be greatly appreciated. Thank you. -- Stefan Tilkov, [EMAIL PROTECTED] innoQ Deutschland GmbH, Harkortstraße 21-23, D-40880 Ratingen, Germany Phone: +49 2102 771 620 Mobile: +49 170 471 2624 Fax: +49 2102 771 601 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>