public void setValidating(boolean validating) {
        features.put (XmlPullParser.FEATURE_VALIDATION, new Boolean (validating));
    }
Specifies that the parser produced by this factory will be validating
(it simply set feature XmlPullParser.FEATURE_VALIDATION to true or false).

By default the value of this is set to false.

@param validating - if true the parsers created by this factory  must be validating.
xpatch/src/main/java/wind/v1/XmlPullParserFactory.java