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

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Fri Dec 22 17:48:29 PST 2000

Date:	Saturday December 23, 2000 @ 1:48
Author:	jhunter

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

Modified Files:
Log Message:
Added logic to DOMOutputter to add xmlns attributes to the DOM tree
where appropriate.  They're not technically necessary, but they allow
us to round-trip cleanly (doc->domout->domin == doc).  They're also
handy because they let code written against DOM1 see the tree in its
raw form, xmlns attributes and all.

After adding this logic, the output time is faster, basically just 2%
slower than where it started.  The times are strikingly consistent across 
each run, but vary between minor code changes, so the up-and-down probably
has to do with JVM caching or JIT effects, and not my new implementation.


File: DOMOutputter.java	Status: Up-to-date

   Working revision:	1.13	Sat Dec 23 01:48:29 2000
   Repository revision:	1.13	/home/cvspublic/jdom/src/java/org/jdom/output/DOMOutputter.java,v

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

More information about the jdom-commits mailing list