[jdom-commits] CVS update: jdom/src/java/org/jdom

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Wed Apr 18 00:04:17 PDT 2001


Date:	Wednesday April 18, 2001 @ 8:04
Author:	jhunter

Update of /home/cvspublic/jdom/src/java/org/jdom
In directory www.nmemonix.com:/tmp/cvs-serv9455/src/java/org/jdom

Modified Files:
	Element.java IllegalAddException.java 
Log Message:
Modified the addNamespaceDeclaration() method to now ensure the prefix 
doesn't collide with an existing prefix on the element.

Also went back and improved the addAttribute() method to avoid the 
prefix check if the prefix is "", as an easy and common optimization.

Added a new constructor in IllegalAddException to account for a Namespace
illegally added:

public IllegalAddException(Element base, Namespace added, String reason)

Updated the TODO to reflect this work.

-jh-

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

   Working revision:	1.68	Wed Apr 18 07:04:17 2001
   Repository revision:	1.68	/home/cvspublic/jdom/src/java/org/jdom/Element.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.10	Wed Apr 18 07:04:17 2001
   Repository revision:	1.10	/home/cvspublic/jdom/src/java/org/jdom/IllegalAddException.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list