Bugs item #651388, was opened at 2002-12-10 11:37 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=651388&group_id=16035
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nikolay Metchev (nikolaymetchev) Assigned to: Nobody/Anonymous (nobody) Summary: addAttribute() with null value Initial Comment: ------------------------------------------------- import org.dom4j.tree.DefaultElement; public class Test { public static void main(String[] args) { DefaultElement el1 = new DefaultElement("element1"); el1.addAttribute("attrib1", "123213"); el1.addAttribute("attrib1", null); System.err.println(el1.asXML()); } } ------------------------------------------------- produces <element1 attrib1=""/> ------------------------------------------------- Surely attrib1 should not appear in the output! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=651388&group_id=16035 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev