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

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/output
In directory chimbo:/tmp/cvs-serv7399/src/java/org/jdom/output

Modified Files:
SAXOutputter.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 SAXOutputter.java		Status: Needs Checkout

   Working revision:	1.32	Mon May  5 06:57:57 2003
   Repository revision:	1.32	/home/cvs/jdom/src/java/org/jdom/output/SAXOutputter.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.30)
	jdom_1_0_b8              	(revision: 1.18)
	jdom_prefilter           	(revision: 1.16)
	jdom_1_0_b7              	(revision: 1.11)
	jdom_1_0_b6              	(revision: 1.4)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list