Hi. I have to compare two elements contains inside empty elements. I. e.: <parent_element><empty_element></empty_element></parent_element>
But NodeComparator.compare returns 1. Here my reader: SAXReader reader = new SAXReader(); reader.setStripWhitespaceText(true); reader.setIgnoreComments(true); reader.setMergeAdjacentText(true); Document ret = reader.read(xmlFile); ret.normalize(); return ret.getRootElement(); Is a dom4j bug or am I wrong? Thanks. -- V. Marco Carnazzo ________________________________________________ Cooperativa Anastasis a r.l. Ufficio Web P.zza dei Martiri, 1/2 40100 - Bologna tel. 051/2962185 www.anastasis.it ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user