forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: changes2document.xsl - handling multiple bugs in @fixes-bug
Date Thu, 07 Aug 2003 13:18:25 GMT
Someone could have

<action fixes-bug="1234, 2345,
3456, 4567"/>

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


Mime
View raw message