In the IFC file for property and quantity templates are some errors.
In all versions of the specification base entity for the templates is IfcProject instead of IfcProjectLibrary.
For each instances of IfcSimplePropertyTemplate for enumerations a new instance of IfcPropertyEnumeration is created. If it is related to the same enumeration only one instance shpould be used and referenced.
There are many IfcSimplePropertyTemplates with same GUID.
WhereRule 'IFCEXTERNALREFERENCE.WR1' is violated for some instances (IfcLibraryReference). At least one of the first three attributes has to be defined. In these instances all three are set optional.
CHecked and identified the problems. The IfcLibraryReference cannot be fixed easily as this data is just not present in the spec. The schema version I have corrected and will commit after some tests.
In the IFC file for property and quantity templates are some errors. In all versions of the specification base entity for the templates is IfcProject instead of IfcProjectLibrary. For each instances of IfcSimplePropertyTemplate for enumerations a new instance of IfcPropertyEnumeration is created. If it is related to the same enumeration only one instance shpould be used and referenced. There are many IfcSimplePropertyTemplates with same GUID. WhereRule 'IFCEXTERNALREFERENCE.WR1' is violated for some instances (IfcLibraryReference). At least one of the first three attributes has to be defined. In these instances all three are set optional.