Skip to content

DESCRIBE output emits unquoted reserved-word identifiers that fail mxcli check #619

@ako

Description

@ako

Problem

MDL treats common English words (Template, Attribute, Column, List, …) as reserved keywords. Marketplace modules (e.g. ExcelImporter) use these as parameter/element names. DESCRIBE MICROFLOW (and other DESCRIBE commands) emit those identifiers unquoted, so copy-pasting the output back into mxcli check fails.

Current behavior

  • Quoted identifiers are supported by the lexer: "..." and `...` (mdl/grammar/MDLLexer.g4 QUOTED_IDENTIFIER), and identifierOrKeyword accepts them.
  • But DESCRIBE output renders names directly without checking for keyword collisions, and no error message suggests quoting when a bare reserved word is used as an identifier.

Request (either is acceptable)

  1. Emit DESCRIBE identifiers auto-quoted when they collide with a reserved keyword, or
  2. Have mxcli check produce a targeted error that suggests quoting the offending identifier.

Related


Source: customer feedback batch (2026-06). Reporter: Miwa. Reporter severity: 4/5.
Filed after codebase investigation at 297e0b0a.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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