nokogiri 1.11.0.rc3-x86-mingw32 → 1.11.3-x86-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 (174) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/LICENSE-DEPENDENCIES.md +1015 -947
  4. data/LICENSE.md +1 -1
  5. data/README.md +168 -91
  6. data/ext/nokogiri/depend +37 -358
  7. data/ext/nokogiri/extconf.rb +581 -374
  8. data/ext/nokogiri/html_document.c +78 -82
  9. data/ext/nokogiri/html_element_description.c +84 -71
  10. data/ext/nokogiri/html_entity_lookup.c +21 -16
  11. data/ext/nokogiri/html_sax_parser_context.c +69 -66
  12. data/ext/nokogiri/html_sax_push_parser.c +42 -34
  13. data/ext/nokogiri/include/libexslt/exslt.h +102 -0
  14. data/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
  15. data/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
  16. data/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
  17. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
  18. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
  19. data/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
  20. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
  21. data/ext/nokogiri/include/libxml2/libxml/c14n.h +126 -0
  22. data/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
  23. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
  24. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
  25. data/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
  26. data/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
  27. data/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
  28. data/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
  29. data/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
  30. data/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
  31. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
  32. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
  33. data/ext/nokogiri/include/libxml2/libxml/parser.h +1241 -0
  34. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
  35. data/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
  36. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
  37. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
  38. data/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
  39. data/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
  40. data/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
  41. data/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
  42. data/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
  43. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
  44. data/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
  45. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +366 -0
  46. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
  47. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
  48. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +153 -0
  49. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
  50. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
  51. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
  52. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
  53. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
  54. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
  55. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
  56. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
  57. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
  58. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
  59. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
  60. data/ext/nokogiri/include/libxml2/libxml/xpath.h +566 -0
  61. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
  62. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
  63. data/ext/nokogiri/include/libxslt/attributes.h +38 -0
  64. data/ext/nokogiri/include/libxslt/documents.h +93 -0
  65. data/ext/nokogiri/include/libxslt/extensions.h +262 -0
  66. data/ext/nokogiri/include/libxslt/extra.h +72 -0
  67. data/ext/nokogiri/include/libxslt/functions.h +78 -0
  68. data/ext/nokogiri/include/libxslt/imports.h +75 -0
  69. data/ext/nokogiri/include/libxslt/keys.h +53 -0
  70. data/ext/nokogiri/include/libxslt/namespaces.h +68 -0
  71. data/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
  72. data/ext/nokogiri/include/libxslt/pattern.h +84 -0
  73. data/ext/nokogiri/include/libxslt/preproc.h +43 -0
  74. data/ext/nokogiri/include/libxslt/security.h +104 -0
  75. data/ext/nokogiri/include/libxslt/templates.h +77 -0
  76. data/ext/nokogiri/include/libxslt/transform.h +207 -0
  77. data/ext/nokogiri/include/libxslt/variables.h +118 -0
  78. data/ext/nokogiri/include/libxslt/xslt.h +110 -0
  79. data/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
  80. data/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
  81. data/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
  82. data/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
  83. data/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
  84. data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
  85. data/ext/nokogiri/nokogiri.c +192 -93
  86. data/ext/nokogiri/nokogiri.h +177 -98
  87. data/ext/nokogiri/test_global_handlers.c +40 -0
  88. data/ext/nokogiri/xml_attr.c +15 -15
  89. data/ext/nokogiri/xml_attribute_decl.c +18 -18
  90. data/ext/nokogiri/xml_cdata.c +13 -18
  91. data/ext/nokogiri/xml_comment.c +19 -26
  92. data/ext/nokogiri/xml_document.c +246 -188
  93. data/ext/nokogiri/xml_document_fragment.c +13 -15
  94. data/ext/nokogiri/xml_dtd.c +54 -48
  95. data/ext/nokogiri/xml_element_content.c +30 -27
  96. data/ext/nokogiri/xml_element_decl.c +22 -22
  97. data/ext/nokogiri/xml_encoding_handler.c +17 -11
  98. data/ext/nokogiri/xml_entity_decl.c +32 -30
  99. data/ext/nokogiri/xml_entity_reference.c +16 -18
  100. data/ext/nokogiri/xml_namespace.c +56 -49
  101. data/ext/nokogiri/xml_node.c +371 -320
  102. data/ext/nokogiri/xml_node_set.c +168 -156
  103. data/ext/nokogiri/xml_processing_instruction.c +17 -19
  104. data/ext/nokogiri/xml_reader.c +191 -157
  105. data/ext/nokogiri/xml_relax_ng.c +52 -28
  106. data/ext/nokogiri/xml_sax_parser.c +118 -118
  107. data/ext/nokogiri/xml_sax_parser_context.c +103 -86
  108. data/ext/nokogiri/xml_sax_push_parser.c +36 -27
  109. data/ext/nokogiri/xml_schema.c +95 -47
  110. data/ext/nokogiri/xml_syntax_error.c +42 -21
  111. data/ext/nokogiri/xml_text.c +13 -17
  112. data/ext/nokogiri/xml_xpath_context.c +206 -123
  113. data/ext/nokogiri/xslt_stylesheet.c +158 -161
  114. data/lib/nokogiri.rb +3 -7
  115. data/lib/nokogiri/2.5/nokogiri.so +0 -0
  116. data/lib/nokogiri/2.6/nokogiri.so +0 -0
  117. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  118. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  119. data/lib/nokogiri/css/parser.rb +3 -3
  120. data/lib/nokogiri/css/parser.y +2 -2
  121. data/lib/nokogiri/css/xpath_visitor.rb +70 -42
  122. data/lib/nokogiri/extension.rb +26 -0
  123. data/lib/nokogiri/html/document.rb +12 -26
  124. data/lib/nokogiri/html/document_fragment.rb +15 -15
  125. data/lib/nokogiri/version.rb +2 -149
  126. data/lib/nokogiri/version/constant.rb +5 -0
  127. data/lib/nokogiri/version/info.rb +205 -0
  128. data/lib/nokogiri/xml/document.rb +91 -35
  129. data/lib/nokogiri/xml/document_fragment.rb +4 -6
  130. data/lib/nokogiri/xml/node.rb +89 -69
  131. data/lib/nokogiri/xml/parse_options.rb +6 -0
  132. data/lib/nokogiri/xml/reader.rb +2 -9
  133. data/lib/nokogiri/xml/relax_ng.rb +6 -2
  134. data/lib/nokogiri/xml/schema.rb +12 -4
  135. data/lib/nokogiri/xml/searchable.rb +3 -1
  136. data/lib/nokogiri/xml/xpath.rb +1 -3
  137. data/lib/nokogiri/xml/xpath/syntax_error.rb +1 -1
  138. metadata +150 -171
  139. data/ext/nokogiri/html_document.h +0 -10
  140. data/ext/nokogiri/html_element_description.h +0 -10
  141. data/ext/nokogiri/html_entity_lookup.h +0 -8
  142. data/ext/nokogiri/html_sax_parser_context.h +0 -11
  143. data/ext/nokogiri/html_sax_push_parser.h +0 -9
  144. data/ext/nokogiri/xml_attr.h +0 -9
  145. data/ext/nokogiri/xml_attribute_decl.h +0 -9
  146. data/ext/nokogiri/xml_cdata.h +0 -9
  147. data/ext/nokogiri/xml_comment.h +0 -9
  148. data/ext/nokogiri/xml_document.h +0 -23
  149. data/ext/nokogiri/xml_document_fragment.h +0 -10
  150. data/ext/nokogiri/xml_dtd.h +0 -10
  151. data/ext/nokogiri/xml_element_content.h +0 -10
  152. data/ext/nokogiri/xml_element_decl.h +0 -9
  153. data/ext/nokogiri/xml_encoding_handler.h +0 -8
  154. data/ext/nokogiri/xml_entity_decl.h +0 -10
  155. data/ext/nokogiri/xml_entity_reference.h +0 -9
  156. data/ext/nokogiri/xml_io.c +0 -63
  157. data/ext/nokogiri/xml_io.h +0 -11
  158. data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  159. data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  160. data/ext/nokogiri/xml_namespace.h +0 -14
  161. data/ext/nokogiri/xml_node.h +0 -13
  162. data/ext/nokogiri/xml_node_set.h +0 -12
  163. data/ext/nokogiri/xml_processing_instruction.h +0 -9
  164. data/ext/nokogiri/xml_reader.h +0 -10
  165. data/ext/nokogiri/xml_relax_ng.h +0 -9
  166. data/ext/nokogiri/xml_sax_parser.h +0 -39
  167. data/ext/nokogiri/xml_sax_parser_context.h +0 -10
  168. data/ext/nokogiri/xml_sax_push_parser.h +0 -9
  169. data/ext/nokogiri/xml_schema.h +0 -9
  170. data/ext/nokogiri/xml_syntax_error.h +0 -13
  171. data/ext/nokogiri/xml_text.h +0 -9
  172. data/ext/nokogiri/xml_xpath_context.h +0 -10
  173. data/ext/nokogiri/xslt_stylesheet.h +0 -14
  174. data/lib/nokogiri/2.4/nokogiri.so +0 -0
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright 2008 -- 2018 by Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis
3
+ Copyright 2008 -- 2021 by Mike Dalessio, Aaron Patterson, Yoko Harada, Akinori MUSHA, John Shahid, Karol Bucek, Lars Kanis, Sergio Arbeo, Timothy Elliott, Nobuyoshi Nakada, Charles Nutter, Patrick Mahoney.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
data/README.md CHANGED
@@ -1,27 +1,33 @@
1
+ <div><img src="https://nokogiri.org/images/nokogiri-serif-black.png" align="right"/></div>
2
+
1
3
  # Nokogiri
