Since I can't tackle this at the moment, I've queued it up in JIRA:
<https://issues.apache.org/jira/browse/SOLR-163>
I've not seen any local test failures like this myself, so this is an
odd one.
Erik
On Feb 13, 2007, at 1:11 PM, Edward Summers wrote:
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>ëäïöü</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