libxml-ruby 2.7.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +6 -14
  2. data/HISTORY +33 -11
  3. data/README.rdoc +7 -7
  4. data/Rakefile +80 -77
  5. data/ext/libxml/extconf.h +4 -5
  6. data/ext/libxml/extconf.rb +57 -118
  7. data/ext/libxml/libxml.c +4 -0
  8. data/ext/libxml/ruby_xml.c +977 -893
  9. data/ext/libxml/ruby_xml.h +20 -10
  10. data/ext/libxml/ruby_xml_attr.c +333 -333
  11. data/ext/libxml/ruby_xml_attr_decl.c +2 -2
  12. data/ext/libxml/ruby_xml_cbg.c +85 -85
  13. data/ext/libxml/ruby_xml_document.c +1133 -1147
  14. data/ext/libxml/ruby_xml_dtd.c +261 -268
  15. data/ext/libxml/ruby_xml_encoding.c +262 -260
  16. data/ext/libxml/ruby_xml_encoding.h +19 -19
  17. data/ext/libxml/ruby_xml_html_parser_context.c +337 -338
  18. data/ext/libxml/ruby_xml_input_cbg.c +191 -191
  19. data/ext/libxml/ruby_xml_io.c +52 -50
  20. data/ext/libxml/ruby_xml_namespace.c +2 -2
  21. data/ext/libxml/ruby_xml_node.c +1446 -1452
  22. data/ext/libxml/ruby_xml_parser_context.c +999 -1001
  23. data/ext/libxml/ruby_xml_reader.c +1226 -1228
  24. data/ext/libxml/ruby_xml_relaxng.c +110 -111
  25. data/ext/libxml/ruby_xml_sax2_handler.c +326 -328
  26. data/ext/libxml/ruby_xml_schema.c +300 -301
  27. data/ext/libxml/ruby_xml_version.h +3 -3
  28. data/ext/libxml/ruby_xml_writer.c +34 -16
  29. data/ext/libxml/ruby_xml_xpath.c +188 -187
  30. data/ext/libxml/ruby_xml_xpath_context.c +360 -361
  31. data/ext/libxml/ruby_xml_xpath_object.c +335 -335
  32. data/libxml-ruby.gemspec +47 -44
  33. data/test/tc_attr.rb +5 -7
  34. data/test/tc_attr_decl.rb +5 -6
  35. data/test/tc_attributes.rb +1 -2
  36. data/test/tc_canonicalize.rb +1 -2
  37. data/test/tc_deprecated_require.rb +1 -2
  38. data/test/tc_document.rb +4 -5
  39. data/test/tc_document_write.rb +2 -3
  40. data/test/tc_dtd.rb +4 -5
  41. data/test/tc_encoding.rb +126 -126
  42. data/test/tc_encoding_sax.rb +4 -3
  43. data/test/tc_error.rb +14 -15
  44. data/test/tc_html_parser.rb +15 -7
  45. data/test/tc_html_parser_context.rb +1 -2
  46. data/test/tc_namespace.rb +2 -3
  47. data/test/tc_namespaces.rb +5 -6
  48. data/test/tc_node.rb +2 -3
  49. data/test/tc_node_cdata.rb +2 -3
  50. data/test/tc_node_comment.rb +1 -2
  51. data/test/tc_node_copy.rb +1 -2
  52. data/test/tc_node_edit.rb +5 -7
  53. data/test/tc_node_pi.rb +1 -2
  54. data/test/tc_node_text.rb +2 -3
  55. data/test/tc_node_write.rb +2 -3
  56. data/test/tc_node_xlink.rb +1 -2
  57. data/test/tc_parser.rb +18 -24
  58. data/test/tc_parser_context.rb +6 -7
  59. data/test/tc_properties.rb +1 -2
  60. data/test/tc_reader.rb +9 -10
  61. data/test/tc_relaxng.rb +4 -5
  62. data/test/tc_sax_parser.rb +9 -10
  63. data/test/tc_schema.rb +4 -5
  64. data/test/tc_traversal.rb +1 -2
  65. data/test/tc_writer.rb +1 -2
  66. data/test/tc_xinclude.rb +1 -2
  67. data/test/tc_xml.rb +1 -2
  68. data/test/tc_xpath.rb +8 -9
  69. data/test/tc_xpath_context.rb +3 -4
  70. data/test/tc_xpath_expression.rb +3 -4
  71. data/test/tc_xpointer.rb +1 -3
  72. data/test/test_helper.rb +3 -1
  73. data/test/test_suite.rb +0 -1
  74. metadata +90 -72
  75. data/test/etc_doc_to_s.rb +0 -21
  76. data/test/ets_doc_file.rb +0 -17
  77. data/test/ets_doc_to_s.rb +0 -23
  78. data/test/ets_gpx.rb +0 -28
  79. data/test/ets_node_gc.rb +0 -23
  80. data/test/ets_test.xml +0 -2
  81. data/test/ets_tsr.rb +0 -11
  82. data/test/model/kml_sample.xml +0 -915
  83. data/test/remove_test.rb +0 -9
  84. data/test/tc_gc.rb +0 -86
  85. data/test/tc_parser.rb.orig +0 -384
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: 2.7.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Bamform
@@ -14,27 +14,56 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2013-08-03 00:00:00.000000000 Z
17
+ date: 2016-06-13 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: hanna_guado
21
21
  requirement: !ruby/object:Gem::Requirement
