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: Tue, 08 Jul 2003 15:03:07 -0500

John Cowan writes:

> I think this covers all cases:
>
> 1. Output every \n as the current line separator.
> 2. Output every \r as a character reference.
> 3. Output every \t as a character reference in attribute values only.
> 4. Output every character not represented in the output encoding as
> a character reference.
> 5. Output every space character using the current output encoding,
> unless you need to break up a line, in which case output it as the
> current line separator.
> 6. Output every other character using the current output encoding.

What about "\r\n" if the current line separator is "\r\n"?

Brad




Archive powered by MHonArc 2.6.24.

Top of Page