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

DOCX allows multiple w:t per w:r #10

Closed
TinoDidriksen opened this issue Oct 30, 2020 · 1 comment
Closed

DOCX allows multiple w:t per w:r #10

TinoDidriksen opened this issue Oct 30, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@TinoDidriksen
Copy link
Owner

Google Docs and presumably other editors may produce DOCX files with XML akin to <w:p><w:r><w:t>...</w:t><w:br/><w:br/><w:t>...</w:t><w:br/></w:r></w:p> - that is, each w:r can have multiple w:t and w:br intermingled.

MS Word itself will produce <w:p><w:r><w:t>...</w:t></w:r><w:r><w:br/></w:r><w:r><w:br/><w:t>...</w:t></w:r><w:r><w:br/></w:r></w:p> - that is, each w:r holds max one w:t

Unfortunately, the schema does allow multiple: http://www.datypic.com/sc/ooxml/e-w_r-2.html

(cf. apertium/apertium#110)

@TinoDidriksen TinoDidriksen added the bug Something isn't working label Oct 30, 2020
@TinoDidriksen
Copy link
Owner Author

Probably also an issue for PPTX's a:t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant