-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Ignore X-... properties also at end of file? #350
Comments
I didn't read RFC5545 complete but I'm sure that the content of an .ics file can only be an icalstream. This allows for one or more VCANELDAR components but nothing else. So the file is actually invalid and therefore, the error is expected. The part about ignoring unknown X- and IANA-registered properties, (components and parameters) doesn't apply in this case, for that reason. @mmoole can you please provide the code snipped that you used to parse this? |
Hey, I am a beginner in open source and want to contribute to this project. So can anybody guide me on how to make my first contribution. |
Hello @yeshwantthota, welcome! I can see that you have a few projects yourself, so you seem familiar with Git and GitHub. You can find a link to the documentation on this page: https://github.com/collective/icalendar. I should describe how to set up icalendar on your system. If not - this is something worth documenting. After you have a local copy and the Could I help you any further? |
Hello, I am using open-web-calendar which uses icalendar, so I cannot say exactly where the code snippet would reside 🤷🏼♂️ |
I would say it belongs into icalendar since this reads the data and parses it also because it is a valid calendar file that icalendar does not like.
|
Wonderful 🚀 |
Dear icalendar team,
there is a simple caching mechanism built into the site and thus cached copies of the .ics have a string attached pointing to this at the very end of the file. It looks like this:
Now icalendar is showing this error:
Property "X-COMMENT" does not have a parent component.
But the file validates fine at https://icalendar.org/validator.html and on the other hand properties beginning with X- may be ignored nevertheless.
So this is to suggest ignoring properties beginning with X- at least for the check if they are within a parent component. Would that be possible?
The text was updated successfully, but these errors were encountered: