libxml-ruby 2.9.0-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +7 -0
  2. data/HISTORY +790 -0
  3. data/LICENSE +21 -0
  4. data/MANIFEST +166 -0
  5. data/README.rdoc +184 -0
  6. data/Rakefile +81 -0
  7. data/ext/libxml/extconf.h +4 -0
  8. data/ext/libxml/extconf.rb +57 -0
  9. data/ext/libxml/libxml.c +80 -0
  10. data/ext/libxml/libxml_ruby.def +35 -0
  11. data/ext/libxml/ruby_libxml.h +75 -0
  12. data/ext/libxml/ruby_xml.c +977 -0
  13. data/ext/libxml/ruby_xml.h +20 -0
  14. data/ext/libxml/ruby_xml_attr.c +333 -0
  15. data/ext/libxml/ruby_xml_attr.h +12 -0
  16. data/ext/libxml/ruby_xml_attr_decl.c +153 -0
  17. data/ext/libxml/ruby_xml_attr_decl.h +11 -0
  18. data/ext/libxml/ruby_xml_attributes.c +275 -0
  19. data/ext/libxml/ruby_xml_attributes.h +15 -0
  20. data/ext/libxml/ruby_xml_cbg.c +85 -0
  21. data/ext/libxml/ruby_xml_document.c +1133 -0
  22. data/ext/libxml/ruby_xml_document.h +11 -0
  23. data/ext/libxml/ruby_xml_dtd.c +261 -0
  24. data/ext/libxml/ruby_xml_dtd.h +9 -0
  25. data/ext/libxml/ruby_xml_encoding.c +262 -0
  26. data/ext/libxml/ruby_xml_encoding.h +19 -0
  27. data/ext/libxml/ruby_xml_error.c +996 -0
  28. data/ext/libxml/ruby_xml_error.h +12 -0
  29. data/ext/libxml/ruby_xml_html_parser.c +92 -0
  30. data/ext/libxml/ruby_xml_html_parser.h +10 -0
  31. data/ext/libxml/ruby_xml_html_parser_context.c +337 -0
  32. data/ext/libxml/ruby_xml_html_parser_context.h +10 -0
  33. data/ext/libxml/ruby_xml_html_parser_options.c +46 -0
  34. data/ext/libxml/ruby_xml_html_parser_options.h +10 -0
  35. data/ext/libxml/ruby_xml_input_cbg.c +191 -0
  36. data/ext/libxml/ruby_xml_input_cbg.h +20 -0
  37. data/ext/libxml/ruby_xml_io.c +52 -0
  38. data/ext/libxml/ruby_xml_io.h +10 -0
  39. data/ext/libxml/ruby_xml_namespace.c +153 -0
  40. data/ext/libxml/ruby_xml_namespace.h +10 -0
  41. data/ext/libxml/ruby_xml_namespaces.c +293 -0
  42. data/ext/libxml/ruby_xml_namespaces.h +9 -0
  43. data/ext/libxml/ruby_xml_node.c +1446 -0
  44. data/ext/libxml/ruby_xml_node.h +11 -0
  45. data/ext/libxml/ruby_xml_parser.c +94 -0
  46. data/ext/libxml/ruby_xml_parser.h +12 -0
  47. data/ext/libxml/ruby_xml_parser_context.c +999 -0
  48. data/ext/libxml/ruby_xml_parser_context.h +10 -0
  49. data/ext/libxml/ruby_xml_parser_options.c +66 -0
  50. data/ext/libxml/ruby_xml_parser_options.h +12 -0
  51. data/ext/libxml/ruby_xml_reader.c +1226 -0
  52. data/ext/libxml/ruby_xml_reader.h +17 -0
  53. data/ext/libxml/ruby_xml_relaxng.c +110 -0
  54. data/ext/libxml/ruby_xml_relaxng.h +10 -0
  55. data/ext/libxml/ruby_xml_sax2_handler.c +326 -0
  56. data/ext/libxml/ruby_xml_sax2_handler.h +10 -0
  57. data/ext/libxml/ruby_xml_sax_parser.c +120 -0
  58. data/ext/libxml/ruby_xml_sax_parser.h +10 -0
  59. data/ext/libxml/ruby_xml_schema.c +300 -0
  60. data/ext/libxml/ruby_xml_schema.h +809 -0
  61. data/ext/libxml/ruby_xml_schema_attribute.c +109 -0
  62. data/ext/libxml/ruby_xml_schema_attribute.h +15 -0
  63. data/ext/libxml/ruby_xml_schema_element.c +94 -0
  64. data/ext/libxml/ruby_xml_schema_element.h +14 -0
  65. data/ext/libxml/ruby_xml_schema_facet.c +52 -0
  66. data/ext/libxml/ruby_xml_schema_facet.h +13 -0
  67. data/ext/libxml/ruby_xml_schema_type.c +259 -0
  68. data/ext/libxml/ruby_xml_schema_type.h +9 -0
  69. data/ext/libxml/ruby_xml_version.h +9 -0
  70. data/ext/libxml/ruby_xml_writer.c +1136 -0
  71. data/ext/libxml/ruby_xml_writer.h +10 -0
  72. data/ext/libxml/ruby_xml_xinclude.c +16 -0
  73. data/ext/libxml/ruby_xml_xinclude.h +11 -0
  74. data/ext/libxml/ruby_xml_xpath.c +188 -0
  75. data/ext/libxml/ruby_xml_xpath.h +13 -0
  76. data/ext/libxml/ruby_xml_xpath_context.c +360 -0
  77. data/ext/libxml/ruby_xml_xpath_context.h +9 -0
  78. data/ext/libxml/ruby_xml_xpath_expression.c +81 -0
  79. data/ext/libxml/ruby_xml_xpath_expression.h +10 -0
  80. data/ext/libxml/ruby_xml_xpath_object.c +335 -0
  81. data/ext/libxml/ruby_xml_xpath_object.h +17 -0
  82. data/ext/libxml/ruby_xml_xpointer.c +99 -0
  83. data/ext/libxml/ruby_xml_xpointer.h +11 -0
  84. data/ext/vc/libxml_ruby.sln +26 -0
  85. data/lib/2.3/libxml_ruby.so +0 -0
  86. data/lib/libs/libiconv-2.dll +0 -0
  87. data/lib/libs/libxml2-2.dll +0 -0
  88. data/lib/libs/zlib1.dll +0 -0
  89. data/lib/libxml.rb +35 -0
  90. data/lib/libxml/attr.rb +123 -0
  91. data/lib/libxml/attr_decl.rb +80 -0
  92. data/lib/libxml/attributes.rb +14 -0
  93. data/lib/libxml/document.rb +194 -0
  94. data/lib/libxml/error.rb +95 -0
  95. data/lib/libxml/hpricot.rb +78 -0
  96. data/lib/libxml/html_parser.rb +96 -0
  97. data/lib/libxml/namespace.rb +62 -0
  98. data/lib/libxml/namespaces.rb +38 -0
  99. data/lib/libxml/node.rb +399 -0
  100. data/lib/libxml/ns.rb +22 -0
  101. data/lib/libxml/parser.rb +367 -0
  102. data/lib/libxml/properties.rb +23 -0
  103. data/lib/libxml/reader.rb +29 -0
  104. data/lib/libxml/sax_callbacks.rb +180 -0
  105. data/lib/libxml/sax_parser.rb +58 -0
  106. data/lib/libxml/schema.rb +67 -0
  107. data/lib/libxml/schema/attribute.rb +19 -0
  108. data/lib/libxml/schema/element.rb +27 -0
  109. data/lib/libxml/schema/type.rb +29 -0
  110. data/lib/libxml/tree.rb +29 -0
  111. data/lib/libxml/xpath_object.rb +16 -0
  112. data/lib/xml.rb +14 -0
  113. data/lib/xml/libxml.rb +10 -0
  114. data/libxml-ruby.gemspec +47 -0
  115. data/script/benchmark/depixelate +634 -0
  116. data/script/benchmark/hamlet.xml +9055 -0
  117. data/script/benchmark/parsecount +170 -0
  118. data/script/benchmark/sock_entries.xml +507 -0
  119. data/script/benchmark/throughput +41 -0
  120. data/script/test +6 -0
  121. data/setup.rb +1585 -0
  122. data/test/c14n/given/doc.dtd +1 -0
  123. data/test/c14n/given/example-1.xml +14 -0
  124. data/test/c14n/given/example-2.xml +11 -0
  125. data/test/c14n/given/example-3.xml +18 -0
  126. data/test/c14n/given/example-4.xml +9 -0
  127. data/test/c14n/given/example-5.xml +12 -0
  128. data/test/c14n/given/example-6.xml +2 -0
  129. data/test/c14n/given/example-7.xml +11 -0
  130. data/test/c14n/given/example-8.xml +11 -0
  131. data/test/c14n/given/example-8.xpath +10 -0
  132. data/test/c14n/given/world.txt +1 -0
  133. data/test/c14n/result/1-1-without-comments/example-1 +4 -0
  134. data/test/c14n/result/1-1-without-comments/example-2 +11 -0
  135. data/test/c14n/result/1-1-without-comments/example-3 +14 -0
  136. data/test/c14n/result/1-1-without-comments/example-4 +9 -0
  137. data/test/c14n/result/1-1-without-comments/example-5 +3 -0
  138. data/test/c14n/result/1-1-without-comments/example-6 +1 -0
  139. data/test/c14n/result/1-1-without-comments/example-7 +1 -0
  140. data/test/c14n/result/1-1-without-comments/example-8 +1 -0
  141. data/test/c14n/result/with-comments/example-1 +6 -0
  142. data/test/c14n/result/with-comments/example-2 +11 -0
  143. data/test/c14n/result/with-comments/example-3 +14 -0
  144. data/test/c14n/result/with-comments/example-4 +9 -0
  145. data/test/c14n/result/with-comments/example-5 +4 -0
  146. data/test/c14n/result/with-comments/example-6 +1 -0
  147. data/test/c14n/result/with-comments/example-7 +1 -0
  148. data/test/c14n/result/without-comments/example-1 +4 -0
  149. data/test/c14n/result/without-comments/example-2 +11 -0
  150. data/test/c14n/result/without-comments/example-3 +14 -0
  151. data/test/c14n/result/without-comments/example-4 +9 -0
  152. data/test/c14n/result/without-comments/example-5 +3 -0
  153. data/test/c14n/result/without-comments/example-6 +1 -0
  154. data/test/c14n/result/without-comments/example-7 +1 -0
  155. data/test/model/atom.xml +13 -0
  156. data/test/model/bands.iso-8859-1.xml +5 -0
  157. data/test/model/bands.utf-8.xml +5 -0
  158. data/test/model/bands.xml +5 -0
  159. data/test/model/books.xml +154 -0
  160. data/test/model/merge_bug_data.xml +58 -0
  161. data/test/model/ruby-lang.html +238 -0
  162. data/test/model/rubynet.xml +79 -0
  163. data/test/model/rubynet_project +1 -0
  164. data/test/model/shiporder.rnc +28 -0
  165. data/test/model/shiporder.rng +86 -0
  166. data/test/model/shiporder.xml +23 -0
  167. data/test/model/shiporder.xsd +40 -0
  168. data/test/model/soap.xml +27 -0
  169. data/test/model/xinclude.xml +5 -0
  170. data/test/tc_attr.rb +181 -0
  171. data/test/tc_attr_decl.rb +132 -0
  172. data/test/tc_attributes.rb +142 -0
  173. data/test/tc_canonicalize.rb +124 -0
  174. data/test/tc_deprecated_require.rb +12 -0
  175. data/test/tc_document.rb +125 -0
  176. data/test/tc_document_write.rb +195 -0
  177. data/test/tc_dtd.rb +128 -0
  178. data/test/tc_encoding.rb +126 -0
  179. data/test/tc_encoding_sax.rb +115 -0
  180. data/test/tc_error.rb +179 -0
  181. data/test/tc_html_parser.rb +161 -0
  182. data/test/tc_html_parser_context.rb +23 -0
  183. data/test/tc_namespace.rb +61 -0
  184. data/test/tc_namespaces.rb +209 -0
  185. data/test/tc_node.rb +215 -0
  186. data/test/tc_node_cdata.rb +50 -0
  187. data/test/tc_node_comment.rb +32 -0
  188. data/test/tc_node_copy.rb +41 -0
  189. data/test/tc_node_edit.rb +174 -0
  190. data/test/tc_node_pi.rb +39 -0
  191. data/test/tc_node_text.rb +70 -0
  192. data/test/tc_node_write.rb +107 -0
  193. data/test/tc_node_xlink.rb +28 -0
  194. data/test/tc_parser.rb +375 -0
  195. data/test/tc_parser_context.rb +204 -0
  196. data/test/tc_properties.rb +38 -0
  197. data/test/tc_reader.rb +399 -0
  198. data/test/tc_relaxng.rb +53 -0
  199. data/test/tc_sax_parser.rb +319 -0
  200. data/test/tc_schema.rb +161 -0
  201. data/test/tc_traversal.rb +152 -0
  202. data/test/tc_writer.rb +447 -0
  203. data/test/tc_xinclude.rb +20 -0
  204. data/test/tc_xml.rb +225 -0
  205. data/test/tc_xpath.rb +244 -0
  206. data/test/tc_xpath_context.rb +88 -0
  207. data/test/tc_xpath_expression.rb +37 -0
  208. data/test/tc_xpointer.rb +72 -0
  209. data/test/test_helper.rb +16 -0
  210. data/test/test_suite.rb +49 -0
  211. metadata +344 -0
@@ -0,0 +1,88 @@
1
+ # encoding: UTF-8
2
+
3
+ require './test_helper'
4
+ require "tempfile"
5
+
6
+ class TestXPathContext < Minitest::Test
7
+ SOAP_PREFIX = 'soap'
8
+ SOAP_URI = 'http://schemas.xmlsoap.org/soap/envelope/'
9
+
10
+ NS0_PREFIX = 'ns0'
11
+ NS0_URI = 'http://services.somewhere.com'
12
+
13
+ def setup
14
+ doc = XML::Document.file(File.join(File.dirname(__FILE__), 'model/soap.xml'))
15
+ @context = XML::XPath::Context.new(doc)
16
+ end
17
+
18
+ def teardown()
19
+ @context = nil
20
+ end
21
+
22
+ def test_no_ns
23
+ error = assert_raises(LibXML::XML::Error) do
24
+ @context.find('/soap:Envelope')
25
+ end
26
+ assert_equal("Error: Undefined namespace prefix.", error.to_s)
27
+ end
28
+
29
+ def test_ns_register
30
+ @context.register_namespace(SOAP_PREFIX, SOAP_URI)
31
+ @context.register_namespace(NS0_PREFIX, NS0_URI)
32
+ nodes = @context.find('/soap:Envelope/soap:Body/ns0:getManufacturerNamesResponse')
33
+ assert_equal(1, nodes.length)
34
+ end
35
+
36
+ def test_ns_register_string
37
+ @context.register_namespaces("#{SOAP_PREFIX}:#{SOAP_URI}")
38
+ @context.register_namespaces("#{NS0_PREFIX}:#{NS0_URI}")
39
+ nodes = @context.find('/soap:Envelope/soap:Body/ns0:getManufacturerNamesResponse')
40
+ assert_equal(1, nodes.length)
41
+ end
42
+
43
+ def test_ns_register_array
44
+ @context.register_namespaces(["#{SOAP_PREFIX}:#{SOAP_URI}", "#{NS0_PREFIX}:#{NS0_URI}"])
45
+ nodes = @context.find('/soap:Envelope/soap:Body/ns0:getManufacturerNamesResponse')
46
+ assert_equal(1, nodes.length)
47
+ end
48
+
49
+ def test_ns_register_hash
50
+ @context.register_namespaces(SOAP_PREFIX => SOAP_URI,
51
+ NS0_PREFIX => NS0_URI)
52
+
53
+ nodes = @context.find('/soap:Envelope/soap:Body/ns0:getManufacturerNamesResponse')
54
+ assert_equal(1, nodes.length)
55
+ end
56
+
57
+ def test_ns_register_node
58
+ @context.register_namespaces_from_node(@context.doc.root)
59
+ nodes = @context.find('/soap:Envelope')
60
+ assert_equal(1, nodes.length)
61
+ end
62
+
63
+ def test_node
64
+ @context.register_namespaces_from_node(@context.doc.root)
65
+
66
+ nodes = @context.find('soap:Body')
67
+ assert_equal(0, nodes.length)
68
+
69
+
70
+ @context.node = @context.doc.root.child.next
71
+ nodes = @context.find('soap:Body')
72
+ assert_equal(0, nodes.length)
73
+ end
74
+
75
+ def test_cache
76
+ @context.enable_cache
77
+ @context.enable_cache(10)
78
+ @context.disable_cache
79
+ end
80
+
81
+ def test_require_doc
82
+ doc = XML::Document.file(File.join(File.dirname(__FILE__), 'model/soap.xml'))
83
+ error = assert_raises(TypeError) do
84
+ @context = XML::XPath::Context.new(doc.root)
85
+ end
86
+ assert_equal("Supplied argument must be a document or node.", error.to_s)
87
+ end
88
+ end
@@ -0,0 +1,37 @@
1
+ # encoding: UTF-8
2
+
3
+ require './test_helper'
4
+
5
+
6
+ class TestXPathExpression < Minitest::Test
7
+ def setup
8
+ xp = XML::Parser.string('<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>')
9
+ @doc = xp.parse
10
+ end
11
+
12
+ def teardown
13
+ @doc = nil
14
+ end
15
+
16
+ def test_nodes
17
+ expr = XML::XPath::Expression.compile('/ruby_array/fixnum')
18
+ set = @doc.find(expr)
19
+ assert_instance_of(XML::XPath::Object, set)
20
+ assert_equal(2, set.size)
21
+ end
22
+
23
+ def test_find_class
24
+ expr = XML::XPath::Expression.new('/ruby_array/fixnum')
25
+ set = @doc.find(expr)
26
+ assert_instance_of(XML::XPath::Object, set)
27
+ assert_equal(2, set.size)
28
+ end
29
+
30
+ def test_find_invalid
31
+ error = assert_raises(TypeError) do
32
+ set = @doc.find(999)
33
+ end
34
+ assert_equal('Argument should be an instance of a String or XPath::Expression',
35
+ error.to_s)
36
+ end
37
+ end
@@ -0,0 +1,72 @@
1
+ # encoding: UTF-8
2
+ require './test_helper'
3
+
4
+ class TC_XML_XPointer < Minitest::Test
5
+ def setup()
6
+ xp = XML::Parser.string('<!DOCTYPE ra [<!ELEMENT ra (foo+)><!ATTLIST ra id ID #IMPLIED><!ELEMENT foo (#PCDATA)><!ATTLIST foo id ID #IMPLIED>]><ra id="start"><foo id="one">one</foo><foo id="two">two</foo><foo id="three">three</foo></ra>')
7
+ @doc = xp.parse
8
+ assert_instance_of(XML::Document, @doc)
9
+ @root = @doc.root
10
+ assert_instance_of(XML::Node, @root)
11
+ end
12
+
13
+ def teardown()
14
+ @doc = nil
15
+ @root = nil
16
+ @xptr = nil
17
+ end
18
+
19
+ def test_libxml_xpointer_id
20
+ xptr = @root.pointer('xpointer(id("two"))')
21
+ assert_instance_of(XML::XPath::Object, xptr)
22
+ xptr.each do |node|
23
+ # It seems from the spec that the pointer should
24
+ # be the whole node, rather than just the ID attr.
25
+ assert_equal('two', node.content)
26
+ assert_instance_of(XML::Node, node)
27
+ assert_equal('two', node['id'])
28
+ end
29
+
30
+ # FIXME: Not sure at all about this kind of range
31
+ if ENV['NOTWORKING']
32
+ @xptr = @root.pointer('xpointer(id("two")) xpointer(id("three"))')
33
+ assert_instance_of(XML::XPath, @xptr)
34
+ assert_instance_of(XML::Node::Set, @xptr.set)
35
+ assert_equal(2, @xptr.set.length)
36
+ for n in @xptr.set
37
+ assert_match(/two|three/, n.to_s)
38
+ end
39
+ end
40
+ end
41
+
42
+ # FIXME: There is a bug in these ranges...
43
+ if ENV['NOTWORKING']
44
+ def test_libxml_xpointer_range()
45
+ nstart = nend = nil
46
+ @xptr = @root.pointer('xpointer(id("one"))').set
47
+ @xptr.each{|n| nstart = n}
48
+ assert_instance_of(XML::Node, nstart)
49
+ @xptr = @root.pointer('xpointer(id("three"))').set
50
+ @xptr.each{|n| nend = n}
51
+ assert_instance_of(XML::Node, nend)
52
+ range = XML::XPointer.range(nstart, nend)
53
+ assert_instance_of(XML::XPath, range)
54
+ assert_instance_of(XML::Node::Set, range.set)
55
+
56
+ for n in range.set
57
+ assert_match(/one|two|three/, n.to_s)
58
+ end
59
+ assert_equal(3, range.set.length)
60
+ end
61
+ end
62
+
63
+ # def test_libxml_xpointer_start_point()
64
+ # @xptr = @root.pointer('xpointer(start-point("one"))')
65
+ # assert_instance_of(XML::XPath, @xptr)
66
+ # set = @xptr.set
67
+ # assert_instance_of(XML::Node::Set, set)
68
+ # for n in set
69
+ # assert_match(/one|two|three/, n.to_s)
70
+ # end
71
+ # end
72
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+
3
+ # To make testing/debugging easier, test within this source tree versus an installed gem
4
+
5
+ dir = File.dirname(__FILE__)
6
+ root = File.expand_path(File.join(dir, '..'))
7
+ lib = File.expand_path(File.join(root, 'lib'))
8
+ ext = File.expand_path(File.join(root, 'ext', 'libxml'))
9
+
10
+ $LOAD_PATH << lib
11
+ $LOAD_PATH << ext
12
+
13
+ require 'xml'
14
+ require 'minitest/autorun'
15
+ # require 'minitest/reporters'
16
+ # MiniTest::Reporters.use!
@@ -0,0 +1,49 @@
1
+ # encoding: UTF-8
2
+
3
+ # Change to current directory so relative
4
+ # requires work.
5
+ dir = File.dirname(__FILE__)
6
+ Dir.chdir(dir)
7
+
8
+ require './tc_attr'
9
+ require './tc_attr_decl'
10
+ require './tc_attributes'
11
+ require './tc_canonicalize'
12
+ require './tc_document'
13
+ require './tc_document_write'
14
+ require './tc_dtd'
15
+ require './tc_error'
16
+ require './tc_html_parser'
17
+ require './tc_html_parser_context'
18
+ require './tc_namespace'
19
+ require './tc_namespaces'
20
+ require './tc_node'
21
+ require './tc_node_cdata'
22
+ require './tc_node_comment'
23
+ require './tc_node_copy'
24
+ require './tc_node_edit'
25
+ require './tc_node_pi'
26
+ require './tc_node_text'
27
+ require './tc_node_write'
28
+ require './tc_node_xlink'
29
+ require './tc_parser'
30
+ require './tc_parser_context'
31
+ require './tc_reader'
32
+ require './tc_relaxng'
33
+ require './tc_sax_parser'
34
+ require './tc_schema'
35
+ require './tc_traversal'
36
+ require './tc_writer'
37
+ require './tc_xinclude'
38
+ require './tc_xpath'
39
+ require './tc_xpath_context'
40
+ require './tc_xpath_expression'
41
+ require './tc_xpointer'
42
+
43
+ if defined?(Encoding)
44
+ require './tc_encoding'
45
+ require './tc_encoding_sax'
46
+ end
47
+ # Compatibility
48
+ require './tc_properties'
49
+ require './tc_deprecated_require'
metadata ADDED
@@ -0,0 +1,344 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: libxml-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.9.0
5
+ platform: x64-mingw32
6
+ authors:
7
+ - Ross Bamform
8
+ - Wai-Sun Chia
9
+ - Sean Chittenden
10
+ - Dan Janwoski
11
+ - Anurag Priyam
12
+ - Charlie Savage
13
+ - Ryan Johnson
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+ date: 2016-06-13 00:00:00.000000000 Z
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
20
+ name: hanna_guado
21
+ requirement: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ type: :development
27
+ prerelease: false
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
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.
67
+ email:
68
+ executables: []
69
+ extensions: []
70
+ extra_rdoc_files: []
71
+ files:
72
+ - HISTORY
73
+ - LICENSE
74
+ - MANIFEST
75
+ - README.rdoc
76
+ - Rakefile
77
+ - ext/libxml/extconf.h
78
+ - ext/libxml/extconf.rb
79
+ - ext/libxml/libxml.c
80
+ - ext/libxml/libxml_ruby.def
81
+ - ext/libxml/ruby_libxml.h
82
+ - ext/libxml/ruby_xml.c
83
+ - ext/libxml/ruby_xml.h
84
+ - ext/libxml/ruby_xml_attr.c
85
+ - ext/libxml/ruby_xml_attr.h
86
+ - ext/libxml/ruby_xml_attr_decl.c
87
+ - ext/libxml/ruby_xml_attr_decl.h
88
+ - ext/libxml/ruby_xml_attributes.c
89
+ - ext/libxml/ruby_xml_attributes.h
90
+ - ext/libxml/ruby_xml_cbg.c
91
+ - ext/libxml/ruby_xml_document.c
92
+ - ext/libxml/ruby_xml_document.h
93
+ - ext/libxml/ruby_xml_dtd.c
94
+ - ext/libxml/ruby_xml_dtd.h
95
+ - ext/libxml/ruby_xml_encoding.c
96
+ - ext/libxml/ruby_xml_encoding.h
97
+ - ext/libxml/ruby_xml_error.c
98
+ - ext/libxml/ruby_xml_error.h
99
+ - ext/libxml/ruby_xml_html_parser.c
100
+ - ext/libxml/ruby_xml_html_parser.h
101
+ - ext/libxml/ruby_xml_html_parser_context.c
102
+ - ext/libxml/ruby_xml_html_parser_context.h
103
+ - ext/libxml/ruby_xml_html_parser_options.c
104
+ - ext/libxml/ruby_xml_html_parser_options.h
105
+ - ext/libxml/ruby_xml_input_cbg.c
106
+ - ext/libxml/ruby_xml_input_cbg.h
107
+ - ext/libxml/ruby_xml_io.c
108
+ - ext/libxml/ruby_xml_io.h
109
+ - ext/libxml/ruby_xml_namespace.c
110
+ - ext/libxml/ruby_xml_namespace.h
111
+ - ext/libxml/ruby_xml_namespaces.c
112
+ - ext/libxml/ruby_xml_namespaces.h
113
+ - ext/libxml/ruby_xml_node.c
114
+ - ext/libxml/ruby_xml_node.h
115
+ - ext/libxml/ruby_xml_parser.c
116
+ - ext/libxml/ruby_xml_parser.h
117
+ - ext/libxml/ruby_xml_parser_context.c
118
+ - ext/libxml/ruby_xml_parser_context.h
119
+ - ext/libxml/ruby_xml_parser_options.c
120
+ - ext/libxml/ruby_xml_parser_options.h
121
+ - ext/libxml/ruby_xml_reader.c
122
+ - ext/libxml/ruby_xml_reader.h
123
+ - ext/libxml/ruby_xml_relaxng.c
124
+ - ext/libxml/ruby_xml_relaxng.h
125
+ - ext/libxml/ruby_xml_sax2_handler.c
126
+ - ext/libxml/ruby_xml_sax2_handler.h
127
+ - ext/libxml/ruby_xml_sax_parser.c
128
+ - ext/libxml/ruby_xml_sax_parser.h
129
+ - ext/libxml/ruby_xml_schema.c
130
+ - ext/libxml/ruby_xml_schema.h
131
+ - ext/libxml/ruby_xml_schema_attribute.c
132
+ - ext/libxml/ruby_xml_schema_attribute.h
133
+ - ext/libxml/ruby_xml_schema_element.c
134
+ - ext/libxml/ruby_xml_schema_element.h
135
+ - ext/libxml/ruby_xml_schema_facet.c
136
+ - ext/libxml/ruby_xml_schema_facet.h
137
+ - ext/libxml/ruby_xml_schema_type.c
138
+ - ext/libxml/ruby_xml_schema_type.h
139
+ - ext/libxml/ruby_xml_version.h
140
+ - ext/libxml/ruby_xml_writer.c
141
+ - ext/libxml/ruby_xml_writer.h
142
+ - ext/libxml/ruby_xml_xinclude.c
143
+ - ext/libxml/ruby_xml_xinclude.h
144
+ - ext/libxml/ruby_xml_xpath.c
145
+ - ext/libxml/ruby_xml_xpath.h
146
+ - ext/libxml/ruby_xml_xpath_context.c
147
+ - ext/libxml/ruby_xml_xpath_context.h
148
+ - ext/libxml/ruby_xml_xpath_expression.c
149
+ - ext/libxml/ruby_xml_xpath_expression.h
150
+ - ext/libxml/ruby_xml_xpath_object.c
151
+ - ext/libxml/ruby_xml_xpath_object.h
152
+ - ext/libxml/ruby_xml_xpointer.c
153
+ - ext/libxml/ruby_xml_xpointer.h
154
+ - ext/vc/libxml_ruby.sln
155
+ - lib/2.3/libxml_ruby.so
156
+ - lib/libs/libiconv-2.dll
157
+ - lib/libs/libxml2-2.dll
158
+ - lib/libs/zlib1.dll
159
+ - lib/libxml.rb
160
+ - lib/libxml/attr.rb
161
+ - lib/libxml/attr_decl.rb
162
+ - lib/libxml/attributes.rb
163
+ - lib/libxml/document.rb
164
+ - lib/libxml/error.rb
165
+ - lib/libxml/hpricot.rb
166
+ - lib/libxml/html_parser.rb
167
+ - lib/libxml/namespace.rb
168
+ - lib/libxml/namespaces.rb
169
+ - lib/libxml/node.rb
170
+ - lib/libxml/ns.rb
171
+ - lib/libxml/parser.rb
172
+ - lib/libxml/properties.rb
173
+ - lib/libxml/reader.rb
174
+ - lib/libxml/sax_callbacks.rb
175
+ - lib/libxml/sax_parser.rb
176
+ - lib/libxml/schema.rb
177
+ - lib/libxml/schema/attribute.rb
178
+ - lib/libxml/schema/element.rb
179
+ - lib/libxml/schema/type.rb
180
+ - lib/libxml/tree.rb
181
+ - lib/libxml/xpath_object.rb
182
+ - lib/xml.rb
183
+ - lib/xml/libxml.rb
184
+ - libxml-ruby.gemspec
185
+ - script/benchmark/depixelate
186
+ - script/benchmark/hamlet.xml
187
+ - script/benchmark/parsecount
188
+ - script/benchmark/sock_entries.xml
189
+ - script/benchmark/throughput
190
+ - script/test
191
+ - setup.rb
192
+ - test/c14n/given/doc.dtd
193
+ - test/c14n/given/example-1.xml
194
+ - test/c14n/given/example-2.xml
195
+ - test/c14n/given/example-3.xml
196
+ - test/c14n/given/example-4.xml
197
+ - test/c14n/given/example-5.xml
198
+ - test/c14n/given/example-6.xml
199
+ - test/c14n/given/example-7.xml
200
+ - test/c14n/given/example-8.xml
201
+ - test/c14n/given/example-8.xpath
202
+ - test/c14n/given/world.txt
203
+ - test/c14n/result/1-1-without-comments/example-1
204
+ - test/c14n/result/1-1-without-comments/example-2
205
+ - test/c14n/result/1-1-without-comments/example-3
206
+ - test/c14n/result/1-1-without-comments/example-4
207
+ - test/c14n/result/1-1-without-comments/example-5
208
+ - test/c14n/result/1-1-without-comments/example-6
209
+ - test/c14n/result/1-1-without-comments/example-7
210
+ - test/c14n/result/1-1-without-comments/example-8
211
+ - test/c14n/result/with-comments/example-1
212
+ - test/c14n/result/with-comments/example-2
213
+ - test/c14n/result/with-comments/example-3
214
+ - test/c14n/result/with-comments/example-4
215
+ - test/c14n/result/with-comments/example-5
216
+ - test/c14n/result/with-comments/example-6
217
+ - test/c14n/result/with-comments/example-7
218
+ - test/c14n/result/without-comments/example-1
219
+ - test/c14n/result/without-comments/example-2
220
+ - test/c14n/result/without-comments/example-3
221
+ - test/c14n/result/without-comments/example-4
222
+ - test/c14n/result/without-comments/example-5
223
+ - test/c14n/result/without-comments/example-6
224
+ - test/c14n/result/without-comments/example-7
225
+ - test/model/atom.xml
226
+ - test/model/bands.iso-8859-1.xml
227
+ - test/model/bands.utf-8.xml
228
+ - test/model/bands.xml
229
+ - test/model/books.xml
230
+ - test/model/merge_bug_data.xml
231
+ - test/model/ruby-lang.html
232
+ - test/model/rubynet.xml
233
+ - test/model/rubynet_project
234
+ - test/model/shiporder.rnc
235
+ - test/model/shiporder.rng
236
+ - test/model/shiporder.xml
237
+ - test/model/shiporder.xsd
238
+ - test/model/soap.xml
239
+ - test/model/xinclude.xml
240
+ - test/tc_attr.rb
241
+ - test/tc_attr_decl.rb
242
+ - test/tc_attributes.rb
243
+ - test/tc_canonicalize.rb
244
+ - test/tc_deprecated_require.rb
245
+ - test/tc_document.rb
246
+ - test/tc_document_write.rb
247
+ - test/tc_dtd.rb
248
+ - test/tc_encoding.rb
249
+ - test/tc_encoding_sax.rb
250
+ - test/tc_error.rb
251
+ - test/tc_html_parser.rb
252
+ - test/tc_html_parser_context.rb
253
+ - test/tc_namespace.rb
254
+ - test/tc_namespaces.rb
255
+ - test/tc_node.rb
256
+ - test/tc_node_cdata.rb
257
+ - test/tc_node_comment.rb
258
+ - test/tc_node_copy.rb
259
+ - test/tc_node_edit.rb
260
+ - test/tc_node_pi.rb
261
+ - test/tc_node_text.rb
262
+ - test/tc_node_write.rb
263
+ - test/tc_node_xlink.rb
264
+ - test/tc_parser.rb
265
+ - test/tc_parser_context.rb
266
+ - test/tc_properties.rb
267
+ - test/tc_reader.rb
268
+ - test/tc_relaxng.rb
269
+ - test/tc_sax_parser.rb
270
+ - test/tc_schema.rb
271
+ - test/tc_traversal.rb
272
+ - test/tc_writer.rb
273
+ - test/tc_xinclude.rb
274
+ - test/tc_xml.rb
275
+ - test/tc_xpath.rb
276
+ - test/tc_xpath_context.rb
277
+ - test/tc_xpath_expression.rb
278
+ - test/tc_xpointer.rb
279
+ - test/test_helper.rb
280
+ - test/test_suite.rb
281
+ homepage: http://xml4r.github.com/libxml-ruby
282
+ licenses:
283
+ - MIT
284
+ metadata: {}
285
+ post_install_message:
286
+ rdoc_options: []
287
+ require_paths:
288
+ - lib
289
+ required_ruby_version: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - ">="
292
+ - !ruby/object:Gem::Version
293
+ version: 1.8.6
294
+ required_rubygems_version: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - ">="
297
+ - !ruby/object:Gem::Version
298
+ version: '0'
299
+ requirements: []
300
+ rubyforge_project:
301
+ rubygems_version: 2.5.1
302
+ signing_key:
303
+ specification_version: 4
304
+ summary: Ruby Bindings for LibXML2
305
+ test_files:
306
+ - test/tc_attr.rb
307
+ - test/tc_attributes.rb
308
+ - test/tc_attr_decl.rb
309
+ - test/tc_canonicalize.rb
310
+ - test/tc_deprecated_require.rb
311
+ - test/tc_document.rb
312
+ - test/tc_document_write.rb
313
+ - test/tc_dtd.rb
314
+ - test/tc_encoding.rb
315
+ - test/tc_encoding_sax.rb
316
+ - test/tc_error.rb
317
+ - test/tc_html_parser.rb
318
+ - test/tc_html_parser_context.rb
319
+ - test/tc_namespace.rb
320
+ - test/tc_namespaces.rb
321
+ - test/tc_node.rb
322
+ - test/tc_node_cdata.rb
323
+ - test/tc_node_comment.rb
324
+ - test/tc_node_copy.rb
325
+ - test/tc_node_edit.rb
326
+ - test/tc_node_pi.rb
327
+ - test/tc_node_text.rb
328
+ - test/tc_node_write.rb
329
+ - test/tc_node_xlink.rb
330
+ - test/tc_parser.rb
331
+ - test/tc_parser_context.rb
332
+ - test/tc_properties.rb
333
+ - test/tc_reader.rb
334
+ - test/tc_relaxng.rb
335
+ - test/tc_sax_parser.rb
336
+ - test/tc_schema.rb
337
+ - test/tc_traversal.rb
338
+ - test/tc_writer.rb
339
+ - test/tc_xinclude.rb
340
+ - test/tc_xml.rb
341
+ - test/tc_xpath.rb
342
+ - test/tc_xpath_context.rb
343
+ - test/tc_xpath_expression.rb
344
+ - test/tc_xpointer.rb