DMN versions
dmn-diff supports DMN 1.0 through 1.5. All five official namespace URIs are recognized.
| Version | Namespace |
|---|---|
| 1.1 | http://www.omg.org/spec/DMN/20151101/dmn.xsd |
| 1.2 | http://www.omg.org/spec/DMN/20180521/MODEL/ |
| 1.3 | https://www.omg.org/spec/DMN/20191111/MODEL/ |
| 1.4 | https://www.omg.org/spec/DMN/20211108/MODEL/ |
| 1.5 | https://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/everywithin/return/satisfies)
DMN 1.5 specifics
- DMN15-74:
businessKnowledgeModel.variable.typeRefwas removed. The diff detects this asmodified: variable.@typeRef → nullwithout raising an error. - DMN15-117: Alternative XML representation of
inputDatais normalized to canonical form before diffing. typeConstraintinitemDefinitionis supported as a sibling ofallowedValues.import.namespaceis now optional — absence is not treated as an error.
