Re: i18n comments: (was: [widgets] Span example)

On Mar 27, 2010, at 9:07 AM, Felix Sasaki <felix.sasaki@fh-potsdam.de>  
wrote:

> The spec itself looks fine. It seems that the schema at
> http://dev.w3.org/2006/waf/widgets-schema/widgets.rnc
> is not up to date yet. It still contains the *ITS* dir attribute,  
> e.g. at
>
> elem.author = element author {
>     attr.xmllang?,
>     attr.itsdir?,
>     attribute href { xsd:anyURI }?,
>     attribute email { xsd:string { pattern=".+@.+" } }?,
>     text?
> }
>
> I think you need to rename attr.itsdir to attr.dir , and change
> attr.itsdir = attribute its:dir { "ltr" | "rtl" | "lro" | "rlo" }
> to
> attr.dir = attribute dir { "ltr" | "rtl" | "lro" | "rlo" }
>

Thanks Felix, I will update the schema. However, the BIDI spec warns,  
for security reasons, to avoid the overrides so I didn't include them  
into our spec. Should I put lro and rlo into the spec regardless? the  
spec now contains a note about this in the dir section:

     Note:
Under the guidance of the [BIDI] specification, the values that would  
allow directional overrides in this specifications, namely Left-to- 
Right Override (LRO) and Right-to-Left Override (RLO), have  
deliberately been left out of this specification because of security  
concerns (see [UTR36]). Authors wanting to override the [BIDI]  
algorithm can do so by using [XML] entities and the appropriate  
Unicode directional markers.




> Best,
>
> Felix
>
> 2010/3/26 Richard Ishida <ishida@w3.org>
> [Changing the subject to keep the review comment thread clean]
>
> Personally, I think we're ok with the changes.
>
> RI
>
> ============
> Richard Ishida
> Internationalization Lead
> W3C (World Wide Web Consortium)
>
> http://www.w3.org/International/
> http://rishida.net/
>
>
>
>
> > -----Original Message-----
> > From: Arthur Barstow [mailto:art.barstow@nokia.com]
> > Sent: 19 March 2010 11:49
> > To: Richard Ishida; Addison Phillips; Felix Sasaki; public-i18n-core@w3.org
> > Cc: public-webapps; Marcos Caceres
> > Subject: Re: [widgets] Span example
> >
> > 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
> > >
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 9.0.791 / Virus Database: 271.1.1/2755 - Release Date:  
> 03/20/10
> > 19:33:00
>
>
>

Received on Saturday, 27 March 2010 09:50:44 UTC