[libxml-devel] Breaking old classes

Sean Chittenden sean at chittenden.org
Thu Jul 17 12:39:58 EDT 2008


> 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.
>
> Easy to fix of course, but it means everyone has to change their  
> custom code.  Sigh.


That's why I was suggesting the XML::* by default and ability to wrap  
things if required/desired.  :)  -sc

--
Sean Chittenden
sean at chittenden.org





More information about the libxml-devel mailing list