[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Atom Bidi Draft Update - Informal Last Call



> Thanks!

You're welcome, James.

However, there are still some issues. What should Atom processors do when they encounter a "dir" attribute with invalid or unknown value? 

For example:

<entry dir="rtl">
  <title dir="invalid">...</title>
  ...
</entry>

Should the directionality of atom:title continue to be right-to-left? In other words, should the dir="invalid" be ignored and keep the directionality inheritance? Or, is the recovery action left to be implementation-dependent?

Franklin

----- Original Message -----
From: "James M Snell" <jasnell@xxxxxxxxx>
To: <peaceable_whale@xxxxxxxxxxx>
Cc: "atom-syntax" <atom-syntax@xxxxxxx>; "atom-protocol" <atom-protocol@xxxxxxx>
Sent: Friday, April 13, 2007 22:57
Subject: Re: Atom Bidi Draft Update - Informal Last Call

> 
> 
> peaceable_whale@xxxxxxxxxxx wrote:
>>>From the example, I am not sure what the feed author wants. So far there are only two directionalities allowed, left-to-right and right-to-left. In the example, the directionality of atom:entry is "rtl", there is no reason for the author to reset the directionality with an empty string. He should either change the directionality to "ltr" in atom:content or keep "rtl" by not using any "dir" attribute in atom:content.
>> 
> 
> Fair enough.  Removing dir="" requires that the feed publisher always
> explicitly set the direction.  It simplifies processing and helps to
> eliminate guessing.  Those are compelling enough reasons.  In the next
> iteration I'll remove the blank value.
> 
>> [snip]
>> The "dir" attribute SHALL be used when directionality is necessary to be changed. However, for compatibility with existing Atom documents that rely on direction guessing, user agents MAY perform direction guessing in Atom documents that do not contain a "dir" attribute but they MUST NOT do so when Atom documents contain a "dir" attribute.
>> 
> 
> +1. This is good.
> 
>> Franklin
> 
> Thanks!
> 
> - James
>