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: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • To: John Cowan <jcowan AT reutershealth.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Extra white space escaping to preserve the infoset
  • Date: Wed, 09 Jul 2003 15:53:46 -0500

John Cowan writes:

> > >Elliotte Rusty Harold scripsit:
> > >
> > >> The default will be for the serializer not to change the infoset in
> > >> any way. However, if user tells the serializer to adjust the infoset
> > >> as regards white space, then in my opinion they have said that white
> > >> space is not significant.
>
> [snip]
>
> > d18 is doing everything except 1 and 2. d19 will do all of this.
>
> Good. Then the remaining point is whether setting the line terminator is
> "tell[ing] the serializer to adjust the infoset as regards white space".
> I contend that it is not, and that the default mode should remain
> in effect.

I agree it is not. But setting a max. line length or indentation is and XOM
should then feel free to do any adjusting it needs to for "pretty printing".

Brad




Archive powered by MHonArc 2.6.24.

Top of Page