8683: keep support for XML v1.7.0
This commit is contained in:
parent
0f86d84dca
commit
00a547b2bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user