22
22
  requirements:
23
- - - ! '>='
23
+ - - ">="
24
24
  - !ruby/object:Gem::Version
25
25
  version: '0'
26
26
  type: :development
27
27
  prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - ! '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0'
33
- description: ! " The Libxml-Ruby project provides Ruby language bindings for the
34
- GNOME\n Libxml2 XML toolkit. It is free software, released under the MIT License.\n
35
- \ Libxml-ruby's primary advantage over REXML is performance - if speed\n is
36
- your need, these are good libraries to consider, as demonstrated\n by the informal
37
- benchmark below.\n"
33
+ - !ruby/object:Gem::Dependency
34
+ name: rake-compiler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: minitest
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ description: |2
62
+ The Libxml-Ruby project provides Ruby language bindings for the GNOME
63
+ Libxml2 XML toolkit. It is free software, released under the MIT License.
64
+ Libxml-ruby's primary advantage over REXML is performance - if speed
65
+ is your need, these are good libraries to consider, as demonstrated
66
+ by the informal benchmark below.
38
67
  email:
39
68
  executables: []
40
69
  extensions:
@@ -43,92 +72,91 @@ extra_rdoc_files: []
43
72
  files:
44
73
  - HISTORY
45
74
  - LICENSE
46
- - libxml-ruby.gemspec
47
75
  - MANIFEST
48
- - Rakefile
49
76
  - README.rdoc
50
- - setup.rb
51
- - ext/libxml/libxml_ruby.def
77
+ - Rakefile
52
78
  - ext/libxml/extconf.h
79
+ - ext/libxml/extconf.rb
80
+ - ext/libxml/libxml.c
81
+ - ext/libxml/libxml_ruby.def
53
82
  - ext/libxml/ruby_libxml.h
83
+ - ext/libxml/ruby_xml.c
54
84
  - ext/libxml/ruby_xml.h
85
+ - ext/libxml/ruby_xml_attr.c
55
86
  - ext/libxml/ruby_xml_attr.h
56
- - ext/libxml/ruby_xml_attributes.h
87
+ - ext/libxml/ruby_xml_attr_decl.c
57
88
  - ext/libxml/ruby_xml_attr_decl.h
58
- - ext/libxml/ruby_xml_document.h
59
- - ext/libxml/ruby_xml_dtd.h
60
- - ext/libxml/ruby_xml_encoding.h
61
- - ext/libxml/ruby_xml_error.h
62
- - ext/libxml/ruby_xml_html_parser.h
63
- - ext/libxml/ruby_xml_html_parser_context.h
64
- - ext/libxml/ruby_xml_html_parser_options.h
65
- - ext/libxml/ruby_xml_input_cbg.h
66
- - ext/libxml/ruby_xml_io.h
67
- - ext/libxml/ruby_xml_namespace.h
68
- - ext/libxml/ruby_xml_namespaces.h
69
- - ext/libxml/ruby_xml_node.h
70
- - ext/libxml/ruby_xml_parser.h
71
- - ext/libxml/ruby_xml_parser_context.h
72
- - ext/libxml/ruby_xml_parser_options.h
73
- - ext/libxml/ruby_xml_reader.h
74
- - ext/libxml/ruby_xml_relaxng.h
75
- - ext/libxml/ruby_xml_sax2_handler.h
76
- - ext/libxml/ruby_xml_sax_parser.h
77
- - ext/libxml/ruby_xml_schema.h
78
- - ext/libxml/ruby_xml_schema_attribute.h
79
- - ext/libxml/ruby_xml_schema_element.h
80
- - ext/libxml/ruby_xml_schema_facet.h
81
- - ext/libxml/ruby_xml_schema_type.h
82
- - ext/libxml/ruby_xml_version.h
83
- - ext/libxml/ruby_xml_writer.h
84
- - ext/libxml/ruby_xml_xinclude.h
85
- - ext/libxml/ruby_xml_xpath.h
86
- - ext/libxml/ruby_xml_xpath_context.h
87
- - ext/libxml/ruby_xml_xpath_expression.h
88
- - ext/libxml/ruby_xml_xpath_object.h
89
- - ext/libxml/ruby_xml_xpointer.h
90
- - ext/libxml/libxml.c
91
- - ext/libxml/ruby_xml.c
92
- - ext/libxml/ruby_xml_attr.c
93
89
  - ext/libxml/ruby_xml_attributes.c
94
- - ext/libxml/ruby_xml_attr_decl.c
90
+ - ext/libxml/ruby_xml_attributes.h
95
91
  - ext/libxml/ruby_xml_cbg.c
96
92
  - ext/libxml/ruby_xml_document.c
93
+ - ext/libxml/ruby_xml_document.h
97
94
  - ext/libxml/ruby_xml_dtd.c
95
+ - ext/libxml/ruby_xml_dtd.h
98
96
  - ext/libxml/ruby_xml_encoding.c
97
+ - ext/libxml/ruby_xml_encoding.h
99
98
  - ext/libxml/ruby_xml_error.c
99
+ - ext/libxml/ruby_xml_error.h
100
100
  - ext/libxml/ruby_xml_html_parser.c
101
+ - ext/libxml/ruby_xml_html_parser.h
101
102
  - ext/libxml/ruby_xml_html_parser_context.c
103
+ - ext/libxml/ruby_xml_html_parser_context.h
102
104
  - ext/libxml/ruby_xml_html_parser_options.c
105
+ - ext/libxml/ruby_xml_html_parser_options.h
103
106
  - ext/libxml/ruby_xml_input_cbg.c
107
+ - ext/libxml/ruby_xml_input_cbg.h
104
108
  - ext/libxml/ruby_xml_io.c
109
+ - ext/libxml/ruby_xml_io.h
105
110
  - ext/libxml/ruby_xml_namespace.c
111
+ - ext/libxml/ruby_xml_namespace.h
106
112
  - ext/libxml/ruby_xml_namespaces.c
113
+ - ext/libxml/ruby_xml_namespaces.h
107
114
  - ext/libxml/ruby_xml_node.c
115
+ - ext/libxml/ruby_xml_node.h
108
116
  - ext/libxml/ruby_xml_parser.c
117
+ - ext/libxml/ruby_xml_parser.h
109
118
  - ext/libxml/ruby_xml_parser_context.c
119
+ - ext/libxml/ruby_xml_parser_context.h
110
120
  - ext/libxml/ruby_xml_parser_options.c
121
+ - ext/libxml/ruby_xml_parser_options.h
111
122
  - ext/libxml/ruby_xml_reader.c
123
+ - ext/libxml/ruby_xml_reader.h
112
124
  - ext/libxml/ruby_xml_relaxng.c
125
+ - ext/libxml/ruby_xml_relaxng.h
113
126
  - ext/libxml/ruby_xml_sax2_handler.c
127
+ - ext/libxml/ruby_xml_sax2_handler.h
114
128
  - ext/libxml/ruby_xml_sax_parser.c
129
+ - ext/libxml/ruby_xml_sax_parser.h
115
130
  - ext/libxml/ruby_xml_schema.c
131
+ - ext/libxml/ruby_xml_schema.h
116
132
  - ext/libxml/ruby_xml_schema_attribute.c
133
+ - ext/libxml/ruby_xml_schema_attribute.h
117
134
  - ext/libxml/ruby_xml_schema_element.c
135
+ - ext/libxml/ruby_xml_schema_element.h
118
136
  - ext/libxml/ruby_xml_schema_facet.c
137
+ - ext/libxml/ruby_xml_schema_facet.h
119
138
  - ext/libxml/ruby_xml_schema_type.c
139
+ - ext/libxml/ruby_xml_schema_type.h
140
+ - ext/libxml/ruby_xml_version.h
120
141
  - ext/libxml/ruby_xml_writer.c
142
+ - ext/libxml/ruby_xml_writer.h
121
143
  - ext/libxml/ruby_xml_xinclude.c
144
+ - ext/libxml/ruby_xml_xinclude.h
122
145
  - ext/libxml/ruby_xml_xpath.c
146
+ - ext/libxml/ruby_xml_xpath.h
123
147
  - ext/libxml/ruby_xml_xpath_context.c
148
+ - ext/libxml/ruby_xml_xpath_context.h
124
149
  - ext/libxml/ruby_xml_xpath_expression.c
150
+ - ext/libxml/ruby_xml_xpath_expression.h
125
151
  - ext/libxml/ruby_xml_xpath_object.c
152
+ - ext/libxml/ruby_xml_xpath_object.h
126
153
  - ext/libxml/ruby_xml_xpointer.c
127
- - ext/libxml/extconf.rb
154
+ - ext/libxml/ruby_xml_xpointer.h
128
155
  - ext/vc/libxml_ruby.sln
156
+ - lib/libxml.rb
129
157
  - lib/libxml/attr.rb
130
- - lib/libxml/attributes.rb
131
158
  - lib/libxml/attr_decl.rb
159
+ - lib/libxml/attributes.rb
132
160
  - lib/libxml/document.rb
133
161
  - lib/libxml/error.rb
134
162
  - lib/libxml/hpricot.rb
@@ -142,21 +170,22 @@ files:
142
170
  - lib/libxml/reader.rb
143
171
  - lib/libxml/sax_callbacks.rb
144
172
  - lib/libxml/sax_parser.rb
173
+ - lib/libxml/schema.rb
145
174
  - lib/libxml/schema/attribute.rb
146
175
  - lib/libxml/schema/element.rb
147
176
  - lib/libxml/schema/type.rb
148
- - lib/libxml/schema.rb
149
177
  - lib/libxml/tree.rb
150
178
  - lib/libxml/xpath_object.rb
151
- - lib/libxml.rb
152
- - lib/xml/libxml.rb
153
179
  - lib/xml.rb
180
+ - lib/xml/libxml.rb
181
+ - libxml-ruby.gemspec
154
182
  - script/benchmark/depixelate
155
183
  - script/benchmark/hamlet.xml
156
184
  - script/benchmark/parsecount
157
185
  - script/benchmark/sock_entries.xml
158
186
  - script/benchmark/throughput
159
187
  - script/test
188
+ - setup.rb
160
189
  - test/c14n/given/doc.dtd
