Skip to content

Commit

Permalink
Update NodeletParser.java
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz authored Sep 26, 2024
1 parent 6602daa commit 34b8758
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/ibatis/common/xml/NodeletParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ private Document createDocument(Reader reader)
factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
factory.setValidating(validation);

factory.setNamespaceAware(false);
Expand Down

0 comments on commit 34b8758

Please sign in to comment.