Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Extra white space escaping to preserve the infoset

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • Cc: Elliotte Rusty Harold <elharo AT metalab.unc.edu>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Extra white space escaping to preserve the infoset
  • Date: Wed, 9 Jul 2003 18:12:47 -0400

Bradley S. Huffman scripsit:

> The only reason I can come up with is so you can view your document
> in a brain-dead editor that cann't be switch from a single \n and to
> \r\n to get a line break.

It's not just editors: Unix text processing tools don't expect to find
\r\n as the line terminator, and treat the \r as part of the data.

BTW, the default lineSeparator is \r\n, but that's not documented in
the JavaDoc (either under Node or under Serializer). It should be.

Also, the page http://www.xom.nu points to the d12 version rather than
the current one.

--
Income tax, if I may be pardoned for saying so, John Cowan
is a tax on income. --Lord Macnaghten (1901)
jcowan AT reutershealth.com




Archive powered by MHonArc 2.6.24.

Top of Page