161
190
  - test/c14n/given/example-1.xml
162
191
  - test/c14n/given/example-2.xml
@@ -190,19 +219,11 @@ files:
190
219
  - test/c14n/result/without-comments/example-5
191
220
  - test/c14n/result/without-comments/example-6
192
221
  - test/c14n/result/without-comments/example-7
193
- - test/etc_doc_to_s.rb
194
- - test/ets_doc_file.rb
195
- - test/ets_doc_to_s.rb
196
- - test/ets_gpx.rb
197
- - test/ets_node_gc.rb
198
- - test/ets_test.xml
199
- - test/ets_tsr.rb
200
222
  - test/model/atom.xml
201
223
  - test/model/bands.iso-8859-1.xml
202
224
  - test/model/bands.utf-8.xml
203
225
  - test/model/bands.xml
204
226
  - test/model/books.xml
205
- - test/model/kml_sample.xml
206
227
  - test/model/merge_bug_data.xml
207
228
  - test/model/ruby-lang.html
208
229
  - test/model/rubynet.xml
@@ -213,10 +234,9 @@ files:
213
234
  - test/model/shiporder.xsd
214
235
  - test/model/soap.xml
215
236
  - test/model/xinclude.xml
216
- - test/remove_test.rb
217
237
  - test/tc_attr.rb
218
- - test/tc_attributes.rb
219
238
  - test/tc_attr_decl.rb
239
+ - test/tc_attributes.rb
220
240
  - test/tc_canonicalize.rb
221
241
  - test/tc_deprecated_require.rb
222
242
  - test/tc_document.rb
@@ -225,7 +245,6 @@ files:
225
245
  - test/tc_encoding.rb
226
246
  - test/tc_encoding_sax.rb
227
247
  - test/tc_error.rb
228
- - test/tc_gc.rb
229
248
  - test/tc_html_parser.rb
230
249
  - test/tc_html_parser_context.rb
231
250
  - test/tc_namespace.rb
@@ -240,7 +259,6 @@ files:
240
259
  - test/tc_node_write.rb
241
260
  - test/tc_node_xlink.rb
242
261
  - test/tc_parser.rb
243
- - test/tc_parser.rb.orig
244
262
  - test/tc_parser_context.rb
245
263
  - test/tc_properties.rb
246
264
  - test/tc_reader.rb
@@ -258,7 +276,8 @@ files:
258
276
  - test/test_helper.rb
259
277
  - test/test_suite.rb
260
278
  homepage: http://xml4r.github.com/libxml-ruby
261
- licenses: []
279
+ licenses:
280
+ - MIT
262
281
  metadata: {}
263
282
  post_install_message:
264
283
  rdoc_options: []
@@ -266,17 +285,17 @@ require_paths:
266
285
  - lib
267
286
  required_ruby_version: !ruby/object:Gem::Requirement
268
287
  requirements:
269
- - - ! '>='
288
+ - - ">="
270
289
  - !ruby/object:Gem::Version
271
290
  version: 1.8.6
272
291
  required_rubygems_version: !ruby/object:Gem::Requirement
273
292
  requirements:
274
- - - ! '>='
293
+ - - ">="
275
294
  - !ruby/object:Gem::Version
276
295
  version: '0'
277
296
  requirements: []
278
297
  rubyforge_project:
279
- rubygems_version: 2.0.6
298
+ rubygems_version: 2.5.1
280
299
  signing_key:
281
300
  specification_version: 4
282
301
  summary: Ruby Bindings for LibXML2
@@ -292,7 +311,6 @@ test_files:
292
311
  - test/tc_encoding.rb
293
312
  - test/tc_encoding_sax.rb
294
313
  - test/tc_error.rb
295
- - test/tc_gc.rb
296
314
  - test/tc_html_parser.rb
297
315
  - test/tc_html_parser_context.rb
298
316
  - test/tc_namespace.rb
