NASA-PDS / pds4-information-model

The software tools and data necessary for generating the Information Model including PDS4 ontology, data, and information model.
https://nasa-pds.github.io/pds4-information-model/
Other
9 stars 6 forks source link

LDDTool -- missing a required namespace #741

Closed rsjoyner closed 1 month ago

rsjoyner commented 1 month ago

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

There appears to be an error in omitting a required namespace when a schematron rule employs one of the external namespaces:

See enclosure for the Cassini_IngestLDD and the files that were built using this command: lddtool_1E30_edited -lpJ1 -V 1J00 PDS4_CASSINI_IngestLDD.xml > log-a.txt These are the generated namespaces: Note that the cartLDD is not listed. And, the omission causes an error in the schematron. These are the namespaces that should be generated: ### 🕵️ Expected behavior From the schematron rules, I expected that these namespaces would be generated: When an external namespace is specified in one or more rules: ### 📜 To Reproduce ```bash 1. execute LDDTool using this command: lddtool_1E30_edited -lpJ1 -V 1J00 PDS4_CASSINI_IngestLDD.xml > log-a.txt 2. examine log.txt for errors. NO errors but lots of Warnings. 3. examine the generated schematron file to see Error. 3. edit in the missing cartLDD namespace -- all is good. ... ``` ### 🖥 Environment Info ```bash - Version of this software is v14.3.0 - Operating System: windows ... ``` ### 📚 Version of Software Used - Version of this software is v14.3.0 ### 🩺 Test Data / Additional context See zip above. ### 🦄 Related requirements 🦄 #xyz ### ⚙️ Engineering Details _No response_
jordanpadams commented 1 month ago

Closing as invalid. See https://github.com/pds-data-dictionaries/ldd-cassini/pull/6#issuecomment-2013278205