Class: Dcc::Validate::Schematron::Rules::UncertaintyConsistency
- Inherits:
-
Base
- Object
- Dcc::Validate::Schematron::Rule
- Base
- Dcc::Validate::Schematron::Rules::UncertaintyConsistency
- Defined in:
- lib/dcc/validate/schematron/rules/uncertainty_consistency.rb
Overview
Validates that for every si:realListXMLList paired with an
si:expandedUncXMLList, the count of values matches the count
of uncertainty entries.
Instance Method Summary collapse
Methods inherited from Dcc::Validate::Schematron::Rule
Instance Method Details
#check_on(dcc) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/dcc/validate/schematron/rules/uncertainty_consistency.rb', line 11 def check_on(dcc) issues = [] return issues unless dcc.is_a?(::Lutaml::Model::Serializable) walk(dcc, issues, ::Set.new) issues end |