On Jul 17, 12:15 pm, Charlie Savage <[EMAIL PROTECTED]> wrote:
> Something we didn't consider with the new LibXML namespace.
>
> We broke everyone's extensions.  For instance, I was emailed this example:
>
> Comment out the following 4 lines and the test will pass (in 0.8.1).
> class XML::Document
>      def a_methodname_very_unlikely_to_be_used_in_this_class arg
>      end
> end
>
> Which of course doesn't work anymore, since it should be
> LibXML::XML::Document.

No. That's not correct:

>> module LibXML
>>   class XML
>>   end
>> end
=> nil
>>
?> include LibXML
=> Object
>> class XML
>>   def q; "q"; end
>> end
=> nil
>> XML.new.q
=> "q"
>>

What's the problem?

T.
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to