nokogiri 1.2.3 → 1.3.0

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 (200) hide show
  1. data/.autotest +14 -2
  2. data/CHANGELOG.ja.rdoc +38 -0
  3. data/CHANGELOG.rdoc +43 -0
  4. data/Manifest.txt +80 -5
  5. data/README.ja.rdoc +12 -11
  6. data/README.rdoc +4 -2
  7. data/Rakefile +103 -173
  8. data/bin/nokogiri +47 -0
  9. data/ext/nokogiri/extconf.rb +19 -13
  10. data/ext/nokogiri/html_document.c +39 -3
  11. data/ext/nokogiri/html_document.h +1 -1
  12. data/ext/nokogiri/html_element_description.c +272 -0
  13. data/ext/nokogiri/html_element_description.h +10 -0
  14. data/ext/nokogiri/html_entity_lookup.h +1 -1
  15. data/ext/nokogiri/html_sax_parser.h +1 -1
  16. data/ext/nokogiri/{native.c → nokogiri.c} +11 -3
  17. data/ext/nokogiri/{native.h → nokogiri.h} +18 -4
  18. data/ext/nokogiri/xml_attr.c +14 -5
  19. data/ext/nokogiri/xml_attr.h +1 -1
  20. data/ext/nokogiri/xml_cdata.c +15 -6
  21. data/ext/nokogiri/xml_cdata.h +1 -1
  22. data/ext/nokogiri/xml_comment.c +13 -4
  23. data/ext/nokogiri/xml_comment.h +1 -1
  24. data/ext/nokogiri/xml_document.c +50 -41
  25. data/ext/nokogiri/xml_document.h +1 -1
  26. data/ext/nokogiri/xml_document_fragment.c +12 -4
  27. data/ext/nokogiri/xml_document_fragment.h +1 -1
  28. data/ext/nokogiri/xml_dtd.c +1 -1
  29. data/ext/nokogiri/xml_dtd.h +1 -1
  30. data/ext/nokogiri/xml_entity_reference.c +13 -4
  31. data/ext/nokogiri/xml_entity_reference.h +1 -1
  32. data/ext/nokogiri/xml_io.h +1 -1
  33. data/ext/nokogiri/xml_namespace.c +69 -0
  34. data/ext/nokogiri/xml_namespace.h +12 -0
  35. data/ext/nokogiri/xml_node.c +232 -124
  36. data/ext/nokogiri/xml_node.h +3 -4
  37. data/ext/nokogiri/xml_node_set.c +206 -19
  38. data/ext/nokogiri/xml_node_set.h +1 -1
  39. data/ext/nokogiri/xml_processing_instruction.c +14 -4
  40. data/ext/nokogiri/xml_processing_instruction.h +1 -1
  41. data/ext/nokogiri/xml_reader.c +87 -7
  42. data/ext/nokogiri/xml_reader.h +1 -1
  43. data/ext/nokogiri/xml_relax_ng.c +106 -0
  44. data/ext/nokogiri/xml_relax_ng.h +9 -0
  45. data/ext/nokogiri/xml_sax_parser.c +122 -2
  46. data/ext/nokogiri/xml_sax_parser.h +1 -1
  47. data/ext/nokogiri/xml_sax_push_parser.c +1 -0
  48. data/ext/nokogiri/xml_sax_push_parser.h +1 -1
  49. data/ext/nokogiri/xml_schema.c +107 -0
  50. data/ext/nokogiri/xml_schema.h +9 -0
  51. data/ext/nokogiri/xml_syntax_error.h +1 -1
  52. data/ext/nokogiri/xml_text.c +10 -3
  53. data/ext/nokogiri/xml_text.h +1 -1
  54. data/ext/nokogiri/xml_xpath.h +1 -1
  55. data/ext/nokogiri/xml_xpath_context.h +1 -1
  56. data/ext/nokogiri/xslt_stylesheet.c +29 -16
  57. data/ext/nokogiri/xslt_stylesheet.h +1 -1
  58. data/lib/action-nokogiri.rb +7 -1
  59. data/lib/nokogiri.rb +21 -5
  60. data/lib/nokogiri/css/generated_parser.rb +49 -14
  61. data/lib/nokogiri/css/generated_tokenizer.rb +2 -2
  62. data/lib/nokogiri/css/node.rb +13 -3
  63. data/lib/nokogiri/css/parser.rb +8 -0
  64. data/lib/nokogiri/css/parser.y +7 -7
  65. data/lib/nokogiri/css/tokenizer.rb +2 -0
  66. data/lib/nokogiri/css/xpath_visitor.rb +10 -6
  67. data/lib/nokogiri/decorators/hpricot/node.rb +1 -1
  68. data/lib/nokogiri/decorators/hpricot/node_set.rb +2 -2
  69. data/lib/nokogiri/decorators/hpricot/xpath_visitor.rb +2 -0
  70. data/lib/nokogiri/decorators/slop.rb +3 -1
  71. data/lib/nokogiri/ffi/html/document.rb +37 -0
  72. data/lib/nokogiri/ffi/html/element_description.rb +85 -0
  73. data/lib/nokogiri/ffi/html/entity_lookup.rb +16 -0
  74. data/lib/nokogiri/ffi/html/sax/parser.rb +21 -0
  75. data/lib/nokogiri/ffi/io_callbacks.rb +32 -0
  76. data/lib/nokogiri/ffi/libxml.rb +314 -0
  77. data/lib/nokogiri/ffi/structs/common_node.rb +26 -0
  78. data/lib/nokogiri/ffi/structs/html_elem_desc.rb +24 -0
  79. data/lib/nokogiri/ffi/structs/html_entity_desc.rb +13 -0
  80. data/lib/nokogiri/ffi/structs/xml_alloc.rb +16 -0
  81. data/lib/nokogiri/ffi/structs/xml_attr.rb +19 -0
  82. data/lib/nokogiri/ffi/structs/xml_buffer.rb +16 -0
  83. data/lib/nokogiri/ffi/structs/xml_document.rb +108 -0
  84. data/lib/nokogiri/ffi/structs/xml_dtd.rb +26 -0
  85. data/lib/nokogiri/ffi/structs/xml_node.rb +28 -0
  86. data/lib/nokogiri/ffi/structs/xml_node_set.rb +53 -0
  87. data/lib/nokogiri/ffi/structs/xml_notation.rb +11 -0
  88. data/lib/nokogiri/ffi/structs/xml_ns.rb +15 -0
  89. data/lib/nokogiri/ffi/structs/xml_relax_ng.rb +14 -0
  90. data/lib/nokogiri/ffi/structs/xml_sax_handler.rb +51 -0
  91. data/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +14 -0
  92. data/lib/nokogiri/ffi/structs/xml_schema.rb +13 -0
  93. data/lib/nokogiri/ffi/structs/xml_syntax_error.rb +31 -0
  94. data/lib/nokogiri/ffi/structs/xml_text_reader.rb +12 -0
  95. data/lib/nokogiri/ffi/structs/xml_xpath_context.rb +37 -0
  96. data/lib/nokogiri/ffi/structs/xml_xpath_object.rb +35 -0
  97. data/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +20 -0
  98. data/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +13 -0
  99. data/lib/nokogiri/ffi/xml/attr.rb +41 -0
  100. data/lib/nokogiri/ffi/xml/cdata.rb +19 -0
  101. data/lib/nokogiri/ffi/xml/comment.rb +18 -0
  102. data/lib/nokogiri/ffi/xml/document.rb +107 -0
  103. data/lib/nokogiri/ffi/xml/document_fragment.rb +26 -0
  104. data/lib/nokogiri/ffi/xml/dtd.rb +42 -0
  105. data/lib/nokogiri/ffi/xml/entity_reference.rb +19 -0
  106. data/lib/nokogiri/ffi/xml/namespace.rb +38 -0
  107. data/lib/nokogiri/ffi/xml/node.rb +380 -0
  108. data/lib/nokogiri/ffi/xml/node_set.rb +130 -0
  109. data/lib/nokogiri/ffi/xml/processing_instruction.rb +20 -0
  110. data/lib/nokogiri/ffi/xml/reader.rb +217 -0
  111. data/lib/nokogiri/ffi/xml/relax_ng.rb +51 -0
  112. data/lib/nokogiri/ffi/xml/sax/parser.rb +148 -0
  113. data/lib/nokogiri/ffi/xml/sax/push_parser.rb +38 -0
  114. data/lib/nokogiri/ffi/xml/schema.rb +55 -0
  115. data/lib/nokogiri/ffi/xml/syntax_error.rb +76 -0
  116. data/lib/nokogiri/ffi/xml/text.rb +18 -0
  117. data/lib/nokogiri/ffi/xml/xpath.rb +19 -0
  118. data/lib/nokogiri/ffi/xml/xpath_context.rb +135 -0
  119. data/lib/nokogiri/ffi/xslt/stylesheet.rb +47 -0
  120. data/lib/nokogiri/hpricot.rb +14 -3
  121. data/lib/nokogiri/html.rb +11 -46
  122. data/lib/nokogiri/html/builder.rb +27 -1
  123. data/lib/nokogiri/html/document.rb +62 -6
  124. data/lib/nokogiri/html/document_fragment.rb +15 -0
  125. data/lib/nokogiri/html/element_description.rb +23 -0
  126. data/lib/nokogiri/html/entity_lookup.rb +2 -0
  127. data/lib/nokogiri/html/sax/parser.rb +27 -1
  128. data/lib/nokogiri/version.rb +26 -1
  129. data/lib/nokogiri/version_warning.rb +11 -0
  130. data/lib/nokogiri/xml.rb +25 -51
  131. data/lib/nokogiri/xml/builder.rb +166 -10
  132. data/lib/nokogiri/xml/cdata.rb +3 -1
  133. data/lib/nokogiri/xml/document.rb +39 -6
  134. data/lib/nokogiri/xml/document_fragment.rb +41 -1
  135. data/lib/nokogiri/xml/dtd.rb +3 -1
  136. data/lib/nokogiri/xml/entity_declaration.rb +3 -1
  137. data/lib/nokogiri/xml/fragment_handler.rb +24 -3
  138. data/lib/nokogiri/xml/namespace.rb +7 -0
  139. data/lib/nokogiri/xml/node.rb +314 -65
  140. data/lib/nokogiri/xml/node/save_options.rb +12 -2
  141. data/lib/nokogiri/xml/node_set.rb +58 -8
  142. data/lib/nokogiri/xml/parse_options.rb +80 -0
  143. data/lib/nokogiri/xml/processing_instruction.rb +2 -0
  144. data/lib/nokogiri/xml/reader.rb +42 -3
  145. data/lib/nokogiri/xml/relax_ng.rb +32 -0
  146. data/lib/nokogiri/xml/sax.rb +0 -7
  147. data/lib/nokogiri/xml/sax/document.rb +84 -0
  148. data/lib/nokogiri/xml/sax/parser.rb +38 -2
  149. data/lib/nokogiri/xml/sax/push_parser.rb +12 -0
  150. data/lib/nokogiri/xml/schema.rb +65 -0
  151. data/lib/nokogiri/xml/syntax_error.rb +11 -0
  152. data/lib/nokogiri/xml/xpath.rb +1 -1
  153. data/lib/nokogiri/xml/xpath_context.rb +2 -0
  154. data/lib/nokogiri/xslt.rb +21 -1
  155. data/lib/nokogiri/xslt/stylesheet.rb +19 -0
  156. data/lib/xsd/xmlparser/nokogiri.rb +12 -2
  157. data/tasks/test.rb +42 -19
  158. data/test/css/test_parser.rb +29 -0
  159. data/test/ffi/test_document.rb +35 -0
  160. data/test/files/address_book.rlx +12 -0
  161. data/test/files/address_book.xml +10 -0
  162. data/test/files/po.xml +32 -0
  163. data/test/files/po.xsd +66 -0
  164. data/test/helper.rb +38 -8
  165. data/test/html/sax/test_parser.rb +12 -0
  166. data/test/html/test_builder.rb +25 -2
  167. data/test/html/test_document.rb +91 -20
  168. data/test/html/test_document_fragment.rb +97 -0
  169. data/test/html/test_element_description.rb +95 -0
  170. data/test/html/test_node.rb +66 -3
  171. data/test/test_convert_xpath.rb +1 -1
  172. data/test/test_memory_leak.rb +57 -18
  173. data/test/test_nokogiri.rb +24 -2
  174. data/test/test_reader.rb +77 -0
  175. data/test/test_xslt_transforms.rb +120 -82
  176. data/test/xml/node/test_subclass.rb +44 -0
  177. data/test/xml/sax/test_parser.rb +9 -0
  178. data/test/xml/sax/test_push_parser.rb +24 -0
  179. data/test/xml/test_attr.rb +7 -0
  180. data/test/xml/test_builder.rb +48 -0
  181. data/test/xml/test_cdata.rb +19 -0
  182. data/test/xml/test_comment.rb +6 -0
  183. data/test/xml/test_document.rb +101 -2
  184. data/test/xml/test_document_fragment.rb +55 -3
  185. data/test/xml/test_entity_reference.rb +4 -0
  186. data/test/xml/test_namespace.rb +43 -0
  187. data/test/xml/test_node.rb +255 -8
  188. data/test/xml/test_node_attributes.rb +34 -0
  189. data/test/xml/test_node_encoding.rb +9 -2
  190. data/test/xml/test_node_set.rb +197 -1
  191. data/test/xml/test_parse_options.rb +52 -0
  192. data/test/xml/test_processing_instruction.rb +5 -0
  193. data/test/xml/test_relax_ng.rb +60 -0
  194. data/test/xml/test_schema.rb +65 -0
  195. data/test/xml/test_text.rb +5 -0
  196. data/test/xml/test_unparented_node.rb +3 -3
  197. metadata +128 -12
  198. data/lib/nokogiri/xml/comment.rb +0 -6
  199. data/lib/nokogiri/xml/element.rb +0 -6
  200. data/lib/nokogiri/xml/text.rb +0 -6
@@ -7,6 +7,11 @@ module Nokogiri
7
7
  node = Text.new('hello world', Document.new)
8
8
  assert node
9
9
  assert_equal('hello world', node.content)
10
+ assert_instance_of Nokogiri::XML::Text, node
11
+ end
12
+
13
+ def test_lots_of_text
14
+ 100.times { Text.new('hello world', Document.new) }
10
15
  end
11
16
  end
12
17
  end
@@ -47,7 +47,7 @@ module Nokogiri
47
47
  end
48
48
  io.rewind
49
49
  assert called
50
- assert_equal @node.serialize(nil, conf.options), io.read
50
+ assert_equal @node.serialize(:save_with => conf.options), io.read
51
51
  end
52
52
 
53
53
  %w{ xml html xhtml }.each do |type|
@@ -100,8 +100,8 @@ module Nokogiri
100
100
 
101
101
  def test_ancestors
102
102
  assert(address = @node.xpath('.//address').first)
103
- assert_equal 3, address.ancestors.length
104
- assert_equal ['employee', 'staff', nil],
103
+ assert_equal 2, address.ancestors.length
104
+ assert_equal ['employee', 'staff'],
105
105
  address.ancestors.map { |x| x ? x.name : x }
106
106
  end
107
107
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -10,9 +10,39 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-03-22 00:00:00 -07:00
13
+ date: 2009-05-30 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: racc
18
+ type: :development
19
+ version_requirement:
20
+ version_requirements: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ version:
26
+ - !ruby/object:Gem::Dependency
27
+ name: tenderlove-frex
28
+ type: :development
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
35
+ version:
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake-compiler
38
+ type: :development
39
+ version_requirement:
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
45
+ version:
16
46
  - !ruby/object:Gem::Dependency
17
47
  name: hoe
18
48
  type: :development
@@ -21,14 +51,14 @@ dependencies:
21
51
  requirements:
22
52
  - - ">="
23
53
  - !ruby/object:Gem::Version
24
- version: 1.9.0
54
+ version: 1.12.2
25
55
  version:
26
56
  description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser."
27
57
  email:
28
58
  - aaronp@rubyforge.org
29
59
  - mike.dalessio@gmail.com
30
- executables: []
31
-
60
+ executables:
61
+ - nokogiri
32
62
  extensions:
33
63
  - ext/nokogiri/extconf.rb
34
64
  extra_rdoc_files:
@@ -45,15 +75,18 @@ files:
45
75
  - README.ja.rdoc
46
76
  - README.rdoc
47
77
  - Rakefile
78
+ - bin/nokogiri
48
79
  - ext/nokogiri/extconf.rb
49
80
  - ext/nokogiri/html_document.c
50
81
  - ext/nokogiri/html_document.h
82
+ - ext/nokogiri/html_element_description.c
83
+ - ext/nokogiri/html_element_description.h
51
84
  - ext/nokogiri/html_entity_lookup.c
52
85
  - ext/nokogiri/html_entity_lookup.h
53
86
  - ext/nokogiri/html_sax_parser.c
