nokogiri 1.2.3-x86-mswin32-60 → 1.4.5-x86-mswin32-60
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.
- data/.autotest +18 -7
- data/.gemtest +0 -0
- data/CHANGELOG.ja.rdoc +297 -3
- data/CHANGELOG.rdoc +289 -0
- data/Manifest.txt +148 -37
- data/README.ja.rdoc +20 -20
- data/README.rdoc +53 -22
- data/Rakefile +127 -211
- data/bin/nokogiri +54 -0
- data/ext/nokogiri/depend +358 -0
- data/ext/nokogiri/extconf.rb +89 -54
- data/ext/nokogiri/html_document.c +34 -27
- data/ext/nokogiri/html_document.h +1 -1
- 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 +7 -5
- data/ext/nokogiri/html_entity_lookup.h +1 -1
- data/ext/nokogiri/html_sax_parser_context.c +94 -0
- data/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/ext/nokogiri/{native.c → nokogiri.c} +31 -7
- data/ext/nokogiri/{native.h → nokogiri.h} +68 -41
- data/ext/nokogiri/xml_attr.c +20 -9
- data/ext/nokogiri/xml_attr.h +1 -1
- data/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/ext/nokogiri/xml_cdata.c +21 -9
- data/ext/nokogiri/xml_cdata.h +1 -1
- data/ext/nokogiri/xml_comment.c +18 -6
- data/ext/nokogiri/xml_comment.h +1 -1
- data/ext/nokogiri/xml_document.c +247 -68
- data/ext/nokogiri/xml_document.h +5 -3
- data/ext/nokogiri/xml_document_fragment.c +15 -7
- data/ext/nokogiri/xml_document_fragment.h +1 -1
- data/ext/nokogiri/xml_dtd.c +110 -10
- data/ext/nokogiri/xml_dtd.h +3 -1
- 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 +16 -5
- data/ext/nokogiri/xml_entity_reference.h +1 -1
- data/ext/nokogiri/xml_io.c +40 -8
- data/ext/nokogiri/xml_io.h +2 -1
- 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 +782 -225
- data/ext/nokogiri/xml_node.h +2 -4
- data/ext/nokogiri/xml_node_set.c +253 -34
- data/ext/nokogiri/xml_node_set.h +2 -2
- data/ext/nokogiri/xml_processing_instruction.c +17 -5
- data/ext/nokogiri/xml_processing_instruction.h +1 -1
- data/ext/nokogiri/xml_reader.c +277 -85
- data/ext/nokogiri/xml_reader.h +1 -1
- data/ext/nokogiri/xml_relax_ng.c +168 -0
- data/ext/nokogiri/xml_relax_ng.h +9 -0
- data/ext/nokogiri/xml_sax_parser.c +183 -111
- data/ext/nokogiri/xml_sax_parser.h +30 -1
- 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 +42 -12
- data/ext/nokogiri/xml_sax_push_parser.h +1 -1
- data/ext/nokogiri/xml_schema.c +205 -0
- data/ext/nokogiri/xml_schema.h +9 -0
- data/ext/nokogiri/xml_syntax_error.c +28 -173
- data/ext/nokogiri/xml_syntax_error.h +2 -1
- data/ext/nokogiri/xml_text.c +16 -6
- data/ext/nokogiri/xml_text.h +1 -1
- data/ext/nokogiri/xml_xpath_context.c +104 -47
- data/ext/nokogiri/xml_xpath_context.h +1 -1
- data/ext/nokogiri/xslt_stylesheet.c +161 -19
- data/ext/nokogiri/xslt_stylesheet.h +1 -1
- data/lib/nokogiri.rb +47 -8
- data/lib/nokogiri/1.8/nokogiri.so +0 -0
- data/lib/nokogiri/1.9/nokogiri.so +0 -0
- data/lib/nokogiri/css.rb +6 -3
- data/lib/nokogiri/css/node.rb +14 -12
- data/lib/nokogiri/css/parser.rb +665 -62
- data/lib/nokogiri/css/parser.y +20 -10
- data/lib/nokogiri/css/parser_extras.rb +91 -0
- data/lib/nokogiri/css/tokenizer.rb +148 -5
- data/lib/nokogiri/css/tokenizer.rex +10 -9
- data/lib/nokogiri/css/xpath_visitor.rb +47 -44
- data/lib/nokogiri/decorators/slop.rb +8 -4
- data/lib/nokogiri/ffi/encoding_handler.rb +42 -0
- data/lib/nokogiri/ffi/html/document.rb +28 -0
- data/lib/nokogiri/ffi/html/element_description.rb +81 -0
- data/lib/nokogiri/ffi/html/entity_lookup.rb +16 -0
- data/lib/nokogiri/ffi/html/sax/parser_context.rb +38 -0
- data/lib/nokogiri/ffi/io_callbacks.rb +42 -0
- data/lib/nokogiri/ffi/libxml.rb +420 -0
- data/lib/nokogiri/ffi/structs/common_node.rb +38 -0
- data/lib/nokogiri/ffi/structs/html_elem_desc.rb +24 -0
- data/lib/nokogiri/ffi/structs/html_entity_desc.rb +13 -0
- data/lib/nokogiri/ffi/structs/xml_alloc.rb +16 -0
- data/lib/nokogiri/ffi/structs/xml_attr.rb +20 -0
- data/lib/nokogiri/ffi/structs/xml_attribute.rb +27 -0
- data/lib/nokogiri/ffi/structs/xml_buffer.rb +16 -0
- data/lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb +11 -0
- data/lib/nokogiri/ffi/structs/xml_document.rb +117 -0
- data/lib/nokogiri/ffi/structs/xml_dtd.rb +28 -0
- data/lib/nokogiri/ffi/structs/xml_element.rb +26 -0
- data/lib/nokogiri/ffi/structs/xml_element_content.rb +17 -0
- data/lib/nokogiri/ffi/structs/xml_entity.rb +32 -0
- data/lib/nokogiri/ffi/structs/xml_enumeration.rb +12 -0
- data/lib/nokogiri/ffi/structs/xml_node.rb +28 -0
- data/lib/nokogiri/ffi/structs/xml_node_set.rb +53 -0
- data/lib/nokogiri/ffi/structs/xml_notation.rb +11 -0
- data/lib/nokogiri/ffi/structs/xml_ns.rb +15 -0
- data/lib/nokogiri/ffi/structs/xml_parser_context.rb +20 -0
- data/lib/nokogiri/ffi/structs/xml_parser_input.rb +19 -0
- data/lib/nokogiri/ffi/structs/xml_relax_ng.rb +14 -0
- data/lib/nokogiri/ffi/structs/xml_sax_handler.rb +51 -0
- data/lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb +124 -0
- data/lib/nokogiri/ffi/structs/xml_schema.rb +13 -0
- data/lib/nokogiri/ffi/structs/xml_syntax_error.rb +31 -0
- data/lib/nokogiri/ffi/structs/xml_text_reader.rb +12 -0
- data/lib/nokogiri/ffi/structs/xml_xpath_context.rb +38 -0
- data/lib/nokogiri/ffi/structs/xml_xpath_object.rb +35 -0
- data/lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb +20 -0
- data/lib/nokogiri/ffi/structs/xslt_stylesheet.rb +13 -0
- data/lib/nokogiri/ffi/weak_bucket.rb +40 -0
- data/lib/nokogiri/ffi/xml/attr.rb +41 -0
- data/lib/nokogiri/ffi/xml/attribute_decl.rb +27 -0
- data/lib/nokogiri/ffi/xml/cdata.rb +19 -0
- data/lib/nokogiri/ffi/xml/comment.rb +18 -0
- data/lib/nokogiri/ffi/xml/document.rb +174 -0
- data/lib/nokogiri/ffi/xml/document_fragment.rb +21 -0
- data/lib/nokogiri/ffi/xml/dtd.rb +67 -0
- data/lib/nokogiri/ffi/xml/element_content.rb +43 -0
- data/lib/nokogiri/ffi/xml/element_decl.rb +19 -0
- data/lib/nokogiri/ffi/xml/entity_decl.rb +36 -0
- data/lib/nokogiri/ffi/xml/entity_reference.rb +19 -0
- data/lib/nokogiri/ffi/xml/namespace.rb +44 -0
- data/lib/nokogiri/ffi/xml/node.rb +559 -0
- data/lib/nokogiri/ffi/xml/node_set.rb +150 -0
- data/lib/nokogiri/ffi/xml/processing_instruction.rb +20 -0
- data/lib/nokogiri/ffi/xml/reader.rb +236 -0
- data/lib/nokogiri/ffi/xml/relax_ng.rb +85 -0
- data/lib/nokogiri/ffi/xml/sax/parser.rb +143 -0
- data/lib/nokogiri/ffi/xml/sax/parser_context.rb +79 -0
- data/lib/nokogiri/ffi/xml/sax/push_parser.rb +51 -0
- data/lib/nokogiri/ffi/xml/schema.rb +109 -0
- data/lib/nokogiri/ffi/xml/syntax_error.rb +98 -0
- data/lib/nokogiri/ffi/xml/text.rb +18 -0
- data/lib/nokogiri/ffi/xml/xpath.rb +9 -0
- data/lib/nokogiri/ffi/xml/xpath_context.rb +153 -0
- data/lib/nokogiri/ffi/xslt/stylesheet.rb +77 -0
- data/lib/nokogiri/html.rb +13 -47
- data/lib/nokogiri/html/builder.rb +27 -1
- data/lib/nokogiri/html/document.rb +201 -7
- data/lib/nokogiri/html/document_fragment.rb +41 -0
- data/lib/nokogiri/html/element_description.rb +23 -0
- data/lib/nokogiri/html/entity_lookup.rb +2 -0
- data/lib/nokogiri/html/sax/parser.rb +34 -3
- data/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/lib/nokogiri/nokogiri.rb +1 -0
- data/lib/nokogiri/version.rb +40 -1
- data/lib/nokogiri/version_warning.rb +14 -0
- data/lib/nokogiri/xml.rb +32 -53
- data/lib/nokogiri/xml/attr.rb +5 -0
- data/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/lib/nokogiri/xml/builder.rb +349 -29
- data/lib/nokogiri/xml/cdata.rb +3 -1
- data/lib/nokogiri/xml/character_data.rb +7 -0
- data/lib/nokogiri/xml/document.rb +166 -14
- data/lib/nokogiri/xml/document_fragment.rb +76 -1
- data/lib/nokogiri/xml/dtd.rb +16 -3
- 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 +561 -166
- data/lib/nokogiri/xml/node/save_options.rb +22 -2
- data/lib/nokogiri/xml/node_set.rb +202 -40
- 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 +2 -0
- data/lib/nokogiri/xml/reader.rb +93 -8
- data/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/lib/nokogiri/xml/sax.rb +1 -7
- data/lib/nokogiri/xml/sax/document.rb +107 -2
- data/lib/nokogiri/xml/sax/parser.rb +57 -7
- data/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/lib/nokogiri/xml/sax/push_parser.rb +13 -1
- data/lib/nokogiri/xml/schema.rb +63 -0
- data/lib/nokogiri/xml/syntax_error.rb +25 -1
- data/lib/nokogiri/xml/text.rb +4 -1
- data/lib/nokogiri/xml/xpath.rb +1 -1
- data/lib/nokogiri/xml/xpath/syntax_error.rb +3 -0
- data/lib/nokogiri/xml/xpath_context.rb +2 -0
- data/lib/nokogiri/xslt.rb +26 -2
- data/lib/nokogiri/xslt/stylesheet.rb +19 -0
- data/lib/xsd/xmlparser/nokogiri.rb +45 -9
- data/tasks/cross_compile.rb +173 -0
- data/tasks/test.rb +25 -69
- data/test/css/test_nthiness.rb +3 -4
- data/test/css/test_parser.rb +75 -20
- data/test/css/test_tokenizer.rb +23 -1
- data/test/css/test_xpath_visitor.rb +10 -1
- data/test/decorators/test_slop.rb +16 -0
- data/test/ffi/test_document.rb +35 -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/encoding.html +82 -0
- data/test/files/encoding.xhtml +84 -0
- data/test/files/foo/foo.xsd +4 -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/valid_bar.xml +2 -0
- data/test/helper.rb +101 -23
- data/test/html/sax/test_parser.rb +81 -2
- data/test/html/sax/test_parser_context.rb +48 -0
- data/test/html/test_builder.rb +39 -8
- data/test/html/test_document.rb +186 -23
- data/test/html/test_document_encoding.rb +78 -1
- data/test/html/test_document_fragment.rb +253 -0
- data/test/html/test_element_description.rb +98 -0
- data/test/html/test_named_characters.rb +1 -1
- data/test/html/test_node.rb +124 -36
- data/test/html/test_node_encoding.rb +27 -0
- data/test/test_convert_xpath.rb +1 -52
- data/test/test_css_cache.rb +2 -13
- data/test/test_encoding_handler.rb +46 -0
- data/test/test_memory_leak.rb +88 -19
- data/test/test_nokogiri.rb +38 -5
- data/test/test_reader.rb +188 -6
- data/test/test_soap4r_sax.rb +52 -0
- data/test/test_xslt_transforms.rb +183 -83
- data/test/xml/node/test_save_options.rb +1 -1
- data/test/xml/node/test_subclass.rb +44 -0
- data/test/xml/sax/test_parser.rb +175 -4
- data/test/xml/sax/test_parser_context.rb +113 -0
- data/test/xml/sax/test_push_parser.rb +90 -2
- data/test/xml/test_attr.rb +35 -1
- data/test/xml/test_attribute_decl.rb +82 -0
- data/test/xml/test_builder.rb +186 -1
- data/test/xml/test_cdata.rb +32 -1
- data/test/xml/test_comment.rb +13 -1
- data/test/xml/test_document.rb +415 -43
- data/test/xml/test_document_encoding.rb +1 -1
- data/test/xml/test_document_fragment.rb +173 -5
- data/test/xml/test_dtd.rb +61 -6
- data/test/xml/test_dtd_encoding.rb +3 -1
- 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 +120 -0
- data/test/xml/test_entity_reference.rb +5 -1
- data/test/xml/test_namespace.rb +68 -0
- data/test/xml/test_node.rb +546 -201
- data/test/xml/test_node_attributes.rb +34 -0
- data/test/xml/test_node_encoding.rb +33 -3
- data/test/xml/test_node_reparenting.rb +321 -0
- data/test/xml/test_node_set.rb +538 -2
- data/test/xml/test_parse_options.rb +52 -0
- data/test/xml/test_processing_instruction.rb +6 -1
- data/test/xml/test_reader_encoding.rb +1 -1
- 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 +35 -1
- data/test/xml/test_unparented_node.rb +5 -5
- data/test/xml/test_xpath.rb +142 -11
- data/test/xslt/test_custom_functions.rb +94 -0
- metadata +328 -92
- data/ext/nokogiri/html_sax_parser.c +0 -57
- data/ext/nokogiri/html_sax_parser.h +0 -11
- data/ext/nokogiri/iconv.dll +0 -0
- data/ext/nokogiri/libexslt.dll +0 -0
- data/ext/nokogiri/libxml2.dll +0 -0
- data/ext/nokogiri/libxslt.dll +0 -0
- data/ext/nokogiri/native.so +0 -0
- data/ext/nokogiri/xml_xpath.c +0 -53
- data/ext/nokogiri/xml_xpath.h +0 -11
- data/ext/nokogiri/zlib1.dll +0 -0
- data/lib/action-nokogiri.rb +0 -30
- data/lib/nokogiri/css/generated_parser.rb +0 -713
- data/lib/nokogiri/css/generated_tokenizer.rb +0 -144
- data/lib/nokogiri/decorators.rb +0 -2
- data/lib/nokogiri/decorators/hpricot.rb +0 -3
- data/lib/nokogiri/decorators/hpricot/node.rb +0 -56
- data/lib/nokogiri/decorators/hpricot/node_set.rb +0 -54
- data/lib/nokogiri/decorators/hpricot/xpath_visitor.rb +0 -28
- data/lib/nokogiri/hpricot.rb +0 -51
- data/lib/nokogiri/xml/comment.rb +0 -6
- data/lib/nokogiri/xml/element.rb +0 -6
- data/lib/nokogiri/xml/entity_declaration.rb +0 -9
- data/lib/nokogiri/xml/fragment_handler.rb +0 -34
- data/test/hpricot/files/basic.xhtml +0 -17
- data/test/hpricot/files/boingboing.html +0 -2266
- data/test/hpricot/files/cy0.html +0 -3653
- data/test/hpricot/files/immob.html +0 -400
- data/test/hpricot/files/pace_application.html +0 -1320
- data/test/hpricot/files/tenderlove.html +0 -16
- data/test/hpricot/files/uswebgen.html +0 -220
- data/test/hpricot/files/utf8.html +0 -1054
- data/test/hpricot/files/week9.html +0 -1723
- data/test/hpricot/files/why.xml +0 -19
- data/test/hpricot/load_files.rb +0 -11
- data/test/hpricot/test_alter.rb +0 -68
- data/test/hpricot/test_builder.rb +0 -20
- data/test/hpricot/test_parser.rb +0 -426
- data/test/hpricot/test_paths.rb +0 -15
- data/test/hpricot/test_preserved.rb +0 -77
- data/test/hpricot/test_xml.rb +0 -30
- data/test/test_gc.rb +0 -15
@@ -0,0 +1,94 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
require "helper"
|
4
|
+
|
5
|
+
module Nokogiri
|
6
|
+
module XSLT
|
7
|
+
class TestCustomFunctions < Nokogiri::TestCase
|
8
|
+
def setup
|
9
|
+
super
|
10
|
+
@xml = Nokogiri.XML(<<-EOXML)
|
11
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
12
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
|
13
|
+
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
|
14
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
15
|
+
<head>
|
16
|
+
<meta http-equiv="Content-type" content="application/xhtml+xml"/>
|
17
|
+
<title>Foo</title>
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<h1>Foo</h1>
|
21
|
+
<p>Lorem ipsum.</p>
|
22
|
+
</body>
|
23
|
+
</html>
|
24
|
+
EOXML
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_function
|
28
|
+
skip("xslt custom functions not implemented under FFI") if Nokogiri.ffi?
|
29
|
+
foo = Class.new do
|
30
|
+
def capitalize nodes
|
31
|
+
nodes.first.content.upcase
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
XSLT.register "http://e.org/functions", foo
|
36
|
+
|
37
|
+
xsl = Nokogiri.XSLT(<<-EOXSL)
|
38
|
+
<?xml version="1.0"?>
|
39
|
+
<xsl:stylesheet version="1.0"
|
40
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
41
|
+
xmlns:f="http://e.org/functions"
|
42
|
+
extension-element-prefixes="f">
|
43
|
+
|
44
|
+
<xsl:template match="text()">
|
45
|
+
<xsl:copy-of select="f:capitalize(.)"/>
|
46
|
+
</xsl:template>
|
47
|
+
|
48
|
+
<xsl:template match="@*|node()">
|
49
|
+
<xsl:copy>
|
50
|
+
<xsl:apply-templates select="@*|node()"/>
|
51
|
+
<xsl:apply-imports/>
|
52
|
+
</xsl:copy>
|
53
|
+
</xsl:template>
|
54
|
+
|
55
|
+
</xsl:stylesheet>
|
56
|
+
EOXSL
|
57
|
+
result = xsl.transform @xml
|
58
|
+
assert_equal 'FOO', result.css('title').first.text
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_function_XSLT
|
62
|
+
skip("xslt custom functions not implemented under FFI") if Nokogiri.ffi?
|
63
|
+
foo = Class.new do
|
64
|
+
def america nodes
|
65
|
+
nodes.first.content.upcase
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
xsl = Nokogiri.XSLT(<<-EOXSL, "http://e.org/functions" => foo)
|
70
|
+
<?xml version="1.0"?>
|
71
|
+
<xsl:stylesheet version="1.0"
|
72
|
+
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
73
|
+
xmlns:f="http://e.org/functions"
|
74
|
+
extension-element-prefixes="f">
|
75
|
+
|
76
|
+
<xsl:template match="text()">
|
77
|
+
<xsl:copy-of select="f:america(.)"/>
|
78
|
+
</xsl:template>
|
79
|
+
|
80
|
+
<xsl:template match="@*|node()">
|
81
|
+
<xsl:copy>
|
82
|
+
<xsl:apply-templates select="@*|node()"/>
|
83
|
+
<xsl:apply-imports/>
|
84
|
+
</xsl:copy>
|
85
|
+
</xsl:template>
|
86
|
+
|
87
|
+
</xsl:stylesheet>
|
88
|
+
EOXSL
|
89
|
+
result = xsl.transform @xml
|
90
|
+
assert_equal 'FOO', result.css('title').first.text
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 4
|
9
|
+
- 5
|
10
|
+
version: 1.4.5
|
5
11
|
platform: x86-mswin32-60
|
6
12
|
authors:
|
7
13
|
- Aaron Patterson
|
@@ -10,52 +16,159 @@ autorequire:
|
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
18
|
|
13
|
-
date:
|
19
|
+
date: 2011-06-16 00:00:00 -04:00
|
14
20
|
default_executable:
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
23
|
+
name: racc
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
34
|
+
type: :development
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rexical
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
type: :development
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rake-compiler
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
type: :development
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: minitest
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 15
|
73
|
+
segments:
|
74
|
+
- 1
|
75
|
+
- 6
|
76
|
+
- 0
|
77
|
+
version: 1.6.0
|
18
78
|
type: :development
|
19
|
-
|
20
|
-
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: hoe
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
21
85
|
requirements:
|
22
86
|
- - ">="
|
23
87
|
- !ruby/object:Gem::Version
|
24
|
-
|
25
|
-
|
26
|
-
|
88
|
+
hash: 35
|
89
|
+
segments:
|
90
|
+
- 2
|
91
|
+
- 9
|
92
|
+
- 4
|
93
|
+
version: 2.9.4
|
94
|
+
type: :development
|
95
|
+
version_requirements: *id005
|
96
|
+
description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's\n\
|
97
|
+
many features is the ability to search documents via XPath or CSS3 selectors.\n\n\
|
98
|
+
XML is like violence - if it doesn\xE2\x80\x99t solve your problems, you are not using\n\
|
99
|
+
enough of it."
|
27
100
|
email:
|
28
101
|
- aaronp@rubyforge.org
|
29
102
|
- mike.dalessio@gmail.com
|
30
|
-
executables:
|
31
|
-
|
103
|
+
executables:
|
104
|
+
- nokogiri
|
32
105
|
extensions: []
|
33
106
|
|
34
107
|
extra_rdoc_files:
|
35
108
|
- Manifest.txt
|
36
|
-
- CHANGELOG.ja.rdoc
|
37
|
-
- CHANGELOG.rdoc
|
38
109
|
- README.ja.rdoc
|
110
|
+
- CHANGELOG.rdoc
|
111
|
+
- CHANGELOG.ja.rdoc
|
39
112
|
- README.rdoc
|
113
|
+
- ext/nokogiri/xml_sax_push_parser.c
|
114
|
+
- ext/nokogiri/xml_relax_ng.c
|
115
|
+
- ext/nokogiri/html_sax_parser_context.c
|
116
|
+
- ext/nokogiri/html_entity_lookup.c
|
117
|
+
- ext/nokogiri/xml_text.c
|
118
|
+
- ext/nokogiri/nokogiri.c
|
119
|
+
- ext/nokogiri/xml_element_decl.c
|
120
|
+
- ext/nokogiri/xml_encoding_handler.c
|
121
|
+
- ext/nokogiri/html_document.c
|
122
|
+
- ext/nokogiri/xslt_stylesheet.c
|
123
|
+
- ext/nokogiri/xml_attribute_decl.c
|
124
|
+
- ext/nokogiri/xml_io.c
|
125
|
+
- ext/nokogiri/xml_document_fragment.c
|
126
|
+
- ext/nokogiri/xml_namespace.c
|
127
|
+
- ext/nokogiri/xml_libxml2_hacks.c
|
128
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
129
|
+
- ext/nokogiri/xml_comment.c
|
130
|
+
- ext/nokogiri/xml_sax_parser.c
|
131
|
+
- ext/nokogiri/html_element_description.c
|
132
|
+
- ext/nokogiri/xml_xpath_context.c
|
133
|
+
- ext/nokogiri/xml_syntax_error.c
|
134
|
+
- ext/nokogiri/xml_document.c
|
135
|
+
- ext/nokogiri/xml_entity_decl.c
|
136
|
+
- ext/nokogiri/xml_node.c
|
137
|
+
- ext/nokogiri/xml_node_set.c
|
138
|
+
- ext/nokogiri/xml_reader.c
|
139
|
+
- ext/nokogiri/xml_processing_instruction.c
|
140
|
+
- ext/nokogiri/xml_element_content.c
|
141
|
+
- ext/nokogiri/xml_dtd.c
|
142
|
+
- ext/nokogiri/xml_attr.c
|
143
|
+
- ext/nokogiri/xml_schema.c
|
144
|
+
- ext/nokogiri/xml_cdata.c
|
145
|
+
- ext/nokogiri/xml_entity_reference.c
|
40
146
|
files:
|
41
147
|
- .autotest
|
148
|
+
- .gemtest
|
42
149
|
- CHANGELOG.ja.rdoc
|
43
150
|
- CHANGELOG.rdoc
|
44
151
|
- Manifest.txt
|
45
152
|
- README.ja.rdoc
|
46
153
|
- README.rdoc
|
47
154
|
- Rakefile
|
155
|
+
- bin/nokogiri
|
156
|
+
- ext/nokogiri/depend
|
48
157
|
- ext/nokogiri/extconf.rb
|
49
158
|
- ext/nokogiri/html_document.c
|
50
159
|
- ext/nokogiri/html_document.h
|
160
|
+
- ext/nokogiri/html_element_description.c
|
161
|
+
- ext/nokogiri/html_element_description.h
|
51
162
|
- ext/nokogiri/html_entity_lookup.c
|
52
163
|
- ext/nokogiri/html_entity_lookup.h
|
53
|
-
- ext/nokogiri/
|
54
|
-
- ext/nokogiri/
|
55
|
-
- ext/nokogiri/
|
56
|
-
- ext/nokogiri/
|
164
|
+
- ext/nokogiri/html_sax_parser_context.c
|
165
|
+
- ext/nokogiri/html_sax_parser_context.h
|
166
|
+
- ext/nokogiri/nokogiri.c
|
167
|
+
- ext/nokogiri/nokogiri.h
|
57
168
|
- ext/nokogiri/xml_attr.c
|
58
169
|
- ext/nokogiri/xml_attr.h
|
170
|
+
- ext/nokogiri/xml_attribute_decl.c
|
171
|
+
- ext/nokogiri/xml_attribute_decl.h
|
59
172
|
- ext/nokogiri/xml_cdata.c
|
60
173
|
- ext/nokogiri/xml_cdata.h
|
61
174
|
- ext/nokogiri/xml_comment.c
|
@@ -66,10 +179,22 @@ files:
|
|
66
179
|
- ext/nokogiri/xml_document_fragment.h
|
67
180
|
- ext/nokogiri/xml_dtd.c
|
68
181
|
- ext/nokogiri/xml_dtd.h
|
182
|
+
- ext/nokogiri/xml_element_content.c
|
183
|
+
- ext/nokogiri/xml_element_content.h
|
184
|
+
- ext/nokogiri/xml_element_decl.c
|
185
|
+
- ext/nokogiri/xml_element_decl.h
|
186
|
+
- ext/nokogiri/xml_encoding_handler.c
|
187
|
+
- ext/nokogiri/xml_encoding_handler.h
|
188
|
+
- ext/nokogiri/xml_entity_decl.c
|
189
|
+
- ext/nokogiri/xml_entity_decl.h
|
69
190
|
- ext/nokogiri/xml_entity_reference.c
|
70
191
|
- ext/nokogiri/xml_entity_reference.h
|
71
192
|
- ext/nokogiri/xml_io.c
|
72
193
|
- ext/nokogiri/xml_io.h
|
194
|
+
- ext/nokogiri/xml_libxml2_hacks.c
|
195
|
+
- ext/nokogiri/xml_libxml2_hacks.h
|
196
|
+
- ext/nokogiri/xml_namespace.c
|
197
|
+
- ext/nokogiri/xml_namespace.h
|
73
198
|
- ext/nokogiri/xml_node.c
|
74
199
|
- ext/nokogiri/xml_node.h
|
75
200
|
- ext/nokogiri/xml_node_set.c
|
@@ -78,67 +203,140 @@ files:
|
|
78
203
|
- ext/nokogiri/xml_processing_instruction.h
|
79
204
|
- ext/nokogiri/xml_reader.c
|
80
205
|
- ext/nokogiri/xml_reader.h
|
206
|
+
- ext/nokogiri/xml_relax_ng.c
|
207
|
+
- ext/nokogiri/xml_relax_ng.h
|
81
208
|
- ext/nokogiri/xml_sax_parser.c
|
82
209
|
- ext/nokogiri/xml_sax_parser.h
|
210
|
+
- ext/nokogiri/xml_sax_parser_context.c
|
211
|
+
- ext/nokogiri/xml_sax_parser_context.h
|
83
212
|
- ext/nokogiri/xml_sax_push_parser.c
|
84
213
|
- ext/nokogiri/xml_sax_push_parser.h
|
214
|
+
- ext/nokogiri/xml_schema.c
|
215
|
+
- ext/nokogiri/xml_schema.h
|
85
216
|
- ext/nokogiri/xml_syntax_error.c
|
86
217
|
- ext/nokogiri/xml_syntax_error.h
|
87
218
|
- ext/nokogiri/xml_text.c
|
88
219
|
- ext/nokogiri/xml_text.h
|
89
|
-
- ext/nokogiri/xml_xpath.c
|
90
|
-
- ext/nokogiri/xml_xpath.h
|
91
220
|
- ext/nokogiri/xml_xpath_context.c
|
92
221
|
- ext/nokogiri/xml_xpath_context.h
|
93
222
|
- ext/nokogiri/xslt_stylesheet.c
|
94
223
|
- ext/nokogiri/xslt_stylesheet.h
|
95
|
-
- lib/action-nokogiri.rb
|
96
224
|
- lib/nokogiri.rb
|
97
225
|
- lib/nokogiri/css.rb
|
98
|
-
- lib/nokogiri/css/generated_parser.rb
|
99
|
-
- lib/nokogiri/css/generated_tokenizer.rb
|
100
226
|
- lib/nokogiri/css/node.rb
|
101
227
|
- lib/nokogiri/css/parser.rb
|
102
228
|
- lib/nokogiri/css/parser.y
|
229
|
+
- lib/nokogiri/css/parser_extras.rb
|
103
230
|
- lib/nokogiri/css/syntax_error.rb
|
104
231
|
- lib/nokogiri/css/tokenizer.rb
|
105
232
|
- lib/nokogiri/css/tokenizer.rex
|
106
233
|
- lib/nokogiri/css/xpath_visitor.rb
|
107
|
-
- lib/nokogiri/decorators.rb
|
108
|
-
- lib/nokogiri/decorators/hpricot.rb
|
109
|
-
- lib/nokogiri/decorators/hpricot/node.rb
|
110
|
-
- lib/nokogiri/decorators/hpricot/node_set.rb
|
111
|
-
- lib/nokogiri/decorators/hpricot/xpath_visitor.rb
|
112
234
|
- lib/nokogiri/decorators/slop.rb
|
113
|
-
- lib/nokogiri/
|
235
|
+
- lib/nokogiri/ffi/encoding_handler.rb
|
236
|
+
- lib/nokogiri/ffi/html/document.rb
|
237
|
+
- lib/nokogiri/ffi/html/element_description.rb
|
238
|
+
- lib/nokogiri/ffi/html/entity_lookup.rb
|
239
|
+
- lib/nokogiri/ffi/html/sax/parser_context.rb
|
240
|
+
- lib/nokogiri/ffi/io_callbacks.rb
|
241
|
+
- lib/nokogiri/ffi/libxml.rb
|
242
|
+
- lib/nokogiri/ffi/structs/common_node.rb
|
243
|
+
- lib/nokogiri/ffi/structs/html_elem_desc.rb
|
244
|
+
- lib/nokogiri/ffi/structs/html_entity_desc.rb
|
245
|
+
- lib/nokogiri/ffi/structs/xml_alloc.rb
|
246
|
+
- lib/nokogiri/ffi/structs/xml_attr.rb
|
247
|
+
- lib/nokogiri/ffi/structs/xml_attribute.rb
|
248
|
+
- lib/nokogiri/ffi/structs/xml_buffer.rb
|
249
|
+
- lib/nokogiri/ffi/structs/xml_char_encoding_handler.rb
|
250
|
+
- lib/nokogiri/ffi/structs/xml_document.rb
|
251
|
+
- lib/nokogiri/ffi/structs/xml_dtd.rb
|
252
|
+
- lib/nokogiri/ffi/structs/xml_element.rb
|
253
|
+
- lib/nokogiri/ffi/structs/xml_element_content.rb
|
254
|
+
- lib/nokogiri/ffi/structs/xml_entity.rb
|
255
|
+
- lib/nokogiri/ffi/structs/xml_enumeration.rb
|
256
|
+
- lib/nokogiri/ffi/structs/xml_node.rb
|
257
|
+
- lib/nokogiri/ffi/structs/xml_node_set.rb
|
258
|
+
- lib/nokogiri/ffi/structs/xml_notation.rb
|
259
|
+
- lib/nokogiri/ffi/structs/xml_ns.rb
|
260
|
+
- lib/nokogiri/ffi/structs/xml_parser_context.rb
|
261
|
+
- lib/nokogiri/ffi/structs/xml_parser_input.rb
|
262
|
+
- lib/nokogiri/ffi/structs/xml_relax_ng.rb
|
263
|
+
- lib/nokogiri/ffi/structs/xml_sax_handler.rb
|
264
|
+
- lib/nokogiri/ffi/structs/xml_sax_push_parser_context.rb
|
265
|
+
- lib/nokogiri/ffi/structs/xml_schema.rb
|
266
|
+
- lib/nokogiri/ffi/structs/xml_syntax_error.rb
|
267
|
+
- lib/nokogiri/ffi/structs/xml_text_reader.rb
|
268
|
+
- lib/nokogiri/ffi/structs/xml_xpath_context.rb
|
269
|
+
- lib/nokogiri/ffi/structs/xml_xpath_object.rb
|
270
|
+
- lib/nokogiri/ffi/structs/xml_xpath_parser_context.rb
|
271
|
+
- lib/nokogiri/ffi/structs/xslt_stylesheet.rb
|
272
|
+
- lib/nokogiri/ffi/weak_bucket.rb
|
273
|
+
- lib/nokogiri/ffi/xml/attr.rb
|
274
|
+
- lib/nokogiri/ffi/xml/attribute_decl.rb
|
275
|
+
- lib/nokogiri/ffi/xml/cdata.rb
|
276
|
+
- lib/nokogiri/ffi/xml/comment.rb
|
277
|
+
- lib/nokogiri/ffi/xml/document.rb
|
278
|
+
- lib/nokogiri/ffi/xml/document_fragment.rb
|
279
|
+
- lib/nokogiri/ffi/xml/dtd.rb
|
280
|
+
- lib/nokogiri/ffi/xml/element_content.rb
|
281
|
+
- lib/nokogiri/ffi/xml/element_decl.rb
|
282
|
+
- lib/nokogiri/ffi/xml/entity_decl.rb
|
283
|
+
- lib/nokogiri/ffi/xml/entity_reference.rb
|
284
|
+
- lib/nokogiri/ffi/xml/namespace.rb
|
285
|
+
- lib/nokogiri/ffi/xml/node.rb
|
286
|
+
- lib/nokogiri/ffi/xml/node_set.rb
|
287
|
+
- lib/nokogiri/ffi/xml/processing_instruction.rb
|
288
|
+
- lib/nokogiri/ffi/xml/reader.rb
|
289
|
+
- lib/nokogiri/ffi/xml/relax_ng.rb
|
290
|
+
- lib/nokogiri/ffi/xml/sax/parser.rb
|
291
|
+
- lib/nokogiri/ffi/xml/sax/parser_context.rb
|
292
|
+
- lib/nokogiri/ffi/xml/sax/push_parser.rb
|
293
|
+
- lib/nokogiri/ffi/xml/schema.rb
|
294
|
+
- lib/nokogiri/ffi/xml/syntax_error.rb
|
295
|
+
- lib/nokogiri/ffi/xml/text.rb
|
296
|
+
- lib/nokogiri/ffi/xml/xpath.rb
|
297
|
+
- lib/nokogiri/ffi/xml/xpath_context.rb
|
298
|
+
- lib/nokogiri/ffi/xslt/stylesheet.rb
|
114
299
|
- lib/nokogiri/html.rb
|
115
300
|
- lib/nokogiri/html/builder.rb
|
116
301
|
- lib/nokogiri/html/document.rb
|
302
|
+
- lib/nokogiri/html/document_fragment.rb
|
303
|
+
- lib/nokogiri/html/element_description.rb
|
117
304
|
- lib/nokogiri/html/entity_lookup.rb
|
118
305
|
- lib/nokogiri/html/sax/parser.rb
|
306
|
+
- lib/nokogiri/html/sax/parser_context.rb
|
119
307
|
- lib/nokogiri/syntax_error.rb
|
120
308
|
- lib/nokogiri/version.rb
|
309
|
+
- lib/nokogiri/version_warning.rb
|
121
310
|
- lib/nokogiri/xml.rb
|
122
311
|
- lib/nokogiri/xml/attr.rb
|
312
|
+
- lib/nokogiri/xml/attribute_decl.rb
|
123
313
|
- lib/nokogiri/xml/builder.rb
|
124
314
|
- lib/nokogiri/xml/cdata.rb
|
125
|
-
- lib/nokogiri/xml/
|
315
|
+
- lib/nokogiri/xml/character_data.rb
|
126
316
|
- lib/nokogiri/xml/document.rb
|
127
317
|
- lib/nokogiri/xml/document_fragment.rb
|
128
318
|
- lib/nokogiri/xml/dtd.rb
|
129
|
-
- lib/nokogiri/xml/
|
130
|
-
- lib/nokogiri/xml/
|
131
|
-
- lib/nokogiri/xml/
|
319
|
+
- lib/nokogiri/xml/element_content.rb
|
320
|
+
- lib/nokogiri/xml/element_decl.rb
|
321
|
+
- lib/nokogiri/xml/entity_decl.rb
|
322
|
+
- lib/nokogiri/xml/namespace.rb
|
132
323
|
- lib/nokogiri/xml/node.rb
|
133
324
|
- lib/nokogiri/xml/node/save_options.rb
|
134
325
|
- lib/nokogiri/xml/node_set.rb
|
135
326
|
- lib/nokogiri/xml/notation.rb
|
327
|
+
- lib/nokogiri/xml/parse_options.rb
|
328
|
+
- lib/nokogiri/xml/pp.rb
|
329
|
+
- lib/nokogiri/xml/pp/character_data.rb
|
330
|
+
- lib/nokogiri/xml/pp/node.rb
|
136
331
|
- lib/nokogiri/xml/processing_instruction.rb
|
137
332
|
- lib/nokogiri/xml/reader.rb
|
333
|
+
- lib/nokogiri/xml/relax_ng.rb
|
138
334
|
- lib/nokogiri/xml/sax.rb
|
139
335
|
- lib/nokogiri/xml/sax/document.rb
|
140
336
|
- lib/nokogiri/xml/sax/parser.rb
|
337
|
+
- lib/nokogiri/xml/sax/parser_context.rb
|
141
338
|
- lib/nokogiri/xml/sax/push_parser.rb
|
339
|
+
- lib/nokogiri/xml/schema.rb
|
142
340
|
- lib/nokogiri/xml/syntax_error.rb
|
143
341
|
- lib/nokogiri/xml/text.rb
|
144
342
|
- lib/nokogiri/xml/xpath.rb
|
@@ -147,52 +345,60 @@ files:
|
|
147
345
|
- lib/nokogiri/xslt.rb
|
148
346
|
- lib/nokogiri/xslt/stylesheet.rb
|
149
347
|
- lib/xsd/xmlparser/nokogiri.rb
|
348
|
+
- tasks/cross_compile.rb
|
150
349
|
- tasks/test.rb
|
151
350
|
- test/css/test_nthiness.rb
|
152
351
|
- test/css/test_parser.rb
|
153
352
|
- test/css/test_tokenizer.rb
|
154
353
|
- test/css/test_xpath_visitor.rb
|
354
|
+
- test/decorators/test_slop.rb
|
355
|
+
- test/ffi/test_document.rb
|
356
|
+
- test/files/2ch.html
|
357
|
+
- test/files/address_book.rlx
|
358
|
+
- test/files/address_book.xml
|
359
|
+
- test/files/bar/bar.xsd
|
155
360
|
- test/files/dont_hurt_em_why.xml
|
361
|
+
- test/files/encoding.html
|
362
|
+
- test/files/encoding.xhtml
|
156
363
|
- test/files/exslt.xml
|
157
364
|
- test/files/exslt.xslt
|
365
|
+
- test/files/foo/foo.xsd
|
366
|
+
- test/files/po.xml
|
367
|
+
- test/files/po.xsd
|
368
|
+
- test/files/shift_jis.html
|
369
|
+
- test/files/shift_jis.xml
|
370
|
+
- test/files/snuggles.xml
|
371
|
+
- test/files/staff.dtd
|
158
372
|
- test/files/staff.xml
|
159
373
|
- test/files/staff.xslt
|
160
374
|
- test/files/tlm.html
|
375
|
+
- test/files/valid_bar.xml
|
161
376
|
- test/helper.rb
|
162
|
-
- test/hpricot/files/basic.xhtml
|
163
|
-
- test/hpricot/files/boingboing.html
|
164
|
-
- test/hpricot/files/cy0.html
|
165
|
-
- test/hpricot/files/immob.html
|
166
|
-
- test/hpricot/files/pace_application.html
|
167
|
-
- test/hpricot/files/tenderlove.html
|
168
|
-
- test/hpricot/files/uswebgen.html
|
169
|
-
- test/hpricot/files/utf8.html
|
170
|
-
- test/hpricot/files/week9.html
|
171
|
-
- test/hpricot/files/why.xml
|
172
|
-
- test/hpricot/load_files.rb
|
173
|
-
- test/hpricot/test_alter.rb
|
174
|
-
- test/hpricot/test_builder.rb
|
175
|
-
- test/hpricot/test_parser.rb
|
176
|
-
- test/hpricot/test_paths.rb
|
177
|
-
- test/hpricot/test_preserved.rb
|
178
|
-
- test/hpricot/test_xml.rb
|
179
377
|
- test/html/sax/test_parser.rb
|
378
|
+
- test/html/sax/test_parser_context.rb
|
180
379
|
- test/html/test_builder.rb
|
181
380
|
- test/html/test_document.rb
|
182
381
|
- test/html/test_document_encoding.rb
|
382
|
+
- test/html/test_document_fragment.rb
|
383
|
+
- test/html/test_element_description.rb
|
183
384
|
- test/html/test_named_characters.rb
|
184
385
|
- test/html/test_node.rb
|
386
|
+
- test/html/test_node_encoding.rb
|
185
387
|
- test/test_convert_xpath.rb
|
186
388
|
- test/test_css_cache.rb
|
187
|
-
- test/
|
389
|
+
- test/test_encoding_handler.rb
|
188
390
|
- test/test_memory_leak.rb
|
189
391
|
- test/test_nokogiri.rb
|
190
392
|
- test/test_reader.rb
|
393
|
+
- test/test_soap4r_sax.rb
|
191
394
|
- test/test_xslt_transforms.rb
|
192
395
|
- test/xml/node/test_save_options.rb
|
396
|
+
- test/xml/node/test_subclass.rb
|
193
397
|
- test/xml/sax/test_parser.rb
|
398
|
+
- test/xml/sax/test_parser_context.rb
|
194
399
|
- test/xml/sax/test_push_parser.rb
|
195
400
|
- test/xml/test_attr.rb
|
401
|
+
- test/xml/test_attribute_decl.rb
|
196
402
|
- test/xml/test_builder.rb
|
197
403
|
- test/xml/test_cdata.rb
|
198
404
|
- test/xml/test_comment.rb
|
@@ -201,91 +407,121 @@ files:
|
|
201
407
|
- test/xml/test_document_fragment.rb
|
202
408
|
- test/xml/test_dtd.rb
|
203
409
|
- test/xml/test_dtd_encoding.rb
|
410
|
+
- test/xml/test_element_content.rb
|
411
|
+
- test/xml/test_element_decl.rb
|
412
|
+
- test/xml/test_entity_decl.rb
|
204
413
|
- test/xml/test_entity_reference.rb
|
414
|
+
- test/xml/test_namespace.rb
|
205
415
|
- test/xml/test_node.rb
|
416
|
+
- test/xml/test_node_attributes.rb
|
206
417
|
- test/xml/test_node_encoding.rb
|
418
|
+
- test/xml/test_node_reparenting.rb
|
207
419
|
- test/xml/test_node_set.rb
|
420
|
+
- test/xml/test_parse_options.rb
|
208
421
|
- test/xml/test_processing_instruction.rb
|
209
422
|
- test/xml/test_reader_encoding.rb
|
423
|
+
- test/xml/test_relax_ng.rb
|
424
|
+
- test/xml/test_schema.rb
|
425
|
+
- test/xml/test_syntax_error.rb
|
210
426
|
- test/xml/test_text.rb
|
211
427
|
- test/xml/test_unparented_node.rb
|
212
428
|
- test/xml/test_xpath.rb
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
- ext/nokogiri/zlib1.dll
|
218
|
-
- ext/nokogiri/native.so
|
429
|
+
- test/xslt/test_custom_functions.rb
|
430
|
+
- lib/nokogiri/nokogiri.rb
|
431
|
+
- lib/nokogiri/1.8/nokogiri.so
|
432
|
+
- lib/nokogiri/1.9/nokogiri.so
|
219
433
|
has_rdoc: true
|
220
|
-
homepage: http://nokogiri.
|
434
|
+
homepage: http://nokogiri.org
|
435
|
+
licenses: []
|
436
|
+
|
221
437
|
post_install_message:
|
222
438
|
rdoc_options:
|
223
439
|
- --main
|
224
440
|
- README.rdoc
|
225
441
|
require_paths:
|
226
442
|
- lib
|
227
|
-
- ext
|
228
443
|
required_ruby_version: !ruby/object:Gem::Requirement
|
444
|
+
none: false
|
229
445
|
requirements:
|
230
446
|
- - ">="
|
231
447
|
- !ruby/object:Gem::Version
|
448
|
+
hash: 3
|
449
|
+
segments:
|
450
|
+
- 0
|
232
451
|
version: "0"
|
233
|
-
version:
|
234
452
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
453
|
+
none: false
|
235
454
|
requirements:
|
236
455
|
- - ">="
|
237
456
|
- !ruby/object:Gem::Version
|
457
|
+
hash: 3
|
458
|
+
segments:
|
459
|
+
- 0
|
238
460
|
version: "0"
|
239
|
-
version:
|
240
461
|
requirements: []
|
241
462
|
|
242
463
|
rubyforge_project: nokogiri
|
243
|
-
rubygems_version: 1.
|
464
|
+
rubygems_version: 1.6.0
|
244
465
|
signing_key:
|
245
|
-
specification_version:
|
246
|
-
summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser
|
466
|
+
specification_version: 3
|
467
|
+
summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser"
|
247
468
|
test_files:
|
469
|
+
- test/test_convert_xpath.rb
|
470
|
+
- test/test_soap4r_sax.rb
|
471
|
+
- test/test_memory_leak.rb
|
472
|
+
- test/test_nokogiri.rb
|
473
|
+
- test/test_css_cache.rb
|
248
474
|
- test/css/test_nthiness.rb
|
475
|
+
- test/css/test_xpath_visitor.rb
|
249
476
|
- test/css/test_parser.rb
|
250
477
|
- test/css/test_tokenizer.rb
|
251
|
-
- test/
|
252
|
-
- test/hpricot/test_alter.rb
|
253
|
-
- test/hpricot/test_builder.rb
|
254
|
-
- test/hpricot/test_parser.rb
|
255
|
-
- test/hpricot/test_paths.rb
|
256
|
-
- test/hpricot/test_preserved.rb
|
257
|
-
- test/hpricot/test_xml.rb
|
258
|
-
- test/html/sax/test_parser.rb
|
259
|
-
- test/html/test_builder.rb
|
478
|
+
- test/decorators/test_slop.rb
|
260
479
|
- test/html/test_document.rb
|
261
480
|
- test/html/test_document_encoding.rb
|
262
481
|
- test/html/test_named_characters.rb
|
482
|
+
- test/html/test_document_fragment.rb
|
263
483
|
- test/html/test_node.rb
|
264
|
-
- test/
|
265
|
-
- test/
|
266
|
-
- test/
|
267
|
-
- test/
|
268
|
-
- test/
|
484
|
+
- test/html/test_builder.rb
|
485
|
+
- test/html/sax/test_parser_context.rb
|
486
|
+
- test/html/sax/test_parser.rb
|
487
|
+
- test/html/test_node_encoding.rb
|
488
|
+
- test/html/test_element_description.rb
|
489
|
+
- test/ffi/test_document.rb
|
269
490
|
- test/test_reader.rb
|
270
|
-
- test/
|
271
|
-
- test/xml/
|
272
|
-
- test/xml/
|
273
|
-
- test/xml/sax/test_push_parser.rb
|
274
|
-
- test/xml/test_attr.rb
|
275
|
-
- test/xml/test_builder.rb
|
276
|
-
- test/xml/test_cdata.rb
|
277
|
-
- test/xml/test_comment.rb
|
491
|
+
- test/xml/test_parse_options.rb
|
492
|
+
- test/xml/test_unparented_node.rb
|
493
|
+
- test/xml/test_element_decl.rb
|
278
494
|
- test/xml/test_document.rb
|
279
|
-
- test/xml/test_document_encoding.rb
|
280
|
-
- test/xml/test_document_fragment.rb
|
281
495
|
- test/xml/test_dtd.rb
|
496
|
+
- test/xml/test_document_encoding.rb
|
497
|
+
- test/xml/test_entity_decl.rb
|
282
498
|
- test/xml/test_dtd_encoding.rb
|
283
|
-
- test/xml/
|
499
|
+
- test/xml/node/test_save_options.rb
|
500
|
+
- test/xml/node/test_subclass.rb
|
501
|
+
- test/xml/test_document_fragment.rb
|
502
|
+
- test/xml/test_cdata.rb
|
503
|
+
- test/xml/test_text.rb
|
504
|
+
- test/xml/test_reader_encoding.rb
|
505
|
+
- test/xml/test_xpath.rb
|
506
|
+
- test/xml/test_element_content.rb
|
284
507
|
- test/xml/test_node.rb
|
285
|
-
- test/xml/
|
508
|
+
- test/xml/test_builder.rb
|
509
|
+
- test/xml/sax/test_push_parser.rb
|
510
|
+
- test/xml/sax/test_parser_context.rb
|
511
|
+
- test/xml/sax/test_parser.rb
|
512
|
+
- test/xml/test_schema.rb
|
286
513
|
- test/xml/test_node_set.rb
|
514
|
+
- test/xml/test_attr.rb
|
287
515
|
- test/xml/test_processing_instruction.rb
|
288
|
-
- test/xml/
|
289
|
-
- test/xml/
|
290
|
-
- test/xml/
|
291
|
-
- test/xml/
|
516
|
+
- test/xml/test_node_encoding.rb
|
517
|
+
- test/xml/test_syntax_error.rb
|
518
|
+
- test/xml/test_comment.rb
|
519
|
+
- test/xml/test_entity_reference.rb
|
520
|
+
- test/xml/test_node_reparenting.rb
|
521
|
+
- test/xml/test_attribute_decl.rb
|
522
|
+
- test/xml/test_relax_ng.rb
|
523
|
+
- test/xml/test_namespace.rb
|
524
|
+
- test/xml/test_node_attributes.rb
|
525
|
+
- test/test_xslt_transforms.rb
|
526
|
+
- test/xslt/test_custom_functions.rb
|
527
|
+
- test/test_encoding_handler.rb
|