Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 22994 invoked by uid 500); 7 Aug 2003 13:17:51 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 22924 invoked from network); 7 Aug 2003 13:17:50 -0000 Received: from pop.gmx.de (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 7 Aug 2003 13:17:50 -0000 Received: (qmail 9019 invoked by uid 65534); 7 Aug 2003 13:17:50 -0000 Received: from a183069.studnetz.uni-leipzig.de (EHLO gmx.de) (139.18.183.69) by mail.gmx.net (mp023) with SMTP; 07 Aug 2003 15:17:50 +0200 Message-ID: <3F3251A1.7040703@gmx.de> Date: Thu, 07 Aug 2003 15:18:25 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: de-de, de, en-gb, en-us, en MIME-Version: 1.0 To: forrest-dev@xml.apache.org Subject: Re: changes2document.xsl - handling multiple bugs in @fixes-bug References: <3F31C823.7070504@gmx.de> <3F322874.6010309@che-che.com> <3F323D87.7070702@gmx.de> <3F3240BC.6040703@che-che.com> <3F32425D.9060003@gmx.de> In-Reply-To: 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 Someone could have Line breaks and other whitespace characters than simple spaces are not removed by translate. Trimming them to a space is the simplest solution. Joerg Juan Jose Pablos wrote: > Joerg, > > Done it, but without the normalize-spcae funtion, Why do you want to > normalize something that is going to be removed? > > Cheers, > Cheche > > > Joerg Heinicke wrote: > >> Ah, bugzilla is the problem. At least it works with the spaces. But of >> course you can change >> >> {@fixes-bug} >> >> to >> >> {translate(normalize-space(@fixes-bug), ' ', '')} >> >> So all whitespace characters (and so line breaks) are trimmed to >> spaces and these are removed afterwards. >> >> Joerg