> > #BEGIN test.rb
> > str = '<a id="two"/>' # snip XML dtd/doc
> > root = XML::Parser.new().string=(str).root
> > node_set = root.pointer('xpointer(id("two"))')
> > node_set.each{|n| p n}
> > #END test.rb
> 
> XML::Parser.class_eval {alias set_string string=}
> root = XML::Parser.new().set_string(str).root

I know how to work around it...  doesn't make it "right" though.  :)

> > *grump* I'll stop pouting now, but I think this was a step in the
> > wrong direction. -sc
> 
> It depends on what user expects.  Probably, Assignment would be
> expected to work as assignment in most cases.

What was wrong with having the receiver set the return value though?
I guess I don't understand why this would be a good change on any
level or why the old behavior was changed.  -sc

-- 
Sean Chittenden