RE: Update to test suite

Thanks Leroy,

Fyi, looks like some html inline translate entries are missing the its: namespace I've checked in the updates to the okapi branch. Also note that inside the <its:rules> the version attribute is not preceded by its: so I updated one of the sources files and the corresponding output file.

You can see the current diff here: https://github.com/finnle/ITS-2.0-Testsuite/compare/master...okapi

Cheers,
Fredrik

From: Leroy Finn [mailto:finnle@tcd.ie]
Sent: Tuesday, November 20, 2012 4:37 AM
To: Fredrik Liden
Cc: Multilingual Web LT-TESTS Public
Subject: Re: Update to test suite

Fredrik, Everyone,

I have updated all the output files to reflect the error found by Fredrik where its: was removed from the path section of the output files. Thanks for noticing that Fredrik. The updated output is now on github more updates to follow today.

Thanks,
Leroy
On 20 November 2012 10:24, Leroy Finn <finnle@tcd.ie<mailto:finnle@tcd.ie>> wrote:
Hey Fredrik,

Sorry i didn't notice that. It was a accident i didn't mean to remove those. I will correct this now and repost the output ASAP.

Thanks for spotting this,
Leroy

On 20 November 2012 10:18, Fredrik Liden <fliden@enlaso.com<mailto:fliden@enlaso.com>> wrote:
Hi Leroy,

Thanks for the updates and working on all the test files. The new output makes it a lot easier to compare the files.

I updated a few of the "Translate" files and posted them to a new okapi branch off of your Master branch. You can compare the branches to review/approve the changes.
wasn't sure if you prefer us to fork it instead to keep it even more separate so let us know if this works for you and we'll continue with the other categories.


Btw, I see the its: prefix has been removed from all its:translate="no" to translate="no" which was agreed on.
However, it seems the its: namespaces from the left side data have been removed as well (see @its:version and its:rules below). Since those are representation of real xml entities it would make sense to keep those namespaces intact. 1 Because implementations are most likely already  keeping track of namespaces in the parsed tree. 2. It would be possible to have two elements/attributes conflicting if they have the same name but different namespace. 3. To be consistent we might as well either remove all namespaces or keep all of them.

Each alternative, removing only the its: namespaces, removing all namespaces, or keep all namespaces may render a different line sort order so it a fairly significant decision.
Again this is only for the list of elements and attributes on the left hand side. Not the ITS information then printed for each one. Thoughts, anyone?

Sample Input file
  <its:rules xmlns:its="http://www.w3.org/2005/11/its"
             xmlns:xlink="http://www.w3.org/1999/xlink"
             version="2.0"
             xlink:type="simple"
             xlink:href="translate10xmlrules.xml" />

Current okapi:
/doc/@its:version        translate="no"   (this line is just an example from another file)
/doc/its:rules[1]               translate="no"
/doc/its:rules[1]/@version          translate="no"
/doc/its:rules[1]/@xlink:href     translate="no"
/doc/its:rules[1]/@xlink:type     translate="no"

Latest testsuite:
/doc/@version translate="no" (this line is just an example from another file)
/doc/rules[1]     translate="no"
/doc/rules[1]/@version                translate="no"
/doc/rules[1]/@xlink:href           translate="no"
/doc/rules[1]/@xlink:type           translate="no"

Cheers,
Fredrik

From: Leroy Finn [mailto:finnle@tcd.ie<mailto:finnle@tcd.ie>]
Sent: Monday, November 19, 2012 9:29 AM
To: Multilingual Web LT-TESTS Public
Subject: Update to test suite

Everyone,

I have added a major update to the test suite and further updates will come tomorrow as well. The update today is as follows "corrected data category files and added in new output format for all data categories except for ruby,directionality,loc quality and precis and disambiguation". The missing categories will be updated tomorrow. I will send out a mail in the morning with more details of the changes that i have made which will also be visible on the git hub page tomorrow.

Thanks,
Leroy

Received on Tuesday, 20 November 2012 19:33:38 UTC