On Feb 13, 2007, at 2:13 AM, Coda Hale wrote:

On 2/12/07, Edward Summers <[EMAIL PROTECTED]> wrote:
Mysteriously, I get two failures for the unit tests. I haven't had
time to dig in and see why it's only affecting me.
<"<delete>\n  <query>&#xEB;&#xE4;&#xEF;&#xF6;&#xFC;</query>\n</
delete>"> expected to be =~
</<delete>[\s]*<query>\303\253\303\244\303\257\303\266\303\274<\/
query>[\s]*<\/delete>/m>.

Hmm. This looks like a problem with the test. Let me guess -- you
don't have libxml-ruby installed?

Looks like REXML encodes the characters as entities rather than leave
them as characters.

Anyone got a good idea of how to normalize the tests here?

Strangely I do have libxml-ruby-0.3.8.4 installed:

frizz:~/Projects/solr/client/ruby/solrb edsu$ xml2-config --version
2.6.23
frizz:~/Projects/solr/client/ruby/solrb edsu$ irb
irb(main):001:0> require 'xml/libxml'
irb(main):002:0>

//Ed

Reply via email to