Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3962

dmn model fails to compile when <di:extension> tag is included in a dmndi:DMNDiagram

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • 7.18.0.Final
    • 7.20.0.Final
    • dmn engine
    • None
    • 2019 Week 17-19
    • Hide

      1. Load the attached dmn file into an embedded kie-server with the following code
      KieContainer kieConntainer = KieServices.Factory.get().getKieClasspathContainer();
      DMNRuntime dmnRuntime =
      kieContainer.newKieSession().getKieRuntime(DMNRuntime.class);
      DMNModel dmnModel = dmnRuntime.getModel(
      "http://www.trisotech.com/definitions/_d09fac69-d8f7-470c-8743-f760a4b2b8cd", "DataTest");

      2. Note the exception in the stack trace.

      Show
      1. Load the attached dmn file into an embedded kie-server with the following code KieContainer kieConntainer = KieServices.Factory.get().getKieClasspathContainer(); DMNRuntime dmnRuntime = kieContainer.newKieSession().getKieRuntime(DMNRuntime.class); DMNModel dmnModel = dmnRuntime.getModel( "http://www.trisotech.com/definitions/_d09fac69-d8f7-470c-8743-f760a4b2b8cd", "DataTest"); 2. Note the exception in the stack trace.
    • Workaround Exists
    • Hide

      This tag is generated from the trisotech model export feature as of Version 6.2.2, But does not affect the execution of the model. One can therefore safely remove each occurrence of this tag without loss of execution fidelity.

      Show
      This tag is generated from the trisotech model export feature as of Version 6.2.2, But does not affect the execution of the model. One can therefore safely remove each occurrence of this tag without loss of execution fidelity.
    • NEW
    • NEW

      The attached dmn file fails to compile, though it complies with the dmn schema def found here: https://www.omg.org/spec/DMN/20180505/DMN12.xsd. If one removes the <di:extension/> tag found on line 68, then the file compiles

              mmortari@redhat.com Matteo Mortari
              tracyhires Tracy Hires (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: