W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [widgets] Span example

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Mon, 22 Mar 2010 12:02:31 +0000
To: public-webapps WG <public-webapps@w3.org>
Message-Id: <AEB45914-18D0-4D20-AC96-A8C16100280D@gmail.com>
All,

I think the <span> and dir models work well. I've implemented the new algorithms in Wookie for License, Name, Author and Description, and they seem to work nicely[1]. I'll add the same functionality to the Widget root element as the next step.

When the test cases have documentation I'l add them to our test suite and see if we can pass them.

-S

[1] 
Source:
http://svn.apache.org/repos/asf/incubator/wookie/trunk/parser/java/src/org/apache/wookie/w3c/impl/AbstractLocalizedEntity.java

JUnit Tests:
http://svn.apache.org/repos/asf/incubator/wookie/trunk/parser/java/src-test/org/apache/wookie/w3c/test/DirectionalityUtilsTest.java
http://svn.apache.org/repos/asf/incubator/wookie/trunk/parser/java/src-test/org/apache/wookie/w3c/test/LocalizedContentTest.java

On 19 Mar 2010, at 11:49, Arthur Barstow wrote:

> Richard, Addison, Felix, All,
> 
> Based on my conversations with Marcos and reading this thread, it is my understanding that you support:
> 
> a) the new <span> element and dir attribute model Marcos added to the Widget P&C spec [P&C-ED] and consequently,
> 
> b) the removal of the ITS references that were in the December CR [P&C-CR].
> 
> Would you please confirm this or if my understanding is not correct, please elaborate on any remaining issues?
> 
> Also, if you have any feedback on the 60 related test cases Marcos created, please reply to the thread he used to announce those test cases:
> 
> [widgets] dir and span tests
> http://lists.w3.org/Archives/Public/public-webapps/2010JanMar/0845.html
> 
> -Thanks, Art Barstow
> 
> [P&C-ED] http://dev.w3.org/2006/waf/widgets/
> [P&C-CR] http://www.w3.org/TR/2009/CR-widgets-20091201/
> 
> 
> On Mar 16, 2010, at 3:15 PM, ext Marcos Caceres wrote:
> 
>> Hi Richard,
>> 
>> Added the example at:
>> http://dev.w3.org/2006/waf/widgets/#span
>> 
>> Please see also the examples for the dir attribute:
>> http://dev.w3.org/2006/waf/widgets/#dir
>> 
>> Thanks again for all your time and help!
>> 
>> On Tue, Mar 16, 2010 at 7:58 PM, Richard Ishida <ishida@w3.org> wrote:
>>> [This is a continuation of one part of the http://lists.w3.org/Archives/Public/public-i18n-core/2010JanMar/0043.html thread.]
>>> 
>>> It addresses the comment:
>>> 
>>> [[      7.16. The span Element  http://dev.w3.org/2006/waf/widgets/#the-span-element-and-its-attributes
>>> [2] I think the example could be improved by having something inside the span with punctuation (eg. exclamation mark) or such, and maybe the description should be in English - otherwise you'd probably want to put the dir on the widget tag and have English in the span. Should I try to find another example ?
>>> ]] at http://www.w3.org/International/reviews/0907-widgets-pc/
>>> 
>>> 
>>> Here's my proposed example (thanks to Aharon Lanin for helping with the Hebrew).  I made up something that might appear in a Hebrew widget, rather than an English one, since it's a little more realistic.
>>> 
>>> <widget
>>> xmlns="http://www.w3.org/ns/widgets"
>>> xml:lang="he" dir="rtl">
>>> <name xml:lang="en">GPS Weather!</name>
>>> <description
>>>  יישומון ה-<span dir="rtl" xml:lang="en">GPS Weather!</span> מאפשר לך לבדוק את מזג האוויר בכל נקודת GPS ברחבי העולם.
>>> </description>
>>> </widget>
>>> 
>>> Here's a version ready to drop into HTML (I suggest you copy it as a unit, to avoid problems with the bidirectional text.)
>>> 
>>> &lt;widget
>>> xmlns=&quot;http://www.w3.org/ns/widgets&quot;
>>> xml:lang=&quot;he&quot; dir=&quot;rtl&quot;&gt;
>>> &lt;name xml:lang=&quot;en&quot;&gt;GPS Weather!&lt;/name&gt;
>>> &lt;description
>>>  יישומון ה-&lt;span dir=&quot;rtl&quot; xml:lang=&quot;en&quot;&gt;GPS Weather!&lt;/span&gt; מאפשר לך לבדוק את מזג האוויר בכל נקודת GPS ברחבי העולם.
>>> &lt;/description&gt;
>>> &lt;/widget&gt;
>>> 
>> 
>> 
>> 
>> -- 
>> Marcos Caceres
>> http://datadriven.com.au
>> 
> 
> 



Received on Monday, 22 March 2010 12:03:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:37 GMT