[jdom-commits] CVS Update: jdom/src/java/org/jdom/input

nobody nobody at chimbo.servlets.com
Sun May 4 23:57:57 PDT 2003


****************************************
Date:   Mon May  5, 2003 @00:57:57 MDT
Author: 

Update of /home/cvs/jdom/src/java/org/jdom/input
In directory chimbo:/tmp/cvs-serv7399/src/java/org/jdom/input

Modified Files:
SAXHandler.java
Log Message:
A change suggested by Rusty. I went with _TYPE instead of _ATTRIBUTE
for the constant names. I think Attribute.UNDECLARED_TYPE is better
than Attribute.UNDECLARED. I marked the old values as deprecated.

Here's Rusty's mail:

--
The attribute type constant names in org.jdom.Attribute are redundant. They are

Attribute.CDATA_ATTRIBUTE
Attribute.ID_ATTRIBUTE
Attribute.IDREFS_ATTRIBUTE, etc.

I suggest either

Attribute.CDATA_TYPE
Attribute.ID_TYPE
Attribute.IDREFS_TYPE etc.

or just

Attribute.CDATA
Attribute.ID
Attribute.IDREFS

There's no need to use the word "Attribute" twice here.
--

-jh-

===================================================================
File: no file SAXHandler.java		Status: Needs Checkout

   Working revision:	1.54	Mon May  5 06:57:57 2003
   Repository revision:	1.54	/home/cvs/jdom/src/java/org/jdom/input/SAXHandler.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.50)
	jdom_1_0_b8              	(revision: 1.39)
	jdom_prefilter           	(revision: 1.27)
	jdom_1_0_b7              	(revision: 1.18)




More information about the jdom-commits mailing list