xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] Serializer.lineSeparator not preserved
- From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] Serializer.lineSeparator not preserved
- Date: Wed, 23 Nov 2005 15:29:35 -0800
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.
Wolfgang.
-
[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.