From c32d2b8ed84545947cc09e9b40b14817276b0b8e Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Sat, 20 Jul 2024 21:18:24 +0200 Subject: [PATCH 1/5] style: formatting todos --- utils/compare_versions/comparison.xsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/compare_versions/comparison.xsl b/utils/compare_versions/comparison.xsl index ac573275c..446668efe 100644 --- a/utils/compare_versions/comparison.xsl +++ b/utils/compare_versions/comparison.xsl @@ -18,9 +18,9 @@ - - - + + + @@ -313,7 +313,7 @@
  • - +
  • From e36979a4e5f827ba9cbf822092b785f68f80fd51 Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Sat, 20 Jul 2024 21:20:16 +0200 Subject: [PATCH 2/5] fix: consider all namespaces for empty --- utils/compare_versions/comparison.xsl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/compare_versions/comparison.xsl b/utils/compare_versions/comparison.xsl index 446668efe..9bad8cbad 100644 --- a/utils/compare_versions/comparison.xsl +++ b/utils/compare_versions/comparison.xsl @@ -170,22 +170,22 @@ - + - + - + - + @@ -666,7 +666,7 @@ - + @@ -675,7 +675,7 @@ - + From 03182874d5c27e22e749970a9092073a94911f1e Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Sat, 20 Jul 2024 21:27:28 +0200 Subject: [PATCH 3/5] fix: differentiate between macroSpec and dataSpec --- utils/compare_versions/comparison.xsl | 157 +++++++++++++++++--------- 1 file changed, 102 insertions(+), 55 deletions(-) diff --git a/utils/compare_versions/comparison.xsl b/utils/compare_versions/comparison.xsl index 9bad8cbad..161c2006d 100644 --- a/utils/compare_versions/comparison.xsl +++ b/utils/compare_versions/comparison.xsl @@ -72,8 +72,8 @@
    -
    -
    +
    +
    added content changed content @@ -87,14 +87,14 @@ - - + + - - + + @@ -645,12 +645,12 @@ - + - - + + @@ -658,8 +658,26 @@ - - + + + + + + + + + + + + + + + + + + + + @@ -736,11 +754,20 @@

    MacroSpec Comparison (Parameter Entities)

    -

    new macroSpec classes:

    +

    new macroSpec classes:

    - + + + + + + + + + + @@ -748,27 +775,47 @@
    -

    removed macroSpec classes:

    +

    removed macroSpec classes:

    - - - - - - + + + + + + + + + + + + + + + + +
    -

    modified macroSpec classes:

    +

    modified macroSpec classes:

    -

    unchanged macroSpec classes:

    +

    unchanged macroSpec classes:

    - + + + + + + + + + + @@ -778,12 +825,12 @@
    - + - - + + @@ -791,8 +838,8 @@ - - + + @@ -884,44 +931,44 @@ -

    MacroSpec Comparison (datatypes)

    -

    new macroSpecs:

    +

    DataSpec Comparison (datatypes)

    +

    new dataSpecs:

    - + - - - + + +
    -

    removed macroSpecs:

    +

    removed dataSpecs:

    - + - - - + + +
    -

    modified macroSpecs:

    +

    modified dataSpecs:

    -

    unchanged macroSpecs:

    +

    unchanged dataSpecs:

    - + - - - + + +
    From 5e9d701d08a61759cb32fde9884e88c3e495899a Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Sat, 20 Jul 2024 21:37:48 +0200 Subject: [PATCH 4/5] fix: adjust javascript --- utils/compare_versions/resources/js/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/compare_versions/resources/js/main.js b/utils/compare_versions/resources/js/main.js index 60cc29176..021a1d30e 100644 --- a/utils/compare_versions/resources/js/main.js +++ b/utils/compare_versions/resources/js/main.js @@ -23,14 +23,14 @@ const svg3 = d3.select("#modelClassesChart") .append("g") .attr("transform", `translate(${width / 2}, ${height / 2})`); -const svg4 = d3.select("#macroPeChart") +const svg4 = d3.select("#macroChart") .append("svg") .attr("width", width) .attr("height", height) .append("g") .attr("transform", `translate(${width / 2}, ${height / 2})`); -const svg5 = d3.select("#macroDtChart") +const svg5 = d3.select("#dataChart") .append("svg") .attr("width", width) .attr("height", height) @@ -97,7 +97,7 @@ function getCharts() { // Join new data const path4 = svg4.selectAll("path") - .data(pie(macroPe)); + .data(pie(macro)); // Enter new arcs path4.enter().append("path") @@ -111,7 +111,7 @@ function getCharts() { // Join new data const path5 = svg5.selectAll("path") - .data(pie(macroDt)); + .data(pie(data)); // Enter new arcs path5.enter().append("path") From 928c5d78715d372d7c851ac6a279bf5421b80bcf Mon Sep 17 00:00:00 2001 From: Klaus Rettinghaus Date: Sun, 21 Jul 2024 09:06:35 +0200 Subject: [PATCH 5/5] style: simplification and formatting --- utils/compare_versions/comparison.xsl | 725 +++++++++++++++++--------- 1 file changed, 473 insertions(+), 252 deletions(-) diff --git a/utils/compare_versions/comparison.xsl b/utils/compare_versions/comparison.xsl index 161c2006d..0a1fe3220 100644 --- a/utils/compare_versions/comparison.xsl +++ b/utils/compare_versions/comparison.xsl @@ -1,15 +1,5 @@ - + Created on: Oct 29, 2018 @@ -17,13 +7,13 @@ - + - + - + @@ -38,7 +28,7 @@ - + @@ -49,8 +39,8 @@ - - + + --- @@ -58,22 +48,33 @@ title: "Comparison of MEI v and v" ---
    - +

    MEI Comparison
    - Version vs + Version + vs Version -

    +
    -
    -
    -
    -
    -
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    added content changed content @@ -89,7 +90,7 @@ - + @@ -132,21 +133,21 @@
    - + - + - + - + @@ -155,44 +156,60 @@ - + - + - + - + - - + + + + + + - - + + + + + + - - + + + + + + - - + + + + + + - + - + @@ -201,7 +218,7 @@ - + @@ -236,11 +253,11 @@ - + - + - - + + + + + + - - + + + + + + @@ -270,18 +295,32 @@ -
  • +
  • + + + +
  • -
  • +
  • + + + +
  • -
  • +
  • + +
  • -
  • +
  • + + + +
  • @@ -291,18 +330,32 @@ -
  • +
  • + + + +
  • -
  • +
  • + + + +
  • -
  • +
  • + +
  • -
  • +
  • + + + +
  • @@ -312,30 +365,50 @@ -
  • +
  • + + + + + +
  • -
  • +
  • + + + + + +
  • -
  • +
  • + + + +
  • -
  • +
  • + + + + + +
  • - -
    - +

    Element Comparison

    new elements:

    @@ -343,10 +416,20 @@ - - - - + + + +
    visit guidelines + + + + + + + + + visit guidelines +
    @@ -356,10 +439,18 @@ - - - - visit guidelines + + + + + + + + + + + visit guidelines + @@ -373,21 +464,27 @@ - - - + + + + + + + + +
    - + - + - + @@ -396,42 +493,50 @@ - + - + - + - + - + - + - - + + + + + + - - + + + + + + @@ -444,18 +549,30 @@ -
  • +
  • + + + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + + + +
  • @@ -465,26 +582,42 @@ -
  • +
  • + + + + + +
  • -
  • +
  • + + + +
  • -
  • +
  • + + + + + +
  • - - + +
    - +

    Attribute Class Comparison

    new attribute classes:

    @@ -492,9 +625,15 @@ - - - + + +
    + + + + + +
    @@ -504,9 +643,15 @@ - - - + + + + + + + + + @@ -520,21 +665,27 @@ - - - + + + + + + + + +
    - + - + - + @@ -543,30 +694,38 @@ - + - + - + - + - - + + + + + + - - + + + + + + @@ -579,29 +738,37 @@ -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • - - + +
    - +

    Model Class Comparison

    new model classes:

    @@ -609,9 +776,15 @@ - - - + + +
    + + + + + +
    @@ -621,9 +794,15 @@ - - - + + + + + + + + + @@ -637,48 +816,36 @@ - - - + + + + + + + + +
    - + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - + + + @@ -699,25 +866,33 @@ - + - + - + - - + + + + + + - - + + + + + + @@ -730,29 +905,37 @@ -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • - - + +
    - +

    MacroSpec Comparison (Parameter Entities)

    new macroSpec classes:

    @@ -769,9 +952,15 @@ - - - + + +
    + + + + + +
    @@ -779,23 +968,18 @@ - - - - - - - - - - - - - - - - - + + + + + +
    + + + + + +

    modified macroSpec classes:

    @@ -806,32 +990,29 @@ - - - - - - - - - - + - - - + + +
    + + + + + +
    - + - + - + @@ -840,19 +1021,19 @@ - + - + - + - + @@ -861,23 +1042,31 @@ - + - + - - + + + + + + - - + + + + + + @@ -890,18 +1079,26 @@ -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • @@ -911,26 +1108,32 @@ -
  • +
  • + +
  • -
  • +
  • + +
  • -
  • +
  • + +
  • - - + +
    - +

    DataSpec Comparison (datatypes)

    new dataSpecs:

    @@ -938,9 +1141,15 @@ - - - + + +
    + + + + + +
    @@ -950,9 +1159,15 @@ - - - + + + + + + + + + @@ -966,9 +1181,15 @@ - - - + + + + + + + + + @@ -986,7 +1207,7 @@ - + @@ -1051,7 +1272,7 @@
    - + @@ -1059,37 +1280,37 @@ - + - + - + - + - + - + ['’] - + This is a generic copy template which will copy all content in all modes @@ -1100,6 +1321,6 @@ - - + + \ No newline at end of file