Sha256: 222ccc6b4063f103fc97d74b9beb8041e0806d20d5d5dec32cad0010bcdbe94f

Contents?: true

Size: 505 Bytes

Versions: 19

Compression:

Stored size: 505 Bytes

Contents

module Nokogiri
  module HTML
    module SAX
      class Parser < XML::SAX::Parser
        
        def native_parse_file(data, encoding) # :nodoc:
          docptr = LibXML.htmlSAXParseFile(data, encoding, cstruct, nil)
          LibXML.xmlFreeDoc docptr
          data
        end

        def native_parse_memory(data, encoding) # :nodoc:
          docptr = LibXML.htmlSAXParseDoc(data, encoding, cstruct, nil)
          LibXML.xmlFreeDoc docptr
          data
        end

      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
akamai_bookmarklet-0.1.2 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/lib/nokogiri/ffi/html/sax/parser.rb
akamai_bookmarklet-0.1.1 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/lib/nokogiri/ffi/html/sax/parser.rb
akamai_bookmarklet-0.1.0 vendor/gems/ruby/1.8/gems/nokogiri-1.3.3/lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.3-x86-mswin32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.3-x86-mingw32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.3-java lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.2-x86-mswin32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.2-x86-mingw32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.2-java lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.0-x86-mingw32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.2 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.3 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.0-java lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.1-x86-mingw32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.0-x86-mswin32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.0 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.1-java lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.1-x86-mswin32 lib/nokogiri/ffi/html/sax/parser.rb
nokogiri-1.3.1 lib/nokogiri/ffi/html/sax/parser.rb