Skip to content

Commit 7fecc31

Browse files
committed
move to 1.8.0 schema for testing GEPS 045
1 parent d9285cd commit 7fecc31

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lxml/lxmlGramplet.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Copyright (C) 2009 Brian G. Matherly
44
# Copyright (C) 2010 Douglas S. Blank
5-
# Copyright (C) 2011-2012 Jerome Rapinat
5+
# Copyright (C) 2011-2019 Jerome Rapinat
66
#
77
# This program is free software; you can redistribute it and/or modify
88
# it under the terms of the GNU General Public License as published by
@@ -122,7 +122,7 @@ def epoch(t):
122122
#
123123
#-------------------------------------------------------------------------
124124

125-
NAMESPACE = '{http://gramps-project.org/xml/1.7.1/}'
125+
NAMESPACE = '{http://gramps-project.org/xml/1.8.0/}'
126126

127127
class lxmlGramplet(Gramplet):
128128
"""
@@ -321,7 +321,7 @@ def ReadXML(self, entry):
321321
#tree = etree.ElementTree(file=filename)
322322
tree = etree.parse(filename)
323323
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">'
325325
if self.RNGValidation(tree, rng) == True:
326326
try:
327327
self.ParseXML(tree, filename)
@@ -528,7 +528,7 @@ def ParseXML(self, tree, filename):
528528
def xsd(self, xsd, filename):
529529
"""
530530
Look at schema, validation, conform, structure, content, etc...
531-
Code for 1.7.1 and +
531+
Code for 1.8.0 and +
532532
"""
533533

534534
# syntax check against XSD for file format
@@ -549,7 +549,7 @@ def xsd(self, xsd, filename):
549549
def check_valid(self, filename):
550550
"""
551551
Look at schema, validation, conform, etc...
552-
Code for 1.7.1 and +
552+
Code for 1.8.0 and +
553553
"""
554554

555555
# syntax check against DTD for file format

0 commit comments

Comments
 (0)