On Sat, Mar 27, 2010 at 11:45 AM, Felix Sasaki
<felix.sas...@fh-potsdam.de> wrote:
>
>
> 2010/3/27 Marcos Caceres <marc...@opera.com>
>>
>>
>> On Mar 27, 2010, at 9:07 AM, Felix Sasaki <felix.sas...@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

Reply via email to