Skip to content

Commit

Permalink
[fix] Use different attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Sep 26, 2024
1 parent b9356fd commit ed88388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private String documentToString(Document document) {
try {
TransformerFactory tFactory = TransformerFactory.newInstance();
tFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
tFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
tFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_STYLESHEET, "");
Transformer transformer = tFactory.newTransformer();

DOMSource source = new DOMSource(document);
Expand Down

0 comments on commit ed88388

Please sign in to comment.