nokogiri 1.2.3-x86-mswin32-60 → 1.4.5-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

Files changed (319) hide show
  1. data/.autotest +18 -7
  2. data/.gemtest +0 -0
  3. data/CHANGELOG.ja.rdoc +297 -3
  4. data/CHANGELOG.rdoc +289 -0
  5. data/Manifest.txt +148 -37
  6. data/README.ja.rdoc +20 -20
  7. data/README.rdoc +53 -22
  8. data/Rakefile +127 -211
  9. data/bin/nokogiri +54 -0
  10. data/ext/nokogiri/depend +358 -0
  11. data/ext/nokogiri/extconf.rb +89 -54
  12. data/ext/nokogiri/html_document.c +34 -27
  13. data/ext/nokogiri/html_document.h +1 -1
  14. data/ext/nokogiri/html_element_description.c +276 -0
  15. data/ext/nokogiri/html_element_description.h +10 -0
  16. data/ext/nokogiri/html_entity_lookup.c +7 -5
  17. data/ext/nokogiri/html_entity_lookup.h +1 -1
  18. data/ext/nokogiri/html_sax_parser_context.c +94 -0
  19. data/ext/nokogiri/html_sax_parser_context.h +11 -0
  20. data/ext/nokogiri/{native.c → nokogiri.c} +31 -7
  21. data/ext/nokogiri/{native.h → nokogiri.h} +68 -41
  22. data/ext/nokogiri/xml_attr.c +20 -9
  23. data/ext/nokogiri/xml_attr.h +1 -1
  24. data/ext/nokogiri/xml_attribute_decl.c +70 -0
  25. data/ext/nokogiri/xml_attribute_decl.h +9 -0
  26. data/ext/nokogiri/xml_cdata.c +21 -9
  27. data/ext/nokogiri/xml_cdata.h +1 -1
  28. data/ext/nokogiri/xml_comment.c +18 -6
  29. data/ext/nokogiri/xml_comment.h +1 -1
  30. data/ext/nokogiri/xml_document.c +247 -68
  31. data/ext/nokogiri/xml_document.h +5 -3
  32. data/ext/nokogiri/xml_document_fragment.c +15 -7
  33. data/ext/nokogiri/xml_document_fragment.h +1 -1
  34. data/ext/nokogiri/xml_dtd.c +110 -10
  35. data/ext/nokogiri/xml_dtd.h +3 -1
  36. data/ext/nokogiri/xml_element_content.c +123 -0
  37. data/ext/nokogiri/xml_element_content.h +10 -0
  38. data/ext/nokogiri/xml_element_decl.c +69 -0
  39. data/ext/nokogiri/xml_element_decl.h +9 -0
  40. data/ext/nokogiri/xml_encoding_handler.c +79 -0
  41. data/ext/nokogiri/xml_encoding_handler.h +8 -0
  42. data/ext/nokogiri/xml_entity_decl.c +110 -0
  43. data/ext/nokogiri/xml_entity_decl.h +10 -0
  44. data/ext/nokogiri/xml_entity_reference.c +16 -5
  45. data/ext/nokogiri/xml_entity_reference.h +1 -1
  46. data/ext/nokogiri/xml_io.c +40 -8
  47. data/ext/nokogiri/xml_io.h +2 -1
  48. data/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  49. data/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  50. data/ext/nokogiri/xml_namespace.c +84 -0
  51. data/ext/nokogiri/xml_namespace.h +13 -0
  52. data/ext/nokogiri/xml_node.c +782 -225
  53. data/ext/nokogiri/xml_node.h +2 -4
  54. data/ext/nokogiri/xml_node_set.c +253 -34
  55. data/ext/nokogiri/xml_node_set.h +2 -2
  56. data/ext/nokogiri/xml_processing_instruction.c +17 -5
  57. data/ext/nokogiri/xml_processing_instruction.h +1 -1
  58. data/ext/nokogiri/xml_reader.c +277 -85
  59. data/ext/nokogiri/xml_reader.h +1 -1
  60. data/ext/nokogiri/xml_relax_ng.c +168 -0
  61. data/ext/nokogiri/xml_relax_ng.h +9 -0
  62. data/ext/nokogiri/xml_sax_parser.c +183 -111
  63. data/ext/nokogiri/xml_sax_parser.h +30 -1
  64. data/ext/nokogiri/xml_sax_parser_context.c +199 -0
  65. data/ext/nokogiri/xml_sax_parser_context.h +10 -0
  66. data/ext/nokogiri/xml_sax_push_parser.c +42 -12
  67. data/ext/nokogiri/xml_sax_push_parser.h +1 -1
  68. data/ext/nokogiri/xml_schema.c +205 -0
  69. data/ext/nokogiri/xml_schema.h +9 -0
  70. data/ext/nokogiri/xml_syntax_error.c +28 -173
  71. data/ext/nokogiri/xml_syntax_error.h +2 -1
  72. data/ext/nokogiri/xml_text.c +16 -6
  73. data/ext/nokogiri/xml_text.h +1 -1
  74. data/ext/nokogiri/xml_xpath_context.c +104 -47
  75. data/ext/nokogiri/xml_xpath_context.h +1 -1
  76. data/ext/nokogiri/xslt_stylesheet.c +161 -19
  77. data/ext/nokogiri/xslt_stylesheet.h +1 -1
  78. data/lib/nokogiri.rb +47 -8
  79. data/lib/nokogiri/1.8/nokogiri.so +0 -0
  80. data/lib/nokogiri/1.9/nokogiri.so +0 -0
  81. data/lib/nokogiri/css.rb +6 -3
  82. data/lib/nokogiri/css/node.rb +14 -12
  83. data/lib/nokogiri/css/parser.rb +665 -62
  84. data/lib/nokogiri/css/parser.y +20 -10
  85. data/lib/nokogiri/css/parser_extras.rb +91 -0
  86. data/lib/nokogiri/css/tokenizer.rb +148 -5
  87. data/lib/nokogiri/css/tokenizer.rex +10 -9
  88. data/lib/nokogiri/css/xpath_visitor.rb +47 -44
  89. data/lib/nokogiri/decorators/slop.rb +8 -4
  90. data/lib/nokogiri/ffi/encoding_handler.rb +42 -0
  91. data/lib/nokogiri/ffi/html/document.rb +28 -0
  92. data/lib/nokogiri/ffi/html/element_description.rb +81 -0
  93. data/lib/nokogiri/ffi/html/entity_lookup.rb +16 -0
  94. data/lib/nokogiri/ffi/html/sax/parser_context.rb +38 -0
  95. data/lib/nokogiri/ffi/io_callbacks.rb +42 -0
  96. data/lib/nokogiri/ffi/libxml.rb +420 -0
  97. data/lib/nokogiri/ffi/structs/common_node.rb +38 -0
  98. data/lib/nokogiri/ffi/structs/html_elem_desc.rb +24 -0
  99. data/lib/nokogiri/ffi/structs/html_entity_desc.rb +13 -0
  100. data/lib/nokogiri/ffi/structs/xml_alloc.rb +16 -0
  101. data/lib/nokogiri/ffi/structs/xml_attr.rb +20 -0
  102. data/lib/nokogiri/ffi/structs/xml_attribute.rb +27 -0
  103. data/lib/nokogiri/ffi/structs/xml_buffer.rb +16 -0
  104. data/lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb +11 -0
  105. data/lib/nokogiri/ffi/structs/xml_document.rb +117 -0
  106. data/lib/nokogiri/ffi/structs/xml_dtd.rb +28 -0
  107. data/lib/nokogiri/ffi/structs/xml_element.rb +26 -0
  108. data/lib/nokogiri/ffi/structs/xml_element_content.rb +17 -0
  109. data/lib/nokogiri/ffi/structs/xml_entity.rb +32 -0
  110. data/lib/nokogiri/ffi/structs/xml_enumeration.rb +12 -0
  111. data/lib/nokogiri/ffi/structs/xml_node.rb +28 -0
  112. data/lib/nokogiri/ffi/structs/xml_node_set.rb +53 -0
  113. data/lib/nokogiri/ffi/structs/xml_notation.rb +11 -0
  114. data/lib/nokogiri/ffi/structs/xml_ns.rb +15 -0
  115. data/lib/nokogiri/ffi/structs/xml_parser_context.rb +20 -0
  116. data/lib/nokogiri/ffi/structs/xml_parser_input.rb +19 -0
  117. data/lib/nokogiri/ffi/structs/xml_relax_ng.rb +14 -0
  118. data/lib/nokogiri/ffi/structs/xml_sax_handler.rb +51 -0
  119. data/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +124 -0
  120. data/lib/nokogiri/ffi/structs/xml_schema.rb +13 -0
  121. data/lib/nokogiri/ffi/structs/xml_syntax_error.rb +31 -0
  122. data/lib/nokogiri/ffi/structs/xml_text_reader.rb +12 -0
  123. data/lib/nokogiri/ffi/structs/xml_xpath_context.rb +38 -0
  124. data/lib/nokogiri/ffi/structs/xml_xpath_object.rb +35 -0
  125. data/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +20 -0
  126. data/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +13 -0
  127. data/lib/nokogiri/ffi/weak_bucket.rb +40 -0
  128. data/lib/nokogiri/ffi/xml/attr.rb +41 -0
  129. data/lib/nokogiri/ffi/xml/attribute_decl.rb +27 -0
  130. data/lib/nokogiri/ffi/xml/cdata.rb +19 -0
  131. data/lib/nokogiri/ffi/xml/comment.rb +18 -0
  132. data/lib/nokogiri/ffi/xml/document.rb +174 -0
  133. data/lib/nokogiri/ffi/xml/document_fragment.rb +21 -0
  134. data/lib/nokogiri/ffi/xml/dtd.rb +67 -0
  135. data/lib/nokogiri/ffi/xml/element_content.rb +43 -0
  136. data/lib/nokogiri/ffi/xml/element_decl.rb +19 -0
  137. data/lib/nokogiri/ffi/xml/entity_decl.rb +36 -0
  138. data/lib/nokogiri/ffi/xml/entity_reference.rb +19 -0
  139. data/lib/nokogiri/ffi/xml/namespace.rb +44 -0
  140. data/lib/nokogiri/ffi/xml/node.rb +559 -0
  141. data/lib/nokogiri/ffi/xml/node_set.rb +150 -0
  142. data/lib/nokogiri/ffi/xml/processing_instruction.rb +20 -0
  143. data/lib/nokogiri/ffi/xml/reader.rb +236 -0
  144. data/lib/nokogiri/ffi/xml/relax_ng.rb +85 -0
  145. data/lib/nokogiri/ffi/xml/sax/parser.rb +143 -0
  146. data/lib/nokogiri/ffi/xml/sax/parser_context.rb +79 -0
  147. data/lib/nokogiri/ffi/xml/sax/push_parser.rb +51 -0
  148. data/lib/nokogiri/ffi/xml/schema.rb +109 -0
  149. data/lib/nokogiri/ffi/xml/syntax_error.rb +98 -0
  150. data/lib/nokogiri/ffi/xml/text.rb +18 -0
  151. data/lib/nokogiri/ffi/xml/xpath.rb +9 -0
  152. data/lib/nokogiri/ffi/xml/xpath_context.rb +153 -0
  153. data/lib/nokogiri/ffi/xslt/stylesheet.rb +77 -0
  154. data/lib/nokogiri/html.rb +13 -47
  155. data/lib/nokogiri/html/builder.rb +27 -1
  156. data/lib/nokogiri/html/document.rb +201 -7
  157. data/lib/nokogiri/html/document_fragment.rb +41 -0
  158. data/lib/nokogiri/html/element_description.rb +23 -0
  159. data/lib/nokogiri/html/entity_lookup.rb +2 -0
  160. data/lib/nokogiri/html/sax/parser.rb +34 -3
  161. data/lib/nokogiri/html/sax/parser_context.rb +16 -0
  162. data/lib/nokogiri/nokogiri.rb +1 -0
  163. data/lib/nokogiri/version.rb +40 -1
  164. data/lib/nokogiri/version_warning.rb +14 -0
  165. data/lib/nokogiri/xml.rb +32 -53
  166. data/lib/nokogiri/xml/attr.rb +5 -0
  167. data/lib/nokogiri/xml/attribute_decl.rb +18 -0
  168. data/lib/nokogiri/xml/builder.rb +349 -29
  169. data/lib/nokogiri/xml/cdata.rb +3 -1
  170. data/lib/nokogiri/xml/character_data.rb +7 -0
  171. data/lib/nokogiri/xml/document.rb +166 -14
  172. data/lib/nokogiri/xml/document_fragment.rb +76 -1
  173. data/lib/nokogiri/xml/dtd.rb +16 -3
  174. data/lib/nokogiri/xml/element_content.rb +36 -0
  175. data/lib/nokogiri/xml/element_decl.rb +13 -0
  176. data/lib/nokogiri/xml/entity_decl.rb +19 -0
  177. data/lib/nokogiri/xml/namespace.rb +13 -0
  178. data/lib/nokogiri/xml/node.rb +561 -166
  179. data/lib/nokogiri/xml/node/save_options.rb +22 -2
  180. data/lib/nokogiri/xml/node_set.rb +202 -40
  181. data/lib/nokogiri/xml/parse_options.rb +93 -0
  182. data/lib/nokogiri/xml/pp.rb +2 -0
  183. data/lib/nokogiri/xml/pp/character_data.rb +18 -0
  184. data/lib/nokogiri/xml/pp/node.rb +56 -0
  185. data/lib/nokogiri/xml/processing_instruction.rb +2 -0
  186. data/lib/nokogiri/xml/reader.rb +93 -8
  187. data/lib/nokogiri/xml/relax_ng.rb +32 -0
  188. data/lib/nokogiri/xml/sax.rb +1 -7
  189. data/lib/nokogiri/xml/sax/document.rb +107 -2
  190. data/lib/nokogiri/xml/sax/parser.rb +57 -7
  191. data/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  192. data/lib/nokogiri/xml/sax/push_parser.rb +13 -1
  193. data/lib/nokogiri/xml/schema.rb +63 -0
  194. data/lib/nokogiri/xml/syntax_error.rb +25 -1
  195. data/lib/nokogiri/xml/text.rb +4 -1
  196. data/lib/nokogiri/xml/xpath.rb +1 -1
  197. data/lib/nokogiri/xml/xpath/syntax_error.rb +3 -0
  198. data/lib/nokogiri/xml/xpath_context.rb +2 -0
  199. data/lib/nokogiri/xslt.rb +26 -2
  200. data/lib/nokogiri/xslt/stylesheet.rb +19 -0
  201. data/lib/xsd/xmlparser/nokogiri.rb +45 -9
  202. data/tasks/cross_compile.rb +173 -0
  203. data/tasks/test.rb +25 -69
  204. data/test/css/test_nthiness.rb +3 -4
  205. data/test/css/test_parser.rb +75 -20
  206. data/test/css/test_tokenizer.rb +23 -1
  207. data/test/css/test_xpath_visitor.rb +10 -1
  208. data/test/decorators/test_slop.rb +16 -0
  209. data/test/ffi/test_document.rb +35 -0
  210. data/test/files/2ch.html +108 -0
  211. data/test/files/address_book.rlx +12 -0
  212. data/test/files/address_book.xml +10 -0
  213. data/test/files/bar/bar.xsd +4 -0
  214. data/test/files/encoding.html +82 -0
  215. data/test/files/encoding.xhtml +84 -0
  216. data/test/files/foo/foo.xsd +4 -0
  217. data/test/files/po.xml +32 -0
  218. data/test/files/po.xsd +66 -0
  219. data/test/files/shift_jis.html +10 -0
  220. data/test/files/shift_jis.xml +5 -0
  221. data/test/files/snuggles.xml +3 -0
  222. data/test/files/staff.dtd +10 -0
  223. data/test/files/valid_bar.xml +2 -0
  224. data/test/helper.rb +101 -23
  225. data/test/html/sax/test_parser.rb +81 -2
  226. data/test/html/sax/test_parser_context.rb +48 -0
  227. data/test/html/test_builder.rb +39 -8
  228. data/test/html/test_document.rb +186 -23
  229. data/test/html/test_document_encoding.rb +78 -1
  230. data/test/html/test_document_fragment.rb +253 -0
  231. data/test/html/test_element_description.rb +98 -0
  232. data/test/html/test_named_characters.rb +1 -1
  233. data/test/html/test_node.rb +124 -36
  234. data/test/html/test_node_encoding.rb +27 -0
  235. data/test/test_convert_xpath.rb +1 -52
  236. data/test/test_css_cache.rb +2 -13
  237. data/test/test_encoding_handler.rb +46 -0
  238. data/test/test_memory_leak.rb +88 -19
  239. data/test/test_nokogiri.rb +38 -5
  240. data/test/test_reader.rb +188 -6
  241. data/test/test_soap4r_sax.rb +52 -0
  242. data/test/test_xslt_transforms.rb +183 -83
  243. data/test/xml/node/test_save_options.rb +1 -1
  244. data/test/xml/node/test_subclass.rb +44 -0
  245. data/test/xml/sax/test_parser.rb +175 -4
  246. data/test/xml/sax/test_parser_context.rb +113 -0
  247. data/test/xml/sax/test_push_parser.rb +90 -2
  248. data/test/xml/test_attr.rb +35 -1
  249. data/test/xml/test_attribute_decl.rb +82 -0
  250. data/test/xml/test_builder.rb +186 -1
  251. data/test/xml/test_cdata.rb +32 -1
  252. data/test/xml/test_comment.rb +13 -1
  253. data/test/xml/test_document.rb +415 -43
  254. data/test/xml/test_document_encoding.rb +1 -1
  255. data/test/xml/test_document_fragment.rb +173 -5
  256. data/test/xml/test_dtd.rb +61 -6
  257. data/test/xml/test_dtd_encoding.rb +3 -1
  258. data/test/xml/test_element_content.rb +56 -0
  259. data/test/xml/test_element_decl.rb +73 -0
  260. data/test/xml/test_entity_decl.rb +120 -0
  261. data/test/xml/test_entity_reference.rb +5 -1
  262. data/test/xml/test_namespace.rb +68 -0
  263. data/test/xml/test_node.rb +546 -201
  264. data/test/xml/test_node_attributes.rb +34 -0
  265. data/test/xml/test_node_encoding.rb +33 -3
  266. data/test/xml/test_node_reparenting.rb +321 -0
  267. data/test/xml/test_node_set.rb +538 -2
  268. data/test/xml/test_parse_options.rb +52 -0
  269. data/test/xml/test_processing_instruction.rb +6 -1
  270. data/test/xml/test_reader_encoding.rb +1 -1
  271. data/test/xml/test_relax_ng.rb +60 -0
  272. data/test/xml/test_schema.rb +94 -0
  273. data/test/xml/test_syntax_error.rb +12 -0
  274. data/test/xml/test_text.rb +35 -1
  275. data/test/xml/test_unparented_node.rb +5 -5
  276. data/test/xml/test_xpath.rb +142 -11
  277. data/test/xslt/test_custom_functions.rb +94 -0
  278. metadata +328 -92
  279. data/ext/nokogiri/html_sax_parser.c +0 -57
  280. data/ext/nokogiri/html_sax_parser.h +0 -11
  281. data/ext/nokogiri/iconv.dll +0 -0
  282. data/ext/nokogiri/libexslt.dll +0 -0
  283. data/ext/nokogiri/libxml2.dll +0 -0
  284. data/ext/nokogiri/libxslt.dll +0 -0
  285. data/ext/nokogiri/native.so +0 -0
  286. data/ext/nokogiri/xml_xpath.c +0 -53
  287. data/ext/nokogiri/xml_xpath.h +0 -11
  288. data/ext/nokogiri/zlib1.dll +0 -0
  289. data/lib/action-nokogiri.rb +0 -30
  290. data/lib/nokogiri/css/generated_parser.rb +0 -713
  291. data/lib/nokogiri/css/generated_tokenizer.rb +0 -144
  292. data/lib/nokogiri/decorators.rb +0 -2
  293. data/lib/nokogiri/decorators/hpricot.rb +0 -3
  294. data/lib/nokogiri/decorators/hpricot/node.rb +0 -56
  295. data/lib/nokogiri/decorators/hpricot/node_set.rb +0 -54
  296. data/lib/nokogiri/decorators/hpricot/xpath_visitor.rb +0 -28
  297. data/lib/nokogiri/hpricot.rb +0 -51
  298. data/lib/nokogiri/xml/comment.rb +0 -6
  299. data/lib/nokogiri/xml/element.rb +0 -6
  300. data/lib/nokogiri/xml/entity_declaration.rb +0 -9
  301. data/lib/nokogiri/xml/fragment_handler.rb +0 -34
  302. data/test/hpricot/files/basic.xhtml +0 -17
  303. data/test/hpricot/files/boingboing.html +0 -2266
  304. data/test/hpricot/files/cy0.html +0 -3653
  305. data/test/hpricot/files/immob.html +0 -400
  306. data/test/hpricot/files/pace_application.html +0 -1320
  307. data/test/hpricot/files/tenderlove.html +0 -16
  308. data/test/hpricot/files/uswebgen.html +0 -220
  309. data/test/hpricot/files/utf8.html +0 -1054
  310. data/test/hpricot/files/week9.html +0 -1723
  311. data/test/hpricot/files/why.xml +0 -19
  312. data/test/hpricot/load_files.rb +0 -11
  313. data/test/hpricot/test_alter.rb +0 -68
  314. data/test/hpricot/test_builder.rb +0 -20
  315. data/test/hpricot/test_parser.rb +0 -426
  316. data/test/hpricot/test_paths.rb +0 -15
  317. data/test/hpricot/test_preserved.rb +0 -77
  318. data/test/hpricot/test_xml.rb +0 -30
  319. data/test/test_gc.rb +0 -15
@@ -0,0 +1,94 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require "helper"
4
+
5
+ module Nokogiri
6
+ module XSLT
7
+ class TestCustomFunctions < Nokogiri::TestCase
8
+ def setup
9
+ super
10
+ @xml = Nokogiri.XML(<<-EOXML)
11
+ <?xml version="1.0" encoding="UTF-8"?>
12
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
13
+ "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
14
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
15
+ <head>
16
+ <meta http-equiv="Content-type" content="application/xhtml+xml"/>
17
+ <title>Foo</title>
18
+ </head>
19
+ <body>
20
+ <h1>Foo</h1>
21
+ <p>Lorem ipsum.</p>
22
+ </body>
23
+ </html>
24
+ EOXML
25
+ end
26
+
27
+ def test_function
28
+ skip("xslt custom functions not implemented under FFI") if Nokogiri.ffi?
29
+ foo = Class.new do
30
+ def capitalize nodes
31
+ nodes.first.content.upcase
32
+ end
33
+ end
34
+
35
+ XSLT.register "http://e.org/functions", foo
36
+
37
+ xsl = Nokogiri.XSLT(<<-EOXSL)
38
+ <?xml version="1.0"?>
39
+ <xsl:stylesheet version="1.0"
40
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
41
+ xmlns:f="http://e.org/functions"
42
+ extension-element-prefixes="f">
43
+
44
+ <xsl:template match="text()">
45
+ <xsl:copy-of select="f:capitalize(.)"/>
46
+ </xsl:template>
47
+
48
+ <xsl:template match="@*|node()">
49
+ <xsl:copy>
50
+ <xsl:apply-templates select="@*|node()"/>
51
+ <xsl:apply-imports/>
52
+ </xsl:copy>
53
+ </xsl:template>
54
+
55
+ </xsl:stylesheet>
56
+ EOXSL
57
+ result = xsl.transform @xml
58
+ assert_equal 'FOO', result.css('title').first.text
59
+ end
60
+
61
+ def test_function_XSLT
62
+ skip("xslt custom functions not implemented under FFI") if Nokogiri.ffi?
63
+ foo = Class.new do
64
+ def america nodes
65
+ nodes.first.content.upcase
66
+ end
67
+ end
68
+
69
+ xsl = Nokogiri.XSLT(<<-EOXSL, "http://e.org/functions" => foo)
70
+ <?xml version="1.0"?>
71
+ <xsl:stylesheet version="1.0"
72
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
73
+ xmlns:f="http://e.org/functions"
74
+ extension-element-prefixes="f">
75
+
76
+ <xsl:template match="text()">
77
+ <xsl:copy-of select="f:america(.)"/>
78
+ </xsl:template>
79
+
80
+ <xsl:template match="@*|node()">
81
+ <xsl:copy>
82
+ <xsl:apply-templates select="@*|node()"/>
83
+ <xsl:apply-imports/>
84
+ </xsl:copy>
85
+ </xsl:template>
86
+
87
+ </xsl:stylesheet>
88
+ EOXSL
89
+ result = xsl.transform @xml
90
+ assert_equal 'FOO', result.css('title').first.text
91
+ end
92
+ end
93
+ end
94
+ end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ hash: 13
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 5
10
+ version: 1.4.5
5
11
  platform: x86-mswin32-60
