-
Notifications
You must be signed in to change notification settings - Fork 11
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
Uncaught exception thrown when only 1 of schemas/schematrons are provided via command-line #760
Comments
I do not have a windows machine. |
@al-niessner I see the same error on my Mac. |
@al-niessner After investigating, this may or may not be the same issue, but I am seeing an error because it can't find the schema and/or schematron online for If you provide those via command-line (and download the rest of the appropriate schemas/schematrons 20231115.zip, I get these results, which make more sense:
|
@al-niessner it looks like this may have not been implemented: #599 |
I fixed the internal error and now have this summary (too much for full output):
The only error of import here is error.label.schematron. Given the content of the test file, I took it to mean that those are the schematron that are desired (the URL in the XML produce a 404). In order to use those two schematron files, changed how validate is run to:
You should be able to call validate as shown above without any of the current changes and get the same errors that are shown here. You can also update your XML to point to the files but then would have to modify it if the schema ever moved to the https you list. See #747 and #761 for progress on the 9497 NAN false positives that you have. |
any idea what happened to the implementation for #599 ? That was supposed to provide support for grabbing the online schemas if they are not provided via command-line. |
Nothing happened to #599 implementation and it did do the job. The newest problem is that when it could not find something it reports a problem but the problem reporter thinks all target URLs it is given are file. So a glob of things would cascade to make it fail with a null pointer but it is a null pointer in creating the problem not detecting it. When testing the addition of schema on and off line, never tried a file that did not exist online and not give it offline so never noticed error reporting was going to give us a null pointer exception. |
Checked for duplicates
No - I haven't checked
🐛 Describe the bug
I installed the Windows version of validate_3.3.1 today.
(1) It appears that when I try to validate a PDS4 product, validate throws errors. See below.
(2) when I run this command: validate -V or validate --help
It works. So, I am guessing no issues with the installation.
(3) when I run this command: validate -t 227RI_PROPRETRG001_IS____680_F1_039R_edited.xml >> log.txt
This is displayed:
🕵️ Expected behavior
I expected validate to validate the product using this command:
📜 To Reproduce
...
🖥 Environment Info
...
📚 Version of Software Used
validate_3.3.1 for Windows. I installed using the zip.
🩺 Test Data / Additional context
ATMOS_test_20231113.zip
🦄 Related requirements
⚙️ Engineering Details
The text was updated successfully, but these errors were encountered: