Skip to content

Commit

Permalink
fixed the unit comparison schematrons
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-psi committed Jun 17, 2022
1 parent 81454e8 commit 63fca60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PDS4_RADAR_IngestLDD.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@
</DD_Rule_Statement>
<DD_Rule_Statement>
<rule_type>Assert</rule_type>
<rule_test>//radar:range_resolution_time[@unit]==$range_depth_unit</rule_test>
<rule_test>//radar:range_resolution_time[@unit==$range_depth_unit]</rule_test>
<rule_message>Unit for range_depth_time unit must match unit for range_resolution_time.</rule_message>
</DD_Rule_Statement>
</DD_Rule>
Expand All @@ -349,7 +349,7 @@
</DD_Rule_Statement>
<DD_Rule_Statement>
<rule_type>Assert</rule_type>
<rule_test>//radar:range_resolution_distance[@unit]==$range_depth_unit</rule_test>
<rule_test>//radar:range_resolution_distance[@unit==$range_depth_unit]</rule_test>
<rule_message>Unit for range_depth_distance unit must match unit for range_resolution_distance.</rule_message>
</DD_Rule_Statement>
</DD_Rule>
Expand Down

0 comments on commit 63fca60

Please sign in to comment.