Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 37249 invoked by uid 500); 16 Nov 2002 19:09:37 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 37169 invoked from network); 16 Nov 2002 19:09:35 -0000 Message-ID: <3DD69810.3080804@manoweb.com> Date: Sat, 16 Nov 2002 20:10:08 +0100 From: Alessio Sangalli User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: inserting doctype from xsl Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Perhaps it has already been discussed, but I didn't find any reference to this in the mail list archives. I wanted to check my code with the w3c validator; I get a fatal error because I didn't put the DOCTYPE thing at the beginning of the page. However I can't put it from inside xsl because I get The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException says: doctype not allowed in content. More precisely: org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: org.xml.sax.SAXParseException: doctype not allowed in content. how can I do? I've tried few solutions found in dejanews but none worked... bye & thank you as --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: