W3C home > Mailing lists > Public > public-multilingualweb-lt-tests@w3.org > September 2012

RE: Test suite output format

From: Yves Savourel <ysavourel@enlaso.com>
Date: Sat, 1 Sep 2012 06:59:08 -0600
To: <public-multilingualweb-lt-tests@w3.org>
Message-ID: <assp.059122af1e.assp.0591323af1.002d01cd8841$936eb410$ba4c1c30$@com>
Hi Felix, all,

> One question: for some data categories we would have a 
> lot of values for one node, e.g. loc quality issue in the 
> standoff version. How would the output look like

Maybe simply the list of the expected values, in a pre-defined order, with an empty spot if the value is not present? See attached example. (I have not verified the actual results, but the format should illustrate the idea)


> Also, some data categories have XML fragments (elements with 
> potentially attributes and (mixed) content inside). How to 
> represent these, e.g. what to do about whitespace stripping 
> for the XML fragments? I have no preference / idea, just asking.

We should probably escape the line breaks to "\n" (and any tab to "\t") and escape any XML constructs. For example if a localization note is:

<elem>text  with<tag/>
And line-breaks</elem>

We would output:

its:locNote="text  with&lt;tag/>\nAnd line-breaks"

cheers,
-yves



Received on Saturday, 1 September 2012 12:59:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 1 September 2012 12:59:41 GMT