Skip to content

Expr content model is incorrect in dr-flat.rnc #71

@greenTara

Description

@greenTara
Expr.content =
  meta-roles.content,
  (element op { op-Expr.type }
   | op-Expr.content),
  element slot { slot.type }*,
  ((arg | arg.content)+ | repo? | repo),
  element slot { slot.type }*,
  resl?

a) does not allow no arguments
b) has a redundant choice: repo? | repo

The correct RNC would be

Expr.content =
  meta-roles.content,
  (element op { op-Expr.type }
   | op-Expr.content)?,
  element slot { slot.type }*,
  ((((arg | arg.content)+ | repo?)|repo),
  element slot { slot.type }*)?,
  resl?

(Note the optional operator as well for keyref instances.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions