Cloud XML compatibility and stamping-as-annotations (Was Re: [Chandler-dev] platform team update)

Grant Baillie grant at osafoundation.org
Mon Sep 11 09:34:22 PDT 2006


On 30 Aug, 2006, at 15:19, Grant Baillie wrote:

> On 30 Aug, 2006, at 15:07, Morgen Sagen wrote:
>
>> On Aug 30, 2006, at 9:53 AM, Grant Baillie wrote:
>>
>>> On 28 Aug, 2006, at 10:42, Katie Capps Parlante wrote:
>>>
>>>> Notes from the most recent platform team meeting:
>>>> http://wiki.osafoundation.org/bin/view/Journal/PlatformMtg20060822
>>>>
>>>> Highlights:
>>>>
>>>> + The platform team will take ownership of Ashkan's event logger  
>>>> project when his internship ends (Grant or Morgen).
>>>>
>>>> + Grant's stamping-as-annotations project will land in α4.  
>>>> Progress is going well; he has many unit tests passing and the  
>>>> UI up and running.
>>>>
>>>> ...
>>>>
>>>> + Morgen's sharing format changes and PJE's dump/reload features  
>>>> won't land in α4, the current target is α5.
>>>
>>> Collectively, these two imply that α4 will probably break  
>>> compatibility of sharing with α3 (I mean compatibility of xml- 
>>> based .chandler shares, not iCalendar/CalDAV). Is this OK? If  
>>> not, we could the sharing code to map stamp attributes onto the  
>>> old values: I'm not sure how much work this would be.
>>
>> Grant, with the move to stamping-as-annotations, are the  
>> attributes in the domain model actually changing?   If not, then  
>> α4 should be compatible with α3 shares.
>
> Well, at the very least, the attribute names have changed, e.g.  
> 'startTime' is now 'osaf.calendar.EventStamp.startTime'. Also,  
> stamped items would no longer have multiple Kinds, and those are  
> stored in the xml, so some kind of translation would have to happen  
> there, too.

With the help of some unit tests I wrote, I have these translations  
working for Events in my stamping-as-annotation clone (i.e. mapping  
stamp classes in the "new" world to kinds in the "old", and properly  
dealing with attribute names). There are still 2 failing unit tests  
in Chandler that have to do with Mail-stamped events, but I should  
get those working today.

--Grant




More information about the chandler-dev mailing list