props2.put("jndi.syntax.ignorecase", "false");
props2.put("jndi.syntax.trimblanks", "true");
CompoundName abcd_tb = new CompoundName("a/b/c/d", props2);
CompoundName _a_b_c_d_tb = new CompoundName(" a / b / c / d ", props2);
assertEquals(0, abcd_tb.compareTo(_a_b_c_d_tb));
assertEquals(0, _a_b_c_d_tb.compareTo(abcd_tb));
assertEquals(0, abcd_tb.compareTo(abcd));
assertEquals(0, abcd.compareTo(abcd_tb));
assertEquals(65, abcd.compareTo(_a_b_c_d_tb));
assertEquals(0, _a_b_c_d_tb.compareTo(abcd));
}