W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > February 2013

mlw-lt-track-ISSUE-116: space normalization in ITS loc note [MLW-LT Standard Draft]

From: MultilingualWeb-LT Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 11 Feb 2013 15:23:33 +0000
Message-Id: <E1U4vED-0007tB-0T@tibor.w3.org>
To: public-multilingualweb-lt@w3.org
mlw-lt-track-ISSUE-116: space normalization in ITS loc note [MLW-LT Standard Draft]

http://www.w3.org/International/multilingualweb/lt/track/issues/116

Raised by: Felix Sasaki
On product: MLW-LT Standard Draft

From

http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2013Feb/0049.html

While restructuring some code to handle all the localization
note test cases, I ran across what I believe to be unspecified
behavior expected by the test suite.

>From locnote1xml.xml:
    <its:locNote>The variable {0} has three possible values: 'printer', 
    'stacker' and 'stapler options'.</its:locNote>

Expected locNote in locnote1xmloutput.txt:
The variable {0} has three possible values: 'printer', 'stacker' and
'stapler options'.

But what's literally in the its:locNote element after "'printer',"
is "&#x20;&#x0A;&#x20;&#x20;&#x20;&#x20;". Should we specify that
we expect whitespace in localization notes to be normalized?

Side note: itstool has always normalized whitespace in localization
notes, unless the locNote element is space-preserving. This isn't
specified, but I've found it useful. My code restructuring moved
the normalization to the PO serializer, so the output for the test
suite is now getting the non-normalized form.

--
Shaun
Received on Monday, 11 February 2013 15:23:34 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:25:08 UTC