# IFC4 RV 1.2 schema issue

**URL:** <https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049>\
**Category:** Developers\
**Created:** [November 25, 2019, 3:57pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049 "2019-11-25T15:57:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![igor.sokolov](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/igor.sokolov/32/25_2.png) [@igor.sokolov](https://forums.buildingsmart.org/u/igor.sokolov)\
**Post date:** [November 25, 2019, 3:57pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/1 "2019-11-25T15:57:14Z")

</div>

What is the difference between IFC release and MVD? Can two MVDs for the same IFC versions can have different schemas?

Until recently the answer was - No. All MVDs for the same IFC versions used to work on one EXPRESS schema and MVDxml was to describe restrictions.

But for IFC 4 RV 1.2 release we have got schemes (EXP files) different.

It uses IfcStrippedOptional to prohibit some optional attributes, for example [IFC4 Documentation](https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2_TC1/RV1_2/HTML/)

Why it was not done in mvdXML?

- Tools generate early-binding API from EXPRESS scheme. Now they will create different libraries for RV and others IFC4 mvds.
- Consequently, applications should build different export/import libraries if use early-binding.
- The construction that looks uncertain and unclear. It leaves the attribute optional but specifies some singular datatype.
- Particularly for this case MVD should require value FALSE rather then $ to be more clear

Can we rollback this scheme difference?  
@TLiebich, @mweise

---

<div class="post-metadata">

**Author:** ![TLiebich](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/tliebich/32/71_2.png) [@TLiebich](https://forums.buildingsmart.org/u/TLiebich)\
**Post date:** [November 25, 2019, 8:09pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/2 "2019-11-25T20:09:07Z")

</div>

Hi Igor, actually it is not new - publishing a subset schema for an MVD has started a few years ago. Also at that time we made clear, that the subset EXPRESS schema is meant solely for a checker, to run a base check to varify, that the ifc file conforms to the MVD (does not contain additional content). So it is used to formalize the restrictions.

So on your side, you should NOT use the subset schema, but only the EXPRESS schema for IFC4 Add2 TC1. The same EXPRESS schema is used for all MVD implementations.

Remark: yes, the documentation is not very clear about it - something to be improved. I hope, that once we have the fully IFC specification on github, many more people can help to complete the documentation.

So under [https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2\_TC1/RV1\_2/HTML/link/annex-a.htm](https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2_TC1/RV1_2/HTML/link/annex-a.htm) - the full IFC4 Add2 TC1 EXPRESS and XSD schema should be linked, and under [https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2\_TC1/RV1\_2/HTML/link/listing-referenceview\_v1-2.htm](https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2_TC1/RV1_2/HTML/link/listing-referenceview_v1-2.htm) the subset with a remark that it is for running checks only.

---

<div class="post-metadata">

**Author:** ![igor.sokolov](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/igor.sokolov/32/25_2.png) [@igor.sokolov](https://forums.buildingsmart.org/u/igor.sokolov)\
**Post date:** [November 28, 2019, 8:37am UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/3 "2019-11-28T08:37:50Z")

</div>

Exporter application may need to know about MVD.  
e.g. I am developing one application for RV and DTV, it has configuration file for the MVD specific.

mvdxml is a good configuration file for this role but what do we have now with these attributes broke it…

What is the problem to put the restriction to mvdxml?

---

<div class="post-metadata">

**Author:** ![TLiebich](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/tliebich/32/71_2.png) [@TLiebich](https://forums.buildingsmart.org/u/TLiebich)\
**Post date:** [November 28, 2019, 7:22pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/4 "2019-11-28T19:22:12Z")

</div>

mvdXML would be the best way to configure the export (provide a filter that conforms to the MVD). Support for mvdXML is still sparse (and there are some limitations).

Using an MVD specific subset EXPREE file is an alternative way to use it in a parser. As I said before, it is not to parse for your toolbox - here use the combination of IFC4 Add2 TC1 express file and mvdXML.

Side issue - is there a group interested into improving mvdXML (there had been a few initiatives for a binary mvdXML or mvdXML lite)?

---

<div class="post-metadata">

**Author:** ![sergej](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@sergej](https://forums.buildingsmart.org/u/sergej)\
**Post date:** [December 6, 2019, 10:59am UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/5 "2019-12-06T10:59:10Z")

</div>

> [@TLiebich](#):
>
> Side issue - is there a group interested into improving mvdXML (there had been a few initiatives for a binary mvdXML or mvdXML lite)?

You have one candidate here in me. But I think you already know that since I have been talking to @mweise. 🙂 Would it make sense to create a new topic for this?

---

<div class="post-metadata">

**Author:** ![TLiebich](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/tliebich/32/71_2.png) [@TLiebich](https://forums.buildingsmart.org/u/TLiebich)\
**Post date:** [December 6, 2019, 5:41pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/6 "2019-12-06T17:41:09Z")

</div>

@sergej - yes, setting up a new topic is fine - would you go ahead? I assum that also @jonm and @andreas.geiger would be interested and potentially others.

---

<div class="post-metadata">

**Author:** ![claimred](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@claimred](https://forums.buildingsmart.org/u/claimred)\
**Post date:** [June 10, 2020, 9:50pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/7 "2020-06-10T21:50:27Z")

</div>

> So under [https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2\_TC1/RV1\_2/HTML/link/annex-a.htm](https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2_TC1/RV1_2/HTML/link/annex-a.htm) - the full IFC4 Add2 TC1 EXPRESS and XSD schema should be linked, and under [https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2\_TC1/RV1\_2/HTML/link/listing-referenceview\_v1-2.htm](https://standards.buildingsmart.org/MVD/RELEASE/IFC4/ADD2_TC1/RV1_2/HTML/link/listing-referenceview_v1-2.htm) the subset with a remark that it is for running checks only.

@TLiebich It seems like links on that page are no longer valid : (

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/2/294deac671b6353aa5620b53de438d814b2603a4.png)

It is it possible to have a look at .exp schemas for RV somewhere else?

---

<div class="post-metadata">

**Author:** ![jwouellette](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jwouellette/32/2140_2.png) [@jwouellette](https://forums.buildingsmart.org/u/jwouellette)\
**Post date:** [June 10, 2020, 10:23pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/8 "2020-06-10T22:23:14Z")

</div>

@claimred, I need to fix those links as the domain “[www.buildingsmart-tech.org](http://www.buildingsmart-tech.org)” is no longer valid and the rest of the path is incorrect. I will try to take care of that in the next 24 hours.

---

<div class="post-metadata">

**Author:** ![jwouellette](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jwouellette/32/2140_2.png) [@jwouellette](https://forums.buildingsmart.org/u/jwouellette)\
**Post date:** [June 11, 2020, 7:34pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/9 "2020-06-11T19:34:43Z")

</div>

OK, try it now. You should reload the page to make sure the changes overwrite your browser cache.

---

<div class="post-metadata">

**Author:** ![claimred](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@claimred](https://forums.buildingsmart.org/u/claimred)\
**Post date:** [June 13, 2020, 7:35pm UTC](https://forums.buildingsmart.org/t/ifc4-rv-1-2-schema-issue/2049/10 "2020-06-13T19:35:32Z")

</div>

Thanks, it works now!

I don’t what I expected though. MVD .exp schema is the same as IFC 4.0.2.1 and it’s explained why right this very thread.
