|
|
@@ -1,6 +1,5 @@
|
|
|
package winter.com.ideaaedi.classwinter.executor;
|
|
|
|
|
|
-import com.sun.org.apache.xerces.internal.impl.Constants;
|
|
|
import javassist.CannotCompileException;
|
|
|
import javassist.ClassPool;
|
|
|
import javassist.NotFoundException;
|
|
|
@@ -1042,7 +1041,7 @@ public class EncryptExecutor {
|
|
|
try {
|
|
|
SAXReader reader = new SAXReader();
|
|
|
// 不校验xml头部
|
|
|
- reader.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.LOAD_EXTERNAL_DTD_FEATURE, false);
|
|
|
+ reader.setFeature(Constant.XERCES_FEATURE_PREFIX + Constant.LOAD_EXTERNAL_DTD_FEATURE, false);
|
|
|
Document document = reader.read(new StringReader(xmlContent));
|
|
|
Element rootElement = document.getRootElement();
|
|
|
if (rootElement == null) {
|