[jdom-commits] CVS update: jdom/src/java/org/jdom/output
cvs at jools.org
cvs at jools.org
Thu Feb 7 05:45:39 PST 2002
Date: Thursday February 7, 2002 @ 8:45
Author: cvs
Update of /home/cvspublic/jdom/src/java/org/jdom/output
In directory jools.org:/tmp/cvs-serv2701
Modified Files:
XMLOutputter.java
Log Message:
Patch from Brad Huffman:
--
Here's a patch, indent() was using the settings of the defaultFormat
instead of the currentFormat settings.
Also fixed a potential problem with the constructor XMLOutputter(XMLOutputter).
Brad
Jason Hunter writes:
> OK, I did a little more advanced testing and found another little bug in
> the xml:space behavior if trim all white is turned on.
>
> This file:
>
> <body xml:space="preserve">
> Here goes the <i xml:space="default"> body</i> and a <a
> xml:space="preserve" href="foo.html">link</a>.
> </body>
>
> becomes
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <body xml:space="preserve">
> Here goes the <i xml:space="default"> body</i> and a <a
> xml:space="preserve" href="foo.html">link</a>.
> </body>
>
> Which is nearly correct except I think " body" should be "body" because
> the <i> tag set the space flag back to default which is trimming all.
> Correct?
--
-jh-
===================================================================
File: no file XMLOutputter.java Status: Needs Checkout
Working revision: 1.74 Thu Feb 7 13:45:39 2002
Repository revision: 1.74 /home/cvspublic/jdom/src/java/org/jdom/output/XMLOutputter.java,v
Existing Tags:
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