Autodesk / revit-ifc

IFC for Revit and Navisworks (2019+)
489 stars 196 forks source link

ifcxml export refering to the wrong schema #103

Open CyrilWaechter opened 5 years ago

CyrilWaechter commented 5 years ago

Revit version : 2019.2 Exporter : 19.1.0.0

When exporting to IFC XML by duplicating IFC2x3 CoordinationView 2.0 or IFC4 ReferenceView header is still referring to obsolete schemas (2x2 and alpha version of 2x3) :

<?xml version="1.0" encoding="utf-8"?>
<doc:iso_10303_28 xmlns:exp="urn:oid:1.0.10303.28.2.1.1" xmlns:doc="urn:oid:1.0.10303.28.2.1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oid:1.0.10303.28.2.1.1 ex.xsd" xmlns:ifc="http://www.iai-tech.org/ifcXML/IFC2x2/FINAL" version="2.0">
    <ifc:uos id="uos_1" description="" schema="exp_1" configuration="IFCXML_Official" edo="" xmlns="http://www.iai-tech.org/ifcXML/IFC2x2/FINAL" xsi:schemaLocation="http://www.iai-tech.org/ifcXML/IFC2x2/FINAL http://www.iai-tech.org/ifcXML/IFC2x2/FINAL/ifc2x3g_alpha.xsd">
AngelVelezSosa commented 5 years ago

The version of the toolkit that we use to write out IFC files doesn't yet support IFC4 XML. It is also deciding to use these "obsolete" versions. We'll see if there is anything we can do about that.

tealv commented 5 years ago

This is still true with Exporter 2020.1.0.1 when trying to export IFC4 IfcXml.