From dev-return-88078-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Sun Jun 25 08:15:05 2006 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 52925 invoked from network); 25 Jun 2006 08:15:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jun 2006 08:15:04 -0000 Received: (qmail 31822 invoked by uid 500); 25 Jun 2006 08:15:02 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 31749 invoked by uid 500); 25 Jun 2006 08:15:02 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 31737 invoked by uid 99); 25 Jun 2006 08:15:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jun 2006 01:15:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jun 2006 01:15:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A31917141F4 for ; Sun, 25 Jun 2006 08:13:30 +0000 (GMT) Message-ID: <4027497.1151223210665.JavaMail.jira@brutus> Date: Sun, 25 Jun 2006 08:13:30 +0000 (GMT+00:00) From: "Antonio Gallardo (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Assigned: (COCOON-1531) problem with htmlserializer (strange character in output ) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1531?page=all ] Antonio Gallardo reassigned COCOON-1531: ---------------------------------------- Assign To: Antonio Gallardo (was: Cocoon Developers Team) > problem with htmlserializer (strange character in output ) > ---------------------------------------------------------- > > Key: COCOON-1531 > URL: http://issues.apache.org/jira/browse/COCOON-1531 > Project: Cocoon > Type: Bug > Components: - Components: Sitemap > Versions: 2.1.7 > Environment: Operating System: other > Platform: Other > Reporter: kees_broenink > Assignee: Antonio Gallardo > > Using the latest Cocoon (2.1.7) I have a problem with serialize type="html". > > > > works fine. > > But using the following (index.html is well balanced XML): > > > > > adds a greater than character '>' in the output: > > "http://www.w3.org/TR/html4/loose.dtd"> > > > xmlns:s="http://www.backbase.com/s"> > > It only happens if the original document also has a DOCTYPE definition (will be > removed by Cocoon): > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > xmlns:s="http://www.backbase.com/s"> > Note that it only happens with org.apache.cocoon.serialization.HTMLSerializer; > not with org.apache.cocoon.serialization.XMLSerializer. > It doesn't matter if you configure with or without doctype, encoding etc. > > name="html" pool-grow="4" pool-max="32" pool-min="4" > src="org.apache.cocoon.serialization.HTMLSerializer"> > -//W3C//DTD HTML 4.01 Transitional//EN > http://www.w3.org/TR/html4/loose.dtd > UTF-8 > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira