cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: i18n transformer empty message element ignored?
Date Mon, 02 Sep 2002 10:03:43 GMT
The non-breaking space (in XML: & # 160;) is a non whitespace character and 
should not be removed.

Regards,

Joerg


Dr. Hans M. Rupp wrote:
> Hallo!
> 
> Sometimes we need the behavior, that the i18n transformer replaces
> something with nothing. Somehow this does not seem to work.
> E.g: pre i18n:
> <td align="right" class="Text">NO <i18n:text
> i18n:key="Unit.NO_UNIT">NO_UNIT</i18n:text> (08:00 h)</td>
> catalogue entry:
> <message key="Unit.NO_UNIT"></message>
> output:
> NO NO_UNIT
> When I replace the zero length string in the catalogue with bla the
> output
> is
> NO bla
> so the catalogue entry can be found.
> A single space or more spaces as the element contents also seem to be
> ignored.
> 
> Any ideas for a work-around or solution?
> 
> 
> Many thanks,
> Hans

-- 

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message