Hi. The equals() method of the new Text class, like all other JDOM nodes, is based on this==that. Inconsistently, its hashCode() method returns the hashCode of the String content. Was this done in purpose, or is it a mistake? - Noam.