From 8c2e9b869316d2617be2a348525dedcd1152a229 Mon Sep 17 00:00:00 2001 From: Athemane Dahmouh Date: Thu, 25 Nov 2021 13:20:41 +0100 Subject: [PATCH] Workaround for suggesters : the tag for field rules can be 'rules' if soft or 'rulesA' if array, then it is changed in json-cleaner.xsl step Lunatic-model version is bumped to 2.2.8 --- pom.xml | 2 +- src/main/resources/xsd/LunaticModel.xsd | 5 ++++- src/main/resources/xsd/LunaticModelFlat.xsd | 7 +++++-- src/main/resources/xslt/json-cleaner.xsl | 10 +++++++++- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 9d7251f6..c43c875d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fr.insee.lunatic lunatic-model jar - 2.2.7 + 2.2.8 Lunatic Model Classes and converters for the Lunatic model http://www.insee.fr diff --git a/src/main/resources/xsd/LunaticModel.xsd b/src/main/resources/xsd/LunaticModel.xsd index 6259edc0..de701a3c 100644 --- a/src/main/resources/xsd/LunaticModel.xsd +++ b/src/main/resources/xsd/LunaticModel.xsd @@ -166,7 +166,10 @@ - + + + + diff --git a/src/main/resources/xsd/LunaticModelFlat.xsd b/src/main/resources/xsd/LunaticModelFlat.xsd index 2fff2616..afb3a234 100644 --- a/src/main/resources/xsd/LunaticModelFlat.xsd +++ b/src/main/resources/xsd/LunaticModelFlat.xsd @@ -161,8 +161,11 @@ - - + + + + + diff --git a/src/main/resources/xslt/json-cleaner.xsl b/src/main/resources/xslt/json-cleaner.xsl index bca6aa48..e111b084 100644 --- a/src/main/resources/xslt/json-cleaner.xsl +++ b/src/main/resources/xslt/json-cleaner.xsl @@ -30,7 +30,7 @@ - + @@ -50,6 +50,14 @@ + + + + + + + +