Skip to content

DMN versions

dmn-diff supports DMN 1.0 through 1.5. All five official namespace URIs are recognized.

VersionNamespace
1.1http://www.omg.org/spec/DMN/20151101/dmn.xsd
1.2http://www.omg.org/spec/DMN/20180521/MODEL/
1.3https://www.omg.org/spec/DMN/20191111/MODEL/
1.4https://www.omg.org/spec/DMN/20211108/MODEL/
1.5https://www.omg.org/spec/DMN/20230324/MODEL/

Namespace prefixes (e.g. dmn:decision) are stripped automatically before parsing.

Cross-version diff

Comparing a DMN 1.3 file against a DMN 1.5 file will show the definitions.@xmlns change. All other semantic elements diffed normally.

DMN 1.4 elements

The following boxed expressions were added in 1.4 and are fully supported:

  • conditional (if/then/else)
  • filter (in/match)
  • iterator (for/some/every with in/return/satisfies)

DMN 1.5 specifics

  • DMN15-74: businessKnowledgeModel.variable.typeRef was removed. The diff detects this as modified: variable.@typeRef → null without raising an error.
  • DMN15-117: Alternative XML representation of inputData is normalized to canonical form before diffing.
  • typeConstraint in itemDefinition is supported as a sibling of allowedValues.
  • import.namespace is now optional — absence is not treated as an error.

Released under the MIT License.