Menu

#29 Relax parsing for date values

Beta (1.0)
closed-rejected
Parser (12)
5
2008-09-05
2008-08-14
No

It seems to be a common error in many .ical files that date properties that are specified as DATEs only omit to specify the required VALUE parameter. You even find this mistake in the RFC itself (though the DTSTAMP is even worse in that example):

BEGIN:VEVENT
UID:19970901T130000Z-123403@host.com
DTSTAMP:19970901T1300Z
DTSTART:19971102
SUMMARY:Our Blissful Anniversary
CLASS:CONFIDENTIAL
CATEGORIES:ANNIVERSARY,PERSONAL,SPECIAL OCCASION
RRULE:FREQ=YEARLY
END:VEVENT

I propose this patch to try to recover for these errors. This would also move google_aus_holdidays.ics and zidestoreical4jbomb.ics from invalid to valid. Locally I also added the above VEVENT with a corrected DTSTAMP for testing this behaviour.

Discussion

  • Francisco Laguna (OX)

    .

     
  • Ben Fortuna

    Ben Fortuna - 2008-08-22

    Logged In: YES
    user_id=14058
    Originator: NO

    Hi Francisco,

    Have you tried enabling the RELAXED_PARSING compatibility flag? I believe this will achieve the same result as this patch.

    regards,
    ben

     
  • Ben Fortuna

    Ben Fortuna - 2008-08-22
    • assigned_to: nobody --> fortuna
    • status: open --> pending-rejected
     
  • SourceForge Robot

    • status: pending-rejected --> closed-rejected
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.