From 459faec01afdc6ea757c11c78f971971ee5a5398 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 14 Feb 2021 17:39:15 +0100 Subject: [PATCH] #1311 normalize schema name case --- src/ifcparse/IfcSchema.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }