W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

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

From: Marcos Caceres <marcosc@opera.com>
Date: Tue, 6 Apr 2010 16:08:13 +0200
Message-ID: <w2mb21a10671004060708v1b3d7addgd254def8e866a002@mail.gmail.com>
To: Felix Sasaki <felix.sasaki@fh-potsdam.de>
Cc: Arthur Barstow <art.barstow@nokia.com>, Addison Phillips <addison@amazon.com>, "public-i18n-core@w3.org" <public-i18n-core@w3.org>, public-webapps <public-webapps@w3.org>, Richard Ishida <ishida@w3.org>
On Sat, Mar 27, 2010 at 11:45 AM, Felix Sasaki
<felix.sasaki@fh-potsdam.de> wrote:
>
>
> 2010/3/27 Marcos Caceres <marcosc@opera.com>
>>
>>
>> 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?
>
> You mean in the schema, right? No, you can leave them out - so attr.dir =
> attribute dir { "ltr" | "rtl" } is fine.

For the sake of record keeping, the above has been integrated into the
schema with the addition of the overrides:

http://dev.w3.org/2006/waf/widgets-schema/common.rnc

The spec also reflects this:
http://dev.w3.org/2006/waf/widgets/#the-dir-attribute


-- 
Marcos Caceres
http://datadriven.com.au
Received on Tuesday, 6 April 2010 14:09:09 GMT

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