From: Ben Schumacher Date: 2001-11-16T02:40:26+09:00 Subject: [ruby-talk:25291] Re: ANN: REXML 1.1a3 Tobias Reif wrote: >What would be the point then? Then the output of an XML writer can't be >read by an XML parser. If it's an XML writer, it should @ least be >possible to generate a well-formed document. >When there's a package parser+writer, and I input a well-formed >document, then call the writer to serialize all out, I want to get an >equivalent (entities resolved), well-formed document as output. I would agree with this, for the 'write' output. However, I would argue that if I'm going to be just extracting the CDATA from an element or the value of an attribute, it would be nice to have the data automatically transformed to the characters, rather than getting resolved entities. Regards, Ben