pub fn read(codec: &XmlCodec, bytes: &[u8]) -> Result<Model, XmlError>Expand description
Parse an ifcXML document into a model, in the codec’s layout.
Unlike ifc_model::Codec::read_bytes, which flattens failures into a
ifc_model::ModelError, this keeps the typed XmlError and its path.