In this snippet from cfHEADER.java in the current src:

public cfTagReturnType render(cfSession _Session) throws
cfmRunTimeException {

        if (containsAttribute("NAME")) {
                String name = getDynamic(_Session, "NAME").getString();
                String value = null;
                if (containsAttribute("CHARSET")) {
                        String charset = getDynamic(_Session, 
"CHARSET").getString();
                        try {
                                value =
                                        new String(
                                                getDynamic(_Session, 
"VALUE").getString().getBytes(),
                                                charset);
                        } catch (UnsupportedEncodingException u) {
                                throw newRunTimeException(
                                        "Unsupported CHARSET specified [" + 
charset + "]");
                        }
                } else {
                        value = getDynamic(_Session, "VALUE").getString();
                }
...
}
It looks like in every case if the charset attribute is set than the
value attribute will always be null. Am I reading this right? If so,
then I think I found a bug.



--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to