Skip to content

No top level base elements exist when baseModelVersion>=asam34 #13

@kurodamasayoshi

Description

@kurodamasayoshi

When we open a atfx file with baseModelVersion>=asam34, ApplicationStructure.getTopLevelElements() always empty array.

TopLevel property value is assigned by the baseType string if it contains the string list:

  • NewBaseModelReader.topLevelElementNames = "aoenvironment", "aotest"...

in the method:

  • NewBaseModelReader.parseElements()

But the all baseTypes in xml(like ODSBase_Model_asam34.xml) are defined CamelCase.
So toplevel values of all base elements marks as "False".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions