diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-10-14 09:04:53 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-10-14 09:04:53 +0000 |
commit | 5dbd0811791c577bec6632a9d8ac7e98ddc99677 (patch) | |
tree | 574fdaee2af621ed87c6f15438c46ccdccbc8dde /poi-integration/src/test/java | |
parent | 3f827d384fe894b44f404167c41c4d3c88fbd8dd (diff) | |
download | poi-5dbd0811791c577bec6632a9d8ac7e98ddc99677.tar.gz poi-5dbd0811791c577bec6632a9d8ac7e98ddc99677.zip |
setDisallowDocTypeDeclaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-integration/src/test/java')
-rw-r--r-- | poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java | 1 | ||||
-rw-r--r-- | poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java index a06606f0d2..9eda9586f6 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java @@ -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 }; diff --git a/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java b/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java index b61128f63f..999869773d 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java @@ -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 |