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: Laurent Bihanic <laurent.bihanic AT atosorigin.com>
  • To: "Bradley S. Huffman" <hip AT csa.cs.okstate.edu>
  • Cc: Elliotte Rusty Harold <elharo AT metalab.unc.edu>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Extra white space escaping to preserve the infoset
  • Date: Thu, 03 Jul 2003 18:28:20 +0200


Bradley S. Huffman wrote:
I also saved his e-mail for further cogitation. I coming to the conclusion
that since having a cr, lt, tab, etc. in a attribute value is a purposeful act, the sequence serialize -> unserialize should preserve all characters. So I think XOM serializer (and JDOM's XMLOutputter) should
always escape.

+1. XOM should also ensure safe roundtrip for such documents. Maybe this would require changes in the builder too.

Laurent





Archive powered by MHonArc 2.6.24.

Top of Page