Skip to content
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

[ldd-msn] Something is wrong with the 1M00 schematron #287

Closed
rgdeen opened this issue Jul 10, 2024 · 3 comments
Closed

[ldd-msn] Something is wrong with the 1M00 schematron #287

rgdeen opened this issue Jul 10, 2024 · 3 comments
Assignees
Labels
ldd-msn Issue for ldd-msn repo

Comments

@rgdeen
Copy link

rgdeen commented Jul 10, 2024

I was validating an M20 label using local copies of the LDDs (version 1G). Somehow version PDS4_MSN_1M00_1303.sch got into the directory. Validate failed with a really bizarre error message (see NASA-PDS/validate#958 (comment)).

Further investigation showed that there must be something wrong with the sch file. I copied it to 1G00_1300 to match the "correct" version, and edited the file to change internal version numbers, and it still failed. I did the same to the xsd (so that the xsd and sch matched) and still got the same error.

I can't completely rule out that it's something about the 1M LDD that's incompatible with 1G, but I have looked and can't find anything (it would almost have to be some difference in PDS core, but it doesn't obviously use any core facilities that might have changed). I also don't know what the actual error is, only that it produces a cryptic validate error.

See the Validate bug for the command line and sample data.

@rgdeen rgdeen added the ldd-msn Issue for ldd-msn repo label Jul 10, 2024
@thareUSGS
Copy link
Contributor

hmm - at v1303 I only see very minor additions. I will see if I can build locally and see if there is a difference.

@thareUSGS
Copy link
Contributor

I'm still not seeing the issue. Can you attach a label for me to test.

@jordanpadams
Copy link
Contributor

@thareUSGS per this comment, I think this may be an issue with the way @rgdeen was running this and supplying the schemas/schematrona via command line. This seems to check out when I use the online versions. NASA-PDS/validate#958 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ldd-msn Issue for ldd-msn repo
Projects
Status: Done
Development

No branches or pull requests

3 participants