Replies: 1 comment
-
Agreed. I do recall the initiatives in both validators and test suites, but if they are no longer maintained then I think we can explore this further. Regarding your points this is how I see the current state of iCal4j:
I will try to complete the validation framework separation first as I think that needs the most attention currently. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been thinking that we need a better - more standards driven validator for iCalendar. Many previous validators have disappeared or aren't that good.
I'd like to suggest that we provide better reporting from the parsing process which will go along way towards providing a good validator. Reporting problems doesn't imply failing - just that something isn't fully standards compliant.
For example: the ical4j DTSTAMP will accept all sorts of forms of date-time while the standard only allows UTC (I don't think this is even affected by lenient parsing - it's always lenient).
A validation report would allow non-UTC but flag it as non-standard.
Related to this is normalization - accept non-UTC but emit UTC - I have to do that in my own code as my internal code only allows for UTC.
The first step would be to add some sort of validation report object to the parser API which can be retrieved or is part of the result.
Working through property and component validators would be incremental after that.
Beta Was this translation helpful? Give feedback.
All reactions