RE: Update to test suite

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]
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 10:18:36 UTC