<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,6 +33,10 @@
   * Fixed SEGV when adding an XML::Document to NodeSet
   * XML::SyntaxError can be duplicated. GH #148
 
+* Deprecations
+
+  * Hpricot compatibility layer removed
+
 === 1.3.3 / 2009/07/26
 
 * New Features</diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -82,11 +82,6 @@ lib/nokogiri/css/syntax_error.rb
 lib/nokogiri/css/tokenizer.rb
 lib/nokogiri/css/tokenizer.rex
 lib/nokogiri/css/xpath_visitor.rb
-lib/nokogiri/decorators.rb
-lib/nokogiri/decorators/hpricot.rb
-lib/nokogiri/decorators/hpricot/node.rb
-lib/nokogiri/decorators/hpricot/node_set.rb
-lib/nokogiri/decorators/hpricot/xpath_visitor.rb
 lib/nokogiri/decorators/slop.rb
 lib/nokogiri/ffi/html/document.rb
 lib/nokogiri/ffi/html/element_description.rb
@@ -148,7 +143,6 @@ lib/nokogiri/ffi/xml/text.rb
 lib/nokogiri/ffi/xml/xpath.rb
 lib/nokogiri/ffi/xml/xpath_context.rb
 lib/nokogiri/ffi/xslt/stylesheet.rb
-lib/nokogiri/hpricot.rb
 lib/nokogiri/html.rb
 lib/nokogiri/html/builder.rb
 lib/nokogiri/html/document.rb
@@ -223,20 +217,6 @@ test/files/staff.xslt
 test/files/tlm.html
 test/files/valid_bar.xml
 test/helper.rb
-test/hpricot/files/basic.xhtml
-test/hpricot/files/boingboing.html
-test/hpricot/files/cy0.html
-test/hpricot/files/immob.html
-test/hpricot/files/pace_application.html
-test/hpricot/files/tenderlove.html
-test/hpricot/files/uswebgen.html
-test/hpricot/files/utf8.html
-test/hpricot/files/week9.html
-test/hpricot/files/why.xml
-test/hpricot/load_files.rb
-test/hpricot/test_parser.rb
-test/hpricot/test_preserved.rb
-test/hpricot/test_xml.rb
 test/html/sax/test_parser.rb
 test/html/sax/test_parser_context.rb
 test/html/test_builder.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -26,8 +26,6 @@ XML/HTML&#12398;&#39640;&#36895;&#12394;&#35299;&#26512;&#12392;&#25506;&#32034;&#26908;&#32034;&#12289;&#12394;&#12425;&#12403;&#12395;CSS3&#12475;&#12524;&#12463;&#12479;&#12392;XPath
 
   * http://gist.github.com/24605
 
-&#12414;&#12383;&#12289;Nokogiri&#12399;Hpricot&#20114;&#25563;&#12398;&#29305;&#24500;&#12434;&#25345;&#12385;&#12289;CSS&#12420;XPath&#12418;&#31777;&#21336;&#12395;&#21462;&#12426;&#25201;&#12358;&#12371;&#12392;&#12364;&#20986;&#26469;&#12414;&#12377;&#12290;
-
 == SUPPORT:
 
 Nokogiri&#12398;&#12513;&#12540;&#12522;&#12531;&#12464;&#12522;&#12473;&#12488;:</diff>
      <filename>README.ja.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,6 @@ enough of it.
 * XPath support for document searching
 * CSS3 selector support for document searching
 * XML/HTML builder
-* Drop in replacement for Hpricot (though not bug for bug)
 
 Nokogiri parses and searches XML/HTML very quickly, and also has
 correctly implemented CSS3 selector support as well as XPath support.
@@ -28,9 +27,6 @@ Here is a speed test:
 
   * http://gist.github.com/24605
 
