- From: Leroy Finn <finnle@tcd.ie>
- Date: Thu, 8 Nov 2012 12:31:19 +0000
- To: Felix Sasaki <fsasaki@w3.org>
- Cc: Fredrik Liden <fliden@enlaso.com>, Multilingual Web LT-TESTS Public <public-multilingualweb-lt-tests@w3.org>
- Message-ID: <CAMYWBwvHoBsKxu9BHW_B+8xS-qVx70d7NFRbqy1c75-gs66EAQ@mail.gmail.com>
Hi Fredrik, Yeah i agree with you in *translate *data category output we see the defaults so i will add this into the other categories. Thanks for pointing this out and its problem as I am holding out producing the new output till tomorrow. Thanks, Leroy On 8 November 2012 04:51, Felix Sasaki <fsasaki@w3.org> wrote: > Hi Fredrik, all, > > 2012/11/7 Fredrik Liden <fliden@enlaso.com> > >> For all test cases, should we display default values on every >> element/attribute or is that polluting the testoutputfile? >> > > For example in test files: > >> *Locale1htmloutput.txt* >> >> *locale2htmloutput.txt* >> >> ** ** >> >> Currently only the elements and attributes that have been specifically >> targeted display a *localeFilterList* value. Wondering if the remaining >> elements should display *localeFilterList="*"* >> >> * * >> >> *Btw, for locnote9xmloutput.txt.* >> >> */html/body[1]/div[1]/@id its-locale-filter="en-CA, >> fr-CA" * >> >> */html/body[1]/div[1]/p[1] its-locale-filter="en-CA, >> fr-CA" * >> >> * * >> >> *I think it should be***** >> >> */html/body[1]/div[1]/@id localeFilterList ="en-CA, >> fr-CA" * >> >> */html/body[1]/div[1]/p[1] localeFilterList ="en-CA, >> fr-CA" * >> >> ** ** >> >> In example:**** >> >> *locnote8xmloutput.txt* >> >> *locnote9xmloutput.txt* >> >> ** ** >> >> I’m wondering if the default its:locNoteType="description" should be >> displayed.**** >> >> ** ** >> >> Current input**** >> >> <body its:locNote="The variable {0} is the name of the host.">**** >> >> ** ** >> >> Current output**** >> >> /Res/body[1] its:locNote="The variable {0} is the name of the >> host." **** >> >> ** ** >> >> Should it be:**** >> >> /Res/body[1] its:locNote="The variable {0} is the name of the >> host." its:locNoteType="description" (and displayed for child elements >> as well)**** >> >> ** ** >> >> These are specific examples but I’m asking in general. It might be useful >> in some cases to see the defaults to make sure the inheritance [Y/N] and >> overriding is working correctly. >> > > > Yes, it would be useful IMO. Here is what we did that for the ITS 1.0 test > suite, see > http://www.w3.org/International/its/tests/inputdata/Translate1.xml > http://www.w3.org/International/its/tests/expected/Translate1-result.xml > > Without the inherited values, one would not see that elements like > > /{}myMetaDoc/{}body[1]/{}par[1] > > are translatable. Coming back to the "we don't care where the information > is coming from" discussion: if we drop both outputType="default-value" > (what we already do) and translate="yes", the test suite consuming parser > doesn't know whether the test suite file producer has done the right thing > with regards to the nodes in question. > > > Best, > > > Felix > > > >> ** ** >> >> Sorry if the example is another that is currently being updated. I’ll let >> you get to work now Leroy and wait for the final files. J**** >> >> ** ** >> >> Fredrik**** >> > > > > -- > Felix Sasaki > DFKI / W3C Fellow > >
Received on Thursday, 8 November 2012 12:31:51 UTC