Skip to content

Commit

Permalink
[revert] Transformer doesn't like that one, try without it to see if …
Browse files Browse the repository at this point in the history
…rest of tests work
  • Loading branch information
hazendaz committed Sep 25, 2024
1 parent ae5128a commit 12b5589
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.sql.ResultSet;
import java.sql.SQLException;

import javax.xml.XMLConstants;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
Expand Down Expand Up @@ -109,8 +108,6 @@ private String documentToString(Document document) {

try {
TransformerFactory tFactory = TransformerFactory.newInstance();
tFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
tFactory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
Transformer transformer = tFactory.newTransformer();

DOMSource source = new DOMSource(document);
Expand Down

0 comments on commit 12b5589

Please sign in to comment.