6
12
  authors:
7
13
  - Aaron Patterson
@@ -10,52 +16,159 @@ autorequire:
10
16
  bindir: bin
11
17
  cert_chain: []
12
18
 
13
- date: 2009-03-22 00:00:00 -07:00
19
+ date: 2011-06-16 00:00:00 -04:00
14
20
  default_executable:
15
21
  dependencies:
16
22
  - !ruby/object:Gem::Dependency
17
- name: hoe
23
+ name: racc
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :development
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: rexical
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rake-compiler
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ type: :development
63
+ version_requirements: *id003
64
+ - !ruby/object:Gem::Dependency
65
+ name: minitest
66
+ prerelease: false
67
+ requirement: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 15
73
+ segments:
74
+ - 1
75
+ - 6
76
+ - 0
77
+ version: 1.6.0
18
78
  type: :development
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
79
+ version_requirements: *id004
80
+ - !ruby/object:Gem::Dependency
81
+ name: hoe
82
+ prerelease: false
83
+ requirement: &id005 !ruby/object:Gem::Requirement
84
+ none: false
21
85
  requirements:
22
86
  - - ">="
23
87
  - !ruby/object:Gem::Version
24
- version: 1.9.0
25
- version:
26
- description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser."
88
+ hash: 35
89
+ segments:
90
+ - 2
91
+ - 9
92
+ - 4
93
+ version: 2.9.4
94
+ type: :development
95
+ version_requirements: *id005
96
+ description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's\n\
97
+ many features is the ability to search documents via XPath or CSS3 selectors.\n\n\
98
+ XML is like violence - if it doesn\xE2\x80\x99t solve your problems, you are not using\n\
99
+ enough of it."
27
100
  email:
28
101
  - aaronp@rubyforge.org
29
102
  - mike.dalessio@gmail.com
30
- executables: []
31
-
103
+ executables:
104
+ - nokogiri
32
105
  extensions: []
33
106
 
34
107
  extra_rdoc_files:
35
108
  - Manifest.txt
36
- - CHANGELOG.ja.rdoc
37
- - CHANGELOG.rdoc
38
109
  - README.ja.rdoc
110
+ - CHANGELOG.rdoc
111
+ - CHANGELOG.ja.rdoc
39
112
  - README.rdoc
113
+ - ext/nokogiri/xml_sax_push_parser.c
114
+ - ext/nokogiri/xml_relax_ng.c
115
+ - ext/nokogiri/html_sax_parser_context.c
116
+ - ext/nokogiri/html_entity_lookup.c
117
+ - ext/nokogiri/xml_text.c
118
+ - ext/nokogiri/nokogiri.c
119
+ - ext/nokogiri/xml_element_decl.c
120
+ - ext/nokogiri/xml_encoding_handler.c
121
+ - ext/nokogiri/html_document.c
122
+ - ext/nokogiri/xslt_stylesheet.c
123
+ - ext/nokogiri/xml_attribute_decl.c
124
+ - ext/nokogiri/xml_io.c
125
+ - ext/nokogiri/xml_document_fragment.c
126
+ - ext/nokogiri/xml_namespace.c
127
+ - ext/nokogiri/xml_libxml2_hacks.c
128
+ - ext/nokogiri/xml_sax_parser_context.c
129
+ - ext/nokogiri/xml_comment.c
130
+ - ext/nokogiri/xml_sax_parser.c
131
+ - ext/nokogiri/html_element_description.c
132
+ - ext/nokogiri/xml_xpath_context.c
133
+ - ext/nokogiri/xml_syntax_error.c
134
+ - ext/nokogiri/xml_document.c
135
+ - ext/nokogiri/xml_entity_decl.c
136
+ - ext/nokogiri/xml_node.c
137
+ - ext/nokogiri/xml_node_set.c
138
+ - ext/nokogiri/xml_reader.c
139
+ - ext/nokogiri/xml_processing_instruction.c
140
+ - ext/nokogiri/xml_element_content.c
141
+ - ext/nokogiri/xml_dtd.c
142
+ - ext/nokogiri/xml_attr.c
143
+ - ext/nokogiri/xml_schema.c
144
+ - ext/nokogiri/xml_cdata.c
145
+ - ext/nokogiri/xml_entity_reference.c
40
146
  files:
