Module: SEPA::SchemaValidation

Extended by:
ActiveSupport::Concern
Included in:
Message
Defined in:
lib/sepa_rator/concerns/schema_validation.rb

Constant Summary collapse

SCHEMA_DIR =
File.expand_path('../../schema', __dir__).freeze
SCHEMA_CACHE =

Eagerly-initialised module-level XSD cache, shared across every class that includes SchemaValidation. Keyed by ‘profile.xsd_path` so two profiles that share an ISO schema name but point to different XSD files (e.g. the ISO baseline and the DK GBIC5 variant) never share a cache entry.

{}
SCHEMA_CACHE_MUTEX =

rubocop:disable Style/MutableConstant – intentional cache

Mutex.new