# File lib/nokogiri/hpricot.rb, line 26
      def XML(string)
        warn "Nokogiri::Hpricot.parse is deprecated and will be extracted to it's own gem\nwhen Nokogiri 1.4.0 is released.  Please switch to Nokogiri::XML(), or be\nprepared to install the compatibility layer.\n\#{caller.first}\n"
        doc = Nokogiri::XML::Document.parse(string)
        add_decorators(doc)
      end