Opened 6 years ago

Closed 4 years ago

#2899 closed defect (fixed)

Add checking that variable names are unique in FMIL/xml parsing

Reported by: Iakov Nakhimovski Owned by: Iakov Nakhimovski
Priority: major Milestone: Future
Component: FMILibrary Version: trunk
Keywords: #4857 Cc:

Description (last modified by vjohnsson)

This is part of #4857.

Currently no error is reported if there are two variables with identical names.
The resolution may be to give a warning and ignore the second variable.

This is a part of FMILibrary

Change History (7)

comment:1 Changed 6 years ago by Tove Bergdahl

Owner: set to Iakov Nakhimovski
Status: newassigned

comment:2 Changed 6 years ago by toivo

Milestone: FMIL-2.0b1FMIL-2.0b3

comment:3 Changed 5 years ago by toivo

Milestone: FMIL-2.0b3FMIL-2.0b4

comment:4 Changed 5 years ago by toivo

Milestone: FMIL-2.0.1Future

Already available in the FMU Checker.

comment:5 Changed 4 years ago by vjohnsson

Description: modified (diff)
Keywords: #4857. added

comment:6 Changed 4 years ago by vjohnsson

Keywords: #4857 added; #4857. removed

comment:7 Changed 4 years ago by vjohnsson

Resolution: fixed
Status: assignedclosed

r8574: Moved the duplicate variable name check from ComplianceChecker to FMILibrary. An fmi_import_context_t can be configured to include this check which is logged as an error.

Note: See TracTickets for help on using tickets.