Skip to main content

validate_declared

Function validate_declared 

Source
pub fn validate_declared(model: &Model) -> Result<Report, ValidateError>
Expand description

Validate against the schema the file itself declares.

ยงErrors

Returns ValidateError when the file declares no schema, or declares one this build has no tables for. Validating an IFC2X3 file against IFC4 tables would produce confident nonsense, so it is refused rather than approximated.