54
87
  - ext/nokogiri/html_sax_parser.h
55
- - ext/nokogiri/native.c
56
- - ext/nokogiri/native.h
88
+ - ext/nokogiri/nokogiri.c
89
+ - ext/nokogiri/nokogiri.h
57
90
  - ext/nokogiri/xml_attr.c
58
91
  - ext/nokogiri/xml_attr.h
59
92
  - ext/nokogiri/xml_cdata.c
@@ -70,6 +103,8 @@ files:
70
103
  - ext/nokogiri/xml_entity_reference.h
71
104
  - ext/nokogiri/xml_io.c
72
105
  - ext/nokogiri/xml_io.h
106
+ - ext/nokogiri/xml_namespace.c
107
+ - ext/nokogiri/xml_namespace.h
73
108
  - ext/nokogiri/xml_node.c
74
109
  - ext/nokogiri/xml_node.h
75
110
  - ext/nokogiri/xml_node_set.c
@@ -78,10 +113,14 @@ files:
78
113
  - ext/nokogiri/xml_processing_instruction.h
79
114
  - ext/nokogiri/xml_reader.c
80
115
  - ext/nokogiri/xml_reader.h
116
+ - ext/nokogiri/xml_relax_ng.c
117
+ - ext/nokogiri/xml_relax_ng.h
81
118
  - ext/nokogiri/xml_sax_parser.c
82
119
  - ext/nokogiri/xml_sax_parser.h
83
120
  - ext/nokogiri/xml_sax_push_parser.c
84
121
  - ext/nokogiri/xml_sax_push_parser.h
122
+ - ext/nokogiri/xml_schema.c
123
+ - ext/nokogiri/xml_schema.h
85
124
  - ext/nokogiri/xml_syntax_error.c
86
125
  - ext/nokogiri/xml_syntax_error.h
87
126
  - ext/nokogiri/xml_text.c
@@ -110,37 +149,90 @@ files:
110
149
  - lib/nokogiri/decorators/hpricot/node_set.rb
111
150
  - lib/nokogiri/decorators/hpricot/xpath_visitor.rb
112
151
  - lib/nokogiri/decorators/slop.rb
152
+ - lib/nokogiri/ffi/html/document.rb
153
+ - lib/nokogiri/ffi/html/element_description.rb
154
+ - lib/nokogiri/ffi/html/entity_lookup.rb
155
+ - lib/nokogiri/ffi/html/sax/parser.rb
156
+ - lib/nokogiri/ffi/io_callbacks.rb
157
+ - lib/nokogiri/ffi/libxml.rb
158
+ - lib/nokogiri/ffi/structs/common_node.rb
159
+ - lib/nokogiri/ffi/structs/html_elem_desc.rb
160
+ - lib/nokogiri/ffi/structs/html_entity_desc.rb
161
+ - lib/nokogiri/ffi/structs/xml_alloc.rb
162
+ - lib/nokogiri/ffi/structs/xml_attr.rb
163
+ - lib/nokogiri/ffi/structs/xml_buffer.rb
164
+ - lib/nokogiri/ffi/structs/xml_document.rb
165
+ - lib/nokogiri/ffi/structs/xml_dtd.rb
166
+ - lib/nokogiri/ffi/structs/xml_node.rb
167
+ - lib/nokogiri/ffi/structs/xml_node_set.rb
168
+ - lib/nokogiri/ffi/structs/xml_notation.rb
169
+ - lib/nokogiri/ffi/structs/xml_ns.rb
170
+ - lib/nokogiri/ffi/structs/xml_relax_ng.rb
171
+ - lib/nokogiri/ffi/structs/xml_sax_handler.rb
172
+ - lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb
173
+ - lib/nokogiri/ffi/structs/xml_schema.rb
174
+ - lib/nokogiri/ffi/structs/xml_syntax_error.rb
175
+ - lib/nokogiri/ffi/structs/xml_text_reader.rb
176
+ - lib/nokogiri/ffi/structs/xml_xpath_context.rb
177
+ - lib/nokogiri/ffi/structs/xml_xpath_object.rb
178
+ - lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb
179
+ - lib/nokogiri/ffi/structs/xslt_stylesheet.rb
180
+ - lib/nokogiri/ffi/xml/attr.rb
181
+ - lib/nokogiri/ffi/xml/cdata.rb
182
+ - lib/nokogiri/ffi/xml/comment.rb
183
+ - lib/nokogiri/ffi/xml/document.rb
184
+ - lib/nokogiri/ffi/xml/document_fragment.rb
185
+ - lib/nokogiri/ffi/xml/dtd.rb
186
+ - lib/nokogiri/ffi/xml/entity_reference.rb
187
+ - lib/nokogiri/ffi/xml/namespace.rb
188
+ - lib/nokogiri/ffi/xml/node.rb
189
+ - lib/nokogiri/ffi/xml/node_set.rb
190
+ - lib/nokogiri/ffi/xml/processing_instruction.rb
191
+ - lib/nokogiri/ffi/xml/reader.rb
192
+ - lib/nokogiri/ffi/xml/relax_ng.rb
193
+ - lib/nokogiri/ffi/xml/sax/parser.rb
194
+ - lib/nokogiri/ffi/xml/sax/push_parser.rb
195
+ - lib/nokogiri/ffi/xml/schema.rb
196
+ - lib/nokogiri/ffi/xml/syntax_error.rb
197
+ - lib/nokogiri/ffi/xml/text.rb
198
+ - lib/nokogiri/ffi/xml/xpath.rb
199
+ - lib/nokogiri/ffi/xml/xpath_context.rb
200
+ - lib/nokogiri/ffi/xslt/stylesheet.rb
113
201
  - lib/nokogiri/hpricot.rb
114
202
  - lib/nokogiri/html.rb
115
203
  - lib/nokogiri/html/builder.rb
116
204
  - lib/nokogiri/html/document.rb
205
+ - lib/nokogiri/html/document_fragment.rb
206
+ - lib/nokogiri/html/element_description.rb
117
207
  - lib/nokogiri/html/entity_lookup.rb
118
208
  - lib/nokogiri/html/sax/parser.rb
119
209
  - lib/nokogiri/syntax_error.rb
120
210
  - lib/nokogiri/version.rb
211
+ - lib/nokogiri/version_warning.rb
121
212
  - lib/nokogiri/xml.rb
122
213
  - lib/nokogiri/xml/attr.rb
123
214
  - lib/nokogiri/xml/builder.rb
124
215
  - lib/nokogiri/xml/cdata.rb
125
- - lib/nokogiri/xml/comment.rb
126
216
  - lib/nokogiri/xml/document.rb
127
217
  - lib/nokogiri/xml/document_fragment.rb
128
218
  - lib/nokogiri/xml/dtd.rb
129
- - lib/nokogiri/xml/element.rb
130
219
  - lib/nokogiri/xml/entity_declaration.rb
131
220
  - lib/nokogiri/xml/fragment_handler.rb
221
+ - lib/nokogiri/xml/namespace.rb
132
222
  - lib/nokogiri/xml/node.rb
