diff --git a/src/main/java/com/rometools/rome/io/WireFeedInput.java b/src/main/java/com/rometools/rome/io/WireFeedInput.java index 4d69ac3..e5f9b6f 100644 --- a/src/main/java/com/rometools/rome/io/WireFeedInput.java +++ b/src/main/java/com/rometools/rome/io/WireFeedInput.java @@ -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) {