#134: require 'rexml/document' fails ------------------------------------+--------------------------------------- Reporter: rebo...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ------------------------------------+---------------------------------------
Comment(by mattaimone...@…): Because the constants are not inherited properly, we need to reopen the Attribute class and include the module defining the constants we are after. You can use the following hack to get rexml working until this problem gets resolved: {{{ require 'rexml/xmltokens' module REXML class Attribute include ::REXML::XMLTokens end end }}} You can put the hotpatch in a ruby file and require it before loading rexml/client or rexml/document. - Matt -- Ticket URL: <http://www.macruby.org/trac/ticket/134#comment:5> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel