Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 14410 invoked from network); 7 Jun 2005 12:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 12:42:41 -0000 Received: (qmail 73696 invoked by uid 500); 7 Jun 2005 12:42:38 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 73621 invoked by uid 500); 7 Jun 2005 12:42:37 -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 73600 invoked by uid 99); 7 Jun 2005 12:42:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from lakermmtao03.cox.net (HELO lakermmtao03.cox.net) (68.230.240.36) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 05:42:35 -0700 Received: from [192.168.0.101] (really [70.179.64.83]) by lakermmtao03.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050607124223.CJZO18229.lakermmtao03.cox.net@[192.168.0.101]> for ; Tue, 7 Jun 2005 08:42:23 -0400 Message-ID: <42A5962F.4010202@reverycodes.com> Date: Tue, 07 Jun 2005 08:42:23 -0400 From: Vadim Gritsenko User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Why does XSPMarkupLanguage wrap text in xsp:text? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jochen Kuhnle wrote: > Vadim Gritsenko wrote on 06.06.2005 16:19:44: > >>Jochen Kuhnle wrote: >> >>>I noticed that XSPMarkupLanguage.characters wraps text in >>>xsp:text elements. Is there a reason for this? At least my XSPs work >>>without this... >> >>This logic has been there since beginnings of Cocoon2 XSP implementation >>[1] >>(line 134), and I'd suggest leaving it there as logicsheets might >>be dependent on this. >> >>I guess original idea was that text() nodes can be safely ignored, while >>xsp:text nodes are meaningful. It might be still true, haven't >>digged deeper... > > > Hmm, I don't think this behaviour is very intuitive, especially if > compared to XSLT's handling of . Maybe we could make it > configurable and deprecate it? Especially if doing so does not break > anything? I don't think that it is something which should be configurable: it should be either left in (and clarified where necessary) or removed. Without review, I can't +1 removal - first need to check that all corner cases are still processed properly without . Vadim