From: "James Britt (rubydev)" Date: 2001-11-15T14:21:31+09:00 Subject: [ruby-talk:25247] Re: ANN: REXML 1.1a3 > Should REXML convert "'" and '"' into ' and "? > At least, the behavior: > > foo_str = "" > foo = REXML::Element.new("foo") > foo.attributes["bar"] = "aaa'bbb\"ccc" > foo.write(foo_str) > p foo_str #=> "" > > is odd. Worse, it's not XML. I would vote for automatic encoding of the quote characters to help avoid this type of error. James > > > Regards, > > TAKAHASHI Masayoshi (maki@inac.co.jp) >