commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30839] - [configuration] ClassCastException in XMLConfiguration
Date Wed, 25 Aug 2004 09:35:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30839>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30839

[configuration] ClassCastException in XMLConfiguration





------- Additional Comments From hermod.opstvedt@dnb.no  2004-08-25 09:35 -------
That should of course be :        Element child = document.
createElement(nodes[nodes.length - 1]);
        parent.appendChild(child);
        if (attName == null) {
            CharacterData data = document.createTextNode(value.toString());
            child.appendChild(data);
        } else {
            child.setAttribute(attName, value.toString);
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message