41
147
  - .autotest
148
+ - .gemtest
42
149
  - CHANGELOG.ja.rdoc
43
150
  - CHANGELOG.rdoc
44
151
  - Manifest.txt
45
152
  - README.ja.rdoc
46
153
  - README.rdoc
47
154
  - Rakefile
155
+ - bin/nokogiri
156
+ - ext/nokogiri/depend
48
157
  - ext/nokogiri/extconf.rb
49
158
  - ext/nokogiri/html_document.c
50
159
  - ext/nokogiri/html_document.h
160
+ - ext/nokogiri/html_element_description.c
161
+ - ext/nokogiri/html_element_description.h
51
162
  - ext/nokogiri/html_entity_lookup.c
52
163
  - ext/nokogiri/html_entity_lookup.h
53
- - ext/nokogiri/html_sax_parser.c
54
- - ext/nokogiri/html_sax_parser.h
55
- - ext/nokogiri/native.c
56
- - ext/nokogiri/native.h
164
+ - ext/nokogiri/html_sax_parser_context.c
165
+ - ext/nokogiri/html_sax_parser_context.h
166
+ - ext/nokogiri/nokogiri.c
167
+ - ext/nokogiri/nokogiri.h
57
168
  - ext/nokogiri/xml_attr.c
58
169
  - ext/nokogiri/xml_attr.h
170
+ - ext/nokogiri/xml_attribute_decl.c
171
+ - ext/nokogiri/xml_attribute_decl.h
59
172
  - ext/nokogiri/xml_cdata.c
60
173
  - ext/nokogiri/xml_cdata.h
61
174
  - ext/nokogiri/xml_comment.c
@@ -66,10 +179,22 @@ files:
66
179
  - ext/nokogiri/xml_document_fragment.h
67
180
  - ext/nokogiri/xml_dtd.c
68
181
  - ext/nokogiri/xml_dtd.h
182
+ - ext/nokogiri/xml_element_content.c
183
+ - ext/nokogiri/xml_element_content.h
184
+ - ext/nokogiri/xml_element_decl.c
185
+ - ext/nokogiri/xml_element_decl.h
186
+ - ext/nokogiri/xml_encoding_handler.c
187
+ - ext/nokogiri/xml_encoding_handler.h
188
+ - ext/nokogiri/xml_entity_decl.c
189
+ - ext/nokogiri/xml_entity_decl.h
69
190
  - ext/nokogiri/xml_entity_reference.c
70
191
  - ext/nokogiri/xml_entity_reference.h
71
192
  - ext/nokogiri/xml_io.c
72
193
  - ext/nokogiri/xml_io.h
194
+ - ext/nokogiri/xml_libxml2_hacks.c
195
+ - ext/nokogiri/xml_libxml2_hacks.h
196
+ - ext/nokogiri/xml_namespace.c
197
+ - ext/nokogiri/xml_namespace.h
73
198
  - ext/nokogiri/xml_node.c
74
199
  - ext/nokogiri/xml_node.h
75
200
  - ext/nokogiri/xml_node_set.c
@@ -78,67 +203,140 @@ files:
78
203
  - ext/nokogiri/xml_processing_instruction.h
79
204
  - ext/nokogiri/xml_reader.c
80
205
  - ext/nokogiri/xml_reader.h
206
+ - ext/nokogiri/xml_relax_ng.c
207
+ - ext/nokogiri/xml_relax_ng.h
81
208
  - ext/nokogiri/xml_sax_parser.c
82
209
  - ext/nokogiri/xml_sax_parser.h
210
+ - ext/nokogiri/xml_sax_parser_context.c
211
+ - ext/nokogiri/xml_sax_parser_context.h
83
212
  - ext/nokogiri/xml_sax_push_parser.c
84
213
  - ext/nokogiri/xml_sax_push_parser.h
214
+ - ext/nokogiri/xml_schema.c
215
+ - ext/nokogiri/xml_schema.h
85
216
  - ext/nokogiri/xml_syntax_error.c
86
217
  - ext/nokogiri/xml_syntax_error.h
87
218
  - ext/nokogiri/xml_text.c
88
219
  - ext/nokogiri/xml_text.h
89
- - ext/nokogiri/xml_xpath.c
90
- - ext/nokogiri/xml_xpath.h
91
220
  - ext/nokogiri/xml_xpath_context.c
92
221
  - ext/nokogiri/xml_xpath_context.h
93
222
  - ext/nokogiri/xslt_stylesheet.c
94
223
  - ext/nokogiri/xslt_stylesheet.h
95
- - lib/action-nokogiri.rb
96
224
  - lib/nokogiri.rb
97
225
  - lib/nokogiri/css.rb
98
- - lib/nokogiri/css/generated_parser.rb
99
- - lib/nokogiri/css/generated_tokenizer.rb
100
226
  - lib/nokogiri/css/node.rb
101
227
  - lib/nokogiri/css/parser.rb
102
228
  - lib/nokogiri/css/parser.y
229
+ - lib/nokogiri/css/parser_extras.rb
103
230
  - lib/nokogiri/css/syntax_error.rb
104
231
  - lib/nokogiri/css/tokenizer.rb
105
232
  - lib/nokogiri/css/tokenizer.rex
106
233
  - lib/nokogiri/css/xpath_visitor.rb
107
- - lib/nokogiri/decorators.rb
108
- - lib/nokogiri/decorators/hpricot.rb
109
- - lib/nokogiri/decorators/hpricot/node.rb
110
- - lib/nokogiri/decorators/hpricot/node_set.rb
111
- - lib/nokogiri/decorators/hpricot/xpath_visitor.rb
112
234
  - lib/nokogiri/decorators/slop.rb
113
- - lib/nokogiri/hpricot.rb
235
+ - lib/nokogiri/ffi/encoding_handler.rb
236
+ - lib/nokogiri/ffi/html/document.rb
237
+ - lib/nokogiri/ffi/html/element_description.rb
238
+ - lib/nokogiri/ffi/html/entity_lookup.rb
239
+ - lib/nokogiri/ffi/html/sax/parser_context.rb
240
+ - lib/nokogiri/ffi/io_callbacks.rb
241
+ - lib/nokogiri/ffi/libxml.rb
242
+ - lib/nokogiri/ffi/structs/common_node.rb
243
+ - lib/nokogiri/ffi/structs/html_elem_desc.rb
244
+ - lib/nokogiri/ffi/structs/html_entity_desc.rb
245
+ - lib/nokogiri/ffi/structs/xml_alloc.rb
246
+ - lib/nokogiri/ffi/structs/xml_attr.rb
247
+ - lib/nokogiri/ffi/structs/xml_attribute.rb
248
+ - lib/nokogiri/ffi/structs/xml_buffer.rb
249
+ - lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb
250
+ - lib/nokogiri/ffi/structs/xml_document.rb
251
+ - lib/nokogiri/ffi/structs/xml_dtd.rb
252
+ - lib/nokogiri/ffi/structs/xml_element.rb
253
+ - lib/nokogiri/ffi/structs/xml_element_content.rb
254
+ - lib/nokogiri/ffi/structs/xml_entity.rb
255
+ - lib/nokogiri/ffi/structs/xml_enumeration.rb
256
+ - lib/nokogiri/ffi/structs/xml_node.rb
257
+ - lib/nokogiri/ffi/structs/xml_node_set.rb
258
+ - lib/nokogiri/ffi/structs/xml_notation.rb
259
+ - lib/nokogiri/ffi/structs/xml_ns.rb
260
+ - lib/nokogiri/ffi/structs/xml_parser_context.rb
261
+ - lib/nokogiri/ffi/structs/xml_parser_input.rb
262
+ - lib/nokogiri/ffi/structs/xml_relax_ng.rb
263
+ - lib/nokogiri/ffi/structs/xml_sax_handler.rb
264
+ - lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb
265
+ - lib/nokogiri/ffi/structs/xml_schema.rb
266
+ - lib/nokogiri/ffi/structs/xml_syntax_error.rb
267
+ - lib/nokogiri/ffi/structs/xml_text_reader.rb
268
+ - lib/nokogiri/ffi/structs/xml_xpath_context.rb
269
+ - lib/nokogiri/ffi/structs/xml_xpath_object.rb
270
+ - lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb
271
+ - lib/nokogiri/ffi/structs/xslt_stylesheet.rb
272
+ - lib/nokogiri/ffi/weak_bucket.rb
273
+ - lib/nokogiri/ffi/xml/attr.rb
274
+ - lib/nokogiri/ffi/xml/attribute_decl.rb
275
+ - lib/nokogiri/ffi/xml/cdata.rb
276
+ - lib/nokogiri/ffi/xml/comment.rb
277
+ - lib/nokogiri/ffi/xml/document.rb
278
+ - lib/nokogiri/ffi/xml/document_fragment.rb
279
+ - lib/nokogiri/ffi/xml/dtd.rb
280
+ - lib/nokogiri/ffi/xml/element_content.rb
281
+ - lib/nokogiri/ffi/xml/element_decl.rb
282
+ - lib/nokogiri/ffi/xml/entity_decl.rb
283
+ - lib/nokogiri/ffi/xml/entity_reference.rb
284
+ - lib/nokogiri/ffi/xml/namespace.rb
285
+ - lib/nokogiri/ffi/xml/node.rb
286
+ - lib/nokogiri/ffi/xml/node_set.rb
287
+ - lib/nokogiri/ffi/xml/processing_instruction.rb
288
+ - lib/nokogiri/ffi/xml/reader.rb
289
+ - lib/nokogiri/ffi/xml/relax_ng.rb
290
+ - lib/nokogiri/ffi/xml/sax/parser.rb
291
+ - lib/nokogiri/ffi/xml/sax/parser_context.rb
292
+ - lib/nokogiri/ffi/xml/sax/push_parser.rb
293
+ - lib/nokogiri/ffi/xml/schema.rb
294
+ - lib/nokogiri/ffi/xml/syntax_error.rb
295
+ - lib/nokogiri/ffi/xml/text.rb
296
+ - lib/nokogiri/ffi/xml/xpath.rb
297
+ - lib/nokogiri/ffi/xml/xpath_context.rb
298
+ - lib/nokogiri/ffi/xslt/stylesheet.rb
114
299
  - lib/nokogiri/html.rb
115
300
  - lib/nokogiri/html/builder.rb
116
301
  - lib/nokogiri/html/document.rb
302
+ - lib/nokogiri/html/document_fragment.rb
303
+ - lib/nokogiri/html/element_description.rb
117
304
  - lib/nokogiri/html/entity_lookup.rb
118
305
  - lib/nokogiri/html/sax/parser.rb
306
+ - lib/nokogiri/html/sax/parser_context.rb
119
307
  - lib/nokogiri/syntax_error.rb