2
4
 
3
- ## Description
5
+ Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is fast and standards-compliant by relying on native parsers like libxml2 (C) and xerces (Java).
6
+
7
+ ## Guiding Principles
8
+
9
+ Some guiding principles Nokogiri tries to follow:
4
10
 
5
- Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among
6
- Nokogiri's many features is the ability to search documents via XPath
7
- or CSS3 selectors.
11
+ - be secure-by-default by treating all documents as **untrusted** by default
12
+ - be a **thin-as-reasonable layer** on top of the underlying parsers, and don't attempt to fix behavioral differences between the parsers
8
13
 
9
14
 
10
- ## Links
15
+ ## Features Overview
11
16
 
12
- * https://nokogiri.org
13
- * [Installation Help](https://nokogiri.org/tutorials/installing_nokogiri.html)
14
- * [Tutorials](https://nokogiri.org/tutorials/toc.html)
15
- * [Cheat Sheet](https://github.com/sparklemotion/nokogiri/wiki/Cheat-sheet)
16
- * [GitHub](https://github.com/sparklemotion/nokogiri)
17
- * [Mailing List](https://groups.google.com/group/nokogiri-talk)
18
- * [Chat/Gitter](https://gitter.im/sparklemotion/nokogiri)
17
+ - DOM Parser for XML and HTML4
18
+ - SAX Parser for XML and HTML4
19
+ - Push Parser for XML and HTML4
20
+ - Document search via XPath 1.0
21
+ - Document search via CSS3 selectors, with some jquery-like extensions
22
+ - XSD Schema validation
23
+ - XSLT transformation
24
+ - "Builder" DSL for XML and HTML documents
19
25
 
20
26
 
21
27
  ## Status
22
28
 
23
29
  [![Concourse CI](https://ci.nokogiri.org/api/v1/teams/nokogiri-core/pipelines/nokogiri/jobs/cruby-2.7/badge)](https://ci.nokogiri.org/teams/nokogiri-core/pipelines/nokogiri)
24
- [![Appveyor CI](https://ci.appveyor.com/api/projects/status/xj2pqwvlxwuwgr06/branch/master?svg=true)](https://ci.appveyor.com/project/flavorjones/nokogiri/branch/master)
30
+ [![Appveyor CI](https://ci.appveyor.com/api/projects/status/xj2pqwvlxwuwgr06/branch/main?svg=true)](https://ci.appveyor.com/project/flavorjones/nokogiri/branch/main)
25
31
  [![Code Climate](https://codeclimate.com/github/sparklemotion/nokogiri.svg)](https://codeclimate.com/github/sparklemotion/nokogiri)
26
32
  [![Test Coverage](https://api.codeclimate.com/v1/badges/59c67b0e8976027a45ad/test_coverage)](https://codeclimate.com/github/sparklemotion/nokogiri/test_coverage)
27
33
 
@@ -30,76 +36,126 @@ or CSS3 selectors.
30
36
  [![Tidelift dependencies](https://tidelift.com/badges/package/rubygems/nokogiri)](https://tidelift.com/subscription/pkg/rubygems-nokogiri?utm_source=rubygems-nokogiri&utm_medium=referral&utm_campaign=readme)
31
37
 
32
38
 
33
- ## Features
39
+ ## Support, Getting Help, and Reporting Issues
34
40
 
35
- * XML/HTML DOM parser which handles broken HTML
36
- * XML/HTML SAX parser
37
- * XML/HTML Push parser
38
- * XPath 1.0 support for document searching
39
- * CSS3 selector support for document searching
40
- * XML/HTML builder
41
- * XSLT transformer
41
+ All official documentation is posted at https://nokogiri.org (the source for which is at https://github.com/sparklemotion/nokogiri.org/, and we welcome contributions).
42
42
 
43
- Nokogiri parses and searches XML/HTML using native libraries (either C
44
- or Java, depending on your Ruby), which means it's fast and
45
- standards-compliant.
43
+ Consider subscribing to [Tidelift][tidelift] which provides license assurances and timely security notifications for your open source dependencies, including Nokogiri. [Tidelift][tidelift] subscriptions also help the Nokogiri maintainers fund our [automated testing](https://ci.nokogiri.org) which in turn allows us to ship releases, bugfixes, and security updates more often.
46
44
 
45
+ [tidelift]: https://tidelift.com/subscription/pkg/rubygems-nokogiri?utm_source=rubygems-nokogiri&utm_medium=referral&utm_campaign=readme
47
46
 
48
- ## Installation
47
+ ### Reading
49
48
 
50
- If this doesn't work:
49
+ Your first stops for learning more about Nokogiri should be:
51
50
 
52
- ```
53
- gem install nokogiri
54
- ```
51
+ - [API Documentation](https://nokogiri.org/rdoc/index.html)
52
+ - [Tutorials](https://nokogiri.org/tutorials/toc.html)
53
+ - An excellent community-maintained [Cheat Sheet](https://github.com/sparklemotion/nokogiri/wiki/Cheat-sheet)
55
54
 
56
- then please start troubleshooting here:
57
55
 
58
- > https://nokogiri.org/tutorials/installing_nokogiri.html
56
+ ### Ask For Help
59
57
 
60
- There are currently 1,237 Stack Overflow questions about Nokogiri
61
- installation. The vast majority of them are out of date and therefore
62
- incorrect. __Please do not use Stack Overflow.__
58
+ There are a few ways to ask exploratory questions:
63
59
 
64
- Instead, [tell us](https://nokogiri.org/tutorials/getting_help.html)
65
- when the above instructions don't work for you. This allows us to both
66
- help you directly and improve the documentation.
60
+ - The Ruby Discord chat server is active at https://discord.gg/UyQnKrT
61
+ - The Nokogiri mailing list is active at https://groups.google.com/group/nokogiri-talk
62
+ - Open an issue using the "Help Request" template at https://github.com/sparklemotion/nokogiri/issues
67
63
 
64
+ Please do not mail the maintainers at their personal addresses.
68
65
 
69
- ### Binary packages
70
66
 
71
- Binary packages are available for some distributions.
67
+ ### Report A Bug
72
68
 
73
- * Debian: https://packages.debian.org/sid/ruby-nokogiri
74
- * openSUSE/SLE: https://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/
75
- * Fedora: http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756
69
+ The Nokogiri bug tracker is at https://github.com/sparklemotion/nokogiri/issues
76
70
 
71
+ Please use the "Bug Report" or "Installation Difficulties" templates.
77
72
 
78
- ## Support
79
73
 
80
- All official documentation is posted at https://nokogiri.org (the source for which is at https://github.com/sparklemotion/nokogiri.org/, and we welcome contributions).
74
+ ### Security and Vulnerability Reporting
81
75
 
82
- * The Nokogiri mailing list is active: https://groups.google.com/group/nokogiri-talk
83
- * The Nokogiri bug tracker is here: https://github.com/sparklemotion/nokogiri/issues
84
- * Before filing a bug report, please read our submission guidelines: http://nokogiri.org/tutorials/getting_help.html
85
- * The IRC channel is `#nokogiri` on freenode.
86
- * The project's GitHub wiki has an excellent community-maintained [Cheat Sheet](https://github.com/sparklemotion/nokogiri/wiki/Cheat-sheet) which might be useful.
76
+ Please report vulnerabilities at https://hackerone.com/nokogiri
87
77
 
88
- Consider subscribing to [Tidelift][tidelift] which provides license assurances and timely security notifications for your open source dependencies, including Nokogiri. [Tidelift][tidelift] subscriptions also help the Nokogiri maintainers fund our [automated testing](https://ci.nokogiri.org) which in turn allows us to ship releases, bugfixes, and security updates more often.
78
+ Full information and description of our security policy is in [`SECURITY.md`](SECURITY.md)
89
79
 
90
- [tidelift]: https://tidelift.com/subscription/pkg/rubygems-nokogiri?utm_source=rubygems-nokogiri&utm_medium=referral&utm_campaign=readme
91
80
 
81
+ ### Semantic Versioning Policy
92
82
 
93
- ## Security and Vulnerability Reporting
83
+ Nokogiri follows [Semantic Versioning](https://semver.org/) (since 2017 or so). [![Dependabot's SemVer compatibility score for Nokogiri](https://api.dependabot.com/badges/compatibility_score?dependency-name=nokogiri&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score/?dependency-name=nokogiri&package-manager=bundler)
94
84
 
95
- Please report vulnerabilities at https://hackerone.com/nokogiri
85
+ We bump `Major.Minor.Patch` versions following this guidance:
96
86
 
97
- Full information and description of our security policy is in [`SECURITY.md`](SECURITY.md)
87
+ `Major`: (we've never done this)
88
+
89
+ - Significant backwards-incompatible changes to the public API that would require rewriting existing application code.
90
+ - Some examples of backwards-incompatible changes we might someday consider for a Major release are at [`ROADMAP.md`](ROADMAP.md).
91
+
92
+ `Minor`:
93
+
94
+ - Features and bugfixes.
95
+ - Updating packaged libraries for non-security-related reasons.
96
+ - Dropping support for EOLed Ruby versions. [Some folks find this objectionable](https://github.com/sparklemotion/nokogiri/issues/1568), but [SemVer says this is OK if the public API hasn't changed](https://semver.org/#what-should-i-do-if-i-update-my-own-dependencies-without-changing-the-public-api).
97
+ - Backwards-incompatible changes to internal or private methods and constants. These are detailed in the "Changes" section of each changelog entry.
98
+
99
+ `Patch`:
98
100
 
101
+ - Bugfixes.
102
+ - Security updates.
103
+ - Updating packaged libraries for security-related reasons.
99
104
 
100
- ## Synopsis
101
105
 
102
- Nokogiri is a large library, but here is example usage for parsing and examining a document:
106
+ ## Installation
107
+
108
+ Requirements:
109
+
110
+ - Ruby >= 2.5
111
+ - JRuby >= 9.2.0.0
112
+
113
+
114
+ ### Native Gems: Faster, more reliable installation
115
+
116
+ "Native gems" contain pre-compiled libraries for a specific machine architecture. On supported platforms, this removes the need for compiling the C extension and the packaged libraries, or for system dependencies to exist. This results in **much faster installation** and **more reliable installation**, which as you probably know are the biggest headaches for Nokogiri users.
117
+
118
+ ### Supported Platforms
119
+
120
+ As of v1.11.0, Nokogiri ships pre-compiled, "native" gems for the following platforms:
121
+
122
+ - Linux: `x86-linux` and `x86_64-linux` (req: `glibc >= 2.17`), including musl platforms like Alpine
123
+ - Darwin/MacOS: `x86_64-darwin` and `arm64-darwin`
124
+ - Windows: `x86-mingw32` and `x64-mingw32`
125
+ - Java: any platform running JRuby 9.2 or higher
126
+
127
+ To determine whether your system supports one of these gems, look at the output of `bundle platform` or `ruby -e 'puts Gem::Platform.local.to_s'`.
128
+
129
+ If you're on a supported platform, either `gem install` or `bundle install` should install a native gem without any additional action on your part. This installation should only take a few seconds, and your output should look something like:
130
+
131
+ ``` sh
132
+ $ gem install nokogiri
133
+ Fetching nokogiri-1.11.0-x86_64-linux.gem
134
+ Successfully installed nokogiri-1.11.0-x86_64-linux
135
+ 1 gem installed
136
+ ```
137
+
138
+
139
+ ### Other Installation Options
140
+
141
+ Because Nokogiri is a C extension, it requires that you have a C compiler toolchain, Ruby development header files, and some system dependencies installed.
142
+
143
+ The following may work for you if you have an appropriately-configured system:
144
+
145
+ ``` bash
146
+ gem install nokogiri
147
+ ```
148
+
149
+ If you have any issues, please visit [Installing Nokogiri](https://nokogiri.org/tutorials/installing_nokogiri.html) for more complete instructions and troubleshooting.
150
+
151
+
152
+ ## How To Use Nokogiri
153
+
154
+ Nokogiri is a large library, and so it's challenging to briefly summarize it. We've tried to provide long, real-world examples at [Tutorials](https://nokogiri.org/tutorials/toc.html).
155
+
156
+ ### Parsing and Querying
157
+
158
+ Here is example usage for parsing and querying a document:
103
159
 
104
160
  ```ruby
105
161
  #! /usr/bin/env ruby
@@ -110,45 +166,24 @@ require 'open-uri'
110
166
  # Fetch and parse HTML document
111
167
  doc = Nokogiri::HTML(URI.open('https://nokogiri.org/tutorials/installing_nokogiri.html'))
112
168
 
113
- puts "### Search for nodes by css"
169
+ # Search for nodes by css
114
170
  doc.css('nav ul.menu li a', 'article h2').each do |link|
115
171
  puts link.content
116
172
  end
117
173
 
118
- puts "### Search for nodes by xpath"
174
+ # Search for nodes by xpath
119
175
  doc.xpath('//nav//ul//li/a', '//article//h2').each do |link|
120
176
  puts link.content
121
177
  end
122
178
 
123
- puts "### Or mix and match."
179
+ # Or mix and match
124
180
  doc.search('nav ul.menu li a', '//article//h2').each do |link|
125
181
  puts link.content
126
182
  end
127
183
  ```
128
184
 
129
185
 
130
- ## Requirements
131
-
132
- Ruby 2.4.0 or higher, including any development packages necessary to compile native extensions.
133
-
134
- In Nokogiri 1.6.0 and later libxml2 and libxslt are bundled with the gem, but if you want to use the system versions:
135
-
136
- * First, check out [the long list](http://www.xmlsoft.org/news.html)
137
- of fixes and changes between releases before deciding to use any
138
- version older than is bundled with Nokogiri.
139
-
140
- * At install time, set the environment variable
141
- `NOKOGIRI_USE_SYSTEM_LIBRARIES` or else use the
142
- `--use-system-libraries` argument. (See
143
- https://nokogiri.org/tutorials/installing_nokogiri.html#install-with-system-libraries
144
- for specifics.)
145
-
146
- * libxml2 >=2.6.21 with iconv support (libxml2-dev/-devel is also required)
147
-
148
- * libxslt, built with and supported by the given libxml2 (libxslt-dev/-devel is also required)
149
-
150
-
151
- ## Encoding
186
+ ### Encoding
152
187
 
153
188
  Strings are always stored as UTF-8 internally. Methods that return
154
189
  text values will always return UTF-8 encoded strings. Methods that
@@ -174,27 +209,69 @@ explicitly setting the encoding to EUC-JP on the parser:
174
209
  ```
175
210
 
176
211
 
177
- ## Development
212
+ ## Technical Overview
178
213
 
179
- ```bash
180
- bundle install
181
- bundle exec rake compile test
182
- ```
214
+ ### Guiding Principles
183
215
 
216
+ As noted above, two guiding principles of the software are:
184
217
 
185
- ## Code of Conduct
218
+ - be secure-by-default by treating all documents as **untrusted** by default
219
+ - be a **thin-as-reasonable layer** on top of the underlying parsers, and don't attempt to fix behavioral differences between the parsers
186
220
 
187
- We've adopted the Contributor Covenant code of conduct, which you can read in full in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md).
221
+ Notably, despite all parsers being standards-compliant, there are behavioral inconsistencies between the parsers used in the CRuby and JRuby implementations, and Nokogiri does not and should not attempt to remove these inconsistencies. Instead, we surface these differences in the test suite when they are important/semantic; or we intentionally write tests to depend only on the important/semantic bits (omitting whitespace from regex matchers on results, for example).
188
222
 
189
223
 
190
- ## Semantic Versioning
224
+ ### CRuby
191
225
 
192
- [![SemVer compatibility](https://api.dependabot.com/badges/compatibility_score?dependency-name=nokogiri&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score/?dependency-name=nokogiri&package-manager=bundler)
226
+ The Ruby (a.k.a., CRuby, MRI, YARV) implementation is a C extension that depends on libxml2 and libxslt (which in turn depend on zlib and possibly libiconv).
227
+
228
+ These dependencies are met by default by Nokogiri's packaged versions of the libxml2 and libxslt source code, but a configuration option `--use-system-libraries` is provided to allow specification of alternative library locations. See [Installing Nokogiri](https://nokogiri.org/tutorials/installing_nokogiri.html) for full documentation.
229
+
230
+ We provide native gems by pre-compiling libxml2 and libxslt (and potentially zlib and libiconv) and packaging them into the gem file. In this case, no compilation is necessary at installation time, which leads to faster and more reliable installation.
231
+
232
+ See [`LICENSE-DEPENDENCIES.md`](LICENSE-DEPENDENCIES.md) for more information on which dependencies are provided in which native and source gems.
233
+
234
+
235
+ ### JRuby
236
+
237
+ The Java (a.k.a. JRuby) implementation is a Java extension that depends primarily on Xerces and NekoHTML for parsing, though additional dependencies are on `isorelax`, `nekodtd`, `jing`, `serializer`, `xalan-j`, and `xml-apis`.
238
+
239
+ These dependencies are provided by pre-compiled jar files packaged in the `java` platform gem.
240
+
241
+ See [`LICENSE-DEPENDENCIES.md`](LICENSE-DEPENDENCIES.md) for more information on which dependencies are provided in which native and source gems.
242
+
243
+
244
+ ## Contributing
245
+
246
+ See [`CONTRIBUTING.md`](CONTRIBUTING.md) for an intro guide to developing Nokogiri.
247
+
248
+
249
+ ## Code of Conduct
250
+
251
+ We've adopted the Contributor Covenant code of conduct, which you can read in full in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md).
193
252
 
194
- Nokogiri follows [Semantic Versioning](https://semver.org/). See [`CHANGELOG.md`](CHANGELOG.md) for more details.
195
253
 
196
254
  ## License
197
255
 
198
256
  This project is licensed under the terms of the MIT license.
199
257
 
200
258
  See this license at [`LICENSE.md`](LICENSE.md).
259
+
260
+
261
+ ### Dependencies
262
+
263
+ Some additional libraries may be distributed with your version of Nokogiri. Please see [`LICENSE-DEPENDENCIES.md`](LICENSE-DEPENDENCIES.md) for a discussion of the variations as well as the licenses thereof.
264
+
265
+
266
+ ## Authors
267
+
268
+ - Mike Dalessio
269
+ - Aaron Patterson
270
+ - Yoko Harada
271
+ - Akinori MUSHA
272
+ - John Shahid
273
+ - Karol Bucek
274
+ - Lars Kanis
275
+ - Sergio Arbeo
276
+ - Timothy Elliott
277
+ - Nobuyoshi Nakada
data/ext/nokogiri/depend CHANGED
@@ -1,358 +1,37 @@
1
- html_document.o: html_document.c html_document.h nokogiri.h xml_io.h \
2
- xml_document.h html_entity_lookup.h xml_node.h xml_text.h \
3
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
4
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
5
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
6
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
7
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
8
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
9
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
10
- html_element_description.h xml_namespace.h xml_encoding_handler.h
11
-
12
- html_element_description.o: html_element_description.c \
13
- html_element_description.h nokogiri.h xml_io.h xml_document.h \
14
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
15
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
16
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
17
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
18
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
19
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
20
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
21
- xml_syntax_error.h xml_schema.h xml_relax_ng.h xml_namespace.h \
22
- xml_encoding_handler.h
23
-
24
- html_entity_lookup.o: html_entity_lookup.c html_entity_lookup.h \
25
- nokogiri.h xml_io.h xml_document.h html_document.h xml_node.h \
26
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
27
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
28
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
29
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
30
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
31
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
32
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
33
- html_element_description.h xml_namespace.h xml_encoding_handler.h
34
-
35
- html_sax_parser_context.o: html_sax_parser_context.c \
36
- html_sax_parser_context.h nokogiri.h xml_io.h xml_document.h \
37
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
38
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
39
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
40
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
41
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
42
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
43
- xml_reader.h xslt_stylesheet.h xml_syntax_error.h xml_schema.h \
44
- xml_relax_ng.h html_element_description.h xml_namespace.h \
45
- xml_encoding_handler.h
46
-
47
- nokogiri.o: nokogiri.c nokogiri.h xml_io.h xml_document.h \
48
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
49
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
50
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
51
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
52
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
53
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
54
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
55
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
56
- html_element_description.h xml_namespace.h xml_encoding_handler.h
57
-
58
- xml_attr.o: xml_attr.c xml_attr.h nokogiri.h xml_io.h xml_document.h \
59
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
60
- xml_cdata.h xml_processing_instruction.h xml_entity_reference.h \
61
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
62
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
63
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
64
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
65
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
66
- xml_schema.h xml_relax_ng.h html_element_description.h \
67
- xml_namespace.h xml_encoding_handler.h
68
-
69
- xml_attribute_decl.o: xml_attribute_decl.c xml_attribute_decl.h \
70
- nokogiri.h xml_io.h xml_document.h html_entity_lookup.h \
71
- html_document.h xml_node.h xml_text.h xml_cdata.h xml_attr.h \
72
- xml_processing_instruction.h xml_entity_reference.h \
73
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
74
- xml_element_decl.h xml_entity_decl.h xml_xpath_context.h \
75
- xml_element_content.h xml_sax_parser_context.h xml_sax_parser.h \
76
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
77
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
78
- html_element_description.h xml_namespace.h xml_encoding_handler.h
79
-
80
- xml_cdata.o: xml_cdata.c xml_cdata.h nokogiri.h xml_io.h \
81
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
82
- xml_text.h xml_attr.h xml_processing_instruction.h \
83
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
84
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
85
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
86
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
87
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
88
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
89
- html_element_description.h xml_namespace.h xml_encoding_handler.h
90
-
91
- xml_comment.o: xml_comment.c xml_comment.h nokogiri.h xml_io.h \
92
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
93
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
94
- xml_entity_reference.h xml_document_fragment.h xml_node_set.h \
95
- xml_dtd.h xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
96
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
97
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
98
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
99
- xml_schema.h xml_relax_ng.h html_element_description.h \
100
- xml_namespace.h xml_encoding_handler.h
101
-
102
- xml_document.o: xml_document.c xml_document.h nokogiri.h xml_io.h \
103
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
104
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
105
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
106
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
107
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
108
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
109
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
110
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
111
- html_element_description.h xml_namespace.h xml_encoding_handler.h
112
-
113
- xml_document_fragment.o: xml_document_fragment.c \
114
- xml_document_fragment.h nokogiri.h xml_io.h xml_document.h \
115
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
116
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
117
- xml_entity_reference.h xml_comment.h xml_node_set.h xml_dtd.h \
118
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
119
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
120
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
121
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
122
- xml_schema.h xml_relax_ng.h html_element_description.h \
123
- xml_namespace.h xml_encoding_handler.h
124
-
125
- xml_dtd.o: xml_dtd.c xml_dtd.h nokogiri.h xml_io.h xml_document.h \
126
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
127
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
128
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
129
- xml_node_set.h xml_attribute_decl.h xml_element_decl.h \
130
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
131
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
132
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
133
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
134
- html_element_description.h xml_namespace.h xml_encoding_handler.h
135
-
136
- xml_element_content.o: xml_element_content.c xml_element_content.h \
137
- nokogiri.h xml_io.h xml_document.h html_entity_lookup.h \
138
- html_document.h xml_node.h xml_text.h xml_cdata.h xml_attr.h \
139
- xml_processing_instruction.h xml_entity_reference.h \
140
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
141
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
142
- xml_xpath_context.h xml_sax_parser_context.h xml_sax_parser.h \
143
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
144
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
145
- html_element_description.h xml_namespace.h xml_encoding_handler.h
146
-
147
- xml_element_decl.o: xml_element_decl.c xml_element_decl.h nokogiri.h \
148
- xml_io.h xml_document.h html_entity_lookup.h html_document.h \
149
- xml_node.h xml_text.h xml_cdata.h xml_attr.h \
150
- xml_processing_instruction.h xml_entity_reference.h \
151
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
152
- xml_attribute_decl.h xml_entity_decl.h xml_xpath_context.h \
153
- xml_element_content.h xml_sax_parser_context.h xml_sax_parser.h \
154
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
155
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
156
- html_element_description.h xml_namespace.h xml_encoding_handler.h
157
-
158
- xml_encoding_handler.o: xml_encoding_handler.c xml_encoding_handler.h \
159
- nokogiri.h xml_io.h xml_document.h html_entity_lookup.h \
160
- html_document.h xml_node.h xml_text.h xml_cdata.h xml_attr.h \
161
- xml_processing_instruction.h xml_entity_reference.h \
162
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
163
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
164
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
165
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
166
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
167
- xml_schema.h xml_relax_ng.h html_element_description.h \
168
- xml_namespace.h
169
-
170
- xml_entity_decl.o: xml_entity_decl.c xml_entity_decl.h nokogiri.h \
171
- xml_io.h xml_document.h html_entity_lookup.h html_document.h \
172
- xml_node.h xml_text.h xml_cdata.h xml_attr.h \
173
- xml_processing_instruction.h xml_entity_reference.h \
174
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
175
- xml_attribute_decl.h xml_element_decl.h xml_xpath_context.h \
176
- xml_element_content.h xml_sax_parser_context.h xml_sax_parser.h \
177
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
178
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
179
- html_element_description.h xml_namespace.h xml_encoding_handler.h
180
-
181
- xml_entity_reference.o: xml_entity_reference.c xml_entity_reference.h \
182
- nokogiri.h xml_io.h xml_document.h html_entity_lookup.h \
183
- html_document.h xml_node.h xml_text.h xml_cdata.h xml_attr.h \
184
- xml_processing_instruction.h xml_document_fragment.h xml_comment.h \
185
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
186
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
187
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
188
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
189
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
190
- html_element_description.h xml_namespace.h xml_encoding_handler.h
191
-
192
- xml_io.o: xml_io.c xml_io.h nokogiri.h xml_document.h \
193
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
194
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
195
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
196
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
197
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
198
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
199
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
200
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
201
- html_element_description.h xml_namespace.h xml_encoding_handler.h
202
-
203
- xml_namespace.o: xml_namespace.c xml_namespace.h nokogiri.h xml_io.h \
204
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
205
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
206
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
207
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
208
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
209
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
210
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
211
- xml_syntax_error.h xml_schema.h xml_relax_ng.h \
212
- html_element_description.h xml_encoding_handler.h
213
-
214
- xml_node.o: xml_node.c xml_node.h nokogiri.h xml_io.h xml_document.h \
215
- html_entity_lookup.h html_document.h xml_text.h xml_cdata.h \
216
- xml_attr.h xml_processing_instruction.h xml_entity_reference.h \
217
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
218
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
219
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
220
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
221
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
222
- xml_schema.h xml_relax_ng.h html_element_description.h \
223
- xml_namespace.h xml_encoding_handler.h
224
-
225
- xml_node_set.o: xml_node_set.c xml_node_set.h nokogiri.h xml_io.h \
226
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
227
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
228
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
229
- xml_dtd.h xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
230
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
231
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
232
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
233
- xml_schema.h xml_relax_ng.h html_element_description.h \
234
- xml_namespace.h xml_encoding_handler.h
235
-
236
- xml_processing_instruction.o: xml_processing_instruction.c \
237
- xml_processing_instruction.h nokogiri.h xml_io.h xml_document.h \
238
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
239
- xml_cdata.h xml_attr.h xml_entity_reference.h xml_document_fragment.h \
240
- xml_comment.h xml_node_set.h xml_dtd.h xml_attribute_decl.h \
241
- xml_element_decl.h xml_entity_decl.h xml_xpath_context.h \
242
- xml_element_content.h xml_sax_parser_context.h xml_sax_parser.h \
243
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
244
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
245
- html_element_description.h xml_namespace.h xml_encoding_handler.h
246
-
247
- xml_reader.o: xml_reader.c xml_reader.h nokogiri.h xml_io.h \
248
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
249
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
250
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
251
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
252
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
253
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
254
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
255
- xml_schema.h xml_relax_ng.h html_element_description.h \
256
- xml_namespace.h xml_encoding_handler.h
257
-
258
- xml_relax_ng.o: xml_relax_ng.c xml_relax_ng.h nokogiri.h xml_io.h \
259
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
260
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
261
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
262
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
263
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
264
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
265
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
266
- xml_syntax_error.h xml_schema.h html_element_description.h \
267
- xml_namespace.h xml_encoding_handler.h
268
-
269
- xml_sax_parser.o: xml_sax_parser.c xml_sax_parser.h nokogiri.h \
270
- xml_io.h xml_document.h html_entity_lookup.h html_document.h \
271
- xml_node.h xml_text.h xml_cdata.h xml_attr.h \
272
- xml_processing_instruction.h xml_entity_reference.h \
273
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
274
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
275
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
276
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
277
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
278
- html_element_description.h xml_namespace.h xml_encoding_handler.h
279
-
280
- xml_sax_parser_context.o: xml_sax_parser_context.c \
281
- xml_sax_parser_context.h nokogiri.h xml_io.h xml_document.h \
282
- html_entity_lookup.h html_document.h xml_node.h xml_text.h \
283
- xml_cdata.h xml_attr.h xml_processing_instruction.h \
284
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
285
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
286
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
287
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
288
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
289
- xml_schema.h xml_relax_ng.h html_element_description.h \
290
- xml_namespace.h xml_encoding_handler.h
291
-
292
- xml_sax_push_parser.o: xml_sax_push_parser.c xml_sax_push_parser.h \
293
- nokogiri.h xml_io.h xml_document.h html_entity_lookup.h \
294
- html_document.h xml_node.h xml_text.h xml_cdata.h xml_attr.h \
295
- xml_processing_instruction.h xml_entity_reference.h \
296
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
297
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
298
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
299
- xml_sax_parser.h xml_reader.h html_sax_parser_context.h \
300
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
301
- html_element_description.h xml_namespace.h xml_encoding_handler.h
302
-
303
- xml_schema.o: xml_schema.c xml_schema.h nokogiri.h xml_io.h \
304
- xml_document.h html_entity_lookup.h html_document.h xml_node.h \
305
- xml_text.h xml_cdata.h xml_attr.h xml_processing_instruction.h \
306
- xml_entity_reference.h xml_document_fragment.h xml_comment.h \
307
- xml_node_set.h xml_dtd.h xml_attribute_decl.h xml_element_decl.h \
308
- xml_entity_decl.h xml_xpath_context.h xml_element_content.h \
309
- xml_sax_parser_context.h xml_sax_parser.h xml_sax_push_parser.h \
310
- xml_reader.h html_sax_parser_context.h xslt_stylesheet.h \
311
- xml_syntax_error.h xml_relax_ng.h html_element_description.h \
312
- xml_namespace.h xml_encoding_handler.h
313
-
314
- xml_syntax_error.o: xml_syntax_error.c xml_syntax_error.h nokogiri.h \
315
- xml_io.h xml_document.h html_entity_lookup.h html_document.h \
316
- xml_node.h xml_text.h xml_cdata.h xml_attr.h \
317
- xml_processing_instruction.h xml_entity_reference.h \
318
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
319
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
320
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
321
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
322
- html_sax_parser_context.h xslt_stylesheet.h xml_schema.h \
323
- xml_relax_ng.h html_element_description.h xml_namespace.h \
324
- xml_encoding_handler.h
325
-
326
- xml_text.o: xml_text.c xml_text.h nokogiri.h xml_io.h xml_document.h \
327
- html_entity_lookup.h html_document.h xml_node.h xml_cdata.h \
328
- xml_attr.h xml_processing_instruction.h xml_entity_reference.h \
329
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
330
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
331
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
332
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
333
- html_sax_parser_context.h xslt_stylesheet.h xml_syntax_error.h \
334
- xml_schema.h xml_relax_ng.h html_element_description.h \
335
- xml_namespace.h xml_encoding_handler.h
336
-
337
- xml_xpath_context.o: xml_xpath_context.c xml_xpath_context.h \
338
- nokogiri.h xml_io.h xml_document.h html_entity_lookup.h \
339
- html_document.h xml_node.h xml_text.h xml_cdata.h xml_attr.h \
340
- xml_processing_instruction.h xml_entity_reference.h \
341
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
342
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
343
- xml_element_content.h xml_sax_parser_context.h xml_sax_parser.h \
344
- xml_sax_push_parser.h xml_reader.h html_sax_parser_context.h \
345
- xslt_stylesheet.h xml_syntax_error.h xml_schema.h xml_relax_ng.h \
346
- html_element_description.h xml_namespace.h xml_encoding_handler.h
347
-
348
- xslt_stylesheet.o: xslt_stylesheet.c xslt_stylesheet.h nokogiri.h \
349
- xml_io.h xml_document.h html_entity_lookup.h html_document.h \
350
- xml_node.h xml_text.h xml_cdata.h xml_attr.h \
351
- xml_processing_instruction.h xml_entity_reference.h \
352
- xml_document_fragment.h xml_comment.h xml_node_set.h xml_dtd.h \
353
- xml_attribute_decl.h xml_element_decl.h xml_entity_decl.h \
354
- xml_xpath_context.h xml_element_content.h xml_sax_parser_context.h \
355
- xml_sax_parser.h xml_sax_push_parser.h xml_reader.h \
356
- html_sax_parser_context.h xml_syntax_error.h xml_schema.h \
357
- xml_relax_ng.h html_element_description.h xml_namespace.h \
358
- xml_encoding_handler.h
1
+ # -*-makefile-*-
2
+ # DO NOT DELETE
3
+
4
+ html_document.o: ./nokogiri.h
5
+ html_element_description.o: ./nokogiri.h
6
+ html_entity_lookup.o: ./nokogiri.h
7
+ html_sax_parser_context.o: ./nokogiri.h
8
+ html_sax_push_parser.o: ./nokogiri.h
9
+ libxml2_backwards_compat.o: ./nokogiri.h
10
+ nokogiri.o: ./nokogiri.h
11
+ test_global_handlers.o: ./nokogiri.h
12
+ xml_attr.o: ./nokogiri.h
13
+ xml_attribute_decl.o: ./nokogiri.h
14
+ xml_cdata.o: ./nokogiri.h
15
+ xml_comment.o: ./nokogiri.h
16
+ xml_document.o: ./nokogiri.h
17
+ xml_document_fragment.o: ./nokogiri.h
18
+ xml_dtd.o: ./nokogiri.h
19
+ xml_element_content.o: ./nokogiri.h
20
+ xml_element_decl.o: ./nokogiri.h
21
+ xml_encoding_handler.o: ./nokogiri.h
22
+ xml_entity_decl.o: ./nokogiri.h
23
+ xml_entity_reference.o: ./nokogiri.h
24
+ xml_namespace.o: ./nokogiri.h
25
+ xml_node.o: ./nokogiri.h
26
+ xml_node_set.o: ./nokogiri.h
27
+ xml_processing_instruction.o: ./nokogiri.h
28
+ xml_reader.o: ./nokogiri.h
29
+ xml_relax_ng.o: ./nokogiri.h
30
+ xml_sax_parser.o: ./nokogiri.h
31
+ xml_sax_parser_context.o: ./nokogiri.h
32
+ xml_sax_push_parser.o: ./nokogiri.h
33
+ xml_schema.o: ./nokogiri.h
34
+ xml_syntax_error.o: ./nokogiri.h
35
+ xml_text.o: ./nokogiri.h
36
+ xml_xpath_context.o: ./nokogiri.h
37
+ xslt_stylesheet.o: ./nokogiri.h