pds-data-dictionaries / PDS4-LDD-Issue-Repo

Issue repository for tracking all PDS4 Discipline Dictionary-related issues, new feature requests, and releases.
Apache License 2.0
2 stars 1 forks source link

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

Closed rgdeen closed 2 months ago

rgdeen commented 4 months ago

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 https://github.com/NASA-PDS/validate/issues/958#issuecomment-2221569758).

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.

thareUSGS commented 4 months ago

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 commented 4 months ago

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

jordanpadams commented 4 months ago

@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. https://github.com/NASA-PDS/validate/issues/958#issuecomment-2223436195