Boolean value = (Boolean) features.get(XmlPullParser.VALIDATION);
Boolean value = (Boolean) features.get(XmlPullParser.FEATURE_VALIDATION);
    public boolean isValidating()    {        Boolean value = (Boolean) features.get(XmlPullParser.VALIDATION);        return value != null ? value.booleanValue() : false;    }