|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<?xml-model href="http://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1H00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?> |
| 2 | +<?xml-model href="http://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1O00.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?> |
3 | 3 |
|
4 | 4 | <Ingest_LDD xmlns="http://pds.nasa.gov/pds4/pds/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | | - xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 http://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1H00.xsd"> |
| 5 | + xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 http://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1O00.xsd"> |
6 | 6 | <name>Spectral Discipline Dictionary</name> |
7 | | - <ldd_version_id>1.3.2.0</ldd_version_id> |
| 7 | + <ldd_version_id>1.3.2.1</ldd_version_id> |
8 | 8 | <dictionary_type>Discipline</dictionary_type> |
9 | 9 | <full_name>Anne Raugh</full_name> |
10 | 10 | <steward_id>sbn</steward_id> |
|
44 | 44 | 2024-04-02 ACR Version 1.3.2.0 Clearing some additional issues from the queue: |
45 | 45 | Issue #275: Conside units when comparing values of first_center_* |
46 | 46 | and last_center_* |
| 47 | + 2025-10-21 MJTM Version 1.3.2.1 Bug fix – add missing schematron rules for Array_1D_Spectrum |
| 48 | + (Overlooked in CCB#42) |
| 49 | + |
47 | 50 | </comment> |
48 | | - <last_modification_date_time>2024-04-02</last_modification_date_time> |
| 51 | + <last_modification_date_time>2025-10-21</last_modification_date_time> |
49 | 52 | <!-- |
50 | 53 | This file also contains extensive comments to illustrate various techniques available to those |
51 | 54 | creating input IngestLDD files for local dicitionaries. |
|
3087 | 3090 | The empty parentheses are required. This ensures that if the local_reference_type check fails |
3088 | 3091 | (i.e., we're not looking at an array type), no message is reported. |
3089 | 3092 | --> |
3090 | | - <rule_test>if (pds:local_reference_type = ('spectral_characteristics_to_array_object')) then ($objtype = ('Array_2D_Spectrum', 'Array_3D_Spectrum')) else true()</rule_test> |
| 3093 | + <rule_test>if (pds:local_reference_type = ('spectral_characteristics_to_array_object')) then ($objtype = ('Array_1D_Spectrum', 'Array_2D_Spectrum', 'Array_3D_Spectrum')) else true()</rule_test> |
3091 | 3094 | <!-- |
3092 | 3095 | Because this is an Assert-type test, this message will be printed if the test fails. |
3093 | 3096 | Another aspect of "good citizenship" is making it easy for the user to see and correct |
3094 | 3097 | what he did wrong, so including the full list of valid values for something like this |
3095 | 3098 | is strongly recommended. |
3096 | 3099 | --> |
3097 | | - <rule_message>The Array-type object referenced by sp:Spectral_Characteristics must be either an Array_2D_Spectrum or an Array_3D_Spectrum.</rule_message> |
| 3100 | + <rule_message>The Array-type object referenced by sp:Spectral_Characteristics must be either an Array_1D_Spectrum, Array_2D_Spectrum, or an Array_3D_Spectrum.</rule_message> |
3098 | 3101 | <!-- |
3099 | 3102 | This is an optional description field for your own use. It is not propagated to the |
3100 | 3103 | Schematron or Schema files created. |
|
3152 | 3155 | </DD_Rule_Statement> |
3153 | 3156 | <DD_Rule_Statement> |
3154 | 3157 | <rule_type>Assert</rule_type> |
3155 | | - <rule_test>if (string(node()) = '1D') then ($objtype = ('Table_Character','Table_Binary','Table_Delimited')) else true()</rule_test> |
3156 | | - <rule_message>sp:spectrum_format of '1D' must be used with a table-type object.</rule_message> |
| 3158 | + <rule_test>if (string(node()) = '1D') then ($objtype = ('Array_1D_Spectrum', 'Table_Character','Table_Binary','Table_Delimited')) else true()</rule_test> |
| 3159 | + <rule_message>sp:spectrum_format of '1D' must be used with an Array_1D_Spectrum-type object or a table-type object.</rule_message> |
3157 | 3160 | </DD_Rule_Statement> |
3158 | 3161 | <DD_Rule_Statement> |
3159 | 3162 | <rule_type>Assert</rule_type> |
|
0 commit comments