- From: Shaun McCance <shaunm@gnome.org>
- Date: Sat, 09 Feb 2013 18:40:56 -0500
- To: Multilingual Web LT Public List Public List <public-multilingualweb-lt@w3.org>
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 " 
    ". 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 Saturday, 9 February 2013 23:41:19 UTC