-
Notifications
You must be signed in to change notification settings - Fork 34
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
Validator cannot download correct Volume schema #508
Comments
Is this issue working as design? or is there any workaround to let it normal?
|
This is due to how Volume is ultimately produced by SNIA, but the DMTF republishes the file in its 8010 package. Unfortunately there may be gaps in time where the 8010 contents contain an older version than what SNIA has published. The workaround for the tools would be to download the latest Volume_v1.xml file from SNIA and put it in the schema directory created by the tool. We'll need to fix this long term though. The exception is not something I've seen before though, but I also haven't tested with the latest Volume schema from SNIA. |
@mraineri , thank for your response, and yes, if this issue can be solved, it is helpful. The exception is raised when I launch validator with cleaning |
Are you only copying over Volume, or everything SNIA has published? I tried Volume 1.8.0 and did not recreate the exception. |
I find that the exception is raised when SchemaFiles/metadata includes non-schema files like Makefile.am. Now, I can prepare correct schema files as a workaround. Maybe, validator could enhance to ignore non-schema files here. |
Yes, we should certainly enhance the validator to skip over those types of files. |
Now, validator cannot specify where to download schema files. If there is no schema file in the
schema_directory
, validator download the last released package of schema files from publish uri and then download other schema files (e.g., oem or swordfish) that are specified in theOData metadata
. But Volume_v1.xml(v1_6_2) already is in the last released package, valodator cannot download the newer version from redfish service by described in theOData metadata
. How to let validator download the specified schema file?The text was updated successfully, but these errors were encountered: