mirror of https://github.com/apache/poi.git
setDisallowDocTypeDeclaration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f827d384f
commit
5dbd081179
|
@ -75,6 +75,7 @@ public class TestAllFiles {
|
||||||
"**/.svn/**",
|
"**/.svn/**",
|
||||||
"lost+found",
|
"lost+found",
|
||||||
"**/.git/**",
|
"**/.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
|
"**/right-to-left.xlsx" //the threaded comments in this file cause XSSF clone to fail
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
class XWPFFileHandler extends AbstractFileHandler {
|
class XWPFFileHandler extends AbstractFileHandler {
|
||||||
private static final Set<String> EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet(
|
private static final Set<String> EXPECTED_FAILURES = StressTestUtils.unmodifiableHashSet(
|
||||||
"document/truncated62886.docx"
|
"document/truncated62886.docx", "document/ExternalEntityInText.docx"
|
||||||
);
|
);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue