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: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Extra white space escaping to preserve the infoset
  • Date: Mon, 07 Jul 2003 14:38:37 -0500

Elliotte Rusty Harold writes:

> At 10:48 AM -0500 7/7/03, Bradley S. Huffman wrote:
> >I'm beginning to wonder if adding the methods appendValue(String value) and
> >appendEntity(String name) (or maybe just appendCharRef(char ch)) to
> >Attribut
> e
> >would make life simpler for everyone.
>
> No, that adds too much complexity for way too little benefit. Plus it
> mixes up the structure and the syntax. XOM does not model anything at
> the syntax layer.

As opposed to having complicated rules about when escaping will/will not
occur? Ok, then make it super simple, cr, lf, and such in attribute values
will always be escaped as char. ref. regradless of any other settings.

Brad




Archive powered by MHonArc 2.6.24.

Top of Page