Aaron Patterson wrote:
> On Mon, Sep 06, 2010 at 05:02:09AM +0900, Joshua Ballanco wrote:
>> On Sep 5, 2010, at 12:28 PM, Giuseppe Bilotta wrote:
>>
>>> On Sun, Sep 5, 2010 at 9:19 PM,  <brabuhr / gmail.com> wrote:
>>>> On Sat, Sep 4, 2010 at 4:30 PM, James Edward Gray II <james / graysoftinc.com> wrote:
>>>>> On Sep 4, 2010, at 3:19 PM, Benoit Daloze wrote:
>>>>>
>>>>>> It would of course be even easier if Nokogiri was made the default.
>>>>> Yeah, I'm surprised to see so little support for Nokogiri.  I would be very for adding it.
>>>> ...
> 
> Writing an adapter for Nokogiri to quack like REXML is *very* hard (I've
> tried).
> 
> Off the top of my head, there are a few large problems:  1) libxml2's
> dependence on a context document, 2) rexml doesn't always follow XPath spec,
> 3) lack of REXML tests.

#2 seems to me to be more like bugs that should be reported
and fixed, rather than something to be baked into
a not-quite-XPath-for-ruby-psuedostandard that other libraries
have to clone bug-for-bug; no?

Perhaps #3 as well.