There doesn't seem to be a way to limit DTD access nor external entities.
These measures are necessary to reduce the threat of XXE when processing docx files.
Could you advise if I am simply missing something, or if this is indeed missing functionality? And if so, if it would be possible to add that, or at least use safe defaults when processing XML files?