mangstadt / biweekly

biweekly is an iCalendar library written in Java.
BSD 2-Clause "Simplified" License
323 stars 44 forks source link

Add a warning if a parameter has a non-standard value #2

Closed mangstadt closed 8 years ago

mangstadt commented 11 years ago

When parsing an iCalendar object, a warning should be generated if a parameter value is non-standard. For example, if the RSVP parameter contains a value other than "true" or "false".

Discussion: https://sourceforge.net/p/biweekly/discussion/help-and-support/thread/310100a6/

Reported by: mangstadt

Original Ticket: biweekly/tickets/2

mangstadt commented 11 years ago

Original comment by: mangstadt

mangstadt commented 11 years ago

Fixed in r197.

Parameter values will be checked when ICalendar.validate() is called. They are checked here instead of during the parse operation because these problems have more do to with the correctness of the iCalendar data model, as opposed to the correctness of whatever syntax is used to send the data over the wire.

Original comment by: mangstadt