data/test/etc_doc_to_s.rb DELETED
@@ -1,21 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require './test_helper'
4
-
5
- 1.times do |count|
6
-
7
- xml_doc = XML::Document.new()
8
- xml_doc.encoding = "UTF-8"
9
- xml_doc.root = XML::Node.new("Request")
10
-
11
- 1000.times do |index|
12
- xml_doc.root << node = XML::Node.new("row")
13
- node["user_id"] = index.to_s
14
- node << "600445"
15
- end
16
-
17
- xml_str = xml_doc.to_s
18
- print "\r#{count}"
19
- $stdout.flush
20
- end
21
- puts "\n"
data/test/ets_doc_file.rb DELETED
@@ -1,17 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require './test_helper'
4
-
5
- # This is related to bug 8337, complaint is on amd64/fbsd
6
- # unknown if it happens on other amd64/os combos
7
-
8
- Process.setrlimit(Process::RLIMIT_NOFILE,10005)
9
-
10
- (1..10000).each{|time|
11
- XML::Document.file(File.join(File.dirname(__FILE__),'ets_test.xml'))
12
- if time % 100 == 0
13
- print "\r#{time}"
14
- $stdout.flush
15
- end
16
- }
17
- puts "\n"
data/test/ets_doc_to_s.rb DELETED
@@ -1,23 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require './test_helper'
4
-
5
- 100.times do |count|
6
-
7
- xml_doc = XML::Document.new()
8
- xml_doc.encoding = "UTF-8"
9
- xml_doc.root = XML::Node.new("Request")
10
-
11
- 1000.times do |index|
12
-
13
- xml_doc.root << node = XML::Node.new("row")
14
- node["user_id"] = index.to_s
15
- node << "600445"
16
-
17
- end
18
-
19
- xml_str = xml_doc.to_s
20
- print "\r#{count}"
21
- $stdout.flush
22
- end
23
- puts "\n"
data/test/ets_gpx.rb DELETED
@@ -1,28 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require 'libxml'
4
-
5
- 100.times do
6
- doc = XML::Document.new
7
- doc.encoding = 'UTF-8'
8
-
9
- root = XML::Node.new 'gpx'
10
- root['version'] = '1.0'
11
- root['creator'] = 'OpenStreetMap.org'
12
- root['xmlns'] = "http://www.topografix.com/GPX/1/0/"
13
-
14
- doc.root = root
15
-
16
- track = XML::Node.new 'trk'
17
- doc.root << track
18
-
19
- trkseg = XML::Node.new 'trkseg'
20
- track << trkseg
21
-
22
- 1.upto(1000) do |n|
23
- trkpt = XML::Node.new 'trkpt'
24
- trkpt['lat'] = n.to_s
25
- trkpt['lon'] = n.to_s
26
- trkseg << trkpt
27
- end
28
- end
data/test/ets_node_gc.rb DELETED
@@ -1,23 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require './test_helper'
4
-
5
- # test of bug 13310, clears MEM2
6
-
7
- include GC
8
-
9
- inner = XML::Node.new('inner')
10
- save = nil
11
- 1.times do
12
- outer = XML::Node.new('outer')
13
- outer.child = inner
14
- 1.times do
15
- doc = XML::Document.new
16
- doc.root = outer
17
- # Uncomment the following line and it won't crash
18
- save = doc
19
- end
20
- garbage_collect
21
- end
22
- garbage_collect
23
- puts inner
data/test/ets_test.xml DELETED
@@ -1,2 +0,0 @@
1
- <?xml version="1.0"?>
2
- <test/>
data/test/ets_tsr.rb DELETED
@@ -1,11 +0,0 @@
1
- # encoding: UTF-8
2
-
3
- require './test_helper'
4
-
5
- 10_000.times {|n|
6
- j=XML::Node.new2(nil,"happy#{n}")
7
- 10.times {|r|
8
- j1=XML::Node.new("happy#{r}","farts")
9
- j.child=j1
10
- }
11
- }