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

IMTool Refactoring - Deprecate the Java "Deprecated Object Array" #725

Closed jshughes closed 3 months ago

jshughes commented 3 months ago

IMTool Refactoring - Deprecate the Java "Deprecated Object Array"

The "Deprecated" boolean flag has been moved to the Object definitions in the dd11179 Protege ontology file. The hard-coded list of deprecated objects is no longer used. It will be removed during the next build.

There should be no noticeable change in the operational capabilities of the artifacts generated by the software. However, there are some differences.

  1. The order of the deprecation rules in the .sch file and the listing of deprecated items at the end of the .xsd file have changed. They are now ordered by name.
  2. An error in a deprecation rule was found and fixed. Rule for name:Node/name:name -> pds:Node/pds:name for deprecation of the value Navigation Ancillary Information Facility.
  3. The following deprecation rules are now being written to the .sch file. pds:Manifest_SIP_Deep_Archive/pds:field_delimiter - comma pds:Manifest_SIP_Deep_Archive/pds:field_delimiter - horizontal tab pds:Manifest_SIP_Deep_Archive/pds:field_delimiter - semicolon pds:Manifest_SIP_Deep_Archive/pds:field_delimiter - vertical bar pds:Manifest_SIP_Deep_Archive/pds:record_delimiter - carriage-return line-feed pds:Node/pds:name - Navigation Ancillary Information Facility
  4. The following rule was removed since the class Local_Internal_Reference was not deprecated but has a cardinality of (0..0), i.e. it is not allowed. pds:Array/pds:Local_Internal_Reference.
  5. A hand-full of rule titles have changed. However rule titles are not being used and could be considered for deprecation.

Resolves #724