Skip to content

Commit 650146b

Browse files
authored
Update XPathParser.java
remove extra items, AI didn't add them on ibatis-2 so why here. Just remove to see if it works then.
1 parent 1559f3a commit 650146b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/org/apache/ibatis/parsing/XPathParser.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,6 @@ private Document createDocument(InputSource inputSource) {
231231
try {
232232
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
233233
factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
234-
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
235-
factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
236-
factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
237234
factory.setValidating(validation);
238235

239236
factory.setNamespaceAware(false);

0 commit comments

Comments
 (0)