DMN 1.7b1 RTF Avatar
  1. OMG Issue

DMN17 — Frequently changing Namespace URIs cause market fragmentation

  • Key: DMN17-65
  • Status: closed  
  • Source: Camunda Services GmbH ( Mr. Falko Menge)
  • Summary:

    Currently, the version of DMN used in an DMN XML file is identified by the XML namespace URI, which is therefore changed with every revision. However, frequently changing namespace URIs cause market fragmentation across supported specification versions, as it cannot be assumed that all vendors update to the latest version of the spec at the same time, if at all.

    This forces users to do unnecessary version migrations, or their models would be rejected by a tool as invalid or outdated even though language features used in the model may be perfectly supported by the tool. This issue has also been recognized by Specification Common Elements (SCE) in SCE-117.

    With DMN shipping bugfixes on a yearly pace, the fragmentation of the tool market increases, while the actual number of changes to the XML schema decreases. In fact, DMN 1.6 has zero changes to the XML schema at all but if it would follow the "tradition", it would again declare itself totally incompatible with DMN 1.5 and all prior versions.

    DMN 1.x revisions have been following the backwards compatibility guidelines for machine-readable files and XML schemas as defined in the OMG Policy for Versioning of Specification URIs, File URIs, and XML Namespaces (smsc/2018-08-01). Therefore, DMN 1.x revisions should not change the namespace URL until a version 2.0 introduces breaking changes, which is not planned at the moment.

    The "tradition" to always change the namespace has somewhat accidentally grown:

  • Reported: DMN 1.5b1 — Mon, 22 Apr 2024 19:36 GMT
  • Disposition: Resolved — DMN 1.7b1
  • Disposition Summary:

    Add version attribute and use fixed XML namespace URLs

    To separate XML namespace and DMN version indicator, DMN adopts a similar mechanism as defined by SCE-117 and used by SDMN-138:

    1. Employ fixed XML namespace URIs for better tool interoperability (without a dated version stamp as permitted by section 3.1.2 and annex A of the OMG Policy for Versioning of Specification URIs, File URIs, and XML Namespaces (smsc/2018-08-01)).
    2. To indicate which exact version of DMN is used, a new dmnVersion attribute is added. FEEL when used inside DMN follows that version, since mixing different DMN and FEEL versions is not allowed. If FEEL is used in other languages, e.g. BPMN, a version number is added to the URL
    3. As an additional aid for tools to find the right XML schema, it recommended to add an xsi:schemaLocation attribute that points to the correct schema file, which is hosted by OMG at a fixed location (see example in revised text).
    4. For the XML schemas representing OMG's Diagram Interchange (DI) specification DMN will reuse the XSD files provided by OMG's Specification Common Elements (SCE) as these have been cleaned-up but are semantically identical.
  • Updated: Thu, 17 Sep 2026 01:16 GMT
  • Attachments: