Skip to content

Commit

Permalink
Upgrade jdom
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Sep 4, 2023
1 parent 0365172 commit 97cde79
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ private Element parse(String plain) throws JDOMException, IOException {
if (builder == null) {
//then we have no sax builders available, so let's create a new one and store
builder = new SAXBuilder();
builder.setFeature("http://xml.org/sax/features/external-general-entities", false);
// With JDom 1.x it was important to set Fast Reconfigure on re-usable SAXBuilders
// This is the default with 2.x and this method does nothing
// builder.setFastReconfigure(true);
Expand Down

0 comments on commit 97cde79

Please sign in to comment.