nokogiri-maglev- 1.5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +26 -0
- data/.gemtest +0 -0
- data/CHANGELOG.ja.rdoc +544 -0
- data/CHANGELOG.rdoc +532 -0
- data/Manifest.txt +283 -0
- data/README.ja.rdoc +106 -0
- data/README.rdoc +174 -0
- data/Rakefile +171 -0
- data/bin/nokogiri +53 -0
- data/ext/nokogiri/depend +358 -0
- data/ext/nokogiri/extconf.rb +124 -0
- data/ext/nokogiri/html_document.c +154 -0
- data/ext/nokogiri/html_document.h +10 -0
- data/ext/nokogiri/html_element_description.c +276 -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 +94 -0
- data/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/ext/nokogiri/nokogiri.c +115 -0
- data/ext/nokogiri/nokogiri.h +160 -0
- data/ext/nokogiri/st.c +576 -0
- data/ext/nokogiri/xml_attr.c +94 -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 +56 -0
- data/ext/nokogiri/xml_cdata.h +9 -0
- data/ext/nokogiri/xml_comment.c +54 -0
- data/ext/nokogiri/xml_comment.h +9 -0
- data/ext/nokogiri/xml_document.c +478 -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 +56 -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 +84 -0
- data/ext/nokogiri/xml_namespace.h +13 -0
- data/ext/nokogiri/xml_node.c +1397 -0
- data/ext/nokogiri/xml_node.h +13 -0
- data/ext/nokogiri/xml_node_set.c +418 -0
- data/ext/nokogiri/xml_node_set.h +9 -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 +684 -0
- data/ext/nokogiri/xml_reader.h +10 -0
- data/ext/nokogiri/xml_relax_ng.c +162 -0
- data/ext/nokogiri/xml_relax_ng.h +9 -0
- data/ext/nokogiri/xml_sax_parser.c +293 -0
- data/ext/nokogiri/xml_sax_parser.h +39 -0
- data/ext/nokogiri/xml_sax_parser_context.c +199 -0
- data/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/ext/nokogiri/xml_sax_push_parser.c +115 -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 +58 -0
- data/ext/nokogiri/xml_syntax_error.h +13 -0
- data/ext/nokogiri/xml_text.c +50 -0
- data/ext/nokogiri/xml_text.h +9 -0
- data/ext/nokogiri/xml_xpath_context.c +315 -0
- data/ext/nokogiri/xml_xpath_context.h +9 -0
- data/ext/nokogiri/xslt_stylesheet.c +265 -0
- data/ext/nokogiri/xslt_stylesheet.h +9 -0
- data/lib/nokogiri.rb +127 -0
- data/lib/nokogiri/css.rb +27 -0
- data/lib/nokogiri/css/node.rb +99 -0
- data/lib/nokogiri/css/parser.rb +677 -0
- data/lib/nokogiri/css/parser.y +237 -0
- data/lib/nokogiri/css/parser_extras.rb +91 -0
- data/lib/nokogiri/css/syntax_error.rb +7 -0
- data/lib/nokogiri/css/tokenizer.rb +152 -0
- data/lib/nokogiri/css/tokenizer.rex +55 -0
- data/lib/nokogiri/css/xpath_visitor.rb +171 -0
- data/lib/nokogiri/decorators/slop.rb +35 -0
- data/lib/nokogiri/html.rb +36 -0
- data/lib/nokogiri/html/builder.rb +35 -0
- data/lib/nokogiri/html/document.rb +213 -0
- data/lib/nokogiri/html/document_fragment.rb +41 -0
- data/lib/nokogiri/html/element_description.rb +23 -0
- data/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/lib/nokogiri/html/sax/parser.rb +52 -0
- data/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/lib/nokogiri/syntax_error.rb +4 -0
- data/lib/nokogiri/version.rb +88 -0
- data/lib/nokogiri/xml.rb +67 -0
- data/lib/nokogiri/xml/attr.rb +14 -0
- data/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/lib/nokogiri/xml/builder.rb +426 -0
- data/lib/nokogiri/xml/cdata.rb +11 -0
- data/lib/nokogiri/xml/character_data.rb +7 -0
- data/lib/nokogiri/xml/document.rb +234 -0
- data/lib/nokogiri/xml/document_fragment.rb +98 -0
- data/lib/nokogiri/xml/dtd.rb +22 -0
- data/lib/nokogiri/xml/element_content.rb +36 -0
- data/lib/nokogiri/xml/element_decl.rb +13 -0
- data/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/lib/nokogiri/xml/namespace.rb +13 -0
- data/lib/nokogiri/xml/node.rb +915 -0
- data/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/lib/nokogiri/xml/node_set.rb +357 -0
- data/lib/nokogiri/xml/notation.rb +6 -0
- data/lib/nokogiri/xml/parse_options.rb +93 -0
- data/lib/nokogiri/xml/pp.rb +2 -0
- data/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/lib/nokogiri/xml/pp/node.rb +56 -0
- data/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/lib/nokogiri/xml/reader.rb +112 -0
- data/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/lib/nokogiri/xml/sax.rb +4 -0
- data/lib/nokogiri/xml/sax/document.rb +164 -0
- data/lib/nokogiri/xml/sax/parser.rb +115 -0
- data/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/lib/nokogiri/xml/schema.rb +63 -0
- data/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/lib/nokogiri/xml/text.rb +9 -0
- data/lib/nokogiri/xml/xpath.rb +10 -0
- data/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/lib/nokogiri/xslt.rb +52 -0
- data/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/lib/xsd/xmlparser/nokogiri.rb +90 -0
- data/nokogiri_help_responses.md +40 -0
- data/tasks/cross_compile.rb +152 -0
- data/tasks/nokogiri.org.rb +18 -0
- data/tasks/test.rb +94 -0
- data/test/css/test_nthiness.rb +159 -0
- data/test/css/test_parser.rb +303 -0
- data/test/css/test_tokenizer.rb +198 -0
- data/test/css/test_xpath_visitor.rb +85 -0
- data/test/decorators/test_slop.rb +16 -0
- data/test/files/2ch.html +108 -0
- data/test/files/address_book.rlx +12 -0
- data/test/files/address_book.xml +10 -0
- data/test/files/bar/bar.xsd +4 -0
- data/test/files/dont_hurt_em_why.xml +422 -0
- data/test/files/encoding.html +82 -0
- data/test/files/encoding.xhtml +84 -0
- data/test/files/exslt.xml +8 -0
- data/test/files/exslt.xslt +35 -0
- data/test/files/foo/foo.xsd +4 -0
- data/test/files/metacharset.html +10 -0
- data/test/files/noencoding.html +47 -0
- data/test/files/po.xml +32 -0
- data/test/files/po.xsd +66 -0
- data/test/files/shift_jis.html +10 -0
- data/test/files/shift_jis.xml +5 -0
- data/test/files/snuggles.xml +3 -0
- data/test/files/staff.dtd +10 -0
- data/test/files/staff.xml +59 -0
- data/test/files/staff.xslt +32 -0
- data/test/files/tlm.html +850 -0
- data/test/files/valid_bar.xml +2 -0
- data/test/helper.rb +173 -0
- data/test/html/sax/test_parser.rb +139 -0
- data/test/html/sax/test_parser_context.rb +48 -0
- data/test/html/test_builder.rb +165 -0
- data/test/html/test_document.rb +472 -0
- data/test/html/test_document_encoding.rb +138 -0
- data/test/html/test_document_fragment.rb +255 -0
- data/test/html/test_element_description.rb +101 -0
- data/test/html/test_named_characters.rb +14 -0
- data/test/html/test_node.rb +193 -0
- data/test/html/test_node_encoding.rb +27 -0
- data/test/test_convert_xpath.rb +135 -0
- data/test/test_css_cache.rb +45 -0
- data/test/test_encoding_handler.rb +46 -0
- data/test/test_memory_leak.rb +72 -0
- data/test/test_nokogiri.rb +133 -0
- data/test/test_reader.rb +425 -0
- data/test/test_soap4r_sax.rb +52 -0
- data/test/test_xslt_transforms.rb +193 -0
- data/test/xml/node/test_save_options.rb +28 -0
- data/test/xml/node/test_subclass.rb +44 -0
- data/test/xml/sax/test_parser.rb +338 -0
- data/test/xml/sax/test_parser_context.rb +113 -0
- data/test/xml/sax/test_push_parser.rb +156 -0
- data/test/xml/test_attr.rb +65 -0
- data/test/xml/test_attribute_decl.rb +86 -0
- data/test/xml/test_builder.rb +227 -0
- data/test/xml/test_cdata.rb +50 -0
- data/test/xml/test_comment.rb +29 -0
- data/test/xml/test_document.rb +697 -0
- data/test/xml/test_document_encoding.rb +26 -0
- data/test/xml/test_document_fragment.rb +192 -0
- data/test/xml/test_dtd.rb +107 -0
- data/test/xml/test_dtd_encoding.rb +33 -0
- data/test/xml/test_element_content.rb +56 -0
- data/test/xml/test_element_decl.rb +73 -0
- data/test/xml/test_entity_decl.rb +122 -0
- data/test/xml/test_entity_reference.rb +21 -0
- data/test/xml/test_namespace.rb +70 -0
- data/test/xml/test_node.rb +917 -0
- data/test/xml/test_node_attributes.rb +34 -0
- data/test/xml/test_node_encoding.rb +107 -0
- data/test/xml/test_node_reparenting.rb +334 -0
- data/test/xml/test_node_set.rb +742 -0
- data/test/xml/test_parse_options.rb +52 -0
- data/test/xml/test_processing_instruction.rb +30 -0
- data/test/xml/test_reader_encoding.rb +126 -0
- data/test/xml/test_relax_ng.rb +60 -0
- data/test/xml/test_schema.rb +94 -0
- data/test/xml/test_syntax_error.rb +12 -0
- data/test/xml/test_text.rb +47 -0
- data/test/xml/test_unparented_node.rb +381 -0
- data/test/xml/test_xpath.rb +237 -0
- data/test/xslt/test_custom_functions.rb +94 -0
- data/test/xslt/test_exception_handling.rb +37 -0
- metadata +548 -0
data/Rakefile
ADDED
@@ -0,0 +1,171 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
require 'rubygems'
|
3
|
+
|
4
|
+
gem 'hoe'
|
5
|
+
require 'hoe'
|
6
|
+
Hoe.plugin :debugging
|
7
|
+
Hoe.plugin :git
|
8
|
+
Hoe.plugin :gemspec
|
9
|
+
Hoe.plugin :bundler
|
10
|
+
Hoe.add_include_dirs '.' # for ruby 1.9.2
|
11
|
+
|
12
|
+
GENERATED_PARSER = "lib/nokogiri/css/parser.rb"
|
13
|
+
GENERATED_TOKENIZER = "lib/nokogiri/css/tokenizer.rb"
|
14
|
+
CROSS_DIR = File.join(File.dirname(__FILE__), 'ports')
|
15
|
+
|
16
|
+
def java?
|
17
|
+
!! (RUBY_PLATFORM =~ /java/)
|
18
|
+
end
|
19
|
+
|
20
|
+
def maglev?
|
21
|
+
!! defined?(Maglev)
|
22
|
+
end
|
23
|
+
|
24
|
+
require 'tasks/nokogiri_org'
|
25
|
+
|
26
|
+
HOE = Hoe.spec 'nokogiri-maglev-' do
|
27
|
+
developer 'Aaron Patterson', 'aaronp@rubyforge.org'
|
28
|
+
developer 'Mike Dalessio', 'mike.dalessio@gmail.com'
|
29
|
+
developer 'Yoko Harada', 'yokolet@gmail.com'
|
30
|
+
|
31
|
+
self.readme_file = ['README', ENV['HLANG'], 'rdoc'].compact.join('.')
|
32
|
+
self.history_file = ['CHANGELOG', ENV['HLANG'], 'rdoc'].compact.join('.')
|
33
|
+
|
34
|
+
self.extra_rdoc_files = FileList['*.rdoc','ext/nokogiri/*.c']
|
35
|
+
|
36
|
+
self.clean_globs += [
|
37
|
+
'nokogiri.gemspec',
|
38
|
+
'lib/nokogiri/*.{o,so,bundle,a,log,dll}',
|
39
|
+
'lib/nokogiri/nokogiri.{so,dylib,rb,bundle}',
|
40
|
+
'lib/nokogiri/nokogiri.rb',
|
41
|
+
'lib/nokogiri/1.{8,9}',
|
42
|
+
GENERATED_PARSER,
|
43
|
+
GENERATED_TOKENIZER
|
44
|
+
]
|
45
|
+
|
46
|
+
self.extra_dev_deps += [
|
47
|
+
["racc", ">= 1.4.6"],
|
48
|
+
["rexical", ">= 1.0.5"],
|
49
|
+
["rake-compiler", ">= 0.7.9"],
|
50
|
+
["minitest", "~> 2.2.2"],
|
51
|
+
["mini_portile", ">= 0.2.2"],
|
52
|
+
["hoe-debugging", ">= 0"],
|
53
|
+
["hoe-git", ">= 0"],
|
54
|
+
["hoe-gemspec", ">= 0"],
|
55
|
+
["hoe-bundler", ">= 0"]
|
56
|
+
]
|
57
|
+
|
58
|
+
if java?
|
59
|
+
self.spec_extras = { :platform => 'java' }
|
60
|
+
else
|
61
|
+
self.spec_extras = {
|
62
|
+
:extensions => ["ext/nokogiri/extconf.rb"],
|
63
|
+
:required_ruby_version => '>= 1.8.7'
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
self.testlib = :minitest
|
68
|
+
end
|
69
|
+
|
70
|
+
# ----------------------------------------
|
71
|
+
|
72
|
+
if java?
|
73
|
+
# TODO: clean this section up.
|
74
|
+
require "rake/javaextensiontask"
|
75
|
+
Rake::JavaExtensionTask.new("nokogiri", HOE.spec) do |ext|
|
76
|
+
jruby_home = RbConfig::CONFIG['prefix']
|
77
|
+
ext.ext_dir = 'ext/java'
|
78
|
+
ext.lib_dir = 'lib/nokogiri'
|
79
|
+
jars = ["#{jruby_home}/lib/jruby.jar"] + FileList['lib/*.jar']
|
80
|
+
ext.classpath = jars.map { |x| File.expand_path x }.join ':'
|
81
|
+
end
|
82
|
+
|
83
|
+
gem_build_path = File.join 'pkg', HOE.spec.full_name
|
84
|
+
|
85
|
+
task gem_build_path => [:compile] do
|
86
|
+
cp 'lib/nokogiri/nokogiri.jar', File.join(gem_build_path, 'lib', 'nokogiri')
|
87
|
+
HOE.spec.files += ['lib/nokogiri/nokogiri.jar']
|
88
|
+
end
|
89
|
+
elsif ! maglev?
|
90
|
+
# require 'tasks/cross_compile'
|
91
|
+
require "rake/extensiontask"
|
92
|
+
|
93
|
+
HOE.spec.files.reject! { |f| f =~ %r{\.(java|jar)$} }
|
94
|
+
|
95
|
+
Rake::ExtensionTask.new("nokogiri", HOE.spec) do |ext|
|
96
|
+
ext.lib_dir = File.join(*['lib', 'nokogiri', ENV['FAT_DIR']].compact)
|
97
|
+
ext.config_options << ENV['EXTOPTS']
|
98
|
+
# ext.cross_compile = true
|
99
|
+
# ext.cross_platform = ["x86-mswin32-60", "x86-mingw32"]
|
100
|
+
# ext.cross_config_options << "--with-xml2-include=#{File.join($recipes[:libxml2].path, 'include', 'libxml2')}"
|
101
|
+
# ext.cross_config_options << "--with-xml2-lib=#{File.join($recipes[:libxml2].path, 'lib')}"
|
102
|
+
# ext.cross_config_options << "--with-iconv-dir=#{$recipes[:libiconv].path}"
|
103
|
+
# ext.cross_config_options << "--with-xslt-dir=#{$recipes[:libxslt].path}"
|
104
|
+
# ext.cross_config_options << "--with-zlib-dir=#{CROSS_DIR}"
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# ----------------------------------------
|
109
|
+
|
110
|
+
desc "Generate css/parser.rb and css/tokenizer.rex"
|
111
|
+
task 'generate' => [GENERATED_PARSER, GENERATED_TOKENIZER]
|
112
|
+
task 'gem:spec' => 'generate' if Rake::Task.task_defined?("gem:spec")
|
113
|
+
|
114
|
+
file GENERATED_PARSER => "lib/nokogiri/css/parser.y" do |t|
|
115
|
+
racc = RbConfig::CONFIG['target_os'] =~ /mswin32/ ? '' : `which racc`.strip
|
116
|
+
racc = "#{::RbConfig::CONFIG['bindir']}/racc" if racc.empty?
|
117
|
+
sh "#{racc} -l -o #{t.name} #{t.prerequisites.first}"
|
118
|
+
end
|
119
|
+
|
120
|
+
file GENERATED_TOKENIZER => "lib/nokogiri/css/tokenizer.rex" do |t|
|
121
|
+
sh "rex --independent -o #{t.name} #{t.prerequisites.first}"
|
122
|
+
end
|
123
|
+
|
124
|
+
[:compile, :check_manifest].each do |task_name|
|
125
|
+
Rake::Task[task_name].prerequisites << GENERATED_PARSER
|
126
|
+
Rake::Task[task_name].prerequisites << GENERATED_TOKENIZER
|
127
|
+
end unless maglev?
|
128
|
+
|
129
|
+
# ----------------------------------------
|
130
|
+
|
131
|
+
desc "set environment variables to build and/or test with debug options"
|
132
|
+
task :debug do
|
133
|
+
ENV['NOKOGIRI_DEBUG'] = "true"
|
134
|
+
ENV['CFLAGS'] ||= ""
|
135
|
+
ENV['CFLAGS'] += " -DDEBUG"
|
136
|
+
end
|
137
|
+
|
138
|
+
require 'tasks/test'
|
139
|
+
|
140
|
+
Rake::Task[:test].prerequisites << :compile unless maglev?
|
141
|
+
Rake::Task[:test].prerequisites << :check_extra_deps unless (java? or maglev?)
|
142
|
+
if Hoe.plugins.include?(:debugging)
|
143
|
+
['valgrind', 'valgrind:mem', 'valgrind:mem0'].each do |task_name|
|
144
|
+
Rake::Task["test:#{task_name}"].prerequisites << :compile
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# ----------------------------------------
|
149
|
+
|
150
|
+
desc "build a windows gem without all the ceremony."
|
151
|
+
task "gem:windows" => "gem" do
|
152
|
+
rake_compiler_config = YAML.load_file("#{ENV['HOME']}/.rake-compiler/config.yml")
|
153
|
+
|
154
|
+
# check that rake-compiler config contains the right patchlevels of 1.8.6 and 1.9.1. see #279.
|
155
|
+
["1.8.6-p383", "1.9.1-p243"].each do |version|
|
156
|
+
majmin, patchlevel = version.split("-")
|
157
|
+
rbconfig = "rbconfig-#{majmin}"
|
158
|
+
unless rake_compiler_config.key?(rbconfig) && rake_compiler_config[rbconfig] =~ /-#{patchlevel}/
|
159
|
+
raise "rake-compiler '#{rbconfig}' not #{patchlevel}. try running 'env --unset=HOST rake-compiler cross-ruby VERSION=#{version}'"
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
# verify that --export-all is in the 1.9.1 rbconfig. see #279,#374,#375.
|
164
|
+
rbconfig_191 = rake_compiler_config["rbconfig-1.9.1"]
|
165
|
+
raise "rbconfig #{rbconfig_191} needs --export-all in its DLDFLAGS value" if File.read(rbconfig_191).grep(/CONFIG\["DLDFLAGS"\].*--export-all/).empty?
|
166
|
+
|
167
|
+
pkg_config_path = [:libxslt, :libxml2].collect { |pkg| File.join($recipes[pkg].path, "lib/pkgconfig") }.join(":")
|
168
|
+
sh("env PKG_CONFIG_PATH=#{pkg_config_path} RUBY_CC_VERSION=1.8.6:1.9.1 rake cross native gem") || raise("build failed!")
|
169
|
+
end
|
170
|
+
|
171
|
+
# vim: syntax=Ruby
|
data/bin/nokogiri
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'optparse'
|
3
|
+
require 'open-uri'
|
4
|
+
require 'irb'
|
5
|
+
require 'uri'
|
6
|
+
require 'rubygems'
|
7
|
+
require 'nokogiri'
|
8
|
+
|
9
|
+
parse_class = Nokogiri
|
10
|
+
encoding = nil
|
11
|
+
|
12
|
+
opts = OptionParser.new do |opts|
|
13
|
+
opts.banner = "Nokogiri: an HTML, XML, SAX, and Reader parser"
|
14
|
+
opts.define_head "Usage: nokogiri <uri|path> [options]"
|
15
|
+
opts.separator ""
|
16
|
+
opts.separator "Examples:"
|
17
|
+
opts.separator " nokogiri http://www.ruby-lang.org/"
|
18
|
+
opts.separator " nokogiri ./public/index.html"
|
19
|
+
opts.separator ""
|
20
|
+
opts.separator "Options:"
|
21
|
+
|
22
|
+
opts.on("--type [TYPE]", [:xml, :html]) do |v|
|
23
|
+
parse_class = {:xml => Nokogiri::XML, :html => Nokogiri::HTML}[v]
|
24
|
+
end
|
25
|
+
|
26
|
+
opts.on("-E", "--encoding encoding", "Read as encoding (default #{encoding})") do |v|
|
27
|
+
encoding = v
|
28
|
+
end
|
29
|
+
|
30
|
+
opts.on_tail("-?", "--help", "Show this message") do
|
31
|
+
puts opts
|
32
|
+
exit
|
33
|
+
end
|
34
|
+
|
35
|
+
opts.on_tail("-v", "--version", "Show version") do
|
36
|
+
puts Nokogiri::VersionInfo.instance.to_markdown
|
37
|
+
exit
|
38
|
+
end
|
39
|
+
end
|
40
|
+
opts.parse!
|
41
|
+
|
42
|
+
uri = ARGV.shift
|
43
|
+
|
44
|
+
if uri.to_s.strip.empty?
|
45
|
+
puts opts
|
46
|
+
exit 1
|
47
|
+
end
|
48
|
+
|
49
|
+
@doc = parse_class.parse(open(uri).read, nil, encoding)
|
50
|
+
|
51
|
+
puts "Your document is stored in @doc..."
|
52
|
+
IRB.start
|
53
|
+
|
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
|