buildingSMART / ifc-gherkin-rules

MIT License
8 stars 15 forks source link

Normative IFC rule - PJS002 - Correct elements related to project #230

Open fg55b opened 3 weeks ago

fg55b commented 3 weeks ago

Greetings!

While testing some files based on a previously validated structure, I encountered an error related to the normative rule PJS002 - Correct elements related to project.

As shown in the error image below, the issue was originated by declaring an IfcTask (the root task of the project) to the IfcProject instance. This error also occurred for IfcWorkPlan instances declared to the project. Since IfcTask is a subtype of IfcProcess, should this warning be occurring?

image

aothms commented 3 weeks ago

Hi, I think you're right. By mistake we didn't consider inheritance in the implementation of this rule. We'll correct this as part of any of the upcoming hot fixes. Thanks for taking the time to report this.

fg55b commented 3 weeks ago

Thanks for your attention Thomas!