Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 87183 invoked from network); 10 Nov 2005 00:00:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Nov 2005 00:00:17 -0000 Received: (qmail 98328 invoked by uid 500); 9 Nov 2005 23:59:55 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 98016 invoked by uid 500); 9 Nov 2005 23:59:53 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 97950 invoked by uid 99); 9 Nov 2005 23:59:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 15:59:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.44.236.17] (HELO togepi.joshuainternet.net) (207.44.236.17) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 15:59:35 -0800 Received: from SearchMaster (cpc3-rdng9-3-1-cust144.winn.cable.ntl.com [81.107.95.144]) (authenticated (0 bits)) by togepi.joshuainternet.net (8.11.6/8.11.6) with ESMTP id jAA1AvA02727 for ; Thu, 10 Nov 2005 01:11:07 GMT Message-ID: <000301c5e589$7f08a380$6601a8c0@SearchMaster> From: "David Legg" To: "Cocoon Users" References: <00b801c5e54c$2f218bd0$6601a8c0@SearchMaster> Subject: Re: How do you generate 4.01 strict HTML? - SOLVED Date: Wed, 9 Nov 2005 23:58:03 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Anyone know the secret to generating compliant 4.01 strict from Cocoon? OK... I solved my own problem. So, for the record... My xslt transformation file (which originated from the Cocoon welcome.xslt file) had the following line near the top: - That default namespace declaration on the end of the line was interfering with the HTML serializer and preventing it from generating true HTML. I removed it and changed the 'html' serializer declaration in the sitemap to: - -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd Now the page is correctly being output as strict HTML 4.01 with no namespaces or '/' characters in
tags for example. Regards, David Legg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org