336781 If xml parser is not validating, turn off external dtd resolution
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2770 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
19c5b378c2
commit
5b7e63510a
|
@ -1,5 +1,6 @@
|
|||
jetty-7.3.1-SNAPSHOT
|
||||
+ 336691 Possible wrong length returned by ChannelEndPoint.flush() in case of RandomAccessFileBuffer
|
||||
+ 336781 If xml parser is not validating, turn off external dtd resolution
|
||||
|
||||
jetty-7.3.0.v20110203 3 February 2011
|
||||
+ JETTY-1259 NullPointerException in JDBCSessionIdManager when invalidating session (further update)
|
||||
|
|
|
@ -107,6 +107,7 @@ public class XmlParser
|
|||
_parser.getXMLReader().setFeature("http://xml.org/sax/features/validation", validating);
|
||||
_parser.getXMLReader().setFeature("http://xml.org/sax/features/namespaces", true);
|
||||
_parser.getXMLReader().setFeature("http://xml.org/sax/features/namespace-prefixes", false);
|
||||
_parser.getXMLReader().setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", validating);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue