Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 47219 invoked from network); 28 Nov 2005 16:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Nov 2005 16:10:00 -0000 Received: (qmail 26490 invoked by uid 500); 28 Nov 2005 16:09:54 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 26438 invoked by uid 500); 28 Nov 2005 16:09:54 -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 26427 invoked by uid 99); 28 Nov 2005 16:09:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2005 08:09:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of michael.wechner@wyona.com designates 195.226.6.68 as permitted sender) Received: from [195.226.6.68] (HELO mx1.wyona.com) (195.226.6.68) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2005 08:11:23 -0800 Received: from gate.wyona.com ([195.226.6.75] helo=[192.168.1.46]) by mx1.wyona.com with asmtp (Exim 3.35 #1 (Debian)) id 1EglZI-0002VA-00 for ; Mon, 28 Nov 2005 17:09:28 +0100 Message-ID: <438B2BB8.6080808@wyona.com> Date: Mon, 28 Nov 2005 17:09:28 +0100 From: Michael Wechner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, de, fr-ch, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: not closing "empty" tags with xhtml serializer References: <438B28A2.5070701@wyona.com> <438B2950.4090102@odoko.co.uk> In-Reply-To: <438B2950.4090102@odoko.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Upayavira wrote: >Michael Wechner wrote: > > >>Hi >> >>Some Browsers don't like closed tags, like for instance >> >> >> >>The problem is that the xhtml serializer is closing "empty" tags. >> >>(I am aware that the html serializer would be a workaround, but I want >>to serialize >>the page as xhtml and not as html.) >> >>Is it possible to configure the xhtml serializer to leave them open? >> >>Somehow I have the feeling that this questions was asked before, but >>cannot find it >>anymore and if there is a solution or not. >> >>Any hint is appreciated >> >> > >Have you tried the serializer in the serializer block? > I guess that's the one which I am using: src/blocks/serializers/java/org/apache/cocoon/components/serializers/XHTMLSerializer.java > If that doesn't >work, it might be easier to fix than the core cocoon one. > > you mean adding "iframe" to if ((local.equalsIgnoreCase("textarea")) || (local.equalsIgnoreCase("script")) || (local.equalsIgnoreCase("style"))) { ? Thanks Michi >Regards, Upayavira > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org