-
Notifications
You must be signed in to change notification settings - Fork 11
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
Could not parse template file with hyperlinks #29
Comments
The problem was with the hyperlinks in the template document. Stencil was looking for hyperlink targets in the docx file for copying. Added extra logic to handle hyperlinks. Thank you for reporting the issue. The just released version |
Also found root cause of this specific exception. Woodstox uses a different buffering for parsing input streams and the stream was already closed when parsing the relations file. Solved in 0.3.5 |
A following exception dropped by stencil at
getAllFragment
call:The following piece of code is able to reproduce the bug:
The bug seems to depend on the size of the file, but I am not sure about it.
I attached a docx file using it the bug is reproducable.
teszt.docx
The text was updated successfully, but these errors were encountered: