Sha256: 37f421ec052e13e77ecdb3ad17ebbbfea2ae6301e6d3b4de4a9537f879bc8c55

Contents?: true

Size: 238 Bytes

Versions: 15

Compression:

Stored size: 238 Bytes

Contents

require "libxml"
require 'test/unit'

class TestWellFormed < Test::Unit::TestCase
  def test_xml_node_doc_get()
    parser = XML::Parser.new
    parser.string = "<p>I am well formed</p>"
    assert(parser.context.well_formed?)
  end
end

Version data entries

15 entries across 15 versions & 5 rubygems

Version Path
libxml-jruby-modified-1.0.2-jruby test/tc_well_formed.rb
libxml-jruby-modified-1.0.1-jruby test/tc_well_formed.rb
libxml-fixed-jruby-1.0.0-jruby test/tc_well_formed.rb
libxml-jruby-fixed-1.0.0-jruby test/tc_well_formed.rb
libxml-jruby-1.0.0 test/tc_well_formed.rb
libxml-ruby-0.7.0-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.7.0 test/tc_well_formed.rb
libxml-ruby-0.8.2 test/tc_well_formed.rb
libxml-ruby-0.8.1 test/tc_well_formed.rb
libxml-ruby-0.8.0 test/tc_well_formed.rb
libxml-ruby-0.8.0-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.8.1-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.8.2-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.8.3-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.8.3 test/tc_well_formed.rb