davidmarklafleur / ijp

Automatically exported from code.google.com/p/ijp
0 stars 0 forks source link

ijp wrongly assumes property names and parameter as necessarily uppercase #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use an iCalendar file whose events begin with "begin:vevent" (cf attached 
file)
2. Parse the ics file
3. Try to access event property, eg summary

What is the expected output? What do you see instead?
Event properties are accessed without problem.
Events cannot be accessed.

What version of the product are you using? On what operating system?
0.6.  Independent to O/S.

Please provide any additional information below.
ijp wrongly assumes that property names and parameter are necessarily 
uppercase, but according to RFC 5545, section 2 "Basic Grammar and Conventions" 
(or equivalent section in RFC 2445), it is stated that:

All names of properties, property parameters, enumerated property values, and 
property parameter values are *case-insensitive*.

Original issue reported on code.google.com by laps...@gmail.com on 11 Nov 2013 at 8:29

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by lec...@gmail.com on 4 Jul 2014 at 11:03

GoogleCodeExporter commented 8 years ago
I've added "i" option to the regexps.

Original comment by lec...@gmail.com on 4 Jul 2014 at 11:22

GoogleCodeExporter commented 8 years ago
ijp-0.7 correctly parses this ical file

Original comment by lec...@gmail.com on 1 Aug 2014 at 1:07