-
Key: SYSML2_-376
-
Status: closed
-
Source: oose Innovative Informatik eG ( Mr. Tim Weilkiens)
-
Summary:
The specification of Helper::getScalarValueType() uses the unknown OCL String function includes:
t.qualifiedName.includes('PrimitiveTypes::UnlimitedNatural')
To check if a string is part of another string, the function indexOf() should be used instead.
The issue was accidentally introduced by
SYSML2_-300in ballot #3. -
Reported: SysML 2.0b2 — Wed, 13 Nov 2024 19:45 GMT
-
Disposition: Resolved — SysML 2.0b4
-
Disposition Summary:
Replace includes() by indexOf()
includes() is not a supported OCL string function and should be replaced by indexOf(), which checks if a given string is a part of another string.
The operation should also check if t.name and t.qualifiedName have defined values.
-
Updated: Sat, 19 Jul 2025 19:25 GMT
SYSML2_ — Specification of Helper::getScalarValueType() uses unknown OCL function
- Key: SYSML2_-376
- OMG Task Force: Systems Modeling Language (SysML) 2.0 FTF 2