Skip to content

Commit fb6848e

Browse files
Ryan DewSameeraPriyathamTadikonda
authored andcommitted
MLE-10983: Fix configuration for factory in test
1 parent 8985956 commit fb6848e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

marklogic-data-hub/src/test/java/com/marklogic/hub/HubTestBase.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@
120120
import static com.marklogic.client.io.DocumentMetadataHandle.Capability.READ;
121121
import static com.marklogic.client.io.DocumentMetadataHandle.Capability.UPDATE;
122122
import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
123-
import static javax.xml.XMLConstants.ACCESS_EXTERNAL_DTD;
124-
import static javax.xml.XMLConstants.ACCESS_EXTERNAL_STYLESHEET;
125123
import static javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING;
126124

127125

@@ -1046,8 +1044,6 @@ protected void debugOutput(Document xmldoc) {
10461044
protected void debugOutput(Document xmldoc, OutputStream os) {
10471045
try {
10481046
TransformerFactory tf = TransformerFactory.newInstance();
1049-
tf.setAttribute(ACCESS_EXTERNAL_DTD, "");
1050-
tf.setAttribute(ACCESS_EXTERNAL_STYLESHEET, "");
10511047
tf.setFeature(FEATURE_SECURE_PROCESSING, true);
10521048
Transformer transformer = tf.newTransformer();
10531049
transformer.setOutputProperty(OutputKeys.INDENT, "yes");

0 commit comments

Comments
 (0)