File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
marklogic-data-hub/src/test/java/com/marklogic/hub Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 120
120
import static com .marklogic .client .io .DocumentMetadataHandle .Capability .READ ;
121
121
import static com .marklogic .client .io .DocumentMetadataHandle .Capability .UPDATE ;
122
122
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 ;
125
123
import static javax .xml .XMLConstants .FEATURE_SECURE_PROCESSING ;
126
124
127
125
@@ -1046,8 +1044,6 @@ protected void debugOutput(Document xmldoc) {
1046
1044
protected void debugOutput (Document xmldoc , OutputStream os ) {
1047
1045
try {
1048
1046
TransformerFactory tf = TransformerFactory .newInstance ();
1049
- tf .setAttribute (ACCESS_EXTERNAL_DTD , "" );
1050
- tf .setAttribute (ACCESS_EXTERNAL_STYLESHEET , "" );
1051
1047
tf .setFeature (FEATURE_SECURE_PROCESSING , true );
1052
1048
Transformer transformer = tf .newTransformer ();
1053
1049
transformer .setOutputProperty (OutputKeys .INDENT , "yes" );
You can’t perform that action at this time.
0 commit comments