nokogiri 1.6.2.rc1-x64-mingw32

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 (263) hide show
  1. checksums.yaml +7 -0
  2. data/.autotest +26 -0
  3. data/.editorconfig +17 -0
  4. data/.gemtest +0 -0
  5. data/.travis.yml +25 -0
  6. data/CHANGELOG.ja.rdoc +857 -0
  7. data/CHANGELOG.rdoc +880 -0
  8. data/C_CODING_STYLE.rdoc +33 -0
  9. data/Gemfile +21 -0
  10. data/Manifest.txt +371 -0
  11. data/README.ja.rdoc +112 -0
  12. data/README.rdoc +180 -0
  13. data/ROADMAP.md +89 -0
  14. data/Rakefile +351 -0
  15. data/STANDARD_RESPONSES.md +47 -0
  16. data/Y_U_NO_GEMSPEC.md +155 -0
  17. data/bin/nokogiri +78 -0
  18. data/build_all +130 -0
  19. data/dependencies.yml +4 -0
  20. data/ext/nokogiri/depend +358 -0
  21. data/ext/nokogiri/extconf.rb +453 -0
  22. data/ext/nokogiri/html_document.c +170 -0
  23. data/ext/nokogiri/html_document.h +10 -0
  24. data/ext/nokogiri/html_element_description.c +279 -0
  25. data/ext/nokogiri/html_element_description.h +10 -0
  26. data/ext/nokogiri/html_entity_lookup.c +32 -0
  27. data/ext/nokogiri/html_entity_lookup.h +8 -0
  28. data/ext/nokogiri/html_sax_parser_context.c +116 -0
  29. data/ext/nokogiri/html_sax_parser_context.h +11 -0
  30. data/ext/nokogiri/html_sax_push_parser.c +87 -0
  31. data/ext/nokogiri/html_sax_push_parser.h +9 -0
  32. data/ext/nokogiri/nokogiri.c +148 -0
  33. data/ext/nokogiri/nokogiri.h +164 -0
  34. data/ext/nokogiri/xml_attr.c +94 -0
  35. data/ext/nokogiri/xml_attr.h +9 -0
  36. data/ext/nokogiri/xml_attribute_decl.c +70 -0
  37. data/ext/nokogiri/xml_attribute_decl.h +9 -0
  38. data/ext/nokogiri/xml_cdata.c +56 -0
  39. data/ext/nokogiri/xml_cdata.h +9 -0
  40. data/ext/nokogiri/xml_comment.c +54 -0
  41. data/ext/nokogiri/xml_comment.h +9 -0
  42. data/ext/nokogiri/xml_document.c +577 -0
  43. data/ext/nokogiri/xml_document.h +23 -0
  44. data/ext/nokogiri/xml_document_fragment.c +48 -0
  45. data/ext/nokogiri/xml_document_fragment.h +10 -0
  46. data/ext/nokogiri/xml_dtd.c +202 -0
  47. data/ext/nokogiri/xml_dtd.h +10 -0
  48. data/ext/nokogiri/xml_element_content.c +123 -0
  49. data/ext/nokogiri/xml_element_content.h +10 -0
  50. data/ext/nokogiri/xml_element_decl.c +69 -0
  51. data/ext/nokogiri/xml_element_decl.h +9 -0
  52. data/ext/nokogiri/xml_encoding_handler.c +79 -0
  53. data/ext/nokogiri/xml_encoding_handler.h +8 -0
  54. data/ext/nokogiri/xml_entity_decl.c +110 -0
  55. data/ext/nokogiri/xml_entity_decl.h +10 -0
  56. data/ext/nokogiri/xml_entity_reference.c +52 -0
  57. data/ext/nokogiri/xml_entity_reference.h +9 -0
  58. data/ext/nokogiri/xml_io.c +56 -0
  59. data/ext/nokogiri/xml_io.h +11 -0
  60. data/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  61. data/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  62. data/ext/nokogiri/xml_namespace.c +78 -0
  63. data/ext/nokogiri/xml_namespace.h +13 -0
  64. data/ext/nokogiri/xml_node.c +1541 -0
  65. data/ext/nokogiri/xml_node.h +13 -0
  66. data/ext/nokogiri/xml_node_set.c +467 -0
  67. data/ext/nokogiri/xml_node_set.h +14 -0
  68. data/ext/nokogiri/xml_processing_instruction.c +56 -0
  69. data/ext/nokogiri/xml_processing_instruction.h +9 -0
  70. data/ext/nokogiri/xml_reader.c +681 -0
  71. data/ext/nokogiri/xml_reader.h +10 -0
  72. data/ext/nokogiri/xml_relax_ng.c +161 -0
  73. data/ext/nokogiri/xml_relax_ng.h +9 -0
  74. data/ext/nokogiri/xml_sax_parser.c +312 -0
  75. data/ext/nokogiri/xml_sax_parser.h +39 -0
  76. data/ext/nokogiri/xml_sax_parser_context.c +262 -0
  77. data/ext/nokogiri/xml_sax_parser_context.h +10 -0
  78. data/ext/nokogiri/xml_sax_push_parser.c +115 -0
  79. data/ext/nokogiri/xml_sax_push_parser.h +9 -0
  80. data/ext/nokogiri/xml_schema.c +205 -0
  81. data/ext/nokogiri/xml_schema.h +9 -0
  82. data/ext/nokogiri/xml_syntax_error.c +63 -0
  83. data/ext/nokogiri/xml_syntax_error.h +13 -0
  84. data/ext/nokogiri/xml_text.c +52 -0
  85. data/ext/nokogiri/xml_text.h +9 -0
  86. data/ext/nokogiri/xml_xpath_context.c +307 -0
  87. data/ext/nokogiri/xml_xpath_context.h +10 -0
  88. data/ext/nokogiri/xslt_stylesheet.c +270 -0
  89. data/ext/nokogiri/xslt_stylesheet.h +14 -0
  90. data/lib/nokogiri.rb +137 -0
  91. data/lib/nokogiri/2.0/nokogiri.so +0 -0
  92. data/lib/nokogiri/2.1/nokogiri.so +0 -0
  93. data/lib/nokogiri/css.rb +27 -0
  94. data/lib/nokogiri/css/node.rb +52 -0
  95. data/lib/nokogiri/css/parser.rb +715 -0
  96. data/lib/nokogiri/css/parser.y +249 -0
  97. data/lib/nokogiri/css/parser_extras.rb +91 -0
  98. data/lib/nokogiri/css/syntax_error.rb +7 -0
  99. data/lib/nokogiri/css/tokenizer.rb +152 -0
  100. data/lib/nokogiri/css/tokenizer.rex +55 -0
  101. data/lib/nokogiri/css/xpath_visitor.rb +219 -0
  102. data/lib/nokogiri/decorators/slop.rb +35 -0
  103. data/lib/nokogiri/html.rb +37 -0
  104. data/lib/nokogiri/html/builder.rb +35 -0
  105. data/lib/nokogiri/html/document.rb +333 -0
  106. data/lib/nokogiri/html/document_fragment.rb +41 -0
  107. data/lib/nokogiri/html/element_description.rb +23 -0
  108. data/lib/nokogiri/html/element_description_defaults.rb +671 -0
  109. data/lib/nokogiri/html/entity_lookup.rb +13 -0
  110. data/lib/nokogiri/html/sax/parser.rb +52 -0
  111. data/lib/nokogiri/html/sax/parser_context.rb +16 -0
  112. data/lib/nokogiri/html/sax/push_parser.rb +16 -0
  113. data/lib/nokogiri/syntax_error.rb +4 -0
  114. data/lib/nokogiri/version.rb +106 -0
  115. data/lib/nokogiri/xml.rb +73 -0
  116. data/lib/nokogiri/xml/attr.rb +14 -0
  117. data/lib/nokogiri/xml/attribute_decl.rb +18 -0
  118. data/lib/nokogiri/xml/builder.rb +443 -0
  119. data/lib/nokogiri/xml/cdata.rb +11 -0
  120. data/lib/nokogiri/xml/character_data.rb +7 -0
  121. data/lib/nokogiri/xml/document.rb +279 -0
  122. data/lib/nokogiri/xml/document_fragment.rb +112 -0
  123. data/lib/nokogiri/xml/dtd.rb +32 -0
  124. data/lib/nokogiri/xml/element_content.rb +36 -0
  125. data/lib/nokogiri/xml/element_decl.rb +13 -0
  126. data/lib/nokogiri/xml/entity_decl.rb +19 -0
  127. data/lib/nokogiri/xml/namespace.rb +13 -0
  128. data/lib/nokogiri/xml/node.rb +982 -0
  129. data/lib/nokogiri/xml/node/save_options.rb +61 -0
  130. data/lib/nokogiri/xml/node_set.rb +355 -0
  131. data/lib/nokogiri/xml/notation.rb +6 -0
  132. data/lib/nokogiri/xml/parse_options.rb +98 -0
  133. data/lib/nokogiri/xml/pp.rb +2 -0
  134. data/lib/nokogiri/xml/pp/character_data.rb +18 -0
  135. data/lib/nokogiri/xml/pp/node.rb +56 -0
  136. data/lib/nokogiri/xml/processing_instruction.rb +8 -0
  137. data/lib/nokogiri/xml/reader.rb +112 -0
  138. data/lib/nokogiri/xml/relax_ng.rb +32 -0
  139. data/lib/nokogiri/xml/sax.rb +4 -0
  140. data/lib/nokogiri/xml/sax/document.rb +171 -0
  141. data/lib/nokogiri/xml/sax/parser.rb +123 -0
  142. data/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  143. data/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  144. data/lib/nokogiri/xml/schema.rb +63 -0
  145. data/lib/nokogiri/xml/syntax_error.rb +47 -0
  146. data/lib/nokogiri/xml/text.rb +9 -0
  147. data/lib/nokogiri/xml/xpath.rb +10 -0
  148. data/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  149. data/lib/nokogiri/xml/xpath_context.rb +16 -0
  150. data/lib/nokogiri/xslt.rb +56 -0
  151. data/lib/nokogiri/xslt/stylesheet.rb +25 -0
  152. data/lib/xsd/xmlparser/nokogiri.rb +102 -0
  153. data/suppressions/README.txt +1 -0
  154. data/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
  155. data/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
  156. data/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
  157. data/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
  158. data/tasks/nokogiri.org.rb +24 -0
  159. data/tasks/test.rb +95 -0
  160. data/test/css/test_nthiness.rb +222 -0
  161. data/test/css/test_parser.rb +358 -0
  162. data/test/css/test_tokenizer.rb +198 -0
  163. data/test/css/test_xpath_visitor.rb +96 -0
  164. data/test/decorators/test_slop.rb +16 -0
  165. data/test/files/2ch.html +108 -0
  166. data/test/files/address_book.rlx +12 -0
  167. data/test/files/address_book.xml +10 -0
  168. data/test/files/atom.xml +344 -0
  169. data/test/files/bar/bar.xsd +4 -0
  170. data/test/files/bogus.xml +0 -0
  171. data/test/files/dont_hurt_em_why.xml +422 -0
  172. data/test/files/encoding.html +82 -0
  173. data/test/files/encoding.xhtml +84 -0
  174. data/test/files/exslt.xml +8 -0
  175. data/test/files/exslt.xslt +35 -0
  176. data/test/files/foo/foo.xsd +4 -0
  177. data/test/files/metacharset.html +10 -0
  178. data/test/files/noencoding.html +47 -0
  179. data/test/files/po.xml +32 -0
  180. data/test/files/po.xsd +66 -0
  181. data/test/files/saml/saml20assertion_schema.xsd +283 -0
  182. data/test/files/saml/saml20protocol_schema.xsd +302 -0
  183. data/test/files/saml/xenc_schema.xsd +146 -0
  184. data/test/files/saml/xmldsig_schema.xsd +318 -0
  185. data/test/files/shift_jis.html +10 -0
  186. data/test/files/shift_jis.xml +5 -0
  187. data/test/files/shift_jis_no_charset.html +9 -0
  188. data/test/files/snuggles.xml +3 -0
  189. data/test/files/staff.dtd +10 -0
  190. data/test/files/staff.xml +59 -0
  191. data/test/files/staff.xslt +32 -0
  192. data/test/files/test_document_url/bar.xml +2 -0
  193. data/test/files/test_document_url/document.dtd +4 -0
  194. data/test/files/test_document_url/document.xml +6 -0
  195. data/test/files/tlm.html +850 -0
  196. data/test/files/to_be_xincluded.xml +2 -0
  197. data/test/files/valid_bar.xml +2 -0
  198. data/test/files/xinclude.xml +4 -0
  199. data/test/helper.rb +164 -0
  200. data/test/html/sax/test_parser.rb +141 -0
  201. data/test/html/sax/test_parser_context.rb +46 -0
  202. data/test/html/test_builder.rb +164 -0
  203. data/test/html/test_document.rb +619 -0
  204. data/test/html/test_document_encoding.rb +148 -0
  205. data/test/html/test_document_fragment.rb +261 -0
  206. data/test/html/test_element_description.rb +105 -0
  207. data/test/html/test_named_characters.rb +14 -0
  208. data/test/html/test_node.rb +196 -0
  209. data/test/html/test_node_encoding.rb +27 -0
  210. data/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
  211. data/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
  212. data/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
  213. data/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
  214. data/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -0
  215. data/test/test_convert_xpath.rb +135 -0
  216. data/test/test_css_cache.rb +45 -0
  217. data/test/test_encoding_handler.rb +46 -0
  218. data/test/test_memory_leak.rb +156 -0
  219. data/test/test_nokogiri.rb +138 -0
  220. data/test/test_reader.rb +558 -0
  221. data/test/test_soap4r_sax.rb +52 -0
  222. data/test/test_xslt_transforms.rb +279 -0
  223. data/test/xml/node/test_save_options.rb +28 -0
  224. data/test/xml/node/test_subclass.rb +44 -0
  225. data/test/xml/sax/test_parser.rb +382 -0
  226. data/test/xml/sax/test_parser_context.rb +115 -0
  227. data/test/xml/sax/test_push_parser.rb +157 -0
  228. data/test/xml/test_attr.rb +64 -0
  229. data/test/xml/test_attribute_decl.rb +86 -0
  230. data/test/xml/test_builder.rb +315 -0
  231. data/test/xml/test_c14n.rb +161 -0
  232. data/test/xml/test_cdata.rb +48 -0
  233. data/test/xml/test_comment.rb +29 -0
  234. data/test/xml/test_document.rb +934 -0
  235. data/test/xml/test_document_encoding.rb +28 -0
  236. data/test/xml/test_document_fragment.rb +228 -0
  237. data/test/xml/test_dtd.rb +187 -0
  238. data/test/xml/test_dtd_encoding.rb +33 -0
  239. data/test/xml/test_element_content.rb +56 -0
  240. data/test/xml/test_element_decl.rb +73 -0
  241. data/test/xml/test_entity_decl.rb +122 -0
  242. data/test/xml/test_entity_reference.rb +245 -0
  243. data/test/xml/test_namespace.rb +95 -0
  244. data/test/xml/test_node.rb +1155 -0
  245. data/test/xml/test_node_attributes.rb +113 -0
  246. data/test/xml/test_node_encoding.rb +107 -0
  247. data/test/xml/test_node_inheritance.rb +32 -0
  248. data/test/xml/test_node_reparenting.rb +374 -0
  249. data/test/xml/test_node_set.rb +755 -0
  250. data/test/xml/test_parse_options.rb +64 -0
  251. data/test/xml/test_processing_instruction.rb +30 -0
  252. data/test/xml/test_reader_encoding.rb +142 -0
  253. data/test/xml/test_relax_ng.rb +60 -0
  254. data/test/xml/test_schema.rb +129 -0
  255. data/test/xml/test_syntax_error.rb +12 -0
  256. data/test/xml/test_text.rb +45 -0
  257. data/test/xml/test_unparented_node.rb +422 -0
  258. data/test/xml/test_xinclude.rb +83 -0
  259. data/test/xml/test_xpath.rb +376 -0
  260. data/test/xslt/test_custom_functions.rb +133 -0
  261. data/test/xslt/test_exception_handling.rb +37 -0
  262. data/test_all +81 -0
  263. metadata +601 -0
