diff --git a/debian/var/models/example.xml b/debian/var/models/example.xml
index 0f2908a..c9aa29a 100644
--- a/debian/var/models/example.xml
+++ b/debian/var/models/example.xml
@@ -9,7 +9,7 @@
Modèle de test
Adrien Bourmault
1
- 1629822515
+ 1629822515
1.0
diff --git a/src/model.c b/src/model.c
index 90917d0..98b8de0 100644
--- a/src/model.c
+++ b/src/model.c
@@ -341,8 +341,7 @@ static inline void CreateField(ModelField_t *modelField,
static inline int ModelParseFile(Model_t *model)
{
- char date[25];
-
+ // XML expected file structure
ModelField_t identityField;
ModelField_t identityNameField;
ModelField_t identityAuthorField;
@@ -352,6 +351,9 @@ static inline int ModelParseFile(Model_t *model)
ModelField_t parametersModelizationField;
ModelField_t parametersSpaceField;
+ // Temporary variables to store values to modify
+ char date[25];
+
CreateField(&identityField,
"identity", false, NULL, 0, &identityNameField, NULL);