setDisallowDocTypeDeclaration

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-10-14 09:04:53 +00:00
parent 3f827d384f
commit 5dbd081179
3 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ public class TestAllFiles {
"**/.svn/**",
"lost+found",
"**/.git/**",
"**/ExternalEntityInText.docx", //the DocType (DTD) declaration causes this to fail
"**/right-to-left.xlsx" //the threaded comments in this file cause XSSF clone to fail
};

View File

@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
class XWPFFileHandler extends AbstractFileHandler {
private static final Set<String> EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet(
"document/truncated62886.docx"
"document/truncated62886.docx", "document/ExternalEntityInText.docx"
);
@Override