public void testEqualsAttributes() throws Exception {
  final String xml="<dom a='1' b='2'/>";
  XppDom dom1=XppFactory.buildDom(xml);
  XppDom dom2=XppFactory.buildDom(xml);
  assertEquals(comparator,dom1,dom2);
  assertNull(xpath.get());
}

public void testEqualsAttributes ( ) throws Exception { final String xml = "<dom a='1' b='2'/>" ; XppDom dom1 = XppFactory . buildDom ( xml ) ; XppDom dom2 = XppFactory . buildDom ( xml ) ; assertEquals ( comparator , dom1 , dom2 ) ; assertNull ( xpath . get ( ) ) ; }
tests comparison of attributes .