@@ -0,0 +1,33 @@
1
+ = C/C++ mode style for Nokogiri
2
+
3
+ Please don't propose commits that only change whitespace. However, if your
4
+ commit touches a function or section that is not using MRI Ruby conventions,
5
+ feel free to update whitespace in the surrounding code.
6
+
7
+
8
+ = WHITESPACE:
9
+
10
+ * indent level: 2
11
+ * indent type: Always spaces
12
+ * line Breaks: LF
13
+
14
+ This style can be automatically applied by running:
15
+
16
+ astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks $(ack -f --type=cpp --type=cc ext/nokogiri)
17
+
18
+
19
+ = FUNCTION DECLARATION:
20
+
21
+ ANSI C style:
22
+
23
+ type name(args)
24
+ {
25
+ declarations
26
+
27
+ code
28
+ }
29
+
30
+ = SOURCES:
31
+
32
+ * <3<3<3
33
+
data/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ # -*- ruby -*-
2
+
3
+ # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
+
5
+ source "https://rubygems.org/"
6
+
7
+ gem "mini_portile", "~>0.5.2"
8
+
9
+ gem "rdoc", "~>4.0", :group => [:development, :test]
10
+ gem "hoe-bundler", ">=1.1", :group => [:development, :test]
11
+ gem "hoe-debugging", ">=1.0.3", :group => [:development, :test]
12
+ gem "hoe-gemspec", ">=1.0", :group => [:development, :test]
13
+ gem "hoe-git", ">=1.4", :group => [:development, :test]
14
+ gem "minitest", "~>2.2.2", :group => [:development, :test]
15
+ gem "rake", ">=0.9", :group => [:development, :test]
16
+ gem "rake-compiler", "~>0.9.2", :group => [:development, :test]
17
+ gem "racc", ">=1.4.6", :group => [:development, :test], :platform => :ruby
18
+ gem "rexical", ">=1.0.5", :group => [:development, :test], :platform => :ruby
19
+ gem "hoe", "~>3.7", :group => [:development, :test]
20
+
21
+ # vim: syntax=ruby
@@ -0,0 +1,371 @@
1
+ .autotest
2
+ .editorconfig
3
+ .gemtest
4
+ .travis.yml
5
+ CHANGELOG.ja.rdoc
6
+ CHANGELOG.rdoc
7
+ C_CODING_STYLE.rdoc
8
+ Gemfile
9
+ Manifest.txt
10
+ README.ja.rdoc
11
+ README.rdoc
12
+ ROADMAP.md
13
+ Rakefile
14
+ STANDARD_RESPONSES.md
15
+ Y_U_NO_GEMSPEC.md
16
+ bin/nokogiri
17
+ build_all
18
+ dependencies.yml
19
+ ext/java/nokogiri/EncodingHandler.java
20
+ ext/java/nokogiri/HtmlDocument.java
21
+ ext/java/nokogiri/HtmlElementDescription.java
22
+ ext/java/nokogiri/HtmlEntityLookup.java
23
+ ext/java/nokogiri/HtmlSaxParserContext.java
24
+ ext/java/nokogiri/NokogiriService.java
25
+ ext/java/nokogiri/XmlAttr.java
26
+ ext/java/nokogiri/XmlAttributeDecl.java
27
+ ext/java/nokogiri/XmlCdata.java
28
+ ext/java/nokogiri/XmlComment.java
29
+ ext/java/nokogiri/XmlDocument.java
30
+ ext/java/nokogiri/XmlDocumentFragment.java
31
+ ext/java/nokogiri/XmlDtd.java
32
+ ext/java/nokogiri/XmlElement.java
33
+ ext/java/nokogiri/XmlElementContent.java
34
+ ext/java/nokogiri/XmlElementDecl.java
35
+ ext/java/nokogiri/XmlEntityDecl.java
36
+ ext/java/nokogiri/XmlEntityReference.java
37
+ ext/java/nokogiri/XmlNamespace.java
38
+ ext/java/nokogiri/XmlNode.java
39
+ ext/java/nokogiri/XmlNodeSet.java
40
+ ext/java/nokogiri/XmlProcessingInstruction.java
41
+ ext/java/nokogiri/XmlReader.java
42
+ ext/java/nokogiri/XmlRelaxng.java
43
+ ext/java/nokogiri/XmlSaxParserContext.java
44
+ ext/java/nokogiri/XmlSaxPushParser.java
45
+ ext/java/nokogiri/XmlSchema.java
46
+ ext/java/nokogiri/XmlSyntaxError.java
47
+ ext/java/nokogiri/XmlText.java
48
+ ext/java/nokogiri/XmlXpathContext.java
49
+ ext/java/nokogiri/XsltStylesheet.java
50
+ ext/java/nokogiri/internals/ClosedStreamException.java
51
+ ext/java/nokogiri/internals/HtmlDomParserContext.java
52
+ ext/java/nokogiri/internals/IgnoreSchemaErrorsErrorHandler.java
53
+ ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java
54
+ ext/java/nokogiri/internals/NokogiriDocumentCache.java
55
+ ext/java/nokogiri/internals/NokogiriDomParser.java
56
+ ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java
57
+ ext/java/nokogiri/internals/NokogiriEntityResolver.java
58
+ ext/java/nokogiri/internals/NokogiriErrorHandler.java
59
+ ext/java/nokogiri/internals/NokogiriHandler.java
60
+ ext/java/nokogiri/internals/NokogiriHelpers.java
61
+ ext/java/nokogiri/internals/NokogiriNamespaceCache.java
62
+ ext/java/nokogiri/internals/NokogiriNamespaceContext.java
63
+ ext/java/nokogiri/internals/NokogiriNonStrictErrorHandler.java
64
+ ext/java/nokogiri/internals/NokogiriNonStrictErrorHandler4NekoHtml.java
65
+ ext/java/nokogiri/internals/NokogiriStrictErrorHandler.java
66
+ ext/java/nokogiri/internals/NokogiriXPathFunction.java
67
+ ext/java/nokogiri/internals/NokogiriXPathFunctionResolver.java
68
+ ext/java/nokogiri/internals/NokogiriXPathVariableResolver.java
69
+ ext/java/nokogiri/internals/NokogiriXsltErrorListener.java
70
+ ext/java/nokogiri/internals/ParserContext.java
71
+ ext/java/nokogiri/internals/ReaderNode.java
72
+ ext/java/nokogiri/internals/SaveContextVisitor.java
73
+ ext/java/nokogiri/internals/SchemaErrorHandler.java
74
+ ext/java/nokogiri/internals/UncloseableInputStream.java
75
+ ext/java/nokogiri/internals/XmlDeclHandler.java
76
+ ext/java/nokogiri/internals/XmlDomParserContext.java
77
+ ext/java/nokogiri/internals/XmlSaxParser.java
78
+ ext/java/nokogiri/internals/XsltExtensionFunction.java
79
+ ext/java/nokogiri/internals/c14n/AttrCompare.java
80
+ ext/java/nokogiri/internals/c14n/C14nHelper.java
81
+ ext/java/nokogiri/internals/c14n/CanonicalFilter.java
82
+ ext/java/nokogiri/internals/c14n/CanonicalizationException.java
83
+ ext/java/nokogiri/internals/c14n/Canonicalizer.java
84
+ ext/java/nokogiri/internals/c14n/Canonicalizer11.java
85
+ ext/java/nokogiri/internals/c14n/Canonicalizer11_OmitComments.java
86
+ ext/java/nokogiri/internals/c14n/Canonicalizer11_WithComments.java
87
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315.java
88
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315Excl.java
89
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315ExclOmitComments.java
90
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315ExclWithComments.java
91
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315OmitComments.java
92
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315WithComments.java
93
+ ext/java/nokogiri/internals/c14n/CanonicalizerBase.java
94
+ ext/java/nokogiri/internals/c14n/CanonicalizerPhysical.java
95
+ ext/java/nokogiri/internals/c14n/CanonicalizerSpi.java
96
+ ext/java/nokogiri/internals/c14n/Constants.java
97
+ ext/java/nokogiri/internals/c14n/ElementProxy.java
98
+ ext/java/nokogiri/internals/c14n/HelperNodeList.java
99
+ ext/java/nokogiri/internals/c14n/IgnoreAllErrorHandler.java
100
+ ext/java/nokogiri/internals/c14n/InclusiveNamespaces.java
101
+ ext/java/nokogiri/internals/c14n/InvalidCanonicalizerException.java
102
+ ext/java/nokogiri/internals/c14n/NameSpaceSymbTable.java
103
+ ext/java/nokogiri/internals/c14n/NodeFilter.java
104
+ ext/java/nokogiri/internals/c14n/UtfHelpper.java
105
+ ext/java/nokogiri/internals/c14n/XMLUtils.java
106
+ ext/nokogiri/depend
107
+ ext/nokogiri/extconf.rb
108
+ ext/nokogiri/html_document.c
109
+ ext/nokogiri/html_document.h
110
+ ext/nokogiri/html_element_description.c
111
+ ext/nokogiri/html_element_description.h
112
+ ext/nokogiri/html_entity_lookup.c
113
+ ext/nokogiri/html_entity_lookup.h
114
+ ext/nokogiri/html_sax_parser_context.c
115
+ ext/nokogiri/html_sax_parser_context.h
116
+ ext/nokogiri/html_sax_push_parser.c
117
+ ext/nokogiri/html_sax_push_parser.h
118
+ ext/nokogiri/nokogiri.c
119
+ ext/nokogiri/nokogiri.h
120
+ ext/nokogiri/xml_attr.c
121
+ ext/nokogiri/xml_attr.h
122
+ ext/nokogiri/xml_attribute_decl.c
123
+ ext/nokogiri/xml_attribute_decl.h
124
+ ext/nokogiri/xml_cdata.c
125
+ ext/nokogiri/xml_cdata.h
126
+ ext/nokogiri/xml_comment.c
127
+ ext/nokogiri/xml_comment.h
128
+ ext/nokogiri/xml_document.c
129
+ ext/nokogiri/xml_document.h
130
+ ext/nokogiri/xml_document_fragment.c
131
+ ext/nokogiri/xml_document_fragment.h
132
+ ext/nokogiri/xml_dtd.c
133
+ ext/nokogiri/xml_dtd.h
134
+ ext/nokogiri/xml_element_content.c
135
+ ext/nokogiri/xml_element_content.h
136
+ ext/nokogiri/xml_element_decl.c
137
+ ext/nokogiri/xml_element_decl.h
138
+ ext/nokogiri/xml_encoding_handler.c
139
+ ext/nokogiri/xml_encoding_handler.h
140
+ ext/nokogiri/xml_entity_decl.c
141
+ ext/nokogiri/xml_entity_decl.h
142
+ ext/nokogiri/xml_entity_reference.c
143
+ ext/nokogiri/xml_entity_reference.h
144
+ ext/nokogiri/xml_io.c
145
+ ext/nokogiri/xml_io.h
146
+ ext/nokogiri/xml_libxml2_hacks.c
147
+ ext/nokogiri/xml_libxml2_hacks.h
148
+ ext/nokogiri/xml_namespace.c
149
+ ext/nokogiri/xml_namespace.h
150
+ ext/nokogiri/xml_node.c
151
+ ext/nokogiri/xml_node.h
152
+ ext/nokogiri/xml_node_set.c
153
+ ext/nokogiri/xml_node_set.h
154
+ ext/nokogiri/xml_processing_instruction.c
155
+ ext/nokogiri/xml_processing_instruction.h
156
+ ext/nokogiri/xml_reader.c
157
+ ext/nokogiri/xml_reader.h
158
+ ext/nokogiri/xml_relax_ng.c
159
+ ext/nokogiri/xml_relax_ng.h
160
+ ext/nokogiri/xml_sax_parser.c
161
+ ext/nokogiri/xml_sax_parser.h
162
+ ext/nokogiri/xml_sax_parser_context.c
163
+ ext/nokogiri/xml_sax_parser_context.h
164
+ ext/nokogiri/xml_sax_push_parser.c
165
+ ext/nokogiri/xml_sax_push_parser.h
166
+ ext/nokogiri/xml_schema.c
167
+ ext/nokogiri/xml_schema.h
168
+ ext/nokogiri/xml_syntax_error.c
169
+ ext/nokogiri/xml_syntax_error.h
170
+ ext/nokogiri/xml_text.c
171
+ ext/nokogiri/xml_text.h
172
+ ext/nokogiri/xml_xpath_context.c
173
+ ext/nokogiri/xml_xpath_context.h
174
+ ext/nokogiri/xslt_stylesheet.c
175
+ ext/nokogiri/xslt_stylesheet.h
176
+ lib/isorelax.jar
177
+ lib/jing.jar
178
+ lib/nekodtd.jar
179
+ lib/nekohtml.jar
180
+ lib/nokogiri.rb
181
+ lib/nokogiri/css.rb
182
+ lib/nokogiri/css/node.rb
183
+ lib/nokogiri/css/parser.rb
184
+ lib/nokogiri/css/parser.y
185
+ lib/nokogiri/css/parser_extras.rb
186
+ lib/nokogiri/css/syntax_error.rb
187
+ lib/nokogiri/css/tokenizer.rb
188
+ lib/nokogiri/css/tokenizer.rex
189
+ lib/nokogiri/css/xpath_visitor.rb
190
+ lib/nokogiri/decorators/slop.rb
191
+ lib/nokogiri/html.rb
192
+ lib/nokogiri/html/builder.rb
193
+ lib/nokogiri/html/document.rb
194
+ lib/nokogiri/html/document_fragment.rb
195
+ lib/nokogiri/html/element_description.rb
196
+ lib/nokogiri/html/element_description_defaults.rb
197
+ lib/nokogiri/html/entity_lookup.rb
198
+ lib/nokogiri/html/sax/parser.rb
199
+ lib/nokogiri/html/sax/parser_context.rb
200
+ lib/nokogiri/html/sax/push_parser.rb
201
+ lib/nokogiri/syntax_error.rb
202
+ lib/nokogiri/version.rb
203
+ lib/nokogiri/xml.rb
204
+ lib/nokogiri/xml/attr.rb
205
+ lib/nokogiri/xml/attribute_decl.rb
206
+ lib/nokogiri/xml/builder.rb
207
+ lib/nokogiri/xml/cdata.rb
208
+ lib/nokogiri/xml/character_data.rb
209
+ lib/nokogiri/xml/document.rb
210
+ lib/nokogiri/xml/document_fragment.rb
211
+ lib/nokogiri/xml/dtd.rb
212
+ lib/nokogiri/xml/element_content.rb
213
+ lib/nokogiri/xml/element_decl.rb
214
+ lib/nokogiri/xml/entity_decl.rb
215
+ lib/nokogiri/xml/namespace.rb
216
+ lib/nokogiri/xml/node.rb
217
+ lib/nokogiri/xml/node/save_options.rb
218
+ lib/nokogiri/xml/node_set.rb
219
+ lib/nokogiri/xml/notation.rb
220
+ lib/nokogiri/xml/parse_options.rb
221
+ lib/nokogiri/xml/pp.rb
222
+ lib/nokogiri/xml/pp/character_data.rb
223
+ lib/nokogiri/xml/pp/node.rb
224
+ lib/nokogiri/xml/processing_instruction.rb
225
+ lib/nokogiri/xml/reader.rb
226
+ lib/nokogiri/xml/relax_ng.rb
227
+ lib/nokogiri/xml/sax.rb
228
+ lib/nokogiri/xml/sax/document.rb
229
+ lib/nokogiri/xml/sax/parser.rb
230
+ lib/nokogiri/xml/sax/parser_context.rb
231
+ lib/nokogiri/xml/sax/push_parser.rb
232
+ lib/nokogiri/xml/schema.rb
233
+ lib/nokogiri/xml/syntax_error.rb
234
+ lib/nokogiri/xml/text.rb
235
+ lib/nokogiri/xml/xpath.rb
236
+ lib/nokogiri/xml/xpath/syntax_error.rb
237
+ lib/nokogiri/xml/xpath_context.rb
238
+ lib/nokogiri/xslt.rb
239
+ lib/nokogiri/xslt/stylesheet.rb
240
+ lib/xercesImpl.jar
241
+ lib/xsd/xmlparser/nokogiri.rb
242
+ ports/patches/libxml2/0001-Fix-parser-local-buffers-size-problems.patch
243
+ ports/patches/libxml2/0002-Fix-entities-local-buffers-size-problems.patch
244
+ ports/patches/libxml2/0003-Fix-an-error-in-previous-commit.patch
245
+ ports/patches/libxml2/0004-Fix-potential-out-of-bound-access.patch
246
+ ports/patches/libxml2/0005-Detect-excessive-entities-expansion-upon-replacement.patch
247
+ ports/patches/libxml2/0006-Do-not-fetch-external-parsed-entities.patch
248
+ ports/patches/libxml2/0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
249
+ ports/patches/libxml2/0008-Improve-handling-of-xmlStopParser.patch
250
+ ports/patches/libxml2/0009-Fix-a-couple-of-return-without-value.patch
251
+ ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch
252
+ ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
253
+ ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch
254
+ ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch
255
+ ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
256
+ ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch
257
+ ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch
258
+ ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch
259
+ ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
260
+ ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
261
+ ports/patches/libxslt/0014-Fix-for-bug-436589.patch
262
+ ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch
263
+ suppressions/README.txt
264
+ suppressions/nokogiri_ree-1.8.7.358.supp
265
+ suppressions/nokogiri_ruby-1.8.7.370.supp
266
+ suppressions/nokogiri_ruby-1.9.2.320.supp
267
+ suppressions/nokogiri_ruby-1.9.3.327.supp
268
+ tasks/nokogiri.org.rb
269
+ tasks/test.rb
270
+ test/css/test_nthiness.rb
271
+ test/css/test_parser.rb
272
+ test/css/test_tokenizer.rb
273
+ test/css/test_xpath_visitor.rb
274
+ test/decorators/test_slop.rb
275
+ test/files/2ch.html
276
+ test/files/address_book.rlx
277
+ test/files/address_book.xml
278
+ test/files/atom.xml
279
+ test/files/bar/bar.xsd
280
+ test/files/bogus.xml
281
+ test/files/dont_hurt_em_why.xml
282
+ test/files/encoding.html
283
+ test/files/encoding.xhtml
284
+ test/files/exslt.xml
285
+ test/files/exslt.xslt
286
+ test/files/foo/foo.xsd
287
+ test/files/metacharset.html
288
+ test/files/noencoding.html
289
+ test/files/po.xml
290
+ test/files/po.xsd
291
+ test/files/saml/saml20assertion_schema.xsd
292
+ test/files/saml/saml20protocol_schema.xsd
293
+ test/files/saml/xenc_schema.xsd
294
+ test/files/saml/xmldsig_schema.xsd
295
+ test/files/shift_jis.html
296
+ test/files/shift_jis.xml
297
+ test/files/shift_jis_no_charset.html
298
+ test/files/snuggles.xml
299
+ test/files/staff.dtd
300
+ test/files/staff.xml
301
+ test/files/staff.xslt
302
+ test/files/test_document_url/bar.xml
303
+ test/files/test_document_url/document.dtd
304
+ test/files/test_document_url/document.xml
305
+ test/files/tlm.html
306
+ test/files/to_be_xincluded.xml
307
+ test/files/valid_bar.xml
308
+ test/files/xinclude.xml
309
+ test/helper.rb
310
+ test/html/sax/test_parser.rb
311
+ test/html/sax/test_parser_context.rb
312
+ test/html/test_builder.rb
313
+ test/html/test_document.rb
314
+ test/html/test_document_encoding.rb
315
+ test/html/test_document_fragment.rb
316
+ test/html/test_element_description.rb
317
+ test/html/test_named_characters.rb
318
+ test/html/test_node.rb
319
+ test/html/test_node_encoding.rb
320
+ test/namespaces/test_additional_namespaces_in_builder_doc.rb
321
+ test/namespaces/test_namespaces_in_builder_doc.rb
322
+ test/namespaces/test_namespaces_in_created_doc.rb
323
+ test/namespaces/test_namespaces_in_parsed_doc.rb
324
+ test/test_convert_xpath.rb
325
+ test/test_css_cache.rb
326
+ test/test_encoding_handler.rb
327
+ test/test_memory_leak.rb
328
+ test/test_nokogiri.rb
329
+ test/test_reader.rb
330
+ test/test_soap4r_sax.rb
331
+ test/test_xslt_transforms.rb
332
+ test/xml/node/test_save_options.rb
333
+ test/xml/node/test_subclass.rb
334
+ test/xml/sax/test_parser.rb
335
+ test/xml/sax/test_parser_context.rb
336
+ test/xml/sax/test_push_parser.rb
337
+ test/xml/test_attr.rb
338
+ test/xml/test_attribute_decl.rb
339
+ test/xml/test_builder.rb
340
+ test/xml/test_c14n.rb
341
+ test/xml/test_cdata.rb
342
+ test/xml/test_comment.rb
343
+ test/xml/test_document.rb
344
+ test/xml/test_document_encoding.rb
345
+ test/xml/test_document_fragment.rb
346
+ test/xml/test_dtd.rb
347
+ test/xml/test_dtd_encoding.rb
348
+ test/xml/test_element_content.rb
349
+ test/xml/test_element_decl.rb
350
+ test/xml/test_entity_decl.rb
351
+ test/xml/test_entity_reference.rb
352
+ test/xml/test_namespace.rb
353
+ test/xml/test_node.rb
354
+ test/xml/test_node_attributes.rb
355
+ test/xml/test_node_encoding.rb
356
+ test/xml/test_node_inheritance.rb
357
+ test/xml/test_node_reparenting.rb
358
+ test/xml/test_node_set.rb
359
+ test/xml/test_parse_options.rb
360
+ test/xml/test_processing_instruction.rb
361
+ test/xml/test_reader_encoding.rb
362
+ test/xml/test_relax_ng.rb
363
+ test/xml/test_schema.rb
364
+ test/xml/test_syntax_error.rb
365
+ test/xml/test_text.rb
366
+ test/xml/test_unparented_node.rb
367
+ test/xml/test_xinclude.rb
368
+ test/xml/test_xpath.rb
369
+ test/xslt/test_custom_functions.rb
370
+ test/xslt/test_exception_handling.rb
371
+ test_all
@@ -0,0 +1,112 @@
1
+ = Nokogiri (鋸) {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri]
2
+
3
+ * http://nokogiri.org/
4
+ * https://github.com/sparklemotion/nokogiri/wikis
5
+ * https://github.com/sparklemotion/nokogiri/tree/master
6
+ * https://groups.google.com/group/nokogiri-list
7
+ * https://github.com/sparklemotion/nokogiri/issues
8
+
9
+ == DESCRIPTION:
10
+
11
+ Nokogiri はHTMLとXMLとSAXとXSLTとReaderのパーサーです。とりわけ重要な特徴は、
12
+ ドキュメントをXPathやCSS3セレクター経由で探索する機能を持つことです。
13
+
14
+ XMLは暴力に似ている - XMLが君の問題を解決しないとしたら、君はXMLを十分に
15
+ 使いこなしていない事になる。
16
+
17
+ == FEATURES:
18
+
19
+ * XPath 1.0による探索
20
+ * CSS3 のセレクターによる探索
21
+ * XML/HTMLのビルダー
22
+
23
+ XML/HTMLの高速な解析と探索検索、ならびにCSS3セレクタとXPath 1.0をサポートしています。
24
+
25
+ == SUPPORT:
26
+
27
+ 日本語でNokogiriの
28
+ {メーリングリスト}[https://groups.google.com/group/nokogiri-list]
29
+
30
+ * https://groups.google.com/group/nokogiri-list
31
+
32
+ {バグ報告}[https://github.com/sparklemotion/nokogiri/issues]
33
+
34
+ * https://github.com/sparklemotion/nokogiri/issues
35
+
36
+ IRCのチャンネルはfreenodeの #nokogiri です。
37
+
38
+ == SYNOPSIS:
39
+
40
+ require 'nokogiri'
41
+ require 'open-uri'
42
+
43
+ doc = Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove'))
44
+
45
+ ####
46
+ # Search for nodes by css
47
+ doc.css('h3.r a.l').each do |link|
48
+ puts link.content
49
+ end
50
+
51
+ ####
52
+ # Search for nodes by xpath
53
+ doc.xpath('//h3/a[@class="l"]').each do |link|
54
+ puts link.content
55
+ end
56
+
57
+ ####
58
+ # Or mix and match.
59
+ doc.search('h3.r a.l', '//h3/a[@class="l"]').each do |link|
60
+ puts link.content
61
+ end
62
+
63
+
64
+ == REQUIREMENTS:
65
+
66
+ * ruby 1.9.3以上
67
+
68
+ * Nokogiri 1.6.0以降ではlibxml2とlibxsltは同梱されているが、
69
+ もしインストール済みのものを使いたい場合:
70
+
71
+ * libxml2 2.6.17以上2.9.0未満, iconvサポート付きのもの
72
+ (libxml2-dev/-develパッケージも必要)
73
+
74
+ * libxslt 上記のlibxml2でビルドされ、サポートされているもの
75
+ (libxslt-dev/-develパッケージも必要)
76
+
77
+ == INSTALL:
78
+
79
+ * sudo gem install nokogiri
80
+
81
+ == LICENSE:
82
+
83
+ (The MIT License)
84
+
85
+ Copyright (c) 2008 - 2013:
86
+
87
+ * {Aaron Patterson}[http://tenderlovemaking.com]
88
+ * {Mike Dalessio}[http://mike.daless.io]
89
+ * {Charles Nutter}[http://blog.headius.com]
90
+ * {Sergio Arbeo}[http://www.serabe.com]
91
+ * {Patrick Mahoney}[http://polycrystal.org]
92
+ * {Yoko Harada}[http://yokolet.blogspot.com]
93
+ * {Akinori MUSHA}[https://akinori.org]
94
+
95
+ Permission is hereby granted, free of charge, to any person obtaining
96
+ a copy of this software and associated documentation files (the
97
+ 'Software'), to deal in the Software without restriction, including
98
+ without limitation the rights to use, copy, modify, merge, publish,
99
+ distribute, sublicense, and/or sell copies of the Software, and to
100
+ permit persons to whom the Software is furnished to do so, subject to
101
+ the following conditions:
102
+
103
+ The above copyright notice and this permission notice shall be
104
+ included in all copies or substantial portions of the Software.
105
+
106
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
107
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
108
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
109
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
110
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
111
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
112
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.