Fix setting xml features
The argument of the method has been unused leading to all of the features being set to true regardless of the passed argument value.
This commit is contained in:
parent
18be1a2461
commit
8ac1d3a95b
1 changed files with 2 additions and 2 deletions
|
@ -370,8 +370,8 @@ public class WireFeedInput {
|
|||
|
||||
private void setFeature(SAXBuilder saxBuilder, XMLReader parser, String feature, boolean value) {
|
||||
try {
|
||||
saxBuilder.setFeature(feature, true);
|
||||
parser.setFeature(feature, true);
|
||||
saxBuilder.setFeature(feature, value);
|
||||
parser.setFeature(feature, value);
|
||||
} catch (final SAXNotRecognizedException e) {
|
||||
// ignore
|
||||
} catch (final SAXNotSupportedException e) {
|
||||
|
|
Loading…
Reference in a new issue