*/
    public static void configureSaxBuilder(SAXBuilder builder, boolean validate,            boolean disableDoctypes,            boolean secureLoading) {        setFeature(builder,                FEATURE_SECURE_PROCESSING,                secureLoading);        setFeature(builder,                XERCES_XSD,                validate);        setFeature(builder,                XERCES_XSD_FULLCHECKING,                validate);        setFeature(builder,                XERCES_URI_CONFORMANT,                true);        setFeature(builder,                XERCES_DOCTYPES,                disableDoctypes);        setFeature(builder,                SAX_GENERAL_ENTITIES,                !secureLoading);    }