120
308
  - lib/nokogiri/version.rb
309
+ - lib/nokogiri/version_warning.rb
121
310
  - lib/nokogiri/xml.rb
122
311
  - lib/nokogiri/xml/attr.rb
312
+ - lib/nokogiri/xml/attribute_decl.rb
123
313
  - lib/nokogiri/xml/builder.rb
124
314
  - lib/nokogiri/xml/cdata.rb
125
- - lib/nokogiri/xml/comment.rb
315
+ - lib/nokogiri/xml/character_data.rb
126
316
  - lib/nokogiri/xml/document.rb
127
317
  - lib/nokogiri/xml/document_fragment.rb
128
318
  - lib/nokogiri/xml/dtd.rb
129
- - lib/nokogiri/xml/element.rb
130
- - lib/nokogiri/xml/entity_declaration.rb
131
- - lib/nokogiri/xml/fragment_handler.rb
319
+ - lib/nokogiri/xml/element_content.rb
320
+ - lib/nokogiri/xml/element_decl.rb
321
+ - lib/nokogiri/xml/entity_decl.rb
322
+ - lib/nokogiri/xml/namespace.rb
132
323
  - lib/nokogiri/xml/node.rb
133
324
  - lib/nokogiri/xml/node/save_options.rb
134
325
  - lib/nokogiri/xml/node_set.rb
135
326
  - lib/nokogiri/xml/notation.rb
327
+ - lib/nokogiri/xml/parse_options.rb
328
+ - lib/nokogiri/xml/pp.rb
329
+ - lib/nokogiri/xml/pp/character_data.rb
330
+ - lib/nokogiri/xml/pp/node.rb
136
331
  - lib/nokogiri/xml/processing_instruction.rb
137
332
  - lib/nokogiri/xml/reader.rb
333
+ - lib/nokogiri/xml/relax_ng.rb
138
334
  - lib/nokogiri/xml/sax.rb
139
335
  - lib/nokogiri/xml/sax/document.rb
140
336
  - lib/nokogiri/xml/sax/parser.rb
337
+ - lib/nokogiri/xml/sax/parser_context.rb
141
338
  - lib/nokogiri/xml/sax/push_parser.rb
339
+ - lib/nokogiri/xml/schema.rb
142
340
  - lib/nokogiri/xml/syntax_error.rb
143
341
  - lib/nokogiri/xml/text.rb
144
342
  - lib/nokogiri/xml/xpath.rb
@@ -147,52 +345,60 @@ files:
147
345
  - lib/nokogiri/xslt.rb
148
346
  - lib/nokogiri/xslt/stylesheet.rb
149
347
  - lib/xsd/xmlparser/nokogiri.rb
348
+ - tasks/cross_compile.rb
150
349
  - tasks/test.rb
151
350
  - test/css/test_nthiness.rb
152
351
  - test/css/test_parser.rb
153
352
  - test/css/test_tokenizer.rb
154
353
  - test/css/test_xpath_visitor.rb
354
+ - test/decorators/test_slop.rb
355
+ - test/ffi/test_document.rb
356
+ - test/files/2ch.html
357
+ - test/files/address_book.rlx
358
+ - test/files/address_book.xml
359
+ - test/files/bar/bar.xsd
155
360
  - test/files/dont_hurt_em_why.xml
361
+ - test/files/encoding.html
362
+ - test/files/encoding.xhtml
156
363
  - test/files/exslt.xml
157
364
  - test/files/exslt.xslt
365
+ - test/files/foo/foo.xsd
366
+ - test/files/po.xml
367
+ - test/files/po.xsd
368
+ - test/files/shift_jis.html
369
+ - test/files/shift_jis.xml
370
+ - test/files/snuggles.xml
371
+ - test/files/staff.dtd
158
372
  - test/files/staff.xml
159
373
  - test/files/staff.xslt
160
374
  - test/files/tlm.html
375
+ - test/files/valid_bar.xml
161
376
  - test/helper.rb
162
- - test/hpricot/files/basic.xhtml
163
- - test/hpricot/files/boingboing.html
164
- - test/hpricot/files/cy0.html
165
- - test/hpricot/files/immob.html
166
- - test/hpricot/files/pace_application.html
167
- - test/hpricot/files/tenderlove.html
168
- - test/hpricot/files/uswebgen.html
169
- - test/hpricot/files/utf8.html
170
- - test/hpricot/files/week9.html
171
- - test/hpricot/files/why.xml
172
- - test/hpricot/load_files.rb
173
- - test/hpricot/test_alter.rb
174
- - test/hpricot/test_builder.rb
175
- - test/hpricot/test_parser.rb
176
- - test/hpricot/test_paths.rb
177
- - test/hpricot/test_preserved.rb
178
- - test/hpricot/test_xml.rb
179
377
  - test/html/sax/test_parser.rb
378
+ - test/html/sax/test_parser_context.rb
180
379
  - test/html/test_builder.rb
181
380
  - test/html/test_document.rb
182
381
  - test/html/test_document_encoding.rb
382
+ - test/html/test_document_fragment.rb
383
+ - test/html/test_element_description.rb
183
384
  - test/html/test_named_characters.rb
184
385
  - test/html/test_node.rb
386
+ - test/html/test_node_encoding.rb
185
387
  - test/test_convert_xpath.rb
186
388
  - test/test_css_cache.rb
187
- - test/test_gc.rb
389
+ - test/test_encoding_handler.rb
188
390
  - test/test_memory_leak.rb
189
391
  - test/test_nokogiri.rb
190
392
  - test/test_reader.rb
393
+ - test/test_soap4r_sax.rb
191
394
  - test/test_xslt_transforms.rb
192
395
  - test/xml/node/test_save_options.rb
396
+ - test/xml/node/test_subclass.rb
193
397
  - test/xml/sax/test_parser.rb
398
+ - test/xml/sax/test_parser_context.rb
194
399
  - test/xml/sax/test_push_parser.rb
195
400
  - test/xml/test_attr.rb
401
+ - test/xml/test_attribute_decl.rb
196
402
  - test/xml/test_builder.rb
197
403
  - test/xml/test_cdata.rb
198
404
  - test/xml/test_comment.rb
@@ -201,91 +407,121 @@ files:
201
407
  - test/xml/test_document_fragment.rb
202
408
  - test/xml/test_dtd.rb
203
409
  - test/xml/test_dtd_encoding.rb
410
+ - test/xml/test_element_content.rb
411
+ - test/xml/test_element_decl.rb
412
+ - test/xml/test_entity_decl.rb
204
413
  - test/xml/test_entity_reference.rb
414
+ - test/xml/test_namespace.rb
205
415
  - test/xml/test_node.rb
416
+ - test/xml/test_node_attributes.rb
206
417
  - test/xml/test_node_encoding.rb
