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

#733 - LDDTool is throwing ERROR SetMasterAttrXMLBaseDataTypeFromDataType - Data Type is missing #736

Closed jshughes closed 2 months ago

jshughes commented 2 months ago

733 - LDDTool is throwing ERROR SetMasterAttrXMLBaseDataTypeFromDataType - Data Type is missing

When LDDTool ran against any LDDs (e.g. geom) that references common pds: attributes, LDDTool threw "Data Type is missing" errors. Example attributes were pds.name and pds.comment.

The IMTool/LDDTool refactoring task to move class and attribute information to the protege ontology database from external files had not been sufficiently debugged. Three bugs were found and fixed. One error was intermittent and was found to be dependent on sort order.

Why the Maven build example did not catch this error earlier is yet to be determined.

⚙️ Test Data and/or Report

LDDTool runs against valid LDDs will no longer throw "Data Type is missing" errors for common pds: attributes.

Resolves #733