-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent behavior when parsing calendars? #399
Comments
Hm. I can not see where the second example is invalid. Can you point out the line? I would say example 1 is against the syntax. |
I'd say that |
Oh, I think the error is put into the |
@jacadzaca Do you have a suggestion for this issue? Do you think this is re-solved as the understanding of the icalendar module grew for us? |
I think that we should either remove the |
This snippet:
when passed this broken calendar:
outputs
ValueError: Content line could not be parsed into parts: 'X': Invalid content line
but when it's passed this broken calendar:
outputs
b'BEGIN:VCALENDAR\r\nBEGIN:VEVENT\r\nDTSTART:20150905T090000Z\r\nDTEND:20150905T100000Z\r\nUID:123\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n'
icalendar should either always throw an exception on broken calendar or always skip the broken property.
icalendar is from master branch
Related tests: test_issue_168 and test_issue_104
The text was updated successfully, but these errors were encountered: