forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: changes2document.xsl - handling multiple bugs in @fixes-bug
Date Thu, 07 Aug 2003 12:42:12 GMT
On Thu, Aug 07, 2003 at 02:22:40PM +0200, Juan Jose Pablos wrote:
> Joerg,
> 
> Joerg Heinicke wrote:
> >{translate(normalize-space(@fixes-bug), ' ', '')}
> >
> >So all whitespace characters (and so line breaks) are trimmed to spaces 
> >and these are removed afterwards.
> >
> 
> That was more or less the changed that I wanted, but I thought that the 
> root problem is actually in the source, so if think breaks the content 
> owner can fix it very easy just removing the spaces.
> 
> so should we fix that by allowing incorrect source format? (spaces on 
> the attrb.)

We can have a super-strict format, but then we need we need a
super-strict format definition, ie. an XML schema that tells the user "no
spaces allowed here".

Anyone feeling keen on RelaxNG? :)  Otherwise I'd suggest just zapping
the spaces.


--Jeff


> 
> Cheers,
> Cheche
> 

Mime
View raw message