-Nokogiri also features an Hpricot compatibility layer to help ease the change
-to using correct CSS and XPath.
-
 == SUPPORT:
 
 The Nokogiri {mailing list}[http://groups.google.com/group/nokogiri-talk]</diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -20,7 +20,7 @@ require 'nokogiri/syntax_error'
 require 'nokogiri/xml'
 require 'nokogiri/xslt'
 require 'nokogiri/html'
-require 'nokogiri/decorators'
+require 'nokogiri/decorators/slop'
 require 'nokogiri/css'
 require 'nokogiri/html/builder'
 require 'nokogiri/hpricot'</diff>
      <filename>lib/nokogiri.rb</filename>
    </modified>
    <modified>
      <diff>@@ -312,6 +312,11 @@ module Nokogiri
         assert_equal('&lt;p&gt;Helloworld!&lt;/p&gt;', node.inner_html.gsub(/\s/, ''))
       end
 
+      def test_round_trip
+        doc = Nokogiri::HTML(@html.inner_html)
+        assert_equal @html.root.to_html, doc.root.to_html
+      end
+
       def test_fragment_contains_text_node
         fragment = Nokogiri::HTML.fragment('fooo')
         assert_equal 1, fragment.children.length</diff>
      <filename>test/html/test_document.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,6 +17,14 @@ module Nokogiri
         eohtml
       end
 
+      def test_get_attribute
+        element = @html.at('div')
+        assert_equal 'baz', element.get_attribute('class')
+        assert_equal 'baz', element['class']
+        element['href'] = &quot;javascript:alert(\&quot;AGGA-KA-BOO!\&quot;)&quot;
+        assert_match(/%22AGGA-KA-BOO!%22/, element.to_html)
+      end
+
       def test_css_path_round_trip
         doc = Nokogiri::HTML File.read HTML_FILE
         %w{ #header small div[2] div.post body }.each do |css_sel|</diff>
      <filename>test/html/test_node.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,6 +13,12 @@ module Nokogiri
         assert_equal('&lt;!--hello world--&gt;', comment.to_s)
       end
 
+      def test_comment?
+        comment = Nokogiri::XML::Comment.new(@xml, 'hello world')
+        assert(comment.comment?)
+        assert(!@xml.root.comment?)
+      end
+
       def test_many_comments
         100.times {
           Nokogiri::XML::Comment.new(@xml, 'hello world')</diff>
      <filename>test/xml/test_comment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,6 +10,14 @@ module Nokogiri
         @xml = Nokogiri::XML(File.read(XML_FILE), XML_FILE)
       end
 
+      def test_element?
+        assert @xml.root.element?, 'is an element'
+      end
+
+      def test_slash_search
+        assert_equal 'EMP0001', (@xml/:staff/:employee/:employeeId).first.text
+      end
+
       def test_append_with_document
         assert_raises(ArgumentError) do
           @xml.root &lt;&lt; Nokogiri::XML::Document.new</diff>
      <filename>test/xml/test_node.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/nokogiri/decorators.rb</filename>
    </removed>
    <removed>
      <filename>lib/nokogiri/decorators/hpricot.rb</filename>
    </removed>
    <removed>
      <filename>lib/nokogiri/decorators/hpricot/node.rb</filename>
    </removed>
    <removed>
      <filename>lib/nokogiri/decorators/hpricot/node_set.rb</filename>
    </removed>
    <removed>
      <filename>lib/nokogiri/decorators/hpricot/xpath_visitor.rb</filename>
    </removed>
    <removed>
      <filename>lib/nokogiri/hpricot.rb</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/basic.xhtml</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/boingboing.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/cy0.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/immob.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/pace_application.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/tenderlove.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/uswebgen.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/utf8.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/week9.html</filename>
    </removed>
    <removed>
      <filename>test/hpricot/files/why.xml</filename>
    </removed>
    <removed>
      <filename>test/hpricot/load_files.rb</filename>
    </removed>
    <removed>
      <filename>test/hpricot/test_parser.rb</filename>
    </removed>
    <removed>
      <filename>test/hpricot/test_preserved.rb</filename>
    </removed>
    <removed>
      <filename>test/hpricot/test_xml.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>ceb00ef93387ce32d89e30d397bafbaa374a7228</id>
    </parent>
  </parents>
  <author>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </author>
  <url>http://github.com/tenderlove/nokogiri/commit/888b667ce46ad451d9eb8668965d900fef956b08</url>
  <id>888b667ce46ad451d9eb8668965d900fef956b08</id>
  <committed-date>2009-10-14T18:47:34-07:00</committed-date>
  <authored-date>2009-10-14T18:47:34-07:00</authored-date>
  <message>Squashed commit of the following:

commit 94339991388f50355f840ec1654ef38ff2ee23c7
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 18:47:03 2009 -0700

    updating changelog

commit f69ed6ae46138961f1b50ddbcd2b80496cfd4a05
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 18:46:23 2009 -0700

    updating readme

commit c92bf4ec0197d8bef0c9ed0ff2dd10f5ae9f38b8
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 18:44:30 2009 -0700

    cleaning up manifest

commit 33b7ff52e478fec95e4562fd112b67672775d3dd
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 18:42:38 2009 -0700

    removing hpricot compat layer

commit d7a62bcc4adbb53aac7499e1d6d5bda07d32a059
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 18:15:55 2009 -0700

    cleaning up tests

commit d58ddb222cb49884823dce4798ef67425c06d8f4
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 17:57:08 2009 -0700

    removing test

commit 336eb89e17369b740de976b44fcbe4bc5b025869
Author: Aaron Patterson &lt;aaron.patterson@gmail.com&gt;
Date:   Wed Oct 14 17:54:47 2009 -0700

    removing unused test</message>
  <tree>c0622a88fa4bdde0e659a768564efe3e6aa24884</tree>
  <committer>
    <name>Aaron Patterson</name>
    <email>aaron.patterson@gmail.com</email>
  </committer>
</commit>
