Skip to content

ISO 10303-11 compliance: 7.1.6.3 Remark tag, EXAMPLE 2 shows that a schema-level remark_ref is visible within the schema #240

@ronaldtse

Description

@ronaldtse

This originates from:

According to ISO 10303-11, 7.1.6.3 Remark tag, EXAMPLE 2 shows that a schema-level remark_ref is visible within the schema.

Image Image Image

Today in Expressir, the following declaration will result in the remark attached to the CONSTANT, which is wrong.

SCHEMA a_schema;

(*"a_schema.__fund_cons"
  ...
*)

CONSTANT
  schema_prefix : STRING := 'MATHEMATICAL_FUNCTIONS_SCHEMA.';
END_CONSTANT;

END_SCHEMA;

The following order works as intended: the remark tag is attached to the a_schema.

SCHEMA a_schema;

CONSTANT
  schema_prefix : STRING := 'MATHEMATICAL_FUNCTIONS_SCHEMA.';
END_CONSTANT;

END_SCHEMA;

(*"a_schema.__fund_cons"
  ...
*)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions