You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Danny Robinson <da...@gmail.com> on 2007/07/11 18:18:32 UTC
[Trinidad] CoreBundle.xtrs - leading spaces stripped from resource entries
At build time, it seems that the leading space in the following resource is
getting stripped from the value during the generation of CoreBundle.java
<resource key="af_messages.LIST_FORMAT_private"> - {0}</resource>
Generated as
{"af_messages.LIST_FORMAT_private", "- {0}"},
This leads to a missing space between the message anchor and the following
text.
Any ideas?
--
Chordiant Software Inc.
www.chordiant.com
Re: [Trinidad] CoreBundle.xtrs - leading spaces stripped from resource entries
Posted by Adam Winer <aw...@gmail.com>.
It looks as though XRTS is being too aggressive in stripping
whitespace - that leading space really should get preserved without
needing nbsp...
-- Adam
On 7/11/07, Simon Lessard <si...@gmail.com> wrote:
> Hmmm, I think would be escaped properly by XRTS so we could use them
> instead of white spaces?
>
>
> On 7/11/07, Danny Robinson < dannyjrobinson@gmail.com> wrote:
> > At build time, it seems that the leading space in the following resource
> is getting stripped from the value during the generation of CoreBundle.java
> >
> > <resource key="af_messages.LIST_FORMAT_private"> -
> {0}</resource>
> >
> > Generated as
> >
> > {"af_messages.LIST_FORMAT_private", "- {0}"},
> >
> > This leads to a missing space between the message anchor and the following
> text.
> >
> > Any ideas?
> >
> > --
> > Chordiant Software Inc.
> > www.chordiant.com
>
>
Re: [Trinidad] CoreBundle.xtrs - leading spaces stripped from resource entries
Posted by Simon Lessard <si...@gmail.com>.
Hmmm, I think would be escaped properly by XRTS so we could use them
instead of white spaces?
On 7/11/07, Danny Robinson <da...@gmail.com> wrote:
>
> At build time, it seems that the leading space in the following resource
> is getting stripped from the value during the generation of
> CoreBundle.java
>
> <resource key="af_messages.LIST_FORMAT_private"> - {0}</resource>
>
> Generated as
>
> {"af_messages.LIST_FORMAT_private", "- {0}"},
>
> This leads to a missing space between the message anchor and the following
> text.
>
> Any ideas?
>
> --
> Chordiant Software Inc.
> www.chordiant.com