wso2 / balana

Apache License 2.0
122 stars 108 forks source link

Incorrect standard function identifiers in StringCreationFunction #142

Closed mdrozdo closed 4 years ago

mdrozdo commented 4 years ago

Function identifier constants in StringCreationFunction.java are incorrect. Specifically:

    /**
     *  Standard identifier for the String-from-boolean function.
     */
    public static final String NAME_STRING_FROM_DATE_TIME = FUNCTION_NS_3 + "string-from-date";

    /**
     *  Standard identifier for the String-from-boolean function.
     */
    public static final String NAME_STRING_FROM_DATE= FUNCTION_NS_3 + "dateTime-from-string";

This leads to incorrect parameter errors for policies using these 2 functions.