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: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Extra white space escaping to preserve the infoset
  • Date: Tue, 8 Jul 2003 18:09:03 -0400

Bradley S. Huffman scripsit:

> Then it better be documented! documented! and documented! Not only in
> Serializer, but in every classes with a setValue method or equivalent, or
> because of Murphy's Law, it will happen, and it will cause confusion.

I agree.

> This is one thing I've learned from the JDOM project, every time you try to
> do something automagically it bites you big time. Best not to do it and
> provide better documentation.

It can't be helped; this is what XML parsers do. They convert all line
endings
to \n so that applications don't have to worry about the differences between
different line endings.

--
John Cowan jcowan AT reutershealth.com www.ccil.org/~cowan
www.reutershealth.com
I must confess that I have very little notion of what [s. 4 of the British
Trade Marks Act, 1938] is intended to convey, and particularly the sentence
of 253 words, as I make them, which constitutes sub-section 1. I doubt if
the entire statute book could be successfully searched for a sentence of
equal length which is of more fuliginous obscurity. --MacKinnon LJ, 1940




Archive powered by MHonArc 2.6.24.

Top of Page