Re: [widgets] Testing ITS support

Hello Marcos,

in case you are also aiming at support for "other ITS elements and
attributes": you could adapt the following tests from the ITS test suite
http://www.w3.org/International/its/tests/
which the ITS Working Group used for attributes at the its:span element.

TRANSLALTE
Local - In <its:span>
Source<http://www.w3.org/International/its/tests/inputdata/Translate3.xml>
Result<http://www.w3.org/International/its/tests/expected/Translate3-result.xml>
Result<http://www.w3.org/International/its/tests/test1/Translate3-result.xml>
Result<http://www.w3.org/International/its/tests/test2/Translate3-result.xml>
Result<http://www.w3.org/International/its/tests/test3/Translate3-result.xml>
LOCALIZATION NOTE
Local - In <its:span> with mixed notes
Source<http://www.w3.org/International/its/tests/inputdata/LocNote4.xml>
Result<http://www.w3.org/International/its/tests/expected/LocNote4-result.xml>
Result <http://www.w3.org/International/its/tests/test1/LocNote4-result.xml>
Result <http://www.w3.org/International/its/tests/test2/LocNote4-result.xml>
Result <http://www.w3.org/International/its/tests/test3/LocNote4-result.xml>
TERMINOLOGY
Local - In <its:span>
Source<http://www.w3.org/International/its/tests/inputdata/Terminology4.xml>
Result<http://www.w3.org/International/its/tests/expected/Terminology4-result.xml>
Result<http://www.w3.org/International/its/tests/test1/Terminology4-result.xml>
Result<http://www.w3.org/International/its/tests/test2/Terminology4-result.xml>
Result<http://www.w3.org/International/its/tests/test3/Terminology4-result.xml>
As you can see from the results, the implementation just has to be able to
make the ITS information available for further processing. So if you have
build three similar tests for these ITS data categories and one for
directionality (see Richards pointer), you are done IMO.

Best,

Felix

2009/11/27 Marcos Caceres <marcosc@opera.com>

> Dear i18n WG,
> During the call to transition the Widgets Packaging and Configuration
> specification (P&C) [1] to CR, the Director requested that aside from the
> MUST assertions the Web Apps WG test the optional aspects of the
> specification in our test-suite [2].
>
> As you are aware, to facilitate the localization of text nodes within XML
> elements in a configuration document, a user agent may support the
> Internationalization Tag Set's its:span element and the its:dir attribute
> (It is optional for a user agent to support other ITS elements and
> attributes).
>
> In order to test ITS support, the WebApps WG would appreciate some guidance
> with designing a handful of test cases that the i18n WG would consider
> suitable to provide interoperability across implementations.
>
> The its:span element can be used as a child element of the following
> elements of the configuration document. In addition, the its:dir attribute
> can be used in the following elements of the configuration document:
>
>    * name
>    * description
>    * author
>    * license
>
> Any guidance or help the i18n WG can provide us with designing test would
> be greatly appreciated. We are intending to transition this document to
> Proposed Recommendation at the end of January, but we would like to have the
> i18n tests done ASAP.
>
> I'm happy to work on the tests, so long as someone from i18n can guide me
> :) Hope the i18n WG can again help us out!
>
> Kind regards,
> Marcos
>
> [1] http://dev.w3.org/2006/waf/widgets/
> [2] http://dev.w3.org/2006/waf/widgets/test-suite/
>
>

Received on Friday, 27 November 2009 12:22:50 UTC