Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 47928 invoked by uid 500); 3 Jun 2003 13:24:36 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 47885 invoked from network); 3 Jun 2003 13:24:35 -0000 Received: from www.plenix.com (HELO www.plenix.org) (65.222.219.21) by daedalus.apache.org with SMTP; 3 Jun 2003 13:24:35 -0000 Received: from apache.org (quito.plenix.org [66.198.46.82]) by www.plenix.org (8.12.3/8.12.1) with ESMTP id h53DOZ78028127 for ; Tue, 3 Jun 2003 06:24:36 -0700 Message-ID: <3EDCA16A.1090709@apache.org> Date: Tue, 03 Jun 2003 08:23:54 -0500 From: Ricardo Rocha User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: C2.0.4: Strange XSLT behaviour in logicsheet when matching text() nodes (resent) References: <3EDC954D.6000908@anyware-tech.com> In-Reply-To: <3EDC954D.6000908@anyware-tech.com> 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 Sylvain Wallez wrote: > IIRC (but don't ask me why), the XSP engine wraps every text node from > the XSP file into elements. In the original implementation text nodes were preprocessed and escaped as string constants in accordance to the rules of the target programming language. This took place prior to applying the core logicsheet, where nodes were to be transparently output as quoted string constants. An alternative to this was using XSLT extension functions to perform string escaping inside the core logicsheet itself. This was rejected at the time because not all XSLT processors supported extensions and they were considered not portable. Along the way, the XSPMarkupLanguage class was rewritten as a SAX processor and the language-specific escaping was dropped in favor of... XSLT extensions inside the core logicsheet :-) So is probably a venerable fossil today. That said, "if it ain't broken..." Ricardo