xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Dick H <dick AT wt.net>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] XML whitespace in text
- Date: Mon, 28 Apr 2003 14:32:03 -0500
I was surprised to see XOM remove newlines in my text:
<element>There was a new line here:
2nd line.
</element>
After using Builder and Xerces 2.4 Builder, I get
<element>There was a new line here: 2nd line.
</element>
My reading of XML spec says that any text within an element (but outside tags) is significant, including new lines.
Whats up?
-
[XOM-interest] XML whitespace in text,
Dick H, 04/28/2003
- Re: [XOM-interest] XML whitespace in text, Elliotte Rusty Harold, 04/28/2003
- <Possible follow-up(s)>
- Re: [XOM-interest] XML whitespace in text, Elliotte Rusty Harold, 04/28/2003
- Re: [XOM-interest] XML whitespace in text, Elliotte Rusty Harold, 04/29/2003
- Re: [XOM-interest] XML whitespace in text, Elliotte Rusty Harold, 04/29/2003
Archive powered by MHonArc 2.6.24.