From: Nick Sieger Date: 2005-10-20T23:57:43+09:00 Subject: Re: REXML escaping seems broken ------=_Part_4734_31967466.1129820260849 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/20/05, Trejkaz wrote: > > It seems like the only workaround for this is to manually escape all > strings correctly and then pass as raw into REXML. But if I'm going to > go to that much trouble, there's really no point in using the library > in the first place as it becomes just as easy to concatenate some > strings together. > > Do people consider this to be a real bug? Perhaps the docs for REXML::Text::new will illuminate the situation: http://ruby-doc.org/stdlib/libdoc/rexml/rdoc/classes/REXML/Text.html#M00288= 6 You may also be interested in Sam Ruby's xchar.rb experiment: http://www.intertwingly.net/blog/2005/09/28/XML-Cleansing Cheers, /Nick ------=_Part_4734_31967466.1129820260849--