2
2
#
3
3
# Copyright (C) 2009 Brian G. Matherly
4
4
# Copyright (C) 2010 Douglas S. Blank
5
- # Copyright (C) 2011-2012 Jerome Rapinat
5
+ # Copyright (C) 2011-2019 Jerome Rapinat
6
6
#
7
7
# This program is free software; you can redistribute it and/or modify
8
8
# it under the terms of the GNU General Public License as published by
@@ -122,7 +122,7 @@ def epoch(t):
122
122
#
123
123
#-------------------------------------------------------------------------
124
124
125
- NAMESPACE = '{http://gramps-project.org/xml/1.7.1 /}'
125
+ NAMESPACE = '{http://gramps-project.org/xml/1.8.0 /}'
126
126
127
127
class lxmlGramplet (Gramplet ):
128
128
"""
@@ -321,7 +321,7 @@ def ReadXML(self, entry):
321
321
#tree = etree.ElementTree(file=filename)
322
322
tree = etree .parse (filename )
323
323
doctype = tree .docinfo .doctype
324
- current = '<!DOCTYPE database PUBLIC "-//Gramps//DTD Gramps XML 1.7.1 //EN" "http://gramps-project.org/xml/1.7.1 /grampsxml.dtd">'
324
+ current = '<!DOCTYPE database PUBLIC "-//Gramps//DTD Gramps XML 1.8.0 //EN" "http://gramps-project.org/xml/1.8.0 /grampsxml.dtd">'
325
325
if self .RNGValidation (tree , rng ) == True :
326
326
try :
327
327
self .ParseXML (tree , filename )
@@ -528,7 +528,7 @@ def ParseXML(self, tree, filename):
528
528
def xsd (self , xsd , filename ):
529
529
"""
530
530
Look at schema, validation, conform, structure, content, etc...
531
- Code for 1.7.1 and +
531
+ Code for 1.8.0 and +
532
532
"""
533
533
534
534
# syntax check against XSD for file format
@@ -549,7 +549,7 @@ def xsd(self, xsd, filename):
549
549
def check_valid (self , filename ):
550
550
"""
551
551
Look at schema, validation, conform, etc...
552
- Code for 1.7.1 and +
552
+ Code for 1.8.0 and +
553
553
"""
554
554
555
555
# syntax check against DTD for file format
0 commit comments