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

bmclaugh at cvs.jdom.org bmclaugh at cvs.jdom.org
Mon Nov 26 06:53:28 PST 2001

Date:	Monday November 26, 2001 @ 14:53
Author:	bmclaugh

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

Modified Files:
Log Message:
Several changes put in place here:

* build.xml changed so that the 'fixcrlf' task now uses the 'eol' attribute
  instead of the now-deprecated (by Ant) 'cr' attribute.

* Patch to Document.java from Alex Rosen to ensure that DocTypes that are "un"-
  set (by setting a new DocType) have their reference to a parent Document set
  to null.

* Patch to XMLOutputter.java, also from Alex Rosen, to improve performance of
  XMLOutputter. Here's the note from Alex:

I did a little profiling today. Using Dennis' benchmark, I was able to speed
up XMLOutputter by 20% by using a BufferedWriter. Yes, you have to buffer
both the writer and the stream for the best performance.

I got another 15-20% speedup by optimizing escapeAttributeEntities() and
escapeElementEntities() for the common case where no escaping is actually
necessary. When it is necessary, the new code should be about as fast, I

File: no file Document.java		Status: Needs Checkout

   Working revision:	1.46	Mon Nov 26 14:53:28 2001
   Repository revision:	1.46	/home/cvspublic/jdom/src/java/org/jdom/Document.java,v

   Existing Tags:
	jdom_1_0_b7              	(revision: 1.44)
	jdom_1_0_b6              	(revision: 1.25)
	start                    	(revision:
	jdom                     	(branch: 1.1.1)

More information about the jdom-commits mailing list