buildingSMART / IDS

Computer interpretable (XML) standard to define Information Delivery Specifications for BIM (mainly used for IFC)
Other
167 stars 52 forks source link

IDS 0.9.7 Update Issues? #259

Closed GazerBlitz closed 1 month ago

GazerBlitz commented 2 months ago

Has anyone encountered issues with IDS checks in blender after upgrading the IDS version from 0.9.6 to 0.9.7? Have been using ACCA's ids editor to create my IDS files and up till recently, the IDS checks ran in blender without any issues. Was prompted to upgrade the document today and have been having this error in the blender bim test since thn. Screenshot 2024-03-12 183536 Anyone able to assist on this? Tested the ids on Open IFC Viewer's validator as well and got an error as well. IDS file below if anyone is able to help :)

`


<ids:ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd" xmlns:ids="http://standards.buildingsmart.org/IDS">
  <!--edited with usBIM.IDSeditor 2.0.4.0 (http://www.accasoftware.com)-->
  <ids:info>
    <ids:title>New ids file</ids:title>
  </ids:info>
  <ids:specifications>
    <ids:specification ifcVersion="IFC4" name="AREA_GFA">
      <ids:applicability minOccurs="1" maxOccurs="unbounded">
        <ids:entity>
          <ids:name>
            <ids:simpleValue>IFCSPACE</ids:simpleValue>
          </ids:name>
          <ids:predefinedType>
            <ids:simpleValue>USERDEFINED</ids:simpleValue>
          </ids:predefinedType>
        </ids:entity>
        <ids:attribute>
          <ids:name>
            <ids:simpleValue>ObjectType</ids:simpleValue>
          </ids:name>
          <ids:value>
            <ids:simpleValue>AREA_GFA</ids:simpleValue>
          </ids:value>
        </ids:attribute>
      </ids:applicability>
      <ids:requirements>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_DevelopmentUse</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_DetailedUse</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_Name</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_UnitNumber</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_BonusGFAType</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property dataType="IFCTEXT" cardinality="optional">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_Note</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_UseQuantum</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_FacilityType</ids:simpleValue>
          </ids:baseName>
        </ids:property>
      </ids:requirements>
    </ids:specification>
    <ids:specification ifcVersion="IFC4" name="AREA_LANDSCAPE">
      <ids:applicability minOccurs="1" maxOccurs="unbounded">
        <ids:entity>
          <ids:name>
            <ids:simpleValue>IFCSPACE</ids:simpleValue>
          </ids:name>
          <ids:predefinedType>
            <ids:simpleValue>USERDEFINED</ids:simpleValue>
          </ids:predefinedType>
        </ids:entity>
        <ids:attribute>
          <ids:name>
            <ids:simpleValue>ObjectType</ids:simpleValue>
          </ids:name>
          <ids:value>
            <ids:simpleValue>AREA_LANDSCAPE</ids:simpleValue>
          </ids:value>
        </ids:attribute>
      </ids:applicability>
      <ids:requirements>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_Landscape</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>ALS_LandscapeType</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_Landscape</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>ALS_GreeneryFeatures</ids:simpleValue>
          </ids:baseName>
        </ids:property>
      </ids:requirements>
    </ids:specification>
  </ids:specifications>
</ids:ids>
``` `
fbosche commented 1 month ago

OK. Same issue as me. This is odd though. Why would it clash on "dataType" vs "datatype". When I look at the ids.xsd file on the IDS website, it still says "dataType"... I'm confused.

Andrej730 commented 1 month ago

See https://github.com/IfcOpenShell/IfcOpenShell/issues/4465

This is odd though. Why would it clash on "dataType" vs "datatype". When I look at the ids.xsd file on the IDS website, it still says "dataType"... I'm confused.

Before 0.9.7 it was "datatype", since 0.9.7 - "dataType", therefore the error.

fbosche commented 1 month ago

Sorry. You're right. I suppose, if 0.9.7 is still for review, it's fair that it's not supported by IfcTester and ACCA usBIM seem to have jumped the gun here. I've emailed them about it.

Moult commented 1 month ago

If it's been published on the repo (i.e. not pending in a PR) it's safe to implement.

atomczak commented 1 month ago

Closing as it is not the IDS schema issue. We hope there won't be more changes, and 0.9.7 soon becomes a stable 1.0.