Bugs item #3462449, was opened at 2011-12-19 06:53 Message generated for change (Tracker Item Submitted) made by maximalz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=3462449&group_id=16035
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: dom4j 1.6.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Frank Jakop (maximalz) Assigned to: Nobody/Anonymous (nobody) Summary: NodeComparator NPE comparing element with different attribut Initial Comment: When I use the NodeComparator to compare two elements (or documents), which contain an element whose attribute's names are different, a NPE occurs. XML 1 <element attribute1="value"/> XML 2 <element attribute2="value"/> new NodeComparator().compare(xml1, xml2) leads to java.lang.NullPointerException at org.dom4j.util.NodeComparator.compare(NodeComparator.java:199) at org.dom4j.util.NodeComparator.compare(NodeComparator.java:184) ... A JUnit-Test is attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=3462449&group_id=16035 ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev