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
ASCII_Date_Time_* do not sufficiently check valid days of a month or seconds #434
Comments
I have not tested this against every variation of PDS date and date-time (e.g., ASCII_Date_Time_YMD_UTC, ASCII_Date_YMD, etc).
Apparently, I cannot drop the SCH file here. So, I will do what I have done for millennia and email the updated SCH to J.Hughes. |
Issue #434 ASCII_Date_Time_* do not sufficiently check valid days of a month or seconds Per NASA-PDS/harvest#81, it looks like the PDS4 IM schematron rules do not sufficiently check the proper days for each month. Resolves #434
Issue #434 ASCII_Date_Time_* do not sufficiently check valid days of a month or seconds Per NASA-PDS/harvest#81, it looks like the PDS4 IM schematron rules do not sufficiently check the proper days for each month. Resolves #434 Co-authored-by: John Hughes <jsh416@gmail.com>
Reverted changes in order to build a more sufficient test suite to ensure the solution does not break any other time formats. |
This is verified with the new files provided today. There is now no exception. Diff-ing the schematron and schema files shows that exactly that section identified above by @rchenatjpl was removed from the new files. See attached test execution report. PASS |
Waiting on https://pds-jira.jpl.nasa.gov/browse/CCB-350 |
CCB discussions continuing on this. |
You mean DDWG, not CCB. The DDWG is responsible for drafting proposals for implementation. The CCB only gives an up-or-down vote to what the DDWG produces. |
Closing this as invalid. will be replaced by CCB-350 and #502 |
🐛 Describe the bug
Per NASA-PDS/harvest#81, it looks like the PDS4 IM schematron rules do not sufficiently check the proper days for each month.
In the example in the ticket above,
is valid.
Additionally, this looks to validate successfully:
New update found 2022-02-17, issue with allowing 60 seconds. This comes back valid and it shouldn't:
🕵️ Expected behavior
If an invalid day of month is given, the schematron should trigger an error.
For additional test cases see #487
The text was updated successfully, but these errors were encountered: