{
          for (Map.Entry<String, Boolean> entry : parserFeatures.entrySet())
          {
            parser.getXMLReader().setFeature(entry.getKey(), entry.getValue().booleanValue());
          }
        }