diff --git a/src/ifcparse/IfcSchema.cpp b/src/ifcparse/IfcSchema.cpp index 82577a6737..db3bdb5d7e 100644 --- a/src/ifcparse/IfcSchema.cpp +++ b/src/ifcparse/IfcSchema.cpp @@ -92,7 +92,7 @@ const IfcParse::schema_definition* IfcParse::schema_by_name(const std::string& n Ifc4x3_rc1::get_schema(); Ifc4x3_rc2::get_schema(); - std::map::const_iterator it = schemas.find(name); + std::map::const_iterator it = schemas.find(boost::to_upper_copy(name)); if (it == schemas.end()) { throw IfcParse::IfcException("No schema named " + name); }