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

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Fri Dec 22 19:22:57 PST 2000


Date:	Saturday December 23, 2000 @ 3:22
Author:	jhunter

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

Modified Files:
	Element.java Namespace.java 
Log Message:
Added to Element the method Namespace getNamespace(String prefix).
It returns the Namespace in scope with the given prefix.  It was 
suggested by Elliotte as a way to help with attributes whose values
include namespaces, like <xsl:template match="sg:title">.

Also improved Namespace toString() method to double quote the prefix,
so instead of saying 

[Namespace: prefix  is mapped to URI "http://1.2.3"]

it now says

[Namespace: prefix "" is mapped to URI "http://1.2.3"]

-jh-

===================================================================
File: Element.java     	Status: Up-to-date

   Working revision:	1.52	Sat Dec 23 03:22:57 2000
   Repository revision:	1.52	/home/cvspublic/jdom/src/java/org/jdom/Element.java,v

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

===================================================================
File: Namespace.java   	Status: Up-to-date

   Working revision:	1.16	Sat Dec 23 03:22:57 2000
   Repository revision:	1.16	/home/cvspublic/jdom/src/java/org/jdom/Namespace.java,v

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




More information about the jdom-commits mailing list