nokogiri 1.6.2.rc1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/.autotest +26 -0
- data/.editorconfig +17 -0
- data/.gemtest +0 -0
- data/.travis.yml +25 -0
- data/CHANGELOG.ja.rdoc +857 -0
- data/CHANGELOG.rdoc +880 -0
- data/C_CODING_STYLE.rdoc +33 -0
- data/Gemfile +21 -0
- data/Manifest.txt +371 -0
- data/README.ja.rdoc +112 -0
- data/README.rdoc +180 -0
- data/ROADMAP.md +89 -0
- data/Rakefile +351 -0
- data/STANDARD_RESPONSES.md +47 -0
- data/Y_U_NO_GEMSPEC.md +155 -0
- data/bin/nokogiri +78 -0
- data/build_all +130 -0
- data/dependencies.yml +4 -0
- data/ext/nokogiri/depend +358 -0
- data/ext/nokogiri/extconf.rb +453 -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 +148 -0
- data/ext/nokogiri/nokogiri.h +164 -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 +577 -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 +78 -0
- data/ext/nokogiri/xml_namespace.h +13 -0
- data/ext/nokogiri/xml_node.c +1541 -0
- data/ext/nokogiri/xml_node.h +13 -0
- data/ext/nokogiri/xml_node_set.c +467 -0
- data/ext/nokogiri/xml_node_set.h +14 -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 +681 -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 +312 -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 +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 +63 -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 +307 -0
- data/ext/nokogiri/xml_xpath_context.h +10 -0
- data/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/lib/nokogiri.rb +137 -0
- data/lib/nokogiri/2.0/nokogiri.so +0 -0
- data/lib/nokogiri/2.1/nokogiri.so +0 -0
- data/lib/nokogiri/css.rb +27 -0
- data/lib/nokogiri/css/node.rb +52 -0
- data/lib/nokogiri/css/parser.rb +715 -0
- data/lib/nokogiri/css/parser.y +249 -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 +219 -0
- data/lib/nokogiri/decorators/slop.rb +35 -0
- data/lib/nokogiri/html.rb +37 -0
- data/lib/nokogiri/html/builder.rb +35 -0
- data/lib/nokogiri/html/document.rb +333 -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/html/sax/push_parser.rb +16 -0
- data/lib/nokogiri/syntax_error.rb +4 -0
- data/lib/nokogiri/version.rb +106 -0
- data/lib/nokogiri/xml.rb +73 -0
- data/lib/nokogiri/xml/attr.rb +14 -0
- data/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/lib/nokogiri/xml/builder.rb +443 -0
- data/lib/nokogiri/xml/cdata.rb +11 -0
- data/lib/nokogiri/xml/character_data.rb +7 -0
- data/lib/nokogiri/xml/document.rb +279 -0
- data/lib/nokogiri/xml/document_fragment.rb +112 -0
- data/lib/nokogiri/xml/dtd.rb +32 -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 +982 -0
- data/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/lib/nokogiri/xml/node_set.rb +355 -0
- data/lib/nokogiri/xml/notation.rb +6 -0
- data/lib/nokogiri/xml/parse_options.rb +98 -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 +171 -0
- data/lib/nokogiri/xml/sax/parser.rb +123 -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 +56 -0
- data/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/suppressions/README.txt +1 -0
- data/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
- data/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
- data/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
- data/tasks/nokogiri.org.rb +24 -0
- data/tasks/test.rb +95 -0
- data/test/css/test_nthiness.rb +222 -0
- data/test/css/test_parser.rb +358 -0
- data/test/css/test_tokenizer.rb +198 -0
- data/test/css/test_xpath_visitor.rb +96 -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/atom.xml +344 -0
- data/test/files/bar/bar.xsd +4 -0
- data/test/files/bogus.xml +0 -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/saml/saml20assertion_schema.xsd +283 -0
- data/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/test/files/saml/xenc_schema.xsd +146 -0
- data/test/files/saml/xmldsig_schema.xsd +318 -0
- data/test/files/shift_jis.html +10 -0
- data/test/files/shift_jis.xml +5 -0
- data/test/files/shift_jis_no_charset.html +9 -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/test_document_url/bar.xml +2 -0
- data/test/files/test_document_url/document.dtd +4 -0
- data/test/files/test_document_url/document.xml +6 -0
- data/test/files/tlm.html +850 -0
- data/test/files/to_be_xincluded.xml +2 -0
- data/test/files/valid_bar.xml +2 -0
- data/test/files/xinclude.xml +4 -0
- data/test/helper.rb +164 -0
- data/test/html/sax/test_parser.rb +141 -0
- data/test/html/sax/test_parser_context.rb +46 -0
- data/test/html/test_builder.rb +164 -0
- data/test/html/test_document.rb +619 -0
- data/test/html/test_document_encoding.rb +148 -0
- data/test/html/test_document_fragment.rb +261 -0
- data/test/html/test_element_description.rb +105 -0
- data/test/html/test_named_characters.rb +14 -0
- data/test/html/test_node.rb +196 -0
- data/test/html/test_node_encoding.rb +27 -0
- data/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
- data/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -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 +156 -0
- data/test/test_nokogiri.rb +138 -0
- data/test/test_reader.rb +558 -0
- data/test/test_soap4r_sax.rb +52 -0
- data/test/test_xslt_transforms.rb +279 -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 +382 -0
- data/test/xml/sax/test_parser_context.rb +115 -0
- data/test/xml/sax/test_push_parser.rb +157 -0
- data/test/xml/test_attr.rb +64 -0
- data/test/xml/test_attribute_decl.rb +86 -0
- data/test/xml/test_builder.rb +315 -0
- data/test/xml/test_c14n.rb +161 -0
- data/test/xml/test_cdata.rb +48 -0
- data/test/xml/test_comment.rb +29 -0
- data/test/xml/test_document.rb +934 -0
- data/test/xml/test_document_encoding.rb +28 -0
- data/test/xml/test_document_fragment.rb +228 -0
- data/test/xml/test_dtd.rb +187 -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 +245 -0
- data/test/xml/test_namespace.rb +95 -0
- data/test/xml/test_node.rb +1155 -0
- data/test/xml/test_node_attributes.rb +113 -0
- data/test/xml/test_node_encoding.rb +107 -0
- data/test/xml/test_node_inheritance.rb +32 -0
- data/test/xml/test_node_reparenting.rb +374 -0
- data/test/xml/test_node_set.rb +755 -0
- data/test/xml/test_parse_options.rb +64 -0
- data/test/xml/test_processing_instruction.rb +30 -0
- data/test/xml/test_reader_encoding.rb +142 -0
- data/test/xml/test_relax_ng.rb +60 -0
- data/test/xml/test_schema.rb +129 -0
- data/test/xml/test_syntax_error.rb +12 -0
- data/test/xml/test_text.rb +45 -0
- data/test/xml/test_unparented_node.rb +422 -0
- data/test/xml/test_xinclude.rb +83 -0
- data/test/xml/test_xpath.rb +376 -0
- data/test/xslt/test_custom_functions.rb +133 -0
- data/test/xslt/test_exception_handling.rb +37 -0
- data/test_all +81 -0
- metadata +601 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
# Standard Responses to Requests
|
2
|
+
|
3
|
+
These responses are needed often enough that I figured, let's just
|
4
|
+
check them in for future reference and use.
|
5
|
+
|
6
|
+
|
7
|
+
# Not enough information to help
|
8
|
+
|
9
|
+
Hello!
|
10
|
+
|
11
|
+
Thanks for asking this question! However, without more information,
|
12
|
+
Team Nokogiri cannot reproduce your issue, and so we cannot offer much
|
13
|
+
help.
|
14
|
+
|
15
|
+
Please provide us with:
|
16
|
+
|
17
|
+
* A self-contained script (one that we can run without modification,
|
18
|
+
and preferably without making external network connections).
|
19
|
+
|
20
|
+
* Please note that you need to include the XML/HTML that you are
|
21
|
+
operating on.
|
22
|
+
|
23
|
+
* The output of `nokogiri -v`, which will provide details about your
|
24
|
+
platform and versions of ruby, libxml2 and nokogiri.
|
25
|
+
|
26
|
+
For more information about requesting help or reporting bugs, please
|
27
|
+
take a look at http://bit.ly/nokohelp
|
28
|
+
|
29
|
+
Thank you so much!
|
30
|
+
|
31
|
+
|
32
|
+
# Not a bug
|
33
|
+
|
34
|
+
Hello!
|
35
|
+
|
36
|
+
Thanks for asking this question! Your request for assistance using
|
37
|
+
Nokogiri will not go unanswered!
|
38
|
+
|
39
|
+
However, Nokogiri's Github Issues is reserved for reporting bugs or
|
40
|
+
submitting patches. If you ask your question on the mailing list, Team
|
41
|
+
Nokogiri promises someone will provide you with an answer in a timely
|
42
|
+
manner.
|
43
|
+
|
44
|
+
If you'd like to read up on Team Nokogiri's rationale for this policy,
|
45
|
+
please go to http://bit.ly/nokohelp.
|
46
|
+
|
47
|
+
Thank you so much for understanding! And thank you for using Nokogiri.
|
data/Y_U_NO_GEMSPEC.md
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
(note: this was originally a blog post published at http://blog.flavorjon.es/2012/03/y-u-no-gemspec.html)
|
2
|
+
|
3
|
+
## tl;dr
|
4
|
+
|
5
|
+
1. Team Nokogiri are not 10-foot-tall code-crunching robots, so `master` is usually unstable.
|
6
|
+
2. Unstable code can corrupt your data and crash your application, which would make everybody look bad.
|
7
|
+
3. Therefore, the _risk_ associated with using unstable code is severe; for you _and_ for Team Nokogiri.
|
8
|
+
4. The absence of a gemspec is a risk mitigation tactic.
|
9
|
+
5. You can always ask for an RC release.
|
10
|
+
|
11
|
+
|
12
|
+
## Why Isn't There a Gemspec!?
|
13
|
+
|
14
|
+
OHAI! Thank you for asking this question!
|
15
|
+
|
16
|
+
Team Nokogiri gets asked this pretty frequently. Just a sample from
|
17
|
+
the historical record:
|
18
|
+
|
19
|
+
* [Issue #274](https://github.com/sparklemotion/nokogiri/issues/274)
|
20
|
+
* [Issue #371](https://github.com/sparklemotion/nokogiri/issues/371)
|
21
|
+
* [A commit removing nokogiri.gemspec](https://github.com/sparklemotion/nokogiri/commit/7f17a643a05ca381d65131515b54d4a3a61ca2e1#commitcomment-667477)
|
22
|
+
* [A nokogiri-talk thread](http://groups.google.com/group/nokogiri-talk/browse_thread/thread/4706b002e492d23f)
|
23
|
+
* [Another nokogiri-talk thread](http://groups.google.com/group/nokogiri-talk/browse_thread/thread/0b201bb80ea3eea0)
|
24
|
+
|
25
|
+
Sometimes people imply that we've forgotten, or that we don't how to
|
26
|
+
properly manage our codebase. Those people are super fun to respond
|
27
|
+
to!
|
28
|
+
|
29
|
+
We've gone back and forth a couple of times over the past few years,
|
30
|
+
but the current policy of Team Nokogiri is to **not** provide a
|
31
|
+
gemspec in the Github repo. This is a conscious choice, not an
|
32
|
+
oversight.
|
33
|
+
|
34
|
+
|
35
|
+
## But You Didn't Answer the Question!
|
36
|
+
|
37
|
+
Ah, I was hoping you wouldn't notice. Well, OK, let's do this, if
|
38
|
+
you're serious about it.
|
39
|
+
|
40
|
+
I'd like to start by talking about _risk_. Specifically, the risk
|
41
|
+
associated with using a known-unstable version of Nokogiri.
|
42
|
+
|
43
|
+
|
44
|
+
### Risk
|
45
|
+
|
46
|
+
One common way to evaluate the _risk_ of an incident is:
|
47
|
+
|
48
|
+
risk = probability x impact
|
49
|
+
|
50
|
+
You can read more about this on [the internets](http://en.wikipedia.org/wiki/Risk_Matrix).
|
51
|
+
|
52
|
+
The _risk_ associated with a Nokogiri bug could be loosely defined by
|
53
|
+
answering the questions:
|
54
|
+
|
55
|
+
* "How likely is it that a bug exists?" (probability)
|
56
|
+
* "How severe will the consequences of a bug be?" (impact)
|
57
|
+
|
58
|
+
|
59
|
+
### Probability
|
60
|
+
|
61
|
+
The `master` branch should be considered unstable. Team Nokogiri are
|
62
|
+
not 10-foot-tall code-crunching robots; we are humans. We make
|
63
|
+
mistakes, and as a result, any arbitrary commit on `master` is likely
|
64
|
+
to contain bugs.
|
65
|
+
|
66
|
+
Just as an example, Nokogiri `master` was unstable for about five
|
67
|
+
months between November 2011 and March 2012. It was unstable not
|
68
|
+
because we were sloppy, or didn't care, but because the fixes were
|
69
|
+
hard and unobvious.
|
70
|
+
|
71
|
+
When we release Nokogiri, we test for memory leaks and invalid memory
|
72
|
+
access on all kinds of platforms with many flavors of Ruby and lots of
|
73
|
+
versions of libxml2. Because these tests are time-consuming, we don't
|
74
|
+
run them on every commit. We run them often when preparing a release.
|
75
|
+
|
76
|
+
If we're releasing Nokogiri, it means we think it's rock solid.
|
77
|
+
|
78
|
+
And if we're not releasing it, it means there are probably bugs.
|
79
|
+
|
80
|
+
|
81
|
+
### Impact
|
82
|
+
|
83
|
+
Nokogiri is a gem with native extensions. This means it's not pure
|
84
|
+
Ruby -- there's C or Java code being compiled and run, which means
|
85
|
+
that there's always a chance that the gem will crash your application,
|
86
|
+
or worse. Possible outcomes include:
|
87
|
+
|
88
|
+
* leaking memory
|
89
|
+
* corrupting data
|
90
|
+
* making benign code crash (due to memory corruption)
|
91
|
+
|
92
|
+
So, then, a bug in a native extension can have much worse downside
|
93
|
+
than you might think. It's not just going to do something unexpected;
|
94
|
+
it's possibly going to do terrible, awful things to your application
|
95
|
+
and data.
|
96
|
+
|
97
|
+
**Nobody** wants that to happen. Especially Team Nokogiri.
|
98
|
+
|
99
|
+
|
100
|
+
### Risk, Redux
|
101
|
+
|
102
|
+
So, if you accept the equation
|
103
|
+
|
104
|
+
risk = probability x impact
|
105
|
+
|
106
|
+
and you believe me when I say that:
|
107
|
+
|
108
|
+
* the probablility of a bug in unreleased code is high, and
|
109
|
+
* the impact of a bug is likely to be severe,
|
110
|
+
|
111
|
+
then you should easily see that the _risk_ associated with a bug in
|
112
|
+
Nokogiri is quite high.
|
113
|
+
|
114
|
+
Part of Team Nokogiri's job is to try to mitigate this risk. We have a
|
115
|
+
number of tactics that we use to accomplish this:
|
116
|
+
|
117
|
+
* we respond quickly to bug reports, particularly when they are possible memory issues
|
118
|
+
* we review each others' commits
|
119
|
+
* we have a thorough test suite, and we test-drive new features
|
120
|
+
* we discuss code design and issues on a core developer mailing list
|
121
|
+
* we use valgrind to test for memory issues (leaks and invalid
|
122
|
+
access) on multiple combinations of OS, libxml2 and Ruby
|
123
|
+
* we package release candidates, and encourage devs to use them
|
124
|
+
* **we do NOT commit a gemspec in our git repository**
|
125
|
+
|
126
|
+
Yes, that's right, the absence of a gemspec is a risk mitigation
|
127
|
+
tactic. Not only does Team Nokogiri not want to imply support for
|
128
|
+
`master`, we want to **actively discourage** people from using
|
129
|
+
it. Because it's not stable.
|
130
|
+
|
131
|
+
|
132
|
+
## But I Want to Do It Anyway
|
133
|
+
|
134
|
+
Another option, is to email the [nokogiri-talk
|
135
|
+
list](http://groups.google.com/group/nokogiri-talk) and ask for a
|
136
|
+
release candidate to be built. We're pretty accommodating if there's a
|
137
|
+
bugfix that's a blocker for you. And if we can't release an RC, we'll
|
138
|
+
tell you why.
|
139
|
+
|
140
|
+
And in the end, nothing is stopping you from cloning the repo and
|
141
|
+
generating a private gemspec. This is an extra step or two, but it has
|
142
|
+
the benefit of making sure developers have thought through the costs
|
143
|
+
and risks involved; and it tends to select for developers who know
|
144
|
+
what they're doing.
|
145
|
+
|
146
|
+
|
147
|
+
## In Conclusion
|
148
|
+
|
149
|
+
Team Nokogiri takes stability very seriously. We want everybody who
|
150
|
+
uses Nokogiri to have a pleasant experience. And so we want to make
|
151
|
+
sure that you're using the best software we can make.
|
152
|
+
|
153
|
+
Please keep in mind that we're trying very hard to do the right thing
|
154
|
+
for all Nokogiri users out there in Rubyland. Nokogiri loves you very
|
155
|
+
much, and we hope you love it back.
|
data/bin/nokogiri
ADDED
@@ -0,0 +1,78 @@
|
|
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 " curl -s http://nokogiri.org | nokogiri -e'p $_.css(\"h1\").length'"
|
20
|
+
opts.separator ""
|
21
|
+
opts.separator "Options:"
|
22
|
+
|
23
|
+
opts.on("--type [TYPE]", [:xml, :html]) do |v|
|
24
|
+
parse_class = {:xml => Nokogiri::XML, :html => Nokogiri::HTML}[v]
|
25
|
+
end
|
26
|
+
|
27
|
+
opts.on("-E", "--encoding encoding", "Read as encoding (default #{encoding})") do |v|
|
28
|
+
encoding = v
|
29
|
+
end
|
30
|
+
|
31
|
+
opts.on("-e command", "Specifies script from command-line.") do |v|
|
32
|
+
@script = v
|
33
|
+
end
|
34
|
+
|
35
|
+
opts.on("--rng <uri|path>", "Validate using this rng file.") do |v|
|
36
|
+
@rng = open(v) {|f| Nokogiri::XML::RelaxNG(f)}
|
37
|
+
end
|
38
|
+
|
39
|
+
opts.on_tail("-?", "--help", "Show this message") do
|
40
|
+
puts opts
|
41
|
+
exit
|
42
|
+
end
|
43
|
+
|
44
|
+
opts.on_tail("-v", "--version", "Show version") do
|
45
|
+
puts Nokogiri::VersionInfo.instance.to_markdown
|
46
|
+
exit
|
47
|
+
end
|
48
|
+
end
|
49
|
+
opts.parse!
|
50
|
+
|
51
|
+
uri = ARGV.shift
|
52
|
+
|
53
|
+
if uri.to_s.strip.empty? && $stdin.tty?
|
54
|
+
puts opts
|
55
|
+
exit 1
|
56
|
+
end
|
57
|
+
|
58
|
+
if $stdin.tty?
|
59
|
+
@doc = parse_class.parse(open(uri).read, nil, encoding)
|
60
|
+
else
|
61
|
+
@doc = parse_class.parse($stdin, nil, encoding)
|
62
|
+
end
|
63
|
+
|
64
|
+
$_ = @doc
|
65
|
+
|
66
|
+
if @rng
|
67
|
+
@rng.validate(@doc).each do |error|
|
68
|
+
puts error.message
|
69
|
+
end
|
70
|
+
else
|
71
|
+
if @script
|
72
|
+
eval @script, binding, '<main>'
|
73
|
+
else
|
74
|
+
puts "Your document is stored in @doc..."
|
75
|
+
IRB.start
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
data/build_all
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
#
|
3
|
+
# script to build gems for all relevant platforms:
|
4
|
+
# - MRI et al (standard gem)
|
5
|
+
# - windows (x86-mingw32 and x64-mingw32)
|
6
|
+
# - jruby
|
7
|
+
#
|
8
|
+
# here's what I recommend for building all the gems:
|
9
|
+
#
|
10
|
+
# set up a rake-compiler-dev-box as described here:
|
11
|
+
# https://github.com/tjschuck/rake-compiler-dev-box
|
12
|
+
# It is prepared with all the necessary build tools and environments.
|
13
|
+
#
|
14
|
+
# or alternatively do:
|
15
|
+
# 1. Setup a ubuntu 12.04+ machine
|
16
|
+
# 2. install rvm, and install 1.9.3, 2.0.0 and jruby.
|
17
|
+
# 3. `sudo apt-get install mingw32 gcc-mingw-w64-i686 gcc-mingw-w64-x86-64`
|
18
|
+
#
|
19
|
+
# as you build, you may run into these problems:
|
20
|
+
#
|
21
|
+
# - if you're using Virtualbox shared directories, you'll get a mingw
|
22
|
+
# "Protocol error" at linktime. Boo! Either use NFS or a
|
23
|
+
# locally-checked-out repository.
|
24
|
+
#
|
25
|
+
# - on ubuntus 11 and later, you may have issues with building
|
26
|
+
# rake-compiler's rubies against openssl v2. Just comment the lines
|
27
|
+
# out from ossl_ssl.c and you'll be fine.
|
28
|
+
#
|
29
|
+
# - you may have issues with Pathname conversion to String in
|
30
|
+
# bundler. Add this to the offending bundler file:
|
31
|
+
#
|
32
|
+
# class Pathname
|
33
|
+
# def to_str
|
34
|
+
# to_s
|
35
|
+
# end
|
36
|
+
# end
|
37
|
+
#
|
38
|
+
# - you may also have to hack rubygems.rb to eliminate a reference to
|
39
|
+
# RUBY_ENGINE (just comment it out)
|
40
|
+
#
|
41
|
+
|
42
|
+
DEFAULT_RUBY=2.0.0
|
43
|
+
|
44
|
+
HOST=
|
45
|
+
|
46
|
+
# Load RVM into a shell session *as a function*
|
47
|
+
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
|
48
|
+
source "$HOME/.rvm/scripts/rvm"
|
49
|
+
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
|
50
|
+
source "/usr/local/rvm/scripts/rvm"
|
51
|
+
else
|
52
|
+
echo "ERROR: An RVM installation was not found.\n"
|
53
|
+
fi
|
54
|
+
|
55
|
+
rvm_use () {
|
56
|
+
current_ruby=$1
|
57
|
+
rvm use "${1}@nokogiri" --create || rvm -v
|
58
|
+
}
|
59
|
+
|
60
|
+
rvm_do () {
|
61
|
+
local ver=$1
|
62
|
+
shift
|
63
|
+
rvm "${ver}@nokogiri" do "$@"
|
64
|
+
}
|
65
|
+
|
66
|
+
cross_rubies () {
|
67
|
+
grep -v '#' .cross_rubies
|
68
|
+
}
|
69
|
+
|
70
|
+
ruby_vers () {
|
71
|
+
cross_rubies | while read -r line; do
|
72
|
+
echo "${line%%[-:]*}"
|
73
|
+
done | uniq
|
74
|
+
}
|
75
|
+
|
76
|
+
set -o errexit
|
77
|
+
|
78
|
+
for ver in `ruby_vers`; do
|
79
|
+
rvm_use $ver
|
80
|
+
gem install bundler --conservative
|
81
|
+
bundle install --quiet --local || bundle install
|
82
|
+
done
|
83
|
+
|
84
|
+
rvm_use $DEFAULT_RUBY
|
85
|
+
|
86
|
+
rm -rf tmp pkg
|
87
|
+
bundle exec rake clean
|
88
|
+
|
89
|
+
# holding pen
|
90
|
+
rm -rf gems
|
91
|
+
mkdir -p gems
|
92
|
+
|
93
|
+
# windows
|
94
|
+
|
95
|
+
for verspec in `cross_rubies`; do
|
96
|
+
version="${verspec%%:*}"
|
97
|
+
ver="${version%%-*}"
|
98
|
+
host="${verspec#*:}"
|
99
|
+
|
100
|
+
case $ver in
|
101
|
+
1.9.3)
|
102
|
+
# Parallel make does not work in 1.9.3, as it has a
|
103
|
+
# missing dependency problem with main.o.
|
104
|
+
make="make"
|
105
|
+
;;
|
106
|
+
*)
|
107
|
+
make="$MAKE"
|
108
|
+
esac
|
109
|
+
|
110
|
+
MAKE="$make" rvm_do $ver rake-compiler cross-ruby VERSION=$version HOST=$host debugflags="-g"
|
111
|
+
done
|
112
|
+
|
113
|
+
bundle exec rake gem:windows
|
114
|
+
cp -v pkg/nokogiri*{x86,x64}-mingw32*.gem gems
|
115
|
+
|
116
|
+
# MRI
|
117
|
+
bundle exec rake clean
|
118
|
+
bundle exec rake gem
|
119
|
+
cp -v pkg/nokogiri*.gem gems # should only be one at this point in the script
|
120
|
+
|
121
|
+
# jruby
|
122
|
+
rvm_use jruby
|
123
|
+
gem install bundler --conservative
|
124
|
+
bundle install --quiet --local || bundle install
|
125
|
+
bundle exec rake clean clobber
|
126
|
+
rvm_use $DEFAULT_RUBY
|
127
|
+
bundle exec rake generate
|
128
|
+
rvm_use jruby
|
129
|
+
bundle exec rake gem
|
130
|
+
cp -v pkg/nokogiri*java.gem gems
|
data/dependencies.yml
ADDED
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
|