Re: intltool XML string problem: bugzilla 15107



I have confirmed that using xml:space="preserve" makes it possible to
keep the internal whitespace, thus preserving translations.  However
this means that translatable XML elements cannot have leading or
trailing whitespace, including line-breaks before the closing element
tag, i.e.

<_Foo:bar xml:space="preserve">Hello!  Goodbye.</_Foo:bar>

works, but


<_Foo:bar xml:space="preserve">Hello!  Goodbye.
</_Foo:bar>

will break because of the explicit trailing newline.

Anyone have an idea of how to make this less fragile/tedious for
translators and maintainers?

- Bill



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]