Error writing target PAGE XML file
Closed this issue · 2 comments
Deleted user commented
@chris1010010
When trying to convert an alto xml file to page-xml, I am getting an error of:
Error writing target PAGE XML file
I have validated my alto xml files, and it successfully did using:
wget https://raw.githubusercontent.com/kermitt2/pdfalto/master/schema/alto.xsd
xmllint --noout --schema alto.xsd output.xml
output.xml validates
My files attached
test.zip
Waiting for your reply
chris1010010 commented
Hi, the problem is that there are some negative coordinates, which is not allowed in PAGE XML. Admittedly, the converter should change or remove those
Deleted user commented
@chris1010010 Thanks for the hint, I was able to solve it.
But I am hoping that you integrate the negative coordinates removal option in the converter.
Keep up the good work.