Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output invalid: @TYPE not allowed under TextBlock #11

Closed
bertsky opened this issue Jun 14, 2021 · 0 comments · Fixed by #13
Closed

output invalid: @TYPE not allowed under TextBlock #11

bertsky opened this issue Jun 14, 2021 · 0 comments · Fixed by #13

Comments

@bertsky
Copy link
Collaborator

bertsky commented Jun 14, 2021

Perhaps inspired by our discussion in #1, the current transformation tries to map PAGE's TextRegion/@type to a non-existing ALTO TextBlock/@TYPE. But types are only allowed for IllustratrionBlock and ComposedBlock.

Error is in LayoutTagManager.set_alto_tag_from_type.

Preserving the type in LayoutTag/@TYPE would be correct I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant