diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b8e7b0..37fac90 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,40 +19,40 @@ jobs: - 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-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-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-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-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/examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn b/examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn index f548867..209a165 100644 --- a/examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn +++ b/examples/Chapter 11 Example 1 Originations/Chapter 11 Example.dmn @@ -1,4 +1,15 @@ - + + @@ -7,7 +18,7 @@ - + string diff --git a/examples/Chapter 11 Example 1 Originations/Financial.dmn b/examples/Chapter 11 Example 1 Originations/Financial.dmn index 6d68313..85f2572 100644 --- a/examples/Chapter 11 Example 1 Originations/Financial.dmn +++ b/examples/Chapter 11 Example 1 Originations/Financial.dmn @@ -1,4 +1,14 @@ - + diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn b/examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn index 249d6d3..4d9b094 100644 --- a/examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn +++ b/examples/Chapter 11 Example 2 Ranked Loan Products/Loan info.dmn @@ -1,5 +1,15 @@ - + string @@ -640,7 +650,7 @@ - + diff --git a/examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn b/examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn index 378068e..c31d130 100644 --- a/examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn +++ b/examples/Chapter 11 Example 2 Ranked Loan Products/Recommended Loan Products.dmn @@ -1,6 +1,16 @@ - - + + string @@ -1171,7 +1181,7 @@ 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..584d956 100644 --- a/examples/Diagram Interchange/diagram-interchange-decision-service.dmn +++ b/examples/Diagram Interchange/diagram-interchange-decision-service.dmn @@ -1,13 +1,23 @@ - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + https://www.omg.org/spec/DMN/ + https://www.omg.org/spec/DMN/20240322/DMN16.xsd + https://www.omg.org/spec/DMN/DI/ + https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd + http://www.omg.org/spec/DMN/20180521/DI/ + https://www.omg.org/spec/DMN/20180521/DI.xsd + http://www.omg.org/spec/DMN/20180521/DC/ + https://www.omg.org/spec/DMN/20180521/DC.xsd + "> 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..7ef25e9 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 @@ -1,13 +1,23 @@ - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + https://www.omg.org/spec/DMN/ + https://www.omg.org/spec/DMN/20240322/DMN16.xsd + https://www.omg.org/spec/DMN/DI/ + https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd + http://www.omg.org/spec/DMN/20180521/DI/ + https://www.omg.org/spec/DMN/20180521/DI.xsd + http://www.omg.org/spec/DMN/20180521/DC/ + https://www.omg.org/spec/DMN/20180521/DC.xsd + "> diff --git a/examples/Diagram Interchange/diagram-interchange-dish-example.dmn b/examples/Diagram Interchange/diagram-interchange-dish-example.dmn index ac0365c..9db52ad 100644 --- a/examples/Diagram Interchange/diagram-interchange-dish-example.dmn +++ b/examples/Diagram Interchange/diagram-interchange-dish-example.dmn @@ -1,11 +1,21 @@ - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + https://www.omg.org/spec/DMN/ + https://www.omg.org/spec/DMN/20240322/DMN16.xsd + https://www.omg.org/spec/DMN/DI/ + https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd + http://www.omg.org/spec/DMN/20180521/DI/ + https://www.omg.org/spec/DMN/20180521/DI.xsd + http://www.omg.org/spec/DMN/20180521/DC/ + https://www.omg.org/spec/DMN/20180521/DC.xsd + "> diff --git a/examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn b/examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn index 20165ab..a5c8f73 100644 --- a/examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn +++ b/examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn @@ -1,13 +1,23 @@ - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + https://www.omg.org/spec/DMN/ + https://www.omg.org/spec/DMN/20240322/DMN16.xsd + https://www.omg.org/spec/DMN/DI/ + https://www.omg.org/spec/DMN/20240322/DMNDI16.xsd + http://www.omg.org/spec/DMN/20180521/DI/ + https://www.omg.org/spec/DMN/20180521/DI.xsd + http://www.omg.org/spec/DMN/20180521/DC/ + https://www.omg.org/spec/DMN/20180521/DC.xsd + "> diff --git a/xsd/DMN15.xsd b/xsd/DMN16.xsd similarity index 95% rename from xsd/DMN15.xsd rename to xsd/DMN16.xsd index a6b161e..f925067 100644 --- a/xsd/DMN15.xsd +++ b/xsd/DMN16.xsd @@ -1,12 +1,13 @@ - + - + Include the DMN Diagram Interchange (DI) schema @@ -54,8 +55,9 @@ - - + + + diff --git a/xsd/DMNDI15.xsd b/xsd/DMNDI16.xsd similarity index 87% rename from xsd/DMNDI15.xsd rename to xsd/DMNDI16.xsd index 17b5535..f8b48ae 100644 --- a/xsd/DMNDI15.xsd +++ b/xsd/DMNDI16.xsd @@ -1,15 +1,16 @@ - + + schemaLocation="DC.xsd"/> + schemaLocation="DI.xsd"/> diff --git a/xsd/dmn-namespace-utils.sh b/xsd/dmn-namespace-utils.sh index c25b78d..64af070 100644 --- a/xsd/dmn-namespace-utils.sh +++ b/xsd/dmn-namespace-utils.sh @@ -5,10 +5,12 @@ 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/' 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/' DMNDI15='https://www.omg.org/spec/DMN/20230324/DMNDI/' +DMNDI16='https://www.omg.org/spec/DMN/DI/' DI='http://www.omg.org/spec/DMN/20180521/DI/' DC='http://www.omg.org/spec/DMN/20180521/DC/' FEEL10='http://www.omg.org/spec/FEEL/20140401' @@ -16,3 +18,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/FEEL/1.6' \ No newline at end of file