nokogiri 1.11.0.rc1-x86-linux
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.
- checksums.yaml +7 -0
- data/LICENSE-DEPENDENCIES.md +1614 -0
- data/LICENSE.md +9 -0
- data/README.md +200 -0
- data/bin/nokogiri +118 -0
- data/dependencies.yml +74 -0
- data/ext/nokogiri/depend +358 -0
- data/ext/nokogiri/extconf.rb +695 -0
- data/ext/nokogiri/html_document.c +170 -0
- data/ext/nokogiri/html_document.h +10 -0
- data/ext/nokogiri/html_element_description.c +279 -0
- data/ext/nokogiri/html_element_description.h +10 -0
- data/ext/nokogiri/html_entity_lookup.c +32 -0
- data/ext/nokogiri/html_entity_lookup.h +8 -0
- data/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/ext/nokogiri/nokogiri.c +147 -0
- data/ext/nokogiri/nokogiri.h +122 -0
- data/ext/nokogiri/xml_attr.c +103 -0
- data/ext/nokogiri/xml_attr.h +9 -0
- data/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/ext/nokogiri/xml_cdata.c +62 -0
- data/ext/nokogiri/xml_cdata.h +9 -0
- data/ext/nokogiri/xml_comment.c +69 -0
- data/ext/nokogiri/xml_comment.h +9 -0
- data/ext/nokogiri/xml_document.c +617 -0
- data/ext/nokogiri/xml_document.h +23 -0
- data/ext/nokogiri/xml_document_fragment.c +48 -0
- data/ext/nokogiri/xml_document_fragment.h +10 -0
- data/ext/nokogiri/xml_dtd.c +202 -0
- data/ext/nokogiri/xml_dtd.h +10 -0
- data/ext/nokogiri/xml_element_content.c +123 -0
- data/ext/nokogiri/xml_element_content.h +10 -0
- data/ext/nokogiri/xml_element_decl.c +69 -0
- data/ext/nokogiri/xml_element_decl.h +9 -0
- data/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/ext/nokogiri/xml_entity_decl.c +110 -0
- data/ext/nokogiri/xml_entity_decl.h +10 -0
- data/ext/nokogiri/xml_entity_reference.c +52 -0
- data/ext/nokogiri/xml_entity_reference.h +9 -0
- data/ext/nokogiri/xml_io.c +61 -0
- data/ext/nokogiri/xml_io.h +11 -0
- data/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/ext/nokogiri/xml_namespace.c +111 -0
- data/ext/nokogiri/xml_namespace.h +14 -0
- data/ext/nokogiri/xml_node.c +1773 -0
- data/ext/nokogiri/xml_node.h +13 -0
- data/ext/nokogiri/xml_node_set.c +486 -0
- data/ext/nokogiri/xml_node_set.h +12 -0
- data/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/ext/nokogiri/xml_reader.c +668 -0
- data/ext/nokogiri/xml_reader.h +10 -0
- data/ext/nokogiri/xml_relax_ng.c +161 -0
- data/ext/nokogiri/xml_relax_ng.h +9 -0
- data/ext/nokogiri/xml_sax_parser.c +310 -0
- data/ext/nokogiri/xml_sax_parser.h +39 -0
- data/ext/nokogiri/xml_sax_parser_context.c +262 -0
- data/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/ext/nokogiri/xml_sax_push_parser.c +159 -0
- data/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/ext/nokogiri/xml_schema.c +205 -0
- data/ext/nokogiri/xml_schema.h +9 -0
- data/ext/nokogiri/xml_syntax_error.c +64 -0
- data/ext/nokogiri/xml_syntax_error.h +13 -0
- data/ext/nokogiri/xml_text.c +52 -0
- data/ext/nokogiri/xml_text.h +9 -0
- data/ext/nokogiri/xml_xpath_context.c +298 -0
- data/ext/nokogiri/xml_xpath_context.h +10 -0
- data/ext/nokogiri/xslt_stylesheet.c +266 -0
- data/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/lib/nokogiri.rb +127 -0
- data/lib/nokogiri/2.4/nokogiri.so +0 -0
- data/lib/nokogiri/2.5/nokogiri.so +0 -0
- data/lib/nokogiri/2.6/nokogiri.so +0 -0
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/css.rb +28 -0
- data/lib/nokogiri/css/node.rb +53 -0
- data/lib/nokogiri/css/parser.rb +751 -0
- data/lib/nokogiri/css/parser.y +272 -0
- data/lib/nokogiri/css/parser_extras.rb +92 -0
- data/lib/nokogiri/css/syntax_error.rb +8 -0
- data/lib/nokogiri/css/tokenizer.rb +154 -0
- data/lib/nokogiri/css/tokenizer.rex +55 -0
- data/lib/nokogiri/css/xpath_visitor.rb +232 -0
- data/lib/nokogiri/decorators/slop.rb +43 -0
- data/lib/nokogiri/html.rb +38 -0
- data/lib/nokogiri/html/builder.rb +36 -0
- data/lib/nokogiri/html/document.rb +336 -0
- data/lib/nokogiri/html/document_fragment.rb +50 -0
- data/lib/nokogiri/html/element_description.rb +24 -0
- data/lib/nokogiri/html/element_description_defaults.rb +672 -0
- data/lib/nokogiri/html/entity_lookup.rb +14 -0
- data/lib/nokogiri/html/sax/parser.rb +63 -0
- data/lib/nokogiri/html/sax/parser_context.rb +17 -0
- data/lib/nokogiri/html/sax/push_parser.rb +37 -0
- data/lib/nokogiri/jruby/dependencies.rb +20 -0
- data/lib/nokogiri/syntax_error.rb +5 -0
- data/lib/nokogiri/version.rb +149 -0
- data/lib/nokogiri/xml.rb +76 -0
- data/lib/nokogiri/xml/attr.rb +15 -0
- data/lib/nokogiri/xml/attribute_decl.rb +19 -0
- data/lib/nokogiri/xml/builder.rb +447 -0
- data/lib/nokogiri/xml/cdata.rb +12 -0
- data/lib/nokogiri/xml/character_data.rb +8 -0
- data/lib/nokogiri/xml/document.rb +280 -0
- data/lib/nokogiri/xml/document_fragment.rb +161 -0
- data/lib/nokogiri/xml/dtd.rb +33 -0
- data/lib/nokogiri/xml/element_content.rb +37 -0
- data/lib/nokogiri/xml/element_decl.rb +14 -0
- data/lib/nokogiri/xml/entity_decl.rb +20 -0
- data/lib/nokogiri/xml/entity_reference.rb +19 -0
- data/lib/nokogiri/xml/namespace.rb +14 -0
- data/lib/nokogiri/xml/node.rb +916 -0
- data/lib/nokogiri/xml/node/save_options.rb +62 -0
- data/lib/nokogiri/xml/node_set.rb +372 -0
- data/lib/nokogiri/xml/notation.rb +7 -0
- data/lib/nokogiri/xml/parse_options.rb +121 -0
- data/lib/nokogiri/xml/pp.rb +3 -0
- data/lib/nokogiri/xml/pp/character_data.rb +19 -0
- data/lib/nokogiri/xml/pp/node.rb +57 -0
- data/lib/nokogiri/xml/processing_instruction.rb +9 -0
- data/lib/nokogiri/xml/reader.rb +116 -0
- data/lib/nokogiri/xml/relax_ng.rb +33 -0
- data/lib/nokogiri/xml/sax.rb +5 -0
- data/lib/nokogiri/xml/sax/document.rb +172 -0
- data/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/lib/nokogiri/xml/sax/parser_context.rb +17 -0
- data/lib/nokogiri/xml/sax/push_parser.rb +61 -0
- data/lib/nokogiri/xml/schema.rb +64 -0
- data/lib/nokogiri/xml/searchable.rb +231 -0
- data/lib/nokogiri/xml/syntax_error.rb +71 -0
- data/lib/nokogiri/xml/text.rb +10 -0
- data/lib/nokogiri/xml/xpath.rb +11 -0
- data/lib/nokogiri/xml/xpath/syntax_error.rb +12 -0
- data/lib/nokogiri/xml/xpath_context.rb +17 -0
- data/lib/nokogiri/xslt.rb +57 -0
- data/lib/nokogiri/xslt/stylesheet.rb +26 -0
- data/lib/xsd/xmlparser/nokogiri.rb +103 -0
- metadata +482 -0
data/LICENSE.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright 2008 -- 2018 by Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis
|
4
|
+
|
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
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
# Nokogiri
|
2
|
+
|
3
|
+
## Description
|
4
|
+
|
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.
|
8
|
+
|
9
|
+
|
10
|
+
## Links
|
11
|
+
|
12
|
+
* https://nokogiri.org
|
13
|
+
* [Installation Help](https://nokogiri.org/tutorials/installing_nokogiri.html)
|
14
|
+
* [Tutorials](https://nokogiri.org)
|
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)
|
19
|
+
|
20
|
+
|
21
|
+
## Status
|
22
|
+
|
23
|
+
[![Concourse CI](https://ci.nokogiri.org/api/v1/teams/nokogiri-core/pipelines/nokogiri/jobs/ruby-2.4-system/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)
|
25
|
+
[![Code Climate](https://codeclimate.com/github/sparklemotion/nokogiri.svg)](https://codeclimate.com/github/sparklemotion/nokogiri)
|
26
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/59c67b0e8976027a45ad/test_coverage)](https://codeclimate.com/github/sparklemotion/nokogiri/test_coverage)
|
27
|
+
|
28
|
+
[![Gem Version](https://badge.fury.io/rb/nokogiri.svg)](https://rubygems.org/gems/nokogiri)
|
29
|
+
[![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)
|
30
|
+
[![Tidelift dependencies](https://tidelift.com/badges/github/sparklemotion/nokogiri)](https://tidelift.com/subscription/pkg/rubygems-nokogiri?utm_source=rubygems-nokogiri&utm_medium=referral&utm_campaign=readme)
|
31
|
+
|
32
|
+
|
33
|
+
## Features
|
34
|
+
|
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
|
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.
|
46
|
+
|
47
|
+
|
48
|
+
## Installation
|
49
|
+
|
50
|
+
If this doesn't work:
|
51
|
+
|
52
|
+
```
|
53
|
+
gem install nokogiri
|
54
|
+
```
|
55
|
+
|
56
|
+
then please start troubleshooting here:
|
57
|
+
|
58
|
+
> https://nokogiri.org/tutorials/installing_nokogiri.html
|
59
|
+
|
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.__
|
63
|
+
|
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.
|
67
|
+
|
68
|
+
|
69
|
+
### Binary packages
|
70
|
+
|
71
|
+
Binary packages are available for some distributions.
|
72
|
+
|
73
|
+
* Debian: https://packages.debian.org/sid/ruby-nokogiri
|
74
|
+
* SuSE: https://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/
|
75
|
+
* Fedora: http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756
|
76
|
+
|
77
|
+
|
78
|
+
## Support
|
79
|
+
|
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).
|
81
|
+
|
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.
|
87
|
+
|
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.
|
89
|
+
|
90
|
+
[tidelift]: https://tidelift.com/subscription/pkg/rubygems-nokogiri?utm_source=rubygems-nokogiri&utm_medium=referral&utm_campaign=readme
|
91
|
+
|
92
|
+
|
93
|
+
## Security and Vulnerability Reporting
|
94
|
+
|
95
|
+
Please report vulnerabilities at https://hackerone.com/nokogiri
|
96
|
+
|
97
|
+
Full information and description of our security policy is in [`SECURITY.md`](SECURITY.md)
|
98
|
+
|
99
|
+
|
100
|
+
## Synopsis
|
101
|
+
|
102
|
+
Nokogiri is a large library, but here is example usage for parsing and examining a document:
|
103
|
+
|
104
|
+
```ruby
|
105
|
+
#! /usr/bin/env ruby
|
106
|
+
|
107
|
+
require 'nokogiri'
|
108
|
+
require 'open-uri'
|
109
|
+
|
110
|
+
# Fetch and parse HTML document
|
111
|
+
doc = Nokogiri::HTML(open('https://nokogiri.org/tutorials/installing_nokogiri.html'))
|
112
|
+
|
113
|
+
puts "### Search for nodes by css"
|
114
|
+
doc.css('nav ul.menu li a', 'article h2').each do |link|
|
115
|
+
puts link.content
|
116
|
+
end
|
117
|
+
|
118
|
+
puts "### Search for nodes by xpath"
|
119
|
+
doc.xpath('//nav//ul//li/a', '//article//h2').each do |link|
|
120
|
+
puts link.content
|
121
|
+
end
|
122
|
+
|
123
|
+
puts "### Or mix and match."
|
124
|
+
doc.search('nav ul.menu li a', '//article//h2').each do |link|
|
125
|
+
puts link.content
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
|
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
|
152
|
+
|
153
|
+
Strings are always stored as UTF-8 internally. Methods that return
|
154
|
+
text values will always return UTF-8 encoded strings. Methods that
|
155
|
+
return a string containing markup (like `to_xml`, `to_html` and
|
156
|
+
`inner_html`) will return a string encoded like the source document.
|
157
|
+
|
158
|
+
__WARNING__
|
159
|
+
|
160
|
+
Some documents declare one encoding, but actually use a different
|
161
|
+
one. In these cases, which encoding should the parser choose?
|
162
|
+
|
163
|
+
Data is just a stream of bytes. Humans add meaning to that stream. Any
|
164
|
+
particular set of bytes could be valid characters in multiple
|
165
|
+
encodings, so detecting encoding with 100% accuracy is not
|
166
|
+
possible. `libxml2` does its best, but it can't be right all the time.
|
167
|
+
|
168
|
+
If you want Nokogiri to handle the document encoding properly, your
|
169
|
+
best bet is to explicitly set the encoding. Here is an example of
|
170
|
+
explicitly setting the encoding to EUC-JP on the parser:
|
171
|
+
|
172
|
+
```ruby
|
173
|
+
doc = Nokogiri.XML('<foo><bar /></foo>', nil, 'EUC-JP')
|
174
|
+
```
|
175
|
+
|
176
|
+
|
177
|
+
## Development
|
178
|
+
|
179
|
+
```bash
|
180
|
+
bundle install
|
181
|
+
bundle exec rake compile test
|
182
|
+
```
|
183
|
+
|
184
|
+
|
185
|
+
## Code of Conduct
|
186
|
+
|
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).
|
188
|
+
|
189
|
+
|
190
|
+
## Semantic Versioning
|
191
|
+
|
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)
|
193
|
+
|
194
|
+
Nokogiri follows [Semantic Versioning](https://semver.org/). See [`CHANGELOG.md`](CHANGELOG.md) for more details.
|
195
|
+
|
196
|
+
## License
|
197
|
+
|
198
|
+
This project is licensed under the terms of the MIT license.
|
199
|
+
|
200
|
+
See this license at [`LICENSE.md`](LICENSE.md).
|
data/bin/nokogiri
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'optparse'
|
3
|
+
require 'open-uri'
|
4
|
+
require 'uri'
|
5
|
+
require 'rubygems'
|
6
|
+
require 'nokogiri'
|
7
|
+
autoload :IRB, 'irb'
|
8
|
+
|
9
|
+
parse_class = Nokogiri
|
10
|
+
encoding = nil
|
11
|
+
|
12
|
+
# This module provides some tunables with the nokogiri CLI for use in
|
13
|
+
# your ~/.nokogirirc.
|
14
|
+
module Nokogiri::CLI
|
15
|
+
class << self
|
16
|
+
# Specify the console engine, defaulted to IRB.
|
17
|
+
#
|
18
|
+
# call-seq:
|
19
|
+
# require 'pry'
|
20
|
+
# Nokogiri::CLI.console = Pry
|
21
|
+
attr_writer :console
|
22
|
+
|
23
|
+
def console
|
24
|
+
case @console
|
25
|
+
when Symbol
|
26
|
+
Kernel.const_get(@console)
|
27
|
+
else
|
28
|
+
@console
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
attr_accessor :rcfile
|
33
|
+
end
|
34
|
+
|
35
|
+
self.rcfile = File.expand_path('~/.nokogirirc')
|
36
|
+
self.console = :IRB
|
37
|
+
end
|
38
|
+
|
39
|
+
opts = OptionParser.new do |opts|
|
40
|
+
opts.banner = "Nokogiri: an HTML, XML, SAX, and Reader parser"
|
41
|
+
opts.define_head "Usage: nokogiri <uri|path> [options]"
|
42
|
+
opts.separator ""
|
43
|
+
opts.separator "Examples:"
|
44
|
+
opts.separator " nokogiri https://www.ruby-lang.org/"
|
45
|
+
opts.separator " nokogiri ./public/index.html"
|
46
|
+
opts.separator " curl -s http://www.nokogiri.org | nokogiri -e'p $_.css(\"h1\").length'"
|
47
|
+
opts.separator ""
|
48
|
+
opts.separator "Options:"
|
49
|
+
|
50
|
+
opts.on("--type type", "Parse as type: xml or html (default: auto)", [:xml, :html]) do |v|
|
51
|
+
parse_class = {:xml => Nokogiri::XML, :html => Nokogiri::HTML}[v]
|
52
|
+
end
|
53
|
+
|
54
|
+
opts.on("-C file", "Specifies initialization file to load (default #{Nokogiri::CLI.rcfile})") do |v|
|
55
|
+
Nokogiri::CLI.rcfile = v
|
56
|
+
end
|
57
|
+
|
58
|
+
opts.on("-E", "--encoding encoding", "Read as encoding (default: #{encoding || 'none'})") do |v|
|
59
|
+
encoding = v
|
60
|
+
end
|
61
|
+
|
62
|
+
opts.on("-e command", "Specifies script from command-line.") do |v|
|
63
|
+
@script = v
|
64
|
+
end
|
65
|
+
|
66
|
+
opts.on("--rng <uri|path>", "Validate using this rng file.") do |v|
|
67
|
+
@rng = open(v) {|f| Nokogiri::XML::RelaxNG(f)}
|
68
|
+
end
|
69
|
+
|
70
|
+
opts.on_tail("-?", "--help", "Show this message") do
|
71
|
+
puts opts
|
72
|
+
exit
|
73
|
+
end
|
74
|
+
|
75
|
+
opts.on_tail("-v", "--version", "Show version") do
|
76
|
+
puts Nokogiri::VersionInfo.instance.to_markdown
|
77
|
+
exit
|
78
|
+
end
|
79
|
+
end
|
80
|
+
opts.parse!
|
81
|
+
|
82
|
+
url = ARGV.shift
|
83
|
+
|
84
|
+
if url.to_s.strip.empty? && $stdin.tty?
|
85
|
+
puts opts
|
86
|
+
exit 1
|
87
|
+
end
|
88
|
+
|
89
|
+
if File.file?(Nokogiri::CLI.rcfile)
|
90
|
+
load Nokogiri::CLI.rcfile
|
91
|
+
end
|
92
|
+
|
93
|
+
if url || $stdin.tty?
|
94
|
+
case uri = (URI(url) rescue url)
|
95
|
+
when URI::HTTP
|
96
|
+
@doc = parse_class.parse(uri.read, url, encoding)
|
97
|
+
else
|
98
|
+
@doc = parse_class.parse(open(url).read, nil, encoding)
|
99
|
+
end
|
100
|
+
else
|
101
|
+
@doc = parse_class.parse($stdin, nil, encoding)
|
102
|
+
end
|
103
|
+
|
104
|
+
$_ = @doc
|
105
|
+
|
106
|
+
if @rng
|
107
|
+
@rng.validate(@doc).each do |error|
|
108
|
+
puts error.message
|
109
|
+
end
|
110
|
+
else
|
111
|
+
if @script
|
112
|
+
eval @script, binding, '<main>'
|
113
|
+
else
|
114
|
+
puts "Your document is stored in @doc..."
|
115
|
+
Nokogiri::CLI.console.start
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
data/dependencies.yml
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
libxml2:
|
2
|
+
version: "2.9.10"
|
3
|
+
sha256: "aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f"
|
4
|
+
# manually verified checksum:
|
5
|
+
#
|
6
|
+
# $ gpg --verify libxml2-2.9.10.tar.gz.asc ports/archives/libxml2-2.9.10.tar.gz
|
7
|
+
# gpg: Signature made Wed 30 Oct 2019 03:15:42 PM EDT
|
8
|
+
# gpg: using RSA key DB46681BB91ADCEA170FA2D415588B26596BEA5D
|
9
|
+
# gpg: Good signature from "Daniel Veillard (Red Hat work email) <veillard@redhat.com>" [unknown]
|
10
|
+
# gpg: aka "Daniel Veillard <Daniel.Veillard@w3.org>" [unknown]
|
11
|
+
# gpg: WARNING: This key is not certified with a trusted signature!
|
12
|
+
# gpg: There is no indication that the signature belongs to the owner.
|
13
|
+
# Primary key fingerprint: C744 15BA 7C9C 7F78 F02E 1DC3 4606 B8A5 DE95 BC1F
|
14
|
+
# Subkey fingerprint: DB46 681B B91A DCEA 170F A2D4 1558 8B26 596B EA5D
|
15
|
+
#
|
16
|
+
# using this pgp signature:
|
17
|
+
#
|
18
|
+
# -----BEGIN PGP SIGNATURE-----
|
19
|
+
#
|
20
|
+
# iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl254V4ACgkQFViLJllr
|
21
|
+
# 6l0ldAf6Azt4/oKDfMKRd+xaykUrb+34dr2ZRsjRDS1cnelAtL9TCWhE5lOkLI3c
|
22
|
+
# 3FyNRaLhOEOOluZmKTJYyzS42JSSHDhxGj14gIeyafOjvRhHG3h1m5GvMmvgKWkd
|
23
|
+
# qzxFrVFSG26iWJxMvxIA88t7M+QHb7ff7xR29ETJscewEmAd3LmZITglK02lWeGz
|
24
|
+
# LfxfLuakM6RnCUu0dzacJKO0nMOKju+RL/N9bciI/UOhNYEkWqPnzC0GzbvFLqDu
|
25
|
+
# rM+OvCSewSTziiejpdrUwYXkY5Ui2+cxUbacLauEr8iRLg7xXKqv27NORE4yeQcS
|
26
|
+
# LgIhxG/qSNfihMS6E1ZO5bK2DbGCZQ==
|
27
|
+
# =ZNuc
|
28
|
+
# -----END PGP SIGNATURE-----
|
29
|
+
#
|
30
|
+
|
31
|
+
libxslt:
|
32
|
+
version: "1.1.34"
|
33
|
+
sha256: "98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f"
|
34
|
+
# manually verified checksum:
|
35
|
+
#
|
36
|
+
# $ gpg --verify ~/Downloads/libxslt-1.1.34.tar.gz.asc ports/archives/libxslt-1.1.34.tar.gz
|
37
|
+
# gpg: Signature made Wed 30 Oct 2019 04:02:48 PM EDT
|
38
|
+
# gpg: using RSA key DB46681BB91ADCEA170FA2D415588B26596BEA5D
|
39
|
+
# gpg: Good signature from "Daniel Veillard (Red Hat work email) <veillard@redhat.com>" [unknown]
|
40
|
+
# gpg: aka "Daniel Veillard <Daniel.Veillard@w3.org>" [unknown]
|
41
|
+
# gpg: WARNING: This key is not certified with a trusted signature!
|
42
|
+
# gpg: There is no indication that the signature belongs to the owner.
|
43
|
+
# Primary key fingerprint: C744 15BA 7C9C 7F78 F02E 1DC3 4606 B8A5 DE95 BC1F
|
44
|
+
# Subkey fingerprint: DB46 681B B91A DCEA 170F A2D4 1558 8B26 596B EA5D
|
45
|
+
#
|
46
|
+
# using this pgp signature:
|
47
|
+
#
|
48
|
+
# -----BEGIN PGP SIGNATURE-----
|
49
|
+
#
|
50
|
+
# iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAl257GgACgkQFViLJllr
|
51
|
+
# 6l2vVggAjJEHmASiS56SxhPOsGqbfBihM66gQFoIymQfMu2430N1GSTkLsfbkJO8
|
52
|
+
# 8yBX11NjzK/m9uxwshMW3rVCU7EpL3PUimN3reXdPiQj9hAOAWF1V3BZNevbQC2E
|
53
|
+
# FCIraioukaidf8sjUG4/sGpK/gOcP/3hYoN0HUoBigCNJjDqhijxM3M3GJJtCASp
|
54
|
+
# jL4CQbs2OmxW8ixOZbuWEESvFFHUgYRsdZjRVN+GRfSOvJjxypurmYwQ3RjO7JxL
|
55
|
+
# 2FY8qKQ+xpeID8NV8F5OUEvWBjk1QS133VTqBZNlONdnEtV/og6jNu5k0O/Kvhup
|
56
|
+
# caR+8TMErOcLr9OgDklO6DoYyAsf9Q==
|
57
|
+
# =g4i4
|
58
|
+
# -----END PGP SIGNATURE-----
|
59
|
+
#
|
60
|
+
|
61
|
+
zlib:
|
62
|
+
version: "1.2.11"
|
63
|
+
sha256: "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1"
|
64
|
+
# SHA-256 hash provided on http://zlib.net/
|
65
|
+
|
66
|
+
libiconv:
|
67
|
+
version: "1.15"
|
68
|
+
sha256: "ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178"
|
69
|
+
# gpg: Signature made Fri Feb 3 00:38:12 2017 CET
|
70
|
+
# gpg: using RSA key 4F494A942E4616C2
|
71
|
+
# gpg: Good signature from "Bruno Haible (Open Source Development) <bruno@clisp.org>" [unknown]
|
72
|
+
# gpg: WARNING: This key is not certified with a trusted signature!
|
73
|
+
# gpg: There is no indication that the signature belongs to the owner.
|
74
|
+
# Primary key fingerprint: 68D9 4D8A AEEA D48A E7DC 5B90 4F49 4A94 2E46 16C2
|
data/ext/nokogiri/depend
ADDED
@@ -0,0 +1,358 @@
|
|
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
|