From 6b52bccea9effb1e7ea64a32595be18cc4a6c379 Mon Sep 17 00:00:00 2001 From: Christopher Horn Date: Mon, 5 Sep 2022 19:23:19 -0400 Subject: [PATCH] Add citations to event references --- data/grampsxml.dtd | 40 ++++++++++----------- data/grampsxml.rng | 25 +++++++------ example/gramps/example.gramps | 1 + gramps/gen/db/upgrade.py | 54 ++++++++++++++++++++++++++++ gramps/gen/lib/eventref.py | 17 ++++++--- gramps/gui/editors/editeventref.py | 23 +++++++----- gramps/plugins/export/exportxml.py | 5 ++- gramps/plugins/importer/importxml.py | 2 ++ gramps/plugins/test/tools_test.py | 5 +-- 9 files changed, 126 insertions(+), 46 deletions(-) diff --git a/data/grampsxml.dtd b/data/grampsxml.dtd index 6bd622d3e..ca3db0214 100644 --- a/data/grampsxml.dtd +++ b/data/grampsxml.dtd @@ -1,6 +1,6 @@ - @@ -61,7 +61,7 @@ DATABASE - + - @@ -122,7 +122,7 @@ GENDER has values of M, F, or U. - - - + @@ -220,7 +220,7 @@ EVENT - - - @@ -446,7 +446,7 @@ SHARED ELEMENTS quality (estimated|calculated) #IMPLIED cformat CDATA #IMPLIED dualdated (0|1) #IMPLIED - newyear CDATA #IMPLIED + newyear CDATA #IMPLIED > @@ -456,7 +456,7 @@ SHARED ELEMENTS quality (estimated|calculated) #IMPLIED cformat CDATA #IMPLIED dualdated (0|1) #IMPLIED - newyear CDATA #IMPLIED + newyear CDATA #IMPLIED > @@ -472,7 +472,7 @@ SHARED ELEMENTS hlink IDREF #REQUIRED > - + - diff --git a/data/grampsxml.rng b/data/grampsxml.rng index 9f84a8ebf..87f44263d 100644 --- a/data/grampsxml.rng +++ b/data/grampsxml.rng @@ -1,6 +1,6 @@ -