From 3f2a0354419260518fac13e1e99318b88d47db3e Mon Sep 17 00:00:00 2001 From: zhouping Date: Tue, 14 Apr 2020 15:21:08 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-29490=20=E5=AE=89=E5=85=A8=E6=BC=8F?= =?UTF-8?q?=E6=B4=9Eby=20zack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/third/javax/xml/stream/XMLEntityManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fine-third-default/fine-sjsxp/src/main/java/com/fr/third/javax/xml/stream/XMLEntityManager.java b/fine-third-default/fine-sjsxp/src/main/java/com/fr/third/javax/xml/stream/XMLEntityManager.java index 334eeddbf..341ac472f 100644 --- a/fine-third-default/fine-sjsxp/src/main/java/com/fr/third/javax/xml/stream/XMLEntityManager.java +++ b/fine-third-default/fine-sjsxp/src/main/java/com/fr/third/javax/xml/stream/XMLEntityManager.java @@ -443,7 +443,7 @@ public class XMLEntityManager implements XMLComponent, XMLEntityResolver { } // setEntityHandler(XMLEntityHandler) //this function returns StaxXMLInputSource - public StaxXMLInputSource resolveEntityAsPerStax(XMLResourceIdentifier resourceIdentifier) throws java.io.IOException{ + public StaxXMLInputSource resolveEntityAsPerStax(XMLResourceIdentifier resourceIdentifier) throws IOException{ if(resourceIdentifier == null ) return null; @@ -976,8 +976,8 @@ public class XMLEntityManager implements XMLComponent, XMLEntityResolver { fEntityStack.removeAllElements(); fCurrentEntity = null; fValidation = false; - fExternalGeneralEntities = true; - fExternalParameterEntities = true; + fExternalGeneralEntities = false; + fExternalParameterEntities = false; fAllowJavaEncodings = true ; //test();