mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 06:39:53 +02:00
Use PAGE 2019
This commit is contained in:
parent
ff0570e151
commit
de841746e3
1 changed files with 3 additions and 2 deletions
|
@ -95,7 +95,8 @@ page_fix_xml() {
|
||||||
|
|
||||||
local file
|
local file
|
||||||
for file in `ocrd workspace find -G $filegrp`; do
|
for file in `ocrd workspace find -G $filegrp`; do
|
||||||
sed -i 's#pagecontent/2017-07-15#pagecontent/2018-07-15#g' $file
|
sed -i 's#pagecontent/2017-07-15#pagecontent/2019-07-15#g' $file
|
||||||
|
sed -i 's#pagecontent/2018-07-15#pagecontent/2019-07-15#g' $file
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,7 +107,7 @@ page_validate_xml() {
|
||||||
|
|
||||||
local file
|
local file
|
||||||
for file in `ocrd workspace find -G $filegrp`; do
|
for file in `ocrd workspace find -G $filegrp`; do
|
||||||
xmllint --noout --schema `dirname $0`/xsd/pagecontent.2018-07-15.xsd $file
|
xmllint --noout --schema `dirname $0`/xsd/pagecontent.2019-07-15.xsd $file
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue