Exception when ical file contains property: ACKNOWLEDGED
Brought to you by:
fortuna
Trying to parse ics file with ACKNOWLEDGED property:
ACKNOWLEDGED:20130927T141516Z
http://tools.ietf.org/html/draft-daboo-valarm-extensions-04#section-8.1
Fails with Exception:
W/System.err(18269): net.fortuna.ical4j.data.ParserException: Error at line 40:Illegal property [ACKNOWLEDGED]
W/System.err(18269): at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:148)
W/System.err(18269): at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:210)
what is the status of that bug ?
If anyone needs a workaround: Enabling relaxed parsing using
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING, true);
suppressed this problem for me.
Also note that the latest snapshot build of ical4j-extensions includes support for the ACKNOWLEDGED property, and it will be available in the next release:
https://oss.sonatype.org/content/repositories/snapshots/org/mnode/ical4j/ical4j-extensions/master-SNAPSHOT/ical4j-extensions-master-20150912.145133-2.jar
Last edit: Ben Fortuna 2015-09-12