From f955abd427be2ef16353231664ab302655d60df6 Mon Sep 17 00:00:00 2001 From: Falko Menge Date: Wed, 15 Feb 2023 00:41:33 +0100 Subject: [PATCH] DMN15-159/160 Update Namespace URIs in XSD+exampes --- .../Chapter 11 Example.dmn | 4 ++-- .../Financial.dmn | 2 +- .../Loan info.dmn | 4 ++-- .../Recommended Loan Products.dmn | 6 ++--- .../diagram-interchange-decision-service.dmn | 4 ++-- ...change-decision-with-listed-input-data.dmn | 4 ++-- .../diagram-interchange-dish-example.dmn | 4 ++-- ...gram-interchange-shape-with-label-text.dmn | 4 ++-- xsd/DMN15.xsd | 14 ++++++------ xsd/DMNDI15.xsd | 4 ++-- xsd/dmn-namespace-utils.sh | 5 ++++- xsd/migrate-to-new-namespaces.sh | 22 +++++++++++++------ 12 files changed, 44 insertions(+), 33 deletions(-) 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 de73b90..fa60150 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,4 @@ - + @@ -7,7 +7,7 @@ - + string diff --git a/examples/Chapter 11 Example 1 Originations/Financial.dmn b/examples/Chapter 11 Example 1 Originations/Financial.dmn index 8bd728e..6d68313 100644 --- a/examples/Chapter 11 Example 1 Originations/Financial.dmn +++ b/examples/Chapter 11 Example 1 Originations/Financial.dmn @@ -1,4 +1,4 @@ - + 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 2533519..249d6d3 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,5 @@ - + string @@ -640,7 +640,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 30f5c5f..378068e 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,6 @@ - - + + string @@ -1171,7 +1171,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 774f89f..b37986a 100644 --- a/examples/Diagram Interchange/diagram-interchange-decision-service.dmn +++ b/examples/Diagram Interchange/diagram-interchange-decision-service.dmn @@ -3,9 +3,9 @@ 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/20211108/MODEL/" + xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" + xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"> 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 1089010..24c2c59 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,9 +3,9 @@ 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/20211108/MODEL/" + xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" + xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"> diff --git a/examples/Diagram Interchange/diagram-interchange-dish-example.dmn b/examples/Diagram Interchange/diagram-interchange-dish-example.dmn index 3b1da40..ac0365c 100644 --- a/examples/Diagram Interchange/diagram-interchange-dish-example.dmn +++ b/examples/Diagram Interchange/diagram-interchange-dish-example.dmn @@ -1,9 +1,9 @@ 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 362d4fa..20165ab 100644 --- a/examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn +++ b/examples/Diagram Interchange/diagram-interchange-shape-with-label-text.dmn @@ -3,9 +3,9 @@ id="definitions_0v8cooh" name="Decision" namespace="http://www.omg.org/spec/DMN/20180521/diagram-interchange-shape-with-label-text/" - xmlns="https://www.omg.org/spec/DMN/20211108/MODEL/" + xmlns="https://www.omg.org/spec/DMN/20230324/MODEL/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" + xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"> diff --git a/xsd/DMN15.xsd b/xsd/DMN15.xsd index a4d9857..a6b161e 100644 --- a/xsd/DMN15.xsd +++ b/xsd/DMN15.xsd @@ -1,12 +1,12 @@ + xmlns:dmndi="https://www.omg.org/spec/DMN/20230324/DMNDI/" + targetNamespace="https://www.omg.org/spec/DMN/20230324/MODEL/"> - + Include the DMN Diagram Interchange (DI) schema @@ -54,8 +54,8 @@ - - + + diff --git a/xsd/DMNDI15.xsd b/xsd/DMNDI15.xsd index bf706fd..17b5535 100644 --- a/xsd/DMNDI15.xsd +++ b/xsd/DMNDI15.xsd @@ -1,9 +1,9 @@