aboutsummaryrefslogtreecommitdiffstats
path: root/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-01-28 20:17:47 +0000
committerPJ Fanning <fanningpj@apache.org>2022-01-28 20:17:47 +0000
commit9f4b00861305567cd9cfec73b713b9e770df30cd (patch)
tree2ca59790490537f3bd0e01e2e3fb42f2d0e37181 /poi
parent1d2905bc05226e93d746a2a03b8f0128603468a2 (diff)
downloadpoi-9f4b00861305567cd9cfec73b713b9e770df30cd.tar.gz
poi-9f4b00861305567cd9cfec73b713b9e770df30cd.zip
[bug-65326] don't log issues with accessExternalSchema property becasue xerces 2.12.2 doesn't support it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897568 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r--poi/src/main/java/org/apache/poi/util/XMLHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/poi/src/main/java/org/apache/poi/util/XMLHelper.java b/poi/src/main/java/org/apache/poi/util/XMLHelper.java
index c9a68716cd..a2c03a5e3e 100644
--- a/poi/src/main/java/org/apache/poi/util/XMLHelper.java
+++ b/poi/src/main/java/org/apache/poi/util/XMLHelper.java
@@ -110,8 +110,8 @@ public final class XMLHelper {
factory.setExpandEntityReferences(false);
factory.setValidating(false);
trySet(factory::setFeature, FEATURE_SECURE_PROCESSING, true);
- trySet(factory::setAttribute, ACCESS_EXTERNAL_SCHEMA, "");
- trySet(factory::setAttribute, ACCESS_EXTERNAL_DTD, "");
+ quietSet(factory::setAttribute, ACCESS_EXTERNAL_SCHEMA, "");
+ quietSet(factory::setAttribute, ACCESS_EXTERNAL_DTD, "");
trySet(factory::setFeature, FEATURE_EXTERNAL_ENTITIES, false);
trySet(factory::setFeature, FEATURE_PARAMETER_ENTITIES, false);
trySet(factory::setFeature, FEATURE_LOAD_EXTERNAL_DTD, false);