libxml-ruby 0.9.5 → 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/CHANGES +28 -0
  2. data/README +8 -12
  3. data/ext/libxml/cbg.c +86 -86
  4. data/ext/libxml/libxml.c +875 -899
  5. data/ext/libxml/ruby_libxml.h +91 -65
  6. data/ext/libxml/ruby_xml_attr.c +485 -485
  7. data/ext/libxml/ruby_xml_attr.h +3 -3
  8. data/ext/libxml/ruby_xml_attributes.h +2 -2
  9. data/ext/libxml/ruby_xml_document.c +124 -307
  10. data/ext/libxml/ruby_xml_document.h +3 -3
  11. data/ext/libxml/ruby_xml_dtd.c +119 -119
  12. data/ext/libxml/ruby_xml_dtd.h +2 -2
  13. data/ext/libxml/ruby_xml_error.c +1 -1
  14. data/ext/libxml/ruby_xml_error.h +2 -2
  15. data/ext/libxml/ruby_xml_html_parser.c +119 -119
  16. data/ext/libxml/ruby_xml_html_parser.h +3 -3
  17. data/ext/libxml/ruby_xml_input.c +13 -11
  18. data/ext/libxml/ruby_xml_input.h +3 -3
  19. data/ext/libxml/ruby_xml_input_cbg.c +197 -197
  20. data/ext/libxml/ruby_xml_namespace.c +158 -0
  21. data/ext/libxml/ruby_xml_namespace.h +12 -0
  22. data/ext/libxml/ruby_xml_namespaces.c +303 -0
  23. data/ext/libxml/{ruby_xml_ns.h → ruby_xml_namespaces.h} +4 -5
  24. data/ext/libxml/ruby_xml_node.c +88 -293
  25. data/ext/libxml/ruby_xml_node.h +4 -4
  26. data/ext/libxml/ruby_xml_parser.c +152 -152
  27. data/ext/libxml/ruby_xml_parser.h +3 -3
  28. data/ext/libxml/ruby_xml_parser_context.c +630 -657
  29. data/ext/libxml/ruby_xml_parser_context.h +3 -3
  30. data/ext/libxml/ruby_xml_reader.c +899 -904
  31. data/ext/libxml/ruby_xml_reader.h +2 -2
  32. data/ext/libxml/ruby_xml_relaxng.h +2 -2
  33. data/ext/libxml/ruby_xml_sax_parser.c +175 -175
  34. data/ext/libxml/ruby_xml_sax_parser.h +3 -3
  35. data/ext/libxml/ruby_xml_schema.c +165 -165
  36. data/ext/libxml/ruby_xml_schema.h +2 -2
  37. data/ext/libxml/ruby_xml_state.h +2 -2
  38. data/ext/libxml/ruby_xml_xinclude.c +24 -24
  39. data/ext/libxml/ruby_xml_xinclude.h +3 -3
  40. data/ext/libxml/ruby_xml_xpath.c +108 -108
  41. data/ext/libxml/ruby_xml_xpath.h +3 -3
  42. data/ext/libxml/ruby_xml_xpath_context.c +84 -35
  43. data/ext/libxml/ruby_xml_xpath_context.h +3 -3
  44. data/ext/libxml/ruby_xml_xpath_expression.c +5 -7
  45. data/ext/libxml/ruby_xml_xpath_expression.h +2 -2
  46. data/ext/libxml/ruby_xml_xpath_object.c +7 -7
  47. data/ext/libxml/ruby_xml_xpath_object.h +2 -2
  48. data/ext/libxml/ruby_xml_xpointer.c +107 -107
  49. data/ext/libxml/ruby_xml_xpointer.h +3 -3
  50. data/ext/libxml/version.h +2 -2
  51. data/ext/vc/libxml_ruby.vcproj +13 -5
  52. data/lib/libxml.rb +4 -1
  53. data/lib/libxml/document.rb +40 -6
  54. data/lib/libxml/hpricot.rb +76 -76
  55. data/lib/libxml/namespace.rb +60 -0
  56. data/lib/libxml/namespaces.rb +36 -0
  57. data/lib/libxml/node.rb +90 -26
  58. data/lib/libxml/ns.rb +20 -0
  59. data/test/model/bands.xml +5 -0
  60. data/test/tc_attributes.rb +1 -1
  61. data/test/tc_document.rb +24 -41
  62. data/test/tc_document_write.rb +87 -115
  63. data/test/tc_namespace.rb +59 -0
  64. data/test/tc_namespaces.rb +174 -0
  65. data/test/tc_node.rb +41 -33
  66. data/test/tc_node_copy.rb +1 -1
  67. data/test/tc_node_edit.rb +6 -0
  68. data/test/tc_node_write.rb +76 -0
  69. data/test/tc_xinclude.rb +2 -9
  70. data/test/tc_xpath.rb +38 -11
  71. data/test/test_suite.rb +3 -1
  72. metadata +16 -9
  73. data/ext/libxml/ruby_xml_ns.c +0 -150
  74. data/test/ets_copy_bug.rb +0 -21
  75. data/test/ets_copy_bug3.rb +0 -38
  76. data/test/model/default_validation_bug.rb +0 -0
  77. data/test/tc_ns.rb +0 -18
@@ -1,45 +1,52 @@
1
- require "xml"
1
+ require 'xml'
2
2
  require 'test/unit'
3
3
 
4
4
  class TestNode < Test::Unit::TestCase
5
5
  def setup
6
- xp = XML::Parser.new()
7
- str = '<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>'
8
- assert_equal(str, xp.string = str)
9
- @doc = xp.parse
6
+ # Strip spaces to make testing easier
7
+ XML.default_keep_blanks = false
8
+ file = File.join(File.dirname(__FILE__), 'model/bands.xml')
9
+ @doc = XML::Document.file(file)
10
10
  end
11
11
 
12
12
  def teardown
13
+ XML.default_keep_blanks = true
13
14
  @doc = nil
14
15
  end
15
16
 
16
17
  def nodes
17
- @doc.find('/ruby_array/fixnum')
18
+ # Find all nodes with a country attributes
19
+ @doc.find('*[@country]')
18
20
  end
19
21
 
20
22
  def test_doc_class
21
23
  assert_instance_of(XML::Document, @doc)
22
24
  end
23
-
25
+
24
26
  def test_root_class
25
27
  assert_instance_of(XML::Node, @doc.root)
26
28
  end
27
-
29
+
28
30
  def test_node_class
29
31
  for n in nodes
30
32
  assert_instance_of(XML::Node, n)
31
33
  end
32
34
  end
33
35
 
34
- def test_find_class
35
- set = @doc.find('/ruby_array/fixnum')
36
- assert_instance_of(XML::XPath::Object, set)
36
+ def test_context
37
+ node = @doc.root
38
+ context = node.context
39
+ assert_instance_of(XML::XPath::Context, context)
40
+ end
41
+
42
+ def test_find
43
+ assert_instance_of(XML::XPath::Object, self.nodes)
37
44
  end
38
45
 
39
46
  def test_node_child_get
40
47
  assert_instance_of(TrueClass, @doc.root.child?)
41
48
  assert_instance_of(XML::Node, @doc.root.child)
42
- assert_equal('fixnum', @doc.root.child.name)
49
+ assert_equal("m\303\266tley_cr\303\274e", @doc.root.child.name)
43
50
  end
44
51
 
45
52
  def test_node_doc
@@ -48,9 +55,9 @@ class TestNode < Test::Unit::TestCase
48
55
  end
49
56
  end
50
57
 
51
- def test_node_type_name
52
- assert_equal('element', nodes[0].node_type_name)
53
- assert_equal('element', nodes[1].node_type_name)
58
+ def test_name
59
+ assert_equal("m\303\266tley_cr\303\274e", nodes[0].name)
60
+ assert_equal("iron_maiden", nodes[1].name)
54
61
  end
55
62
 
56
63
  def test_node_find
@@ -59,49 +66,50 @@ class TestNode < Test::Unit::TestCase
59
66
  assert_instance_of(XML::Node, node)
60
67
  end
61
68
  end
62
-
69
+
63
70
  def test_equality
64
- node_a = @doc.find('/ruby_array/fixnum').first
71
+ node_a = @doc.find_first('*[@country]')
65
72
  node_b = @doc.root.child
73
+
66
74
  assert(node_a == node_b)
67
75
  assert(node_a.eql?(node_b))
68
76
  assert(node_a.equal?(node_b))
69
-
70
- xp2 = XML::Parser.new()
71
- xp2.string = '<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>'
72
- doc2 = xp2.parse
73
77
 
74
- node_a2 = doc2.find('/ruby_array/fixnum').first
75
-
78
+ file = File.join(File.dirname(__FILE__), 'model/bands.xml')
79
+ doc2 = XML::Document.file(file)
80
+
81
+ node_a2 = doc2.find_first('*[@country]')
82
+
76
83
  assert(node_a.to_s == node_a2.to_s)
77
84
  assert(node_a == node_a2)
78
85
  assert(node_a.eql?(node_a2))
79
86
  assert(!node_a.equal?(node_a2))
80
87
  end
81
-
88
+
82
89
  def test_equality_nil
83
90
  node = @doc.root
84
91
  assert(node != nil)
85
92
  end
86
-
93
+
87
94
  def test_equality_wrong_type
88
95
  node = @doc.root
89
-
96
+
90
97
  assert_raises(TypeError) do
91
98
  assert(node != 'abc')
92
99
  end
93
100
  end
94
101
 
95
- def test_content()
96
- assert_equal('onetwo', @doc.root.content)
97
-
102
+ def test_content
103
+ assert_equal("An American heavy metal band formed in Los Angeles, California in 1981.British heavy metal band formed in 1975.",
104
+ @doc.root.content)
105
+
98
106
  first = @doc.root.child
99
- assert_equal('one', first.content)
100
- assert_equal('two', first.next.content)
107
+ assert_equal('An American heavy metal band formed in Los Angeles, California in 1981.', first.content)
108
+ assert_equal('British heavy metal band formed in 1975.', first.next.content)
101
109
  end
102
-
110
+
103
111
  def test_base
104
112
  doc = XML::Parser.string('<person />').parse
105
113
  assert_nil(doc.root.base)
106
114
  end
107
- end
115
+ end
@@ -5,7 +5,7 @@ require 'test/unit'
5
5
  # [libxml-devel] Segmentation fault when add the cloned/copied node
6
6
  # 2007/11/27 20:51
7
7
 
8
- class TC_XML_Node_Copy < Test::Unit::TestCase
8
+ class TestNodeCopy < Test::Unit::TestCase
9
9
  def setup
10
10
  str = <<-STR
11
11
  <html><body>
@@ -106,4 +106,10 @@ class TestNodeEdit < Test::Unit::TestCase
106
106
  assert_equal('<foo><bar/>bars contents</foo>',
107
107
  node.to_s)
108
108
  end
109
+
110
+ def test_set_base
111
+ @doc.root.base = 'http://www.rubynet.org/'
112
+ assert_equal("<test xml:base=\"http://www.rubynet.org/\">\n <num>one</num>\n <num>two</num>\n <num>three</num>\n</test>",
113
+ @doc.root.to_s)
114
+ end
109
115
  end
@@ -0,0 +1,76 @@
1
+ require 'xml'
2
+ require 'test/unit'
3
+
4
+ class TestNodeWrite < Test::Unit::TestCase
5
+ def setup
6
+ # Strip spaces to make testing easier
7
+ XML.default_keep_blanks = false
8
+ file = File.join(File.dirname(__FILE__), 'model/bands.xml')
9
+ @doc = XML::Document.file(file)
10
+ end
11
+
12
+ def teardown
13
+ XML.default_keep_blanks = true
14
+ @doc = nil
15
+ end
16
+
17
+ def test_to_s_default
18
+ # Default to_s has indentation
19
+ node = @doc.root
20
+ assert_equal("<bands genre=\"metal\">\n <m\303\266tley_cr\303\274e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\303\266tley_cr\303\274e>\n <iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden>\n</bands>",
21
+ node.to_s)
22
+ end
23
+
24
+ def test_to_s_no_global_indentation
25
+ # No indentation due to global setting
26
+ node = @doc.root
27
+ XML.indent_tree_output = false
28
+ assert_equal("<bands genre=\"metal\">\n<m\303\266tley_cr\303\274e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\303\266tley_cr\303\274e>\n<iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden>\n</bands>",
29
+ node.to_s)
30
+ ensure
31
+ XML.indent_tree_output = true
32
+ end
33
+
34
+ def test_to_s_no_indentation
35
+ # No indentation due to local setting
36
+ node = @doc.root
37
+ assert_equal("<bands genre=\"metal\"><m\303\266tley_cr\303\274e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\303\266tley_cr\303\274e><iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden></bands>",
38
+ node.to_s(:indent => false))
39
+ end
40
+
41
+ def test_to_s_level
42
+ # No indentation due to local setting
43
+ node = @doc.root
44
+ assert_equal("<bands genre=\"metal\">\n <m\303\266tley_cr\303\274e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\303\266tley_cr\303\274e>\n <iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden>\n </bands>",
45
+ node.to_s(:level => 1))
46
+ end
47
+
48
+ def test_to_s_encoding
49
+ # Test encodings
50
+ node = @doc.root
51
+
52
+ # UTF8:
53
+ # ö - c3 b6 in hex, \303\266 in octal
54
+ # ü - c3 bc in hex, \303\274 in octal
55
+ assert_equal("<bands genre=\"metal\">\n <m\303\266tley_cr\303\274e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\303\266tley_cr\303\274e>\n <iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden>\n</bands>",
56
+ node.to_s(:encoding => XML::Input::UTF_8))
57
+
58
+ # ISO_8859_1:
59
+ # ö - f6 in hex, \366 in octal
60
+ # ü - fc in hex, \374 in octal
61
+ assert_equal("<bands genre=\"metal\">\n <m\366tley_cr\374e country=\"us\">An American heavy metal band formed in Los Angeles, California in 1981.</m\366tley_cr\374e>\n <iron_maiden country=\"uk\">British heavy metal band formed in 1975.</iron_maiden>\n</bands>",
62
+ node.to_s(:encoding => XML::Input::ISO_8859_1))
63
+
64
+
65
+ # Invalid encoding
66
+ error = assert_raise(ArgumentError) do
67
+ node.to_s(:encoding => -9999)
68
+ end
69
+ assert_equal('Unknown encoding.', error.to_s)
70
+ end
71
+
72
+ # --- Debug ---
73
+ def test_debug
74
+ assert(@doc.root.debug)
75
+ end
76
+ end
@@ -12,15 +12,8 @@ class TestXInclude < Test::Unit::TestCase
12
12
  end
13
13
 
14
14
  def test_ruby_xml_xinclude
15
- expected = <<-EOS
16
- <?xml version="1.0"?>
17
- <document xmlns:xi="http://www.w3.org/2001/XInclude">
18
- <p>This libxml2 binding has the following project information:
19
- <code>This is some text to include in an xml file via XInclude.</code></p>
20
- </document>
21
- EOS
22
-
23
15
  assert_equal(1, @doc.xinclude)
24
- assert_equal(expected, @doc.to_s)
16
+ assert_equal("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document xmlns:xi=\"http://www.w3.org/2001/XInclude\">\n <p>This libxml2 binding has the following project information:\n <code>This is some text to include in an xml file via XInclude.</code></p>\n</document>\n",
17
+ @doc.to_s)
25
18
  end
26
19
  end
@@ -34,14 +34,16 @@ class TestXPath < Test::Unit::TestCase
34
34
  assert_equal(3, nodes.length)
35
35
  end
36
36
 
37
- def test_default_ns
38
- # Pull all nodes with http://services.somewhere.com namespace
37
+ def test_default_ns1
38
+ # Find all nodes with http://services.somewhere.com namespace
39
39
  nodes = @doc.find('//*[namespace-uri()="http://services.somewhere.com"]')
40
40
  assert_equal(2, nodes.length)
41
41
  assert_equal('getManufacturerNamesResponse', nodes[0].name)
42
42
  assert_equal('IDAndNameList', nodes[1].name)
43
+ end
43
44
 
44
- # Pull all nodes with http://services.somewhere.com namespace
45
+ def test_default_ns2
46
+ # Find all nodes with http://services.somewhere.com namespace
45
47
  nodes = @doc.find('//ns:*', 'ns:http://services.somewhere.com')
46
48
  assert_equal(2, nodes.length)
47
49
  assert_equal('getManufacturerNamesResponse', nodes[0].name)
@@ -57,6 +59,31 @@ class TestXPath < Test::Unit::TestCase
57
59
  assert_equal(3, nodes.length)
58
60
  end
59
61
 
62
+ def test_default_ns3
63
+ # Find all nodes with http://services.somewhere.com namespace
64
+ nodes = @doc.find('//ns:*', 'ns' => 'http://services.somewhere.com')
65
+ assert_equal(2, nodes.length)
66
+ assert_equal('getManufacturerNamesResponse', nodes[0].name)
67
+ assert_equal('IDAndNameList', nodes[1].name)
68
+ end
69
+
70
+ def test_default_ns4
71
+ # Find all nodes with http://services.somewhere.com namespace
72
+ nodes = @doc.find('//ns:*', :ns => 'http://services.somewhere.com')
73
+ assert_equal(2, nodes.length)
74
+ assert_equal('getManufacturerNamesResponse', nodes[0].name)
75
+ assert_equal('IDAndNameList', nodes[1].name)
76
+ end
77
+
78
+ def test_default_ns5
79
+ # Find all nodes with http://services.somewhere.com namespace
80
+ XML::Namespace.new(@doc.root, 'ns', 'http://services.somewhere.com')
81
+ nodes = @doc.find('//ns:*')
82
+ assert_equal(2, nodes.length)
83
+ assert_equal('getManufacturerNamesResponse', nodes[0].name)
84
+ assert_equal('IDAndNameList', nodes[1].name)
85
+ end
86
+
60
87
  def test_attribute_ns
61
88
  # Pull all nodes with http://services.somewhere.com namespace
62
89
  nodes = @doc.find('@soap:encodingStyle')
@@ -77,7 +104,7 @@ class TestXPath < Test::Unit::TestCase
77
104
  assert_not_nil(node)
78
105
 
79
106
  # Register namespace
80
- doc.root.register_default_namespace('atom')
107
+ doc.root.namespaces.default_prefix = 'atom'
81
108
  node = doc.find("atom:title")
82
109
  assert_not_nil(node)
83
110
  end
@@ -109,12 +136,6 @@ class TestXPath < Test::Unit::TestCase
109
136
  end
110
137
  end
111
138
 
112
- # This causes a segmentation fault on Windows for some reason
113
- #def test_nodes_debug
114
- # nodes = @doc.find('//ns1:IdAndName', 'ns1:http://domain.somewhere.com')
115
- #nodes.debug
116
- # end
117
-
118
139
  def test_memory
119
140
  # This sometimes causes a segmentation fault because
120
141
  # an xml document is sometimes freed before the
@@ -141,4 +162,10 @@ class TestXPath < Test::Unit::TestCase
141
162
  GC.start
142
163
  assert_equal('Envelope', nodes.first.name)
143
164
  end
144
- end
165
+
166
+ # --- Debug ---
167
+ #def test_debug
168
+ # nodes = @doc.find('//ns1:IdAndName', 'ns1:http://domain.somewhere.com')
169
+ # assert(nodes.debug)
170
+ #end
171
+ end
@@ -5,6 +5,8 @@ require 'tc_document_write'
5
5
  require 'tc_dtd'
6
6
  require 'tc_input'
7
7
  require 'tc_html_parser'
8
+ require 'tc_namespaces'
9
+ require 'tc_namespace'
8
10
  require 'tc_node'
9
11
  require 'tc_node_attr'
10
12
  require 'tc_node_cdata'
@@ -12,8 +14,8 @@ require 'tc_node_comment'
12
14
  require 'tc_node_copy'
13
15
  require 'tc_node_edit'
14
16
  require 'tc_node_text'
17
+ require 'tc_node_write'
15
18
  require 'tc_node_xlink'
16
- require 'tc_ns'
17
19
  require 'tc_parser'
18
20
  require 'tc_parser_context'
19
21
  require 'tc_reader'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libxml-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Savage
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-29 00:00:00 -07:00
12
+ date: 2008-12-07 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -62,10 +62,12 @@ files:
62
62
  - ext/libxml/ruby_xml_input.h
63
63
  - ext/libxml/ruby_xml_input_cbg.c
64
64
  - ext/libxml/ruby_xml_input_cbg.h
65
+ - ext/libxml/ruby_xml_namespace.c
66
+ - ext/libxml/ruby_xml_namespace.h
67
+ - ext/libxml/ruby_xml_namespaces.c
68
+ - ext/libxml/ruby_xml_namespaces.h
65
69
  - ext/libxml/ruby_xml_node.c
66
70
  - ext/libxml/ruby_xml_node.h
67
- - ext/libxml/ruby_xml_ns.c
68
- - ext/libxml/ruby_xml_ns.h
69
71
  - ext/libxml/ruby_xml_parser.c
70
72
  - ext/libxml/ruby_xml_parser.h
71
73
  - ext/libxml/ruby_xml_parser_context.c
@@ -105,7 +107,10 @@ files:
105
107
  - lib/libxml/error.rb
106
108
  - lib/libxml/hpricot.rb
107
109
  - lib/libxml/html_parser.rb
110
+ - lib/libxml/namespace.rb
111
+ - lib/libxml/namespaces.rb
108
112
  - lib/libxml/node.rb
113
+ - lib/libxml/ns.rb
109
114
  - lib/libxml/parser.rb
110
115
  - lib/libxml/parser_context.rb
111
116
  - lib/libxml/parser_options.rb
@@ -120,8 +125,6 @@ files:
120
125
  - lib/xml/libxml.rb
121
126
  - lib/xml.rb
122
127
  - test/etc_doc_to_s.rb
123
- - test/ets_copy_bug.rb
124
- - test/ets_copy_bug3.rb
125
128
  - test/ets_doc_file.rb
126
129
  - test/ets_doc_to_s.rb
127
130
  - test/ets_gpx.rb
@@ -130,8 +133,8 @@ files:
130
133
  - test/ets_tsr.rb
131
134
  - test/model
132
135
  - test/model/atom.xml
136
+ - test/model/bands.xml
133
137
  - test/model/books.xml
134
- - test/model/default_validation_bug.rb
135
138
  - test/model/merge_bug_data.xml
136
139
  - test/model/ruby-lang.html
137
140
  - test/model/rubynet.xml
@@ -152,6 +155,8 @@ files:
152
155
  - test/tc_error.rb
153
156
  - test/tc_html_parser.rb
154
157
  - test/tc_input.rb
158
+ - test/tc_namespace.rb
159
+ - test/tc_namespaces.rb
155
160
  - test/tc_node.rb
156
161
  - test/tc_node_attr.rb
157
162
  - test/tc_node_cdata.rb
@@ -159,8 +164,8 @@ files:
159
164
  - test/tc_node_copy.rb
160
165
  - test/tc_node_edit.rb
161
166
  - test/tc_node_text.rb
167
+ - test/tc_node_write.rb
162
168
  - test/tc_node_xlink.rb
163
- - test/tc_ns.rb
164
169
  - test/tc_parser.rb
165
170
  - test/tc_parser_context.rb
166
171
  - test/tc_properties.rb
@@ -213,6 +218,8 @@ test_files:
213
218
  - test/tc_error.rb
214
219
  - test/tc_html_parser.rb
215
220
  - test/tc_input.rb
221
+ - test/tc_namespace.rb
222
+ - test/tc_namespaces.rb
216
223
  - test/tc_node.rb
217
224
  - test/tc_node_attr.rb
218
225
  - test/tc_node_cdata.rb
@@ -220,8 +227,8 @@ test_files:
220
227
  - test/tc_node_copy.rb
221
228
  - test/tc_node_edit.rb
222
229
  - test/tc_node_text.rb
230
+ - test/tc_node_write.rb
223
231
  - test/tc_node_xlink.rb
224
- - test/tc_ns.rb
225
232
  - test/tc_parser.rb
226
233
  - test/tc_parser_context.rb
227
234
  - test/tc_properties.rb