xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Serializer.lineSeparator not preserved
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Serializer.lineSeparator not preserved
- Date: Thu, 24 Nov 2005 08:59:19 -0500
Wolfgang Hoschek wrote:
I think the last line of Serializer.setOutputStream(OutputStream out) should read
if (escaper.lineSeparatorSet) setLineSeparator(lineSeparator);
Right now, the lineSeparator would be set even though it wasn't set before, altering whitespace preserving semantics on subsequent output streams.
I think I've got a test for this one now. There may be a separate bug in the escaping of line separators as well. I'm working on that.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] Serializer.lineSeparator not preserved,
Wolfgang Hoschek, 11/23/2005
- Re: [XOM-interest] Serializer.lineSeparator not preserved, Elliotte Harold, 11/24/2005
-
Re: [XOM-interest] Serializer.lineSeparator not preserved,
Elliotte Harold, 11/24/2005
- Re: [XOM-interest] Serializer.lineSeparator not preserved, Elliotte Harold, 11/24/2005
Archive powered by MHonArc 2.6.24.