[Cosmo-dev] Re: [Chandler-dev] Re: [chandler-users] osaf.us updated to Cosmo 0.6.0

Jeffrey Harris jeffrey at osafoundation.org
Wed Feb 28 11:51:00 PST 2007


Hi Randy,

> And I found the problem with the problematic .ics file.  The problem is
> that the original .ics in 0.5 had a CATEGORIES property like:
> 
> CATEGORIES:A,\,,\\,\,,\,,\\,\\,\,,B
> 
> Not sure why there are multiple '\', but when this is parsed by Cosmo
> and migrated to 0.6 it gets stored as:
> 
> CATEGORIES:A,\,\,\,B
> 
> Then when the event is loaded and parsed and output the result is:
> 
> CATEGORIES:A,B
> 
> This is why the content-length doesn't match.  It seems the problem is
> in parsing a CATEGORIES property value.  Ical4j does not like escaped
> text in the category list.  This will most likely require changes to the
> ical4j code.  I don't think that many events are affected, but there is
> definitely an issue with CATEGORIES when there is escaped text in the
> value.

The weird CATEGORIES property is a Chandler export bug, fixing it now.
Probably ical4j should handle escaped characters since technically this
is legal, so I suppose it's good to surface that, but sorry we were
generating weird stuff for you!

Sincerely,
Jeffrey


More information about the cosmo-dev mailing list