From 00a547b2bd3bdf26706bcd2002c51a580023abfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 6 Jul 2015 15:48:11 +0200 Subject: [PATCH] 8683: keep support for XML v1.7.0 --- gramps/plugins/importer/importxml.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gramps/plugins/importer/importxml.py b/gramps/plugins/importer/importxml.py index 3b09d737b..4a6ca4f71 100644 --- a/gramps/plugins/importer/importxml.py +++ b/gramps/plugins/importer/importxml.py @@ -1704,6 +1704,8 @@ class GrampsParser(UpdateCallback): def start_name(self, attrs): if self.person: self.start_person_name(attrs) + if self.placeobj: # XML 1.7.0 + self.start_place_name(attrs) def start_place_name(self, attrs): self.place_name = PlaceName() @@ -2692,6 +2694,8 @@ class GrampsParser(UpdateCallback): def stop_name(self, attrs): if self.person: self.stop_person_name(attrs) + if self.placeobj: # XML 1.7.0 + self.stop_place_name(attrs) def stop_place_name(self, tag): self.place_name = None