aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src/main/java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-13 23:21:30 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-13 23:21:30 +0000
commitad11b847c8312e7c054d8c7bb40209524fab2470 (patch)
tree832151660178717aa518822125b20500ea928d26 /poi-ooxml/src/main/java
parent1212e5f6be27bff4a6af9207e92f62b4c62c22ff (diff)
downloadpoi-ad11b847c8312e7c054d8c7bb40209524fab2470.tar.gz
poi-ad11b847c8312e7c054d8c7bb40209524fab2470.zip
undo setDisallowDocTypeDeclaration (need to investigate some poi-integration test failures)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894216 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src/main/java')
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java
index b30d4d0e0c..08c62b39c7 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java
@@ -40,7 +40,7 @@ public class POIXMLTypeLoader {
DEFAULT_XML_OPTIONS.setUseDefaultNamespace();
DEFAULT_XML_OPTIONS.setSaveAggressiveNamespaces();
DEFAULT_XML_OPTIONS.setCharacterEncoding("UTF-8");
- DEFAULT_XML_OPTIONS.setDisallowDocTypeDeclaration(true);
+ //DEFAULT_XML_OPTIONS.setDisallowDocTypeDeclaration(true);
DEFAULT_XML_OPTIONS.setEntityExpansionLimit(1);
// Piccolo is disabled for POI builts, i.e. JAXP is used for parsing
// so only user code using XmlObject/XmlToken.Factory.parse