Sha256: 3ccf423eac6ec15be745b014f2f457f80fc0a517d68f266925054da90d58a560

Contents?: true

Size: 252 Bytes

Versions: 14

Compression:

Stored size: 252 Bytes

Contents

require 'xml'
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>"
    parser.parse
    assert(parser.context.well_formed?)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
libxml-ruby-0.9.0 test/tc_well_formed.rb
libxml-ruby-0.9.0-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.1 test/tc_well_formed.rb
libxml-ruby-0.9.1-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.2 test/tc_well_formed.rb
libxml-ruby-0.9.2-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.3-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.6-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.4 test/tc_well_formed.rb
libxml-ruby-0.9.4-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.5 test/tc_well_formed.rb
libxml-ruby-0.9.5-x86-mswin32-60 test/tc_well_formed.rb
libxml-ruby-0.9.6 test/tc_well_formed.rb
libxml-ruby-0.9.3 test/tc_well_formed.rb