133
223
  - lib/nokogiri/xml/node/save_options.rb
134
224
  - lib/nokogiri/xml/node_set.rb
135
225
  - lib/nokogiri/xml/notation.rb
226
+ - lib/nokogiri/xml/parse_options.rb
136
227
  - lib/nokogiri/xml/processing_instruction.rb
137
228
  - lib/nokogiri/xml/reader.rb
229
+ - lib/nokogiri/xml/relax_ng.rb
138
230
  - lib/nokogiri/xml/sax.rb
139
231
  - lib/nokogiri/xml/sax/document.rb
140
232
  - lib/nokogiri/xml/sax/parser.rb
141
233
  - lib/nokogiri/xml/sax/push_parser.rb
234
+ - lib/nokogiri/xml/schema.rb
142
235
  - lib/nokogiri/xml/syntax_error.rb
143
- - lib/nokogiri/xml/text.rb
144
236
  - lib/nokogiri/xml/xpath.rb
145
237
  - lib/nokogiri/xml/xpath/syntax_error.rb
146
238
  - lib/nokogiri/xml/xpath_context.rb
@@ -152,9 +244,14 @@ files:
152
244
  - test/css/test_parser.rb
153
245
  - test/css/test_tokenizer.rb
154
246
  - test/css/test_xpath_visitor.rb
247
+ - test/ffi/test_document.rb
248
+ - test/files/address_book.rlx
249
+ - test/files/address_book.xml
155
250
  - test/files/dont_hurt_em_why.xml
156
251
  - test/files/exslt.xml
157
252
  - test/files/exslt.xslt
253
+ - test/files/po.xml
254
+ - test/files/po.xsd
158
255
  - test/files/staff.xml
159
256
  - test/files/staff.xslt
160
257
  - test/files/tlm.html
@@ -180,6 +277,8 @@ files:
180
277
  - test/html/test_builder.rb
181
278
  - test/html/test_document.rb
182
279
  - test/html/test_document_encoding.rb
280
+ - test/html/test_document_fragment.rb
281
+ - test/html/test_element_description.rb
183
282
  - test/html/test_named_characters.rb
184
283
  - test/html/test_node.rb
185
284
  - test/test_convert_xpath.rb
@@ -190,6 +289,7 @@ files:
190
289
  - test/test_reader.rb
191
290
  - test/test_xslt_transforms.rb
192
291
  - test/xml/node/test_save_options.rb
292
+ - test/xml/node/test_subclass.rb
193
293
  - test/xml/sax/test_parser.rb
194
294
  - test/xml/sax/test_push_parser.rb
195
295
  - test/xml/test_attr.rb
