Error while parsing ics for caldav

395 views Asked by At

iCal .net version -: 2.3.3 I am getting following error while parsing ics using ical .Net -:

expecting "END", found '105'
expecting "END", found '1047'
expecting "END", found '102'
expecting "END", found '1000'
expecting "END", found '1'
expecting "END", found '"'
expecting "COLON", found '.'
expecting "COLON", found ','
expecting "COLON", found ' '
expecting "COLON", found '  '

This is happening only on few accounts/events.

1

There are 1 answers

4
rianjs On

Apple's ical stuff is more broken than most. They fail to serialize at least 2 things properly:

Your particular problem is with a location. I think ical.net versions 3+ will handle the location deserialization without dying. The v3 parser is more forgiving in some cases than the v2 (ANTLR-based) parser.

I'm not sure if I'm going to add in Apple-specific ics handling; they really should fix their bugs, but they probably won't.