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: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • 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: Mon, 7 Jul 2003 16:07:27 -0400

At 2:38 PM -0500 7/7/03, Bradley S. Huffman wrote:


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.

It's a question of where to put the complexity. Right now it's all hidden from the end user. That proposal makes end users do a lot more work to achieve the same affect. The internals of XOM are more complex, but making the outer API look simple is hard work. That's no surprise. The bottom line is that if XOM gets this right, then the client should not need to worry or care about how XOM does it. It should just work.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page