pub fn validate_spec(spec_dir: &Path) -> Result<ValidationResult, Error>Expand description
Validate a spec structurally: well-formedness, ID uniqueness, cross-layer keyrefs.
Full XSD 1.1 validation is deferred (no Rust XSD 1.1 library exists). This implements structural checks that catch the most common errors.
ยงErrors
Returns an error if spec files cannot be discovered or read.