418
+ - test/xml/test_node_reparenting.rb
207
419
  - test/xml/test_node_set.rb
420
+ - test/xml/test_parse_options.rb
208
421
  - test/xml/test_processing_instruction.rb
209
422
  - test/xml/test_reader_encoding.rb
423
+ - test/xml/test_relax_ng.rb
424
+ - test/xml/test_schema.rb
425
+ - test/xml/test_syntax_error.rb
210
426
  - test/xml/test_text.rb
211
427
  - test/xml/test_unparented_node.rb
212
428
  - test/xml/test_xpath.rb
213
- - ext/nokogiri/iconv.dll
214
- - ext/nokogiri/libexslt.dll
215
- - ext/nokogiri/libxml2.dll
216
- - ext/nokogiri/libxslt.dll
217
- - ext/nokogiri/zlib1.dll
218
- - ext/nokogiri/native.so
429
+ - test/xslt/test_custom_functions.rb
430
+ - lib/nokogiri/nokogiri.rb
431
+ - lib/nokogiri/1.8/nokogiri.so
432
+ - lib/nokogiri/1.9/nokogiri.so
219
433
  has_rdoc: true
220
- homepage: http://nokogiri.rubyforge.org/
434
+ homepage: http://nokogiri.org
435
+ licenses: []
436
+
221
437
  post_install_message:
222
438
  rdoc_options:
223
439
  - --main
224
440
  - README.rdoc
225
441
  require_paths:
226
442
  - lib
227
- - ext
228
443
  required_ruby_version: !ruby/object:Gem::Requirement
444
+ none: false
229
445
  requirements:
230
446
  - - ">="
231
447
  - !ruby/object:Gem::Version
448
+ hash: 3
449
+ segments:
450
+ - 0
232
451
  version: "0"
233
- version:
234
452
  required_rubygems_version: !ruby/object:Gem::Requirement
453
+ none: false
235
454
  requirements:
236
455
  - - ">="
237
456
  - !ruby/object:Gem::Version
457
+ hash: 3
458
+ segments:
459
+ - 0
238
460
  version: "0"
239
- version:
240
461
  requirements: []
241
462
 
242
463
  rubyforge_project: nokogiri
243
- rubygems_version: 1.3.1
464
+ rubygems_version: 1.6.0
244
465
  signing_key:
245
- specification_version: 2
246
- summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser."
466
+ specification_version: 3
467
+ summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser"
247
468
  test_files:
469
+ - test/test_convert_xpath.rb
470
+ - test/test_soap4r_sax.rb
471
+ - test/test_memory_leak.rb
472
+ - test/test_nokogiri.rb
473
+ - test/test_css_cache.rb
248
474
  - test/css/test_nthiness.rb
475
+ - test/css/test_xpath_visitor.rb
249
476
  - test/css/test_parser.rb
250
477
  - test/css/test_tokenizer.rb
251
- - test/css/test_xpath_visitor.rb
252
- - test/hpricot/test_alter.rb
253
- - test/hpricot/test_builder.rb
254
- - test/hpricot/test_parser.rb
255
- - test/hpricot/test_paths.rb
256
- - test/hpricot/test_preserved.rb
257
- - test/hpricot/test_xml.rb
258
- - test/html/sax/test_parser.rb
259
- - test/html/test_builder.rb
478
+ - test/decorators/test_slop.rb
260
479
  - test/html/test_document.rb
261
480
  - test/html/test_document_encoding.rb
262
481
  - test/html/test_named_characters.rb
482
+ - test/html/test_document_fragment.rb
263
483
  - test/html/test_node.rb
264
- - test/test_convert_xpath.rb
265
- - test/test_css_cache.rb
266
- - test/test_gc.rb
267
- - test/test_memory_leak.rb
268
- - test/test_nokogiri.rb
484
+ - test/html/test_builder.rb
485
+ - test/html/sax/test_parser_context.rb
486
+ - test/html/sax/test_parser.rb
487
+ - test/html/test_node_encoding.rb
488
+ - test/html/test_element_description.rb
489
+ - test/ffi/test_document.rb
269
490
  - test/test_reader.rb
270
- - test/test_xslt_transforms.rb
271
- - test/xml/node/test_save_options.rb
272
- - test/xml/sax/test_parser.rb
273
- - test/xml/sax/test_push_parser.rb
274
- - test/xml/test_attr.rb
275
- - test/xml/test_builder.rb
276
- - test/xml/test_cdata.rb
277
- - test/xml/test_comment.rb
491
+ - test/xml/test_parse_options.rb
492
+ - test/xml/test_unparented_node.rb
493
+ - test/xml/test_element_decl.rb
278
494
  - test/xml/test_document.rb
279
- - test/xml/test_document_encoding.rb
280
- - test/xml/test_document_fragment.rb
281
495
  - test/xml/test_dtd.rb
496
+ - test/xml/test_document_encoding.rb
497
+ - test/xml/test_entity_decl.rb
282
498
  - test/xml/test_dtd_encoding.rb
283
- - test/xml/test_entity_reference.rb
499
+ - test/xml/node/test_save_options.rb
500
+ - test/xml/node/test_subclass.rb
501
+ - test/xml/test_document_fragment.rb
502
+ - test/xml/test_cdata.rb
503
+ - test/xml/test_text.rb
504
+ - test/xml/test_reader_encoding.rb
505
+ - test/xml/test_xpath.rb
506
+ - test/xml/test_element_content.rb
284
507
  - test/xml/test_node.rb
285
- - test/xml/test_node_encoding.rb
508
+ - test/xml/test_builder.rb
509
+ - test/xml/sax/test_push_parser.rb
510
+ - test/xml/sax/test_parser_context.rb
511
+ - test/xml/sax/test_parser.rb
512
+ - test/xml/test_schema.rb
286
513
  - test/xml/test_node_set.rb
514
+ - test/xml/test_attr.rb
287
515
  - test/xml/test_processing_instruction.rb
288
- - test/xml/test_reader_encoding.rb
289
- - test/xml/test_text.rb
290
- - test/xml/test_unparented_node.rb
291
- - test/xml/test_xpath.rb
516
+ - test/xml/test_node_encoding.rb
517
+ - test/xml/test_syntax_error.rb
518
+ - test/xml/test_comment.rb
519
+ - test/xml/test_entity_reference.rb
520
+ - test/xml/test_node_reparenting.rb
521
+ - test/xml/test_attribute_decl.rb
522
+ - test/xml/test_relax_ng.rb
523
+ - test/xml/test_namespace.rb
524
+ - test/xml/test_node_attributes.rb
525
+ - test/test_xslt_transforms.rb
526
+ - test/xslt/test_custom_functions.rb
527
+ - test/test_encoding_handler.rb