[jdom-commits] CVS Update: jdom/src/java/org/jdom/output
nobody
nobody at chimbo.servlets.com
Wed Feb 18 21:15:06 PST 2004
****************************************
Date: Wed Feb 18, 2004 @22:15:06 MST
Author:
Update of /home/cvs/jdom/src/java/org/jdom/output
In directory chimbo:/tmp/cvs-serv27958/output
Modified Files:
XMLOutputter.java
Log Message:
Patch from Brad. No API changes. In his words:
Patch for XMLOutputter that
a) Fixes entity ref printing in pretty print mode. Previously pretty
printing would print entity refs on a seperate line from surronding
text.
b) character references for round-tripping, see
http://lists.denveronline.net/lists/jdom-interest/2003-July/013227.html
However testing lead to another bug with consecutive Text nodes. If
Element test = new Element("test");
test.add(new Text("123 "));
test.add(new Text(" 456"));
will be printed as "123 456" (1 space), instead of "123 456" (2 spaces)
in pretty print mode.
Brad
(JH: I don't care overly much about the pretty print bug. I think one
space is prettier anyway.)
-jh-
===================================================================
File: no file XMLOutputter.java Status: Needs Checkout
Working revision: 1.104 Thu Feb 19 05:15:06 2004
Repository revision: 1.104 /home/cvs/jdom/src/java/org/jdom/output/XMLOutputter.java,v
Existing Tags:
jdom_1_0_b10 (revision: 1.102)
jdom_1_0_b10_rc1 (revision: 1.101)
after_rolf (revision: 1.100)
before_rolf (revision: 1.100)
jdom_1_0_b9 (revision: 1.91)
jdom_1_0_b8 (revision: 1.76)
jdom_prefilter (revision: 1.66)
jdom_1_0_b7 (revision: 1.62)
jdom_1_0_b6 (revision: 1.35)
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
More information about the jdom-commits
mailing list