@@ -202,16 +302,23 @@ files:
202
302
  - test/xml/test_dtd.rb
203
303
  - test/xml/test_dtd_encoding.rb
204
304
  - test/xml/test_entity_reference.rb
305
+ - test/xml/test_namespace.rb
205
306
  - test/xml/test_node.rb
307
+ - test/xml/test_node_attributes.rb
206
308
  - test/xml/test_node_encoding.rb
207
309
  - test/xml/test_node_set.rb
310
+ - test/xml/test_parse_options.rb
208
311
  - test/xml/test_processing_instruction.rb
209
312
  - test/xml/test_reader_encoding.rb
313
+ - test/xml/test_relax_ng.rb
314
+ - test/xml/test_schema.rb
210
315
  - test/xml/test_text.rb
211
316
  - test/xml/test_unparented_node.rb
212
317
  - test/xml/test_xpath.rb
213
318
  has_rdoc: true
214
319
  homepage: http://nokogiri.rubyforge.org/
320
+ licenses: []
321
+
215
322
  post_install_message:
216
323
  rdoc_options:
217
324
  - --main
@@ -234,15 +341,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
341
  requirements: []
235
342
 
236
343
  rubyforge_project: nokogiri
237
- rubygems_version: 1.3.1
344
+ rubygems_version: 1.3.3
238
345
  signing_key:
239
- specification_version: 2
346
+ specification_version: 3
240
347
  summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser."
241
348
  test_files:
242
349
  - test/css/test_nthiness.rb
243
350
  - test/css/test_parser.rb
244
351
  - test/css/test_tokenizer.rb
245
352
  - test/css/test_xpath_visitor.rb
353
+ - test/ffi/test_document.rb
246
354
  - test/hpricot/test_alter.rb
247
355
  - test/hpricot/test_builder.rb
248
356
  - test/hpricot/test_parser.rb
@@ -253,6 +361,8 @@ test_files:
253
361
  - test/html/test_builder.rb
254
362
  - test/html/test_document.rb
255
363
  - test/html/test_document_encoding.rb
364
+ - test/html/test_document_fragment.rb
365
+ - test/html/test_element_description.rb
256
366
  - test/html/test_named_characters.rb
257
367
  - test/html/test_node.rb
258
368
  - test/test_convert_xpath.rb
@@ -263,6 +373,7 @@ test_files:
263
373
  - test/test_reader.rb
264
374
  - test/test_xslt_transforms.rb
265
375
  - test/xml/node/test_save_options.rb
376
+ - test/xml/node/test_subclass.rb
266
377
  - test/xml/sax/test_parser.rb
267
378
  - test/xml/sax/test_push_parser.rb
268
379
  - test/xml/test_attr.rb
@@ -275,11 +386,16 @@ test_files:
275
386
  - test/xml/test_dtd.rb
276
387
  - test/xml/test_dtd_encoding.rb
277
388
  - test/xml/test_entity_reference.rb
389
+ - test/xml/test_namespace.rb
278
390
  - test/xml/test_node.rb
391
+ - test/xml/test_node_attributes.rb
279
392
  - test/xml/test_node_encoding.rb
280
393
  - test/xml/test_node_set.rb
394
+ - test/xml/test_parse_options.rb
281
395
  - test/xml/test_processing_instruction.rb
282
396
  - test/xml/test_reader_encoding.rb
397
+ - test/xml/test_relax_ng.rb
398
+ - test/xml/test_schema.rb
283
399
  - test/xml/test_text.rb
284
400
  - test/xml/test_unparented_node.rb
285
401
  - test/xml/test_xpath.rb
@@ -1,6 +0,0 @@
1
- module Nokogiri
2
- module XML
3
- class Comment < Node
4
- end
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- module Nokogiri
2
- module XML
3
- class Element < Node
4
- end
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- module Nokogiri
2
- module XML
3
- class Text < Node
4
- end
5
- end
6
- end