-
Notifications
You must be signed in to change notification settings - Fork 231
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
calendar deserialize failed because of blanks #347
Labels
Comments
It’s probably expecting the tokens to match exactly. Your BEGIN token has a space (‘BEGIN: VCALENDAR’) but the end doesn’t match. The right thing to do would be throw a SerializationException in the event of an invalid space like you have on the first line. |
ok, so i need to verify if the string i good before parsing. thanks for the information |
Reopening because this should fail to parse the first token, so it’s a bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hallo,
the following calendar string fails with exception message
System.Runtime.Serialization.SerializationException: 'Expected 'END: VCALENDAR', found 'END:VCALENDAR''
--> do you see that he is expecting a blank( " ") after the ":" ? why ?
using current version:
The text was updated successfully, but these errors were encountered: