From 449a0d73a35cf57d8fe2b0ab396f0b1311290388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sun, 5 Jul 2015 11:12:04 +0200 Subject: [PATCH] 8683: Cover custom types on DTD and RNG files Now, xmllint passes '--dtdvalid' and '--relaxng' --- data/grampsxml.dtd | 8 ++++++-- data/grampsxml.rng | 34 +++------------------------------- 2 files changed, 9 insertions(+), 33 deletions(-) diff --git a/data/grampsxml.dtd b/data/grampsxml.dtd index 4f769fc48..3e4a91978 100644 --- a/data/grampsxml.dtd +++ b/data/grampsxml.dtd @@ -122,6 +122,7 @@ GENDER has values of M, F, or U. + + + diff --git a/data/grampsxml.rng b/data/grampsxml.rng index 4d10746b8..da5749513 100644 --- a/data/grampsxml.rng +++ b/data/grampsxml.rng @@ -210,16 +210,7 @@ - - Birth - Adopted - Stepchild - Sponsored - Foster - None - Other - Unknown - + @@ -230,13 +221,7 @@ - - Unknown - Also Known As - Birth Name - Married Name - Other Name - + @@ -265,20 +250,7 @@ 1 0 - - Unknown - Inherited - Given - Taken - Patronymic - Matronymic - Feudal - Pseudonym - Patrilineal - Matrilineal - Occupation - Location - +