What's the Difference between ExceptionCode and Node Type in DOM spec?

Hyoungsoo Yoon (hyoung@fiz.huji.ac.il)
Thu, 17 Sep 1998 00:13:01 +0200


Hi everybody,

ExceptionCode is declared as enumerator, whereas
node types are simply defined constants in the level 1 DOM spec.
I would expect node types also to be enumerators, or else
just define ExceptionCode as constants for consistency.

Is there a reason why these two variables are declared differently?
Thanks, youngsoo