IFC4.3.x-development icon indicating copy to clipboard operation
IFC4.3.x-development copied to clipboard

EXPRESS functions use uppercase IFC classes, is this correct?

Open Moult opened this issue 3 years ago • 4 comments

For example on this page: http://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcSurfaceStyle.htm

2022-03-24-163018_589x144_scrot

The IFC class is ALLCAPS (and hyperlinked, which leads to a broken link here). Should it be allcaps? If not, that's something to fix, if yes, then I should fix the link parsing.

Note that you may not see the hyperlink on the live URL because it's probably outdated. The ability to have allcaps as links was included later (to allow for hyperlinks in STEP examples).

Moult avatar Mar 24 '22 05:03 Moult

Yes, this is correct:

15.25 TypeOf - general function

...

Result : The contents of the returned set of string values are the names (in upper case)

[emphasis mine]

aothms avatar Mar 24 '22 07:03 aothms

Ok, note to self that I need to fix the auto linking code then :)

Moult avatar Mar 24 '22 08:03 Moult

correct, the type name has to be in UPPERCASE. So if we want to create the hyperlink, the generator has to make the conversion into CamelCase.

TLiebich avatar Mar 24 '22 08:03 TLiebich

note to @Moult - please close the issue, once you fixed the link parsing

TLiebich avatar Apr 21 '22 20:04 TLiebich