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. Which releases have tables is the build’s choice: the release features (ifc2x3, ifc4, ifc4x1, ifc4x2, ifc4x3, all on by default) each bundle one.