Skip to content

Commit

Permalink
update generateDS PAGE API, OCR-D#269
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Feb 18, 2020
1 parent d7f715f commit 3a0a3a8
Show file tree
Hide file tree
Showing 4 changed files with 3,260 additions and 1,192 deletions.
2 changes: 1 addition & 1 deletion ocrd_models/ocrd_models/ocrd_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def to_xml(el):
"""
sio = StringIO()
el.export(sio, 0, name_='PcGts',
namespacedef_='xmlns:pc="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="%s %s/pagecontent.xsd"' % (
namespacedef_='xmlns="%s" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="%s %s/pagecontent.xsd"' % (
NAMESPACES['page'],
NAMESPACES['page'],
NAMESPACES['page']
Expand Down
Loading

0 comments on commit 3a0a3a8

Please sign in to comment.