Open tkasukawa opened 4 years ago
It was not reproduced in my environment. Please enter full path in "/path_to_excel_directory" and try again.
sudo docker run -v /path_to_excel_directory:/data -w /data excel2xml validate_dra_meta.rb -a example -i 0001
It was reproduced in my environment. According to the code of validate_dra_meta.db,
result = system("xmllint --schema SRA.submission.xsd --noout #{submission_id}_Submission.xml")
xsd files should be located in the same directory of XML files. When I copied the XSD files to the directory with XML files, the validation can work.
I guess the the filenames of XSD files should be rewritten with a correct path.
Please git clone submission-excel2xml, set your XML and XSD files directly under the submission-excel2xml directory and run the command. The README was modified to emphasize these points.
When running validate_dra_meta.rb via docker, the following errors are shown:
I'm afraid that the XSD files are not copied to a docker image.