]> source.dussan.org Git - poi.git/commitdiff
setDisallowDocTypeDeclaration
authorPJ Fanning <fanningpj@apache.org>
Thu, 14 Oct 2021 09:04:53 +0000 (09:04 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 14 Oct 2021 09:04:53 +0000 (09:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68

poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java
poi-integration/src/test/java/org/apache/poi/stress/XWPFFileHandler.java
poi-integration/src/test/java9/module-info.class

index a06606f0d219711bb4e90d7be5131422a565777a..9eda9586f6a8f31c87280863d1631949ebad80f6 100644 (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
     };
 
index b61128f63faae3ec053d8460e5ca73602001d337..999869773d619be6954f45c98213b6b4402bc08f 100644 (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
index 4f3e0f3bba004cc9cc1e2bd5f93b56cd7b70a5f2..92a6b8ee9e339185c5cc8be8ce8b4c661fec9313 100644 (file)
Binary files a/poi-integration/src/test/java9/module-info.class and b/poi-integration/src/test/java9/module-info.class differ