[jdom-interest] Inconsistencies

bob mcwhirter bob at werken.com
Wed Aug 1 11:41:05 PDT 2001


Working on the JDOM DocumentNavigator for Jaxen, and am noticing
inconsistencies in the API:

To obtain the text of a Text node, we use getValue(), where to obtain
the text of CDATA node, we have getText().

This misalignment will make it more difficult to install a common
interface for all text-related nodes, or to inherit CDATA from Text.

	-bob




More information about the jdom-interest mailing list