diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b8e7b0..20c5ff4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,41 +18,41 @@ jobs: - uses: korelstar/xmllint-problem-matcher@v1 - uses: ChristophWurst/xmllint-action@v1.2 with: - xml-file: "./examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-file: "./examples/Chapter 12 Example 1 Originations/Chapter 12 Example.dmn" + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: - xml-file: "./examples/Chapter 11 Example 1 Originations/Financial.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-file: "./examples/Chapter 12 Example 1 Originations/Financial.dmn" + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: - xml-file: "examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-file: "examples/Chapter 12 Example 2 Ranked Loan Products/Recommended Loan Products.dmn" + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: - xml-file: "examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-file: "examples/Chapter 12 Example 2 Ranked Loan Products/Loan info.dmn" + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: xml-file: "examples/Diagram Interchange/diagram-interchange-decision-service.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: xml-file: "examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: xml-file: "examples/Diagram Interchange/diagram-interchange-dish-example.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-schema-file: ./xsd/DMN16.xsd if: always() - uses: ChristophWurst/xmllint-action@v1.2 with: xml-file: "examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn" - xml-schema-file: ./xsd/DMN15.xsd + xml-schema-file: ./xsd/DMN16.xsd if: always() diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..bf05e38 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,62 @@ +{ + "xml.catalogs": [ + "xsd/catalog.xml" + ], + "xml.filePathSupport.mappings": [ + // see: https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/XMLFilePathSupport.md + { + "pattern": "**/*.dmn", + "expressions": [ + { + "xpath": "import/@locationURI" + } + ] + } + ], + "xml.references": [ + // see: https://github.com/redhat-developer/vscode-xml/blob/main/docs/Features/XMLReferencesFeatures.md + { + "pattern": "**/*.dmn", + "expressions": [ + { + "from": "itemComponent/typeRef/text()", + "to": "itemDefinition/@name" + }, + { + "from": "@dmnElementRef", + "to": "@id" + }, + { + "from": "@href", + "prefix": "#", + "to": "@id" + }, + { + "from": "DMNEdge/@sourceElement", + "to": "DMNShape/@id" + }, + { + "from": "DMNEdge/@targetElement", + "to": "DMNShape/@id" + } + ] + }, + { + "pattern": "**/*.xmi", + "expressions": [ + { + "from": "@idref", + "to": "@id" + }, + { + "from": "@type", + "to": "@id" + }, + { + "from": "@element", + "to": "@id" + } + ] + } + ] +} \ No newline at end of file diff --git a/examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn b/examples/Chapter 12 Example 1 Originations/Chapter 12 Example.dmn similarity index 98% rename from examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn rename to examples/Chapter 12 Example 1 Originations/Chapter 12 Example.dmn index f548867..63cf04a 100644 --- a/examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn +++ b/examples/Chapter 12 Example 1 Originations/Chapter 12 Example.dmn @@ -1,4 +1,4 @@ - + @@ -7,7 +7,7 @@ - + string @@ -360,11 +360,11 @@ <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Eligibility rules&nbsp;</span></strong><span lang="JA">decision logic&nbsp;defines a complete, priority-ordered single hit decision table&nbsp;</span>deriving Eligibility from Pre-Bureau Risk Category, Pre-Bureau Affordability and Age.</span></p> - + - + Pre-Bureau Risk Category @@ -471,12 +471,12 @@ <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Routing Rules&nbsp;</span></strong><span lang="JA">decision logic defines a complete, priority-ordered single hit decision table&nbsp;</span>deriving Routing from Post-Bureau Risk Category, Post-Bureau Affordability, Bankrupt and Credit Score.</span></p> - + - + Post-bureau risk category @@ -669,10 +669,10 @@ <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Bureau call type table&nbsp;</span></strong><span lang="JA">decision logic defines a complete, unique-hit decision table deriving&nbsp;</span>Bureau Call Type from Pre-Bureau Risk Category.</span></p> - - + + - + Pre-Bureau Risk Category @@ -735,9 +735,9 @@ <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"></span><span lang="JA">The&nbsp;</span><strong><span lang="JA">Credit contingency factor table&nbsp;</span></strong><span lang="JA"><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">decision</span> logic defines a complete, unique-hit decision table&nbsp;</span>deriving Credit contingency factor from Risk Category.</p> <p>&nbsp;</p> - + - + Risk Category @@ -795,13 +795,13 @@ <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Affordability calculation&nbsp;</span></strong><span lang="JA">decision logic defines a boxed function deriving Affordability from&nbsp;</span>Monthly Income, Monthly Repayments, Monthly Expenses and Required Monthly Installment. One step in this calculation derives Credit contingency factor by invoking the Credit contingency factor table business</span></p> - + - + @@ -1001,11 +1001,11 @@ else false <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Post-bureau risk category table&nbsp;</span></strong><span lang="JA">decision logic defines a complete, unique-hit decision table&nbsp;</span>deriving Post-Bureau Risk Category from Existing Customer, Application Risk Score and Credit Score.</span></p> - + - + Existing Customer @@ -1290,10 +1290,10 @@ else false <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Pre-bureau risk category table&nbsp;</span></strong><span lang="JA">decision logic defines a complete, unique-hit decision table&nbsp;</span>deriving Pre-bureau risk category from Existing Customer and Application Risk Score.</span></p> - + - + Existing Customer @@ -1482,11 +1482,11 @@ else false <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Application risk score model&nbsp;</span></strong><span lang="JA">decision logic&nbsp;defines a complete, no-order multiple-hit table&nbsp;</span>with aggregation, deriving Application risk score from Age, Marital Status and Employment Status, as the sum of the Partial scores of all matching rows (this is therefore a predictive scorecard represented as a decision table).</span></p> - + - + Age @@ -1759,12 +1759,12 @@ else false <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span lang="JA">The&nbsp;</span><strong><span lang="JA">Installment calculation&nbsp;</span></strong><span lang="JA">decision logic&nbsp;defines a boxed function deriving monthly installment&nbsp;</span>from Product Type, Rate, Term and Amount.</span></p> - + - + diff --git a/examples/Chapter 11 Example 1 Originations/Figures/FIgure 11.17 (84) Application risk score model decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/FIgure 12.17 (84) Application risk score model decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/FIgure 11.17 (84) Application risk score model decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/FIgure 12.17 (84) Application risk score model decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/FIgure 11.20 (87) Post-bureau risk category decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/FIgure 12.20 (87) Post-bureau risk category decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/FIgure 11.20 (87) Post-bureau risk category decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/FIgure 12.20 (87) Post-bureau risk category decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.01 Example business process.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.01 Example business process.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.01 Example business process.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.01 Example business process.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.02 (70) DRD of all automated decision making.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.02 (70) DRD of all automated decision making.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.02 (70) DRD of all automated decision making.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.02 (70) DRD of all automated decision making.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.03 (71) DRD for Decide bureau strategy decision point.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.03 (71) DRD for Decide bureau strategy decision point.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.03 (71) DRD for Decide bureau strategy decision point.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.03 (71) DRD for Decide bureau strategy decision point.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.04 (72) DRD for Decide routing decision point.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.04 (72) DRD for Decide routing decision point.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.04 (72) DRD for Decide routing decision point.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.04 (72) DRD for Decide routing decision point.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.05 (73) DRD for Review application decision point.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.05 (73) DRD for Review application decision point.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.05 (73) DRD for Review application decision point.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.05 (73) DRD for Review application decision point.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.06 DRD for Credit Risk Analytics Knowledge Source.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.06 DRD for Credit Risk Analytics Knowledge Source.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.06 DRD for Credit Risk Analytics Knowledge Source.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.06 DRD for Credit Risk Analytics Knowledge Source.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.07 (74) Bureau Strategy Decision Service.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.07 (74) Bureau Strategy Decision Service.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.07 (74) Bureau Strategy Decision Service.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.07 (74) Bureau Strategy Decision Service.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.08 (75) Routing Decision Service.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.08 (75) Routing Decision Service.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.08 (75) Routing Decision Service.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.08 (75) Routing Decision Service.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.09 (76) Strategy decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.09 (76) Strategy decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.09 (76) Strategy decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.09 (76) Strategy decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.10 (77) Bureau call type decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.10 (77) Bureau call type decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.10 (77) Bureau call type decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.10 (77) Bureau call type decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.11 (78) Bureau call type table decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.11 (78) Bureau call type table decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.11 (78) Bureau call type table decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.11 (78) Bureau call type table decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.12 (79) Eligibility decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.12 (79) Eligibility decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.12 (79) Eligibility decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.12 (79) Eligibility decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.13 (80) Eligibility rules decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.13 (80) Eligibility rules decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.13 (80) Eligibility rules decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.13 (80) Eligibility rules decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.14 (81) Pre-bureau Risk Category decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.14 (81) Pre-bureau Risk Category decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.14 (81) Pre-bureau Risk Category decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.14 (81) Pre-bureau Risk Category decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.15 (82) Pre-bureau risk category table decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.15 (82) Pre-bureau risk category table decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.15 (82) Pre-bureau risk category table decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.15 (82) Pre-bureau risk category table decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.16 (83) Applicaktion risk score decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.16 (83) Applicaktion risk score decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.16 (83) Applicaktion risk score decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.16 (83) Applicaktion risk score decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.18 (85) Routing decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.18 (85) Routing decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.18 (85) Routing decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.18 (85) Routing decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.19 (86) Routing rules.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.19 (86) Routing rules.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.19 (86) Routing rules.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.19 (86) Routing rules.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.21 (88) Post-bureau risk category decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.21 (88) Post-bureau risk category decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.21 (88) Post-bureau risk category decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.21 (88) Post-bureau risk category decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.22 (89) Pre-bureau affordability decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.22 (89) Pre-bureau affordability decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.22 (89) Pre-bureau affordability decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.22 (89) Pre-bureau affordability decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.23 (90) Post-bureau affordability decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.23 (90) Post-bureau affordability decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.23 (90) Post-bureau affordability decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.23 (90) Post-bureau affordability decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.24 (91) Affordability calculation decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.24 (91) Affordability calculation decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.24 (91) Affordability calculation decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.24 (91) Affordability calculation decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.25 (92) Credit contingency factor table.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.25 (92) Credit contingency factor table.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.25 (92) Credit contingency factor table.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.25 (92) Credit contingency factor table.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.26 (93) Required monthly installment calculation.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.26 (93) Required monthly installment calculation.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.26 (93) Required monthly installment calculation.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.26 (93) Required monthly installment calculation.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.27 (94) Installment caclulation decision logic.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.27 (94) Installment caclulation decision logic.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.27 (94) Installment caclulation decision logic.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.27 (94) Installment caclulation decision logic.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.28 (new) PMT Function defined in Financial import.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.28 (new) PMT Function defined in Financial import.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.28 (new) PMT Function defined in Financial import.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.28 (new) PMT Function defined in Financial import.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.29 (95) Applicant data input data sample.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.29 (95) Applicant data input data sample.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.29 (95) Applicant data input data sample.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.29 (95) Applicant data input data sample.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.30 (96) Bureau data input data sample.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.30 (96) Bureau data input data sample.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.30 (96) Bureau data input data sample.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.30 (96) Bureau data input data sample.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.31 (97) Output of the Bureau Strategy Decision Service.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.31 (97) Output of the Bureau Strategy Decision Service.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.31 (97) Output of the Bureau Strategy Decision Service.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.31 (97) Output of the Bureau Strategy Decision Service.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.32 (98) Output of the Routing Decision Service.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.32 (98) Output of the Routing Decision Service.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.32 (98) Output of the Routing Decision Service.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.32 (98) Output of the Routing Decision Service.png diff --git a/examples/Chapter 11 Example 1 Originations/Figures/Figure 11.33 (99) Requested product input data sample.png b/examples/Chapter 12 Example 1 Originations/Figures/Figure 12.33 (99) Requested product input data sample.png similarity index 100% rename from examples/Chapter 11 Example 1 Originations/Figures/Figure 11.33 (99) Requested product input data sample.png rename to examples/Chapter 12 Example 1 Originations/Figures/Figure 12.33 (99) Requested product input data sample.png diff --git a/examples/Chapter 11 Example 1 Originations/Financial.dmn b/examples/Chapter 12 Example 1 Originations/Financial.dmn similarity index 92% rename from examples/Chapter 11 Example 1 Originations/Financial.dmn rename to examples/Chapter 12 Example 1 Originations/Financial.dmn index 6d68313..7f20bd0 100644 --- a/examples/Chapter 11 Example 1 Originations/Financial.dmn +++ b/examples/Chapter 12 Example 1 Originations/Financial.dmn @@ -1,4 +1,4 @@ - + @@ -7,12 +7,12 @@ <p><span lang="JA">Standard calculation of monthly installment&nbsp;</span>from Rate, Term and Amount.</p> - - + + - + (Amount *Rate/12) / (1 - (1 + Rate/12)**-Term) diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.34 DRD for Recommended Loan Products.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.34 DRD for Recommended Loan Products.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.34 DRD for Recommended Loan Products.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.34 DRD for Recommended Loan Products.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.35 Type tProperty (non-normative representation).png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.35 Type tProperty (non-normative representation).png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.35 Type tProperty (non-normative representation).png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.35 Type tProperty (non-normative representation).png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.37 Type tBorrower.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.37 Type tBorrower.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.37 Type tBorrower.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.37 Type tBorrower.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.38 Type tLenderRatings, a collection of tLenderRating.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.38 Type tLenderRatings, a collection of tLenderRating.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.38 Type tLenderRatings, a collection of tLenderRating.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.38 Type tLenderRatings, a collection of tLenderRating.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.39 Loan Products.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.39 Loan Products.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.39 Loan Products.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.39 Loan Products.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.40 Type tLoanProducts, a collection of tLoanProduct.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.40 Type tLoanProducts, a collection of tLoanProduct.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.40 Type tLoanProducts, a collection of tLoanProduct.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.40 Type tLoanProducts, a collection of tLoanProduct.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.41 DRD of imported Loan Info Service.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.41 DRD of imported Loan Info Service.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.41 DRD of imported Loan Info Service.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.41 DRD of imported Loan Info Service.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.42 Type tLoanInfoTable, a collection of tLoanInfoRow.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.42 Type tLoanInfoTable, a collection of tLoanInfoRow.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.42 Type tLoanInfoTable, a collection of tLoanInfoRow.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.42 Type tLoanInfoTable, a collection of tLoanInfoRow.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.43 Loan Data.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.43 Loan Data.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.43 Loan Data.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.43 Loan Data.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.44 BKM Rate Adjustment.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.44 BKM Rate Adjustment.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.44 BKM Rate Adjustment.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.44 BKM Rate Adjustment.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.45 BKM payment.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.45 BKM payment.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.45 BKM payment.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.45 BKM payment.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.46 Loan Info.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.46 Loan Info.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.46 Loan Info.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.46 Loan Info.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.47 Loan Info Table.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.47 Loan Info Table.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.47 Loan Info Table.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.47 Loan Info Table.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.48 Min Credit Score.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.48 Min Credit Score.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.48 Min Credit Score.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.48 Min Credit Score.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.49 Eligibility Parameters.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.49 Eligibility Parameters.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.49 Eligibility Parameters.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.49 Eligibility Parameters.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.50 Eligibility (top).png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.50 Eligibility (top).png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.50 Eligibility (top).png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.50 Eligibility (top).png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.51 Eligibility (bottom).png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.51 Eligibility (bottom).png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.51 Eligibility (bottom).png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.51 Eligibility (bottom).png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.52 Eligibility Table.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.52 Eligibility Table.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.52 Eligibility Table.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.52 Eligibility Table.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.53 Recommended Loan Products.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.53 Recommended Loan Products.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.53 Recommended Loan Products.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.53 Recommended Loan Products.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.54 Format Row.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.54 Format Row.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.54 Format Row.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.54 Format Row.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.55 Test Case output of Recommended Loan Products.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.55 Test Case output of Recommended Loan Products.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.55 Test Case output of Recommended Loan Products.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.55 Test Case output of Recommended Loan Products.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.56 Test Case Input Data (partial) 1.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.56 Test Case Input Data (partial) 1.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.56 Test Case Input Data (partial) 1.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.56 Test Case Input Data (partial) 1.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.56 Test Case Input Data (partial) Assets.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.56 Test Case Input Data (partial) Assets.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.56 Test Case Input Data (partial) Assets.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.56 Test Case Input Data (partial) Assets.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.56 Test Case Input Data (partial) Liabilities.png b/examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.56 Test Case Input Data (partial) Liabilities.png similarity index 100% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Figures/Figure 11.56 Test Case Input Data (partial) Liabilities.png rename to examples/Chapter 12 Example 2 Ranked Loan Products/Figures/Figure 12.56 Test Case Input Data (partial) Liabilities.png diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn b/examples/Chapter 12 Example 2 Ranked Loan Products/Loan info.dmn similarity index 97% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn rename to examples/Chapter 12 Example 2 Ranked Loan Products/Loan info.dmn index 249d6d3..4305abb 100644 --- a/examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn +++ b/examples/Chapter 12 Example 2 Ranked Loan Products/Loan info.dmn @@ -1,5 +1,5 @@ - + string @@ -356,8 +356,8 @@ - - + + @@ -520,8 +520,8 @@ - - + + diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn b/examples/Chapter 12 Example 2 Ranked Loan Products/Recommended Loan Products.dmn similarity index 97% rename from examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn rename to examples/Chapter 12 Example 2 Ranked Loan Products/Recommended Loan Products.dmn index 378068e..ad21a97 100644 --- a/examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn +++ b/examples/Chapter 12 Example 2 Ranked Loan Products/Recommended Loan Products.dmn @@ -1,6 +1,6 @@ - - + + string @@ -431,8 +431,8 @@ - - + + @@ -797,8 +797,8 @@ Property, Credit Score, Lender Ratings) - - + + @@ -1024,8 +1024,8 @@ then true else false - - + + @@ -1091,8 +1091,8 @@ and To be paid off=true].Balance[item!=null]) - - + + diff --git a/examples/Diagram Interchange/diagram-interchange-decision-service.dmn b/examples/Diagram Interchange/diagram-interchange-decision-service.dmn index b37986a..68dfacf 100644 --- a/examples/Diagram Interchange/diagram-interchange-decision-service.dmn +++ b/examples/Diagram Interchange/diagram-interchange-decision-service.dmn @@ -3,7 +3,7 @@ id="Definitions_DecisionService" name="Decision Service" namespace="http://www.omg.org/spec/DMN/20180521/diagram-interchange-decision-service/" - xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/" + xmlns="https://www.omg.org/spec/DMN/20240513/MODEL/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" diff --git a/examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn b/examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn index 24c2c59..fbaa733 100644 --- a/examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn +++ b/examples/Diagram Interchange/diagram-interchange-decision-with-listed-input-data.dmn @@ -3,7 +3,7 @@ id="Definitions_0v8cooh" name="Decision with Listed Input data" namespace="http://www.omg.org/spec/DMN/20180521/diagram-interchange-decision-with-listed-input-data/" - xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/" + xmlns="https://www.omg.org/spec/DMN/20240513/MODEL/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" diff --git a/examples/Diagram Interchange/diagram-interchange-dish-example.dmn b/examples/Diagram Interchange/diagram-interchange-dish-example.dmn index ac0365c..69e9e71 100644 --- a/examples/Diagram Interchange/diagram-interchange-dish-example.dmn +++ b/examples/Diagram Interchange/diagram-interchange-dish-example.dmn @@ -1,7 +1,7 @@ - - - + + DMN16.xmi: XMI representation of the metamodel for DMN version 20240513. MagicDraw Clean XMI Exporter 19.0 v9 - - - + @@ -83,7 +82,7 @@ - + @@ -124,7 +123,7 @@ - + @@ -232,14 +231,14 @@ - + - + @@ -273,7 +272,7 @@ - + @@ -408,7 +407,7 @@ - + @@ -513,7 +512,7 @@ - + @@ -593,14 +592,14 @@ - + - + @@ -902,7 +901,7 @@ - + @@ -933,7 +932,7 @@ - + @@ -1035,7 +1034,7 @@ - + @@ -1068,7 +1067,7 @@ - + @@ -1694,7 +1693,7 @@ - + @@ -1728,7 +1727,7 @@ - + @@ -1779,7 +1778,7 @@ - + - + - + @@ -2084,7 +2083,7 @@ - + - + - + @@ -2251,7 +2250,7 @@ - + - + @@ -2310,6 +2309,9 @@ + @@ -2323,7 +2325,7 @@ - + @@ -2346,7 +2348,7 @@ - + @@ -2533,7 +2535,7 @@ - + @@ -2583,84 +2585,84 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xmi/clean-xmi.sh b/xmi/clean-xmi.sh new file mode 100755 index 0000000..f0ce551 --- /dev/null +++ b/xmi/clean-xmi.sh @@ -0,0 +1,9 @@ +#!/bin/sh +mv DMN15.xmi DMN16.xmi +sed -i 's#20230324/DMN15.xmi#20240513/DMN16.xmi#' DMN16.xmi # namespace +sed -i 's/DMN15.xmi/DMN16.xmi/' DMN16.xmi # in shortDescription +sed -i 's/version 20230324/version 20240513/' DMN16.xmi # in shortDescription +# namespace without HTTPS +sed -i 's#xmlns:uml="http://www.omg.org/spec/UML/20131001"#xmlns:uml="http://www.omg.org/spec/UML/20161101"#' DMN16.xmi +# XMI file with HTTPS +sed -i 's#http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#https://www.omg.org/spec/UML/20161101/PrimitiveTypes.xmi#' DMN16.xmi diff --git a/xsd/DMN15.xsd b/xsd/DMN16.xsd similarity index 96% rename from xsd/DMN15.xsd rename to xsd/DMN16.xsd index a6b161e..1a34654 100644 --- a/xsd/DMN15.xsd +++ b/xsd/DMN16.xsd @@ -1,9 +1,9 @@ + targetNamespace="https://www.omg.org/spec/DMN/20240513/MODEL/"> @@ -54,8 +54,8 @@ - - + + @@ -474,6 +474,7 @@ + diff --git a/xsd/catalog.xml b/xsd/catalog.xml new file mode 100644 index 0000000..cbe6cd9 --- /dev/null +++ b/xsd/catalog.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xsd/dmn-namespace-utils.sh b/xsd/dmn-namespace-utils.sh index c25b78d..1369525 100644 --- a/xsd/dmn-namespace-utils.sh +++ b/xsd/dmn-namespace-utils.sh @@ -5,6 +5,7 @@ DMN12='http://www.omg.org/spec/DMN/20180521/MODEL/' DMN13='https://www.omg.org/spec/DMN/20191111/MODEL/' DMN14='https://www.omg.org/spec/DMN/20211108/MODEL/' DMN15='https://www.omg.org/spec/DMN/20230324/MODEL/' +DMN16='https://www.omg.org/spec/DMN/20240513/MODEL/' DMNDI11='http://www.omg.org/spec/DMN/20151101/DMNDI' DMNDI12='http://www.omg.org/spec/DMN/20180521/DMNDI/' DMNDI13='https://www.omg.org/spec/DMN/20191111/DMNDI/' @@ -16,3 +17,4 @@ FEEL12='http://www.omg.org/spec/DMN/20180521/FEEL/' FEEL13='https://www.omg.org/spec/DMN/20191111/FEEL/' FEEL14='https://www.omg.org/spec/DMN/20211108/FEEL/' FEEL15='https://www.omg.org/spec/DMN/20230324/FEEL/' +FEEL16='https://www.omg.org/spec/DMN/20240513/FEEL/' diff --git a/xsd/migrate-to-new-namespaces.sh b/xsd/migrate-to-new-namespaces.sh index c0f8d53..27b2109 100755 --- a/xsd/migrate-to-new-namespaces.sh +++ b/xsd/migrate-to-new-namespaces.sh @@ -1,6 +1,11 @@ #!/bin/bash set -euxo pipefail +# recursively search all DMN and XSD files in the current directory and migtrate them +# from an old set of namespace to a new set of namespaces +# requires `sponge` which can be installed via `sudo apt install moreutils` +# usage: run `xsd/migrate-to-new-namespaces.sh` from the root of the project + XSD_DIR="$(dirname $0)" source "$XSD_DIR/dmn-namespace-utils.sh" @@ -42,10 +47,16 @@ upgrade_dmn_14_to_dmn_15() { "$1" } -# recursively search all DMN files in the current directory and migtrate them +upgrade_dmn_15_to_dmn_16() { + sed \ + -e "s#$DMN15#$DMN16#g" \ + -e "s#$FEEL15#$FEEL16#g" \ + "$1" +} + declare -i NUMBER_OF_FILES=0 while IFS= read -r -d '' DMN_FILE; do NUMBER_OF_FILES+=1 echo "$NUMBER_OF_FILES: $DMN_FILE" - upgrade_dmn_14_to_dmn_15 "$DMN_FILE" | sponge "$DMN_FILE" -done < <(find . '(' -iname '*.dmn*.xml' -or -iname '*.dmn' -or -name 'DMN*15.xsd' ')' -type f -print0) + upgrade_dmn_15_to_dmn_16 "$DMN_FILE" | sponge "$DMN_FILE" +done < <(find . '(' -iname '*.dmn*.xml' -or -iname '*.dmn' -or -name 'DMN*1*.xsd' ')' -type f -print0)