解析caldav的ics时出错

时间:2017-12-15 07:13:35

标签: icloud icalendar ical-dotnet

iCal .net版本 - :2.3.3 使用ical .Net解析ics时出现以下错误:

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 '  '

仅在少数帐户/活动中发生这种情况。

1 个答案:

答案 0 :(得分:0)

苹果公司的东西比大多数人更加破碎。他们未能正确地序列化至少两件事:

您的特定问题在于某个位置。我认为ical.net版本3+将处理位置反序列化而不会死亡。在某些情况下,v3解析器比v2(基于ANTLR)的解析器更宽容。

我不确定我是否会添加Apple特定的处理;他们真的应该修复他们的错误,但他们可能不会。