libxml-ruby 0.7.0-x86-mswin32-60 → 0.8.0-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +24 -1
- data/README +48 -3
- data/benchmark/depixelate.rb +632 -0
- data/benchmark/hamlet.xml +9055 -0
- data/benchmark/sock_entries.xml +507 -0
- data/benchmark/throughput.rb +39 -0
- data/benchmark/xml_benchmarks.rb +222 -0
- data/doc/classes/LibXML.html +237 -0
- data/doc/classes/LibXML/XML.html +178 -0
- data/doc/classes/{XML → LibXML/XML}/Attr.html +213 -182
- data/doc/classes/{XML → LibXML/XML}/Attributes.html +126 -54
- data/doc/classes/{XML → LibXML/XML}/Document.html +299 -297
- data/doc/classes/{XML → LibXML/XML}/Dtd.html +10 -10
- data/doc/classes/{XML/XInclude → LibXML/XML}/Error.html +4 -4
- data/doc/classes/{XML → LibXML/XML}/HTMLParser.html +40 -40
- data/doc/classes/{XML → LibXML/XML}/InputCallbacks.html +10 -10
- data/doc/classes/{XML → LibXML/XML}/NS.html +46 -46
- data/doc/classes/{XML → LibXML/XML}/Node.html +935 -788
- data/doc/classes/LibXML/XML/Node/FailedModify.html +111 -0
- data/doc/classes/{XML → LibXML/XML}/Node/Set.html +69 -68
- data/doc/classes/{XML → LibXML/XML}/Node/SetNamespace.html +4 -4
- data/doc/classes/{XML/Node/FailedModify.html → LibXML/XML/Node/UnknownType.html} +4 -4
- data/doc/classes/{XML → LibXML/XML}/Parser.html +426 -389
- data/doc/classes/{XML → LibXML/XML}/Parser/Context.html +208 -208
- data/doc/classes/{XML → LibXML/XML}/Parser/ParseError.html +4 -4
- data/doc/classes/{XML → LibXML/XML}/Reader.html +288 -287
- data/doc/classes/{XML → LibXML/XML}/SaxParser.html +52 -52
- data/doc/classes/{XML/XPath/Context.html → LibXML/XML/Schema.html} +60 -32
- data/doc/classes/{XML → LibXML/XML}/State.html +4 -4
- data/doc/classes/{XML/Node/UnknownType.html → LibXML/XML/Tree.html} +5 -5
- data/doc/classes/{XML → LibXML/XML}/XInclude.html +5 -5
- data/doc/classes/{XML → LibXML/XML/XInclude}/Error.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XMLParserOptions.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XPath.html +23 -64
- data/doc/classes/LibXML/XML/XPath/Context.html +403 -0
- data/doc/classes/{XML/XPointer/Context → LibXML/XML/XPath}/InvalidPath.html +4 -4
- data/doc/classes/LibXML/XML/XPath/Object.html +623 -0
- data/doc/classes/{XML → LibXML/XML}/XPointer.html +12 -12
- data/doc/classes/{XML → LibXML/XML}/XPointer/Context.html +5 -5
- data/doc/classes/{XML/XPath → LibXML/XML/XPointer/Context}/InvalidPath.html +5 -5
- data/doc/classes/{XML → LibXML/XML}/XPointer/InvalidExpression.html +4 -4
- data/doc/classes/XML.html +17 -123
- data/doc/created.rid +1 -1
- data/doc/files/CHANGES.html +49 -25
- data/doc/files/LICENSE.html +1 -1
- data/doc/files/README.html +79 -4
- data/doc/files/VERSION.html +2 -2
- data/doc/files/ext/libxml/cbg_c.html +1 -1
- data/doc/files/ext/libxml/libxml_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_document_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_node_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_state_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
- data/doc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
- data/doc/files/lib/libxml/attr_rb.html +108 -0
- data/doc/files/lib/libxml/attributes_rb.html +108 -0
- data/doc/files/lib/libxml/document_rb.html +108 -0
- data/doc/files/lib/libxml/node_rb.html +108 -0
- data/doc/files/lib/libxml/node_set_rb.html +108 -0
- data/doc/files/lib/libxml/parser_options_rb.html +107 -0
- data/doc/files/{ext/libxml/ruby_xml_tree_c.html → lib/libxml/parser_rb.html} +4 -4
- data/doc/files/lib/libxml/properties_rb.html +108 -0
- data/doc/files/lib/libxml/tree_rb.html +107 -0
- data/doc/files/lib/libxml_rb.html +12 -3
- data/doc/fr_class_index.html +34 -32
- data/doc/fr_file_index.html +9 -1
- data/doc/fr_method_index.html +362 -347
- data/ext/libxml/cbg.c +76 -76
- data/ext/libxml/libxml.c +4 -3
- data/ext/libxml/ruby_libxml.h +1 -1
- data/ext/libxml/ruby_xml_attr.c +4 -3
- data/ext/libxml/ruby_xml_attr.h +16 -16
- data/ext/libxml/ruby_xml_attributes.c +267 -266
- data/ext/libxml/ruby_xml_attributes.h +17 -17
- data/ext/libxml/ruby_xml_document.c +30 -59
- data/ext/libxml/ruby_xml_document.h +27 -27
- data/ext/libxml/ruby_xml_dtd.c +2 -1
- data/ext/libxml/ruby_xml_dtd.h +17 -17
- data/ext/libxml/ruby_xml_html_parser.c +3 -2
- data/ext/libxml/ruby_xml_html_parser.h +29 -29
- data/ext/libxml/ruby_xml_input_cbg.c +2 -1
- data/ext/libxml/ruby_xml_input_cbg.h +20 -20
- data/ext/libxml/ruby_xml_node.c +127 -470
- data/ext/libxml/ruby_xml_node.h +17 -17
- data/ext/libxml/ruby_xml_node_set.c +5 -4
- data/ext/libxml/ruby_xml_node_set.h +20 -20
- data/ext/libxml/ruby_xml_ns.c +3 -2
- data/ext/libxml/ruby_xml_ns.h +12 -12
- data/ext/libxml/ruby_xml_parser.c +20 -48
- data/ext/libxml/ruby_xml_parser.h +31 -31
- data/ext/libxml/ruby_xml_parser_context.c +3 -2
- data/ext/libxml/ruby_xml_parser_context.h +20 -20
- data/ext/libxml/ruby_xml_reader.c +2 -1
- data/ext/libxml/ruby_xml_sax_parser.c +3 -2
- data/ext/libxml/ruby_xml_sax_parser.h +56 -56
- data/ext/libxml/ruby_xml_schema.c +6 -0
- data/ext/libxml/ruby_xml_schema.h +16 -16
- data/ext/libxml/ruby_xml_state.c +13 -12
- data/ext/libxml/ruby_xml_state.h +1 -1
- data/ext/libxml/ruby_xml_xinclude.c +3 -2
- data/ext/libxml/ruby_xml_xinclude.h +13 -13
- data/ext/libxml/ruby_xml_xpath.c +35 -228
- data/ext/libxml/ruby_xml_xpath.h +22 -23
- data/ext/libxml/ruby_xml_xpath_context.c +223 -62
- data/ext/libxml/ruby_xml_xpath_context.h +15 -20
- data/ext/libxml/ruby_xml_xpath_object.c +63 -19
- data/ext/libxml/ruby_xml_xpointer.c +19 -15
- data/ext/libxml/ruby_xml_xpointer.h +27 -27
- data/ext/libxml/ruby_xml_xpointer_context.c +3 -2
- data/ext/libxml/ruby_xml_xpointer_context.h +18 -18
- data/ext/libxml/version.h +9 -9
- data/lib/libxml.rb +16 -128
- data/lib/libxml/attr.rb +45 -0
- data/lib/libxml/attributes.rb +15 -0
- data/lib/libxml/document.rb +54 -0
- data/lib/libxml/node.rb +132 -0
- data/lib/libxml/node_set.rb +27 -0
- data/lib/libxml/parser.rb +42 -0
- data/lib/libxml/parser_options.rb +25 -0
- data/lib/libxml/properties.rb +19 -0
- data/lib/libxml/tree.rb +29 -0
- data/lib/libxml_ruby.so +0 -0
- data/mingw/libxml_ruby.so +0 -0
- data/{work/task/setup → setup.rb} +1585 -1616
- data/test/gc.log +0 -0
- data/test/model/books.xml +147 -0
- data/{work/test/runner.rb → test/model/default_validation_bug.rb} +0 -0
- data/test/model/merge_bug_data.xml +58 -0
- data/test/model/rubynet.xml +78 -0
- data/test/model/rubynet_project +1 -0
- data/test/model/saxtest.xml +5 -0
- data/test/model/shiporder.xml +23 -0
- data/test/model/shiporder.xsd +31 -0
- data/test/model/simple.xml +7 -0
- data/test/model/soap.xml +27 -0
- data/test/model/xinclude.xml +5 -0
- data/test/tc_deprecated_require.rb +13 -0
- data/test/tc_xml_document.rb +57 -16
- data/test/tc_xml_document_write.rb +125 -10
- data/test/tc_xml_dtd.rb +22 -1
- data/test/tc_xml_node.rb +13 -0
- data/test/tc_xml_node_edit.rb +1 -1
- data/test/tc_xml_node_xlink.rb +1 -1
- data/test/tc_xml_parser.rb +64 -7
- data/test/tc_xml_properties.rb +42 -0
- data/test/tc_xml_reader.rb +4 -4
- data/test/tc_xml_sax_parser.rb +50 -50
- data/test/tc_xml_schema.rb +2 -2
- data/test/tc_xml_traversal.rb +220 -0
- data/test/tc_xml_xinclude.rb +12 -15
- data/test/tc_xml_xpath.rb +74 -6
- data/test/tc_xml_xpath_context.rb +72 -0
- data/test/test_suite.rb +6 -4
- data/vc/libxml_ruby.vcproj +1 -9
- metadata +92 -65
- data/doc/classes/XML/SiblingEnum.html +0 -142
- data/doc/classes/XML/Tree.html +0 -224
- data/doc/classes/XML/XPath/Object.html +0 -439
- data/ext/libxml/ruby_xml_tree.c +0 -43
- data/ext/libxml/ruby_xml_tree.h +0 -12
- data/test/ets_copy_bug2.rb +0 -21
- data/test/tc_xml_document_write2.rb +0 -54
- data/test/tc_xml_document_write3.rb +0 -96
- data/test/tc_xml_sax_parser2.rb +0 -51
- data/work/Rakefile +0 -247
- data/work/task/make +0 -26
- data/work/task/memory +0 -37
- data/work/task/rdoc +0 -39
- data/work/task/test +0 -29
- data/work/test/ets_runner.rb +0 -33
- data/work/test/libxml_test.rb +0 -3
- data/work/test/runner_ets.rb +0 -33
data/test/test_suite.rb
CHANGED
@@ -2,8 +2,6 @@ require 'tc_well_formed'
|
|
2
2
|
require 'tc_xml_attributes'
|
3
3
|
require 'tc_xml_document'
|
4
4
|
require 'tc_xml_document_write'
|
5
|
-
require 'tc_xml_document_write2'
|
6
|
-
require 'tc_xml_document_write3'
|
7
5
|
require 'tc_xml_dtd'
|
8
6
|
require 'tc_xml_html_parser'
|
9
7
|
require 'tc_xml_node'
|
@@ -20,8 +18,12 @@ require 'tc_xml_parser'
|
|
20
18
|
require 'tc_xml_parser_context'
|
21
19
|
require 'tc_xml_reader'
|
22
20
|
require 'tc_xml_sax_parser'
|
23
|
-
require 'tc_xml_sax_parser2'
|
24
21
|
require 'tc_xml_schema'
|
22
|
+
require 'tc_xml_traversal'
|
25
23
|
require 'tc_xml_xinclude'
|
26
24
|
require 'tc_xml_xpath'
|
27
|
-
require 'tc_xml_xpointer'
|
25
|
+
require 'tc_xml_xpointer'
|
26
|
+
|
27
|
+
# Compatibility
|
28
|
+
require 'tc_xml_properties'
|
29
|
+
require 'tc_deprecated_require'
|
data/vc/libxml_ruby.vcproj
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
<Tool
|
63
63
|
Name="VCLinkerTool"
|
64
64
|
AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib"
|
65
|
-
OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxml-ruby-0.
|
65
|
+
OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxml-ruby-0.8.0-x86-mswin32-60\lib\$(ProjectName).so"
|
66
66
|
LinkIncremental="2"
|
67
67
|
AdditionalLibraryDirectories="C:\Development\ruby\lib;"C:\Development\msys\src\libxml2-2.6.32\win32\lib""
|
68
68
|
GenerateDebugInformation="true"
|
@@ -250,10 +250,6 @@
|
|
250
250
|
RelativePath="..\ext\libxml\ruby_xml_state.c"
|
251
251
|
>
|
252
252
|
</File>
|
253
|
-
<File
|
254
|
-
RelativePath="..\ext\libxml\ruby_xml_tree.c"
|
255
|
-
>
|
256
|
-
</File>
|
257
253
|
<File
|
258
254
|
RelativePath="..\ext\libxml\ruby_xml_xinclude.c"
|
259
255
|
>
|
@@ -348,10 +344,6 @@
|
|
348
344
|
RelativePath="..\ext\libxml\ruby_xml_state.h"
|
349
345
|
>
|
350
346
|
</File>
|
351
|
-
<File
|
352
|
-
RelativePath="..\ext\libxml\ruby_xml_tree.h"
|
353
|
-
>
|
354
|
-
</File>
|
355
347
|
<File
|
356
348
|
RelativePath="..\ext\libxml\ruby_xml_xinclude.h"
|
357
349
|
>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libxml-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: x86-mswin32-60
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
@@ -9,12 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-15 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: The Libxml-Ruby project provides Ruby language bindings for the GNOME Libxml2 XML toolkit. It is free software, released under the MIT License. Libxml-ruby's primary advantage over REXML is performance - if speed is your need, these are good libraries to consider, as demonstrated by the informal benchmark below.
|
17
|
-
email:
|
17
|
+
email: libxml-devel@rubyforge.org
|
18
18
|
executables: []
|
19
19
|
|
20
20
|
extensions: []
|
@@ -25,6 +25,7 @@ files:
|
|
25
25
|
- README
|
26
26
|
- LICENSE
|
27
27
|
- CHANGES
|
28
|
+
- setup.rb
|
28
29
|
- doc/classes
|
29
30
|
- doc/created.rid
|
30
31
|
- doc/files
|
@@ -33,47 +34,50 @@ files:
|
|
33
34
|
- doc/fr_method_index.html
|
34
35
|
- doc/index.html
|
35
36
|
- doc/rdoc-style.css
|
37
|
+
- doc/classes/LibXML
|
38
|
+
- doc/classes/LibXML.html
|
36
39
|
- doc/classes/singleton.html
|
37
|
-
- doc/classes/XML
|
38
40
|
- doc/classes/XML.html
|
39
|
-
- doc/classes/XML
|
40
|
-
- doc/classes/XML
|
41
|
-
- doc/classes/XML/
|
42
|
-
- doc/classes/XML/
|
43
|
-
- doc/classes/XML/
|
44
|
-
- doc/classes/XML/
|
45
|
-
- doc/classes/XML/
|
46
|
-
- doc/classes/XML/
|
47
|
-
- doc/classes/XML/
|
48
|
-
- doc/classes/XML/
|
49
|
-
- doc/classes/XML/
|
50
|
-
- doc/classes/XML/
|
51
|
-
- doc/classes/XML/
|
52
|
-
- doc/classes/XML/
|
53
|
-
- doc/classes/XML/
|
54
|
-
- doc/classes/XML/
|
55
|
-
- doc/classes/XML/
|
56
|
-
- doc/classes/XML/
|
57
|
-
- doc/classes/XML/
|
58
|
-
- doc/classes/XML/
|
59
|
-
- doc/classes/XML/
|
60
|
-
- doc/classes/XML/
|
61
|
-
- doc/classes/XML/
|
62
|
-
- doc/classes/XML/
|
63
|
-
- doc/classes/XML/
|
64
|
-
- doc/classes/XML/
|
65
|
-
- doc/classes/XML/Node/
|
66
|
-
- doc/classes/XML/Node/
|
67
|
-
- doc/classes/XML/
|
68
|
-
- doc/classes/XML/
|
69
|
-
- doc/classes/XML/
|
70
|
-
- doc/classes/XML/
|
71
|
-
- doc/classes/XML/
|
72
|
-
- doc/classes/XML/XPath/
|
73
|
-
- doc/classes/XML/
|
74
|
-
- doc/classes/XML/
|
75
|
-
- doc/classes/XML/XPointer/
|
76
|
-
- doc/classes/XML/XPointer/Context
|
41
|
+
- doc/classes/LibXML/XML
|
42
|
+
- doc/classes/LibXML/XML.html
|
43
|
+
- doc/classes/LibXML/XML/Attr.html
|
44
|
+
- doc/classes/LibXML/XML/Attributes.html
|
45
|
+
- doc/classes/LibXML/XML/Document.html
|
46
|
+
- doc/classes/LibXML/XML/Dtd.html
|
47
|
+
- doc/classes/LibXML/XML/Error.html
|
48
|
+
- doc/classes/LibXML/XML/HTMLParser.html
|
49
|
+
- doc/classes/LibXML/XML/InputCallbacks.html
|
50
|
+
- doc/classes/LibXML/XML/Node
|
51
|
+
- doc/classes/LibXML/XML/Node.html
|
52
|
+
- doc/classes/LibXML/XML/NS.html
|
53
|
+
- doc/classes/LibXML/XML/Parser
|
54
|
+
- doc/classes/LibXML/XML/Parser.html
|
55
|
+
- doc/classes/LibXML/XML/Reader.html
|
56
|
+
- doc/classes/LibXML/XML/SaxParser.html
|
57
|
+
- doc/classes/LibXML/XML/Schema.html
|
58
|
+
- doc/classes/LibXML/XML/State.html
|
59
|
+
- doc/classes/LibXML/XML/Tree.html
|
60
|
+
- doc/classes/LibXML/XML/XInclude
|
61
|
+
- doc/classes/LibXML/XML/XInclude.html
|
62
|
+
- doc/classes/LibXML/XML/XMLParserOptions.html
|
63
|
+
- doc/classes/LibXML/XML/XPath
|
64
|
+
- doc/classes/LibXML/XML/XPath.html
|
65
|
+
- doc/classes/LibXML/XML/XPointer
|
66
|
+
- doc/classes/LibXML/XML/XPointer.html
|
67
|
+
- doc/classes/LibXML/XML/Node/FailedModify.html
|
68
|
+
- doc/classes/LibXML/XML/Node/Set.html
|
69
|
+
- doc/classes/LibXML/XML/Node/SetNamespace.html
|
70
|
+
- doc/classes/LibXML/XML/Node/UnknownType.html
|
71
|
+
- doc/classes/LibXML/XML/Parser/Context.html
|
72
|
+
- doc/classes/LibXML/XML/Parser/ParseError.html
|
73
|
+
- doc/classes/LibXML/XML/XInclude/Error.html
|
74
|
+
- doc/classes/LibXML/XML/XPath/Context.html
|
75
|
+
- doc/classes/LibXML/XML/XPath/InvalidPath.html
|
76
|
+
- doc/classes/LibXML/XML/XPath/Object.html
|
77
|
+
- doc/classes/LibXML/XML/XPointer/Context
|
78
|
+
- doc/classes/LibXML/XML/XPointer/Context.html
|
79
|
+
- doc/classes/LibXML/XML/XPointer/InvalidExpression.html
|
80
|
+
- doc/classes/LibXML/XML/XPointer/Context/InvalidPath.html
|
77
81
|
- doc/files/CHANGES.html
|
78
82
|
- doc/files/ext
|
79
83
|
- doc/files/lib
|
@@ -98,15 +102,24 @@ files:
|
|
98
102
|
- doc/files/ext/libxml/ruby_xml_sax_parser_c.html
|
99
103
|
- doc/files/ext/libxml/ruby_xml_schema_c.html
|
100
104
|
- doc/files/ext/libxml/ruby_xml_state_c.html
|
101
|
-
- doc/files/ext/libxml/ruby_xml_tree_c.html
|
102
105
|
- doc/files/ext/libxml/ruby_xml_xinclude_c.html
|
103
106
|
- doc/files/ext/libxml/ruby_xml_xpath_c.html
|
104
107
|
- doc/files/ext/libxml/ruby_xml_xpath_context_c.html
|
105
108
|
- doc/files/ext/libxml/ruby_xml_xpath_object_c.html
|
106
109
|
- doc/files/ext/libxml/ruby_xml_xpointer_c.html
|
107
110
|
- doc/files/ext/libxml/ruby_xml_xpointer_context_c.html
|
111
|
+
- doc/files/lib/libxml
|
108
112
|
- doc/files/lib/libxml_rb.html
|
109
113
|
- doc/files/lib/xml
|
114
|
+
- doc/files/lib/libxml/attributes_rb.html
|
115
|
+
- doc/files/lib/libxml/attr_rb.html
|
116
|
+
- doc/files/lib/libxml/document_rb.html
|
117
|
+
- doc/files/lib/libxml/node_rb.html
|
118
|
+
- doc/files/lib/libxml/node_set_rb.html
|
119
|
+
- doc/files/lib/libxml/parser_options_rb.html
|
120
|
+
- doc/files/lib/libxml/parser_rb.html
|
121
|
+
- doc/files/lib/libxml/properties_rb.html
|
122
|
+
- doc/files/lib/libxml/tree_rb.html
|
110
123
|
- doc/files/lib/xml/libxml_rb.html
|
111
124
|
- ext/libxml
|
112
125
|
- ext/libxml/cbg.c
|
@@ -143,8 +156,6 @@ files:
|
|
143
156
|
- ext/libxml/ruby_xml_schema.h
|
144
157
|
- ext/libxml/ruby_xml_state.c
|
145
158
|
- ext/libxml/ruby_xml_state.h
|
146
|
-
- ext/libxml/ruby_xml_tree.c
|
147
|
-
- ext/libxml/ruby_xml_tree.h
|
148
159
|
- ext/libxml/ruby_xml_xinclude.c
|
149
160
|
- ext/libxml/ruby_xml_xinclude.h
|
150
161
|
- ext/libxml/ruby_xml_xpath.c
|
@@ -159,15 +170,29 @@ files:
|
|
159
170
|
- ext/libxml/ruby_xml_xpointer_context.h
|
160
171
|
- ext/libxml/sax_parser_callbacks.inc
|
161
172
|
- ext/libxml/version.h
|
173
|
+
- lib/libxml
|
162
174
|
- lib/libxml.rb
|
163
175
|
- lib/xml
|
176
|
+
- lib/libxml/attr.rb
|
177
|
+
- lib/libxml/attributes.rb
|
178
|
+
- lib/libxml/document.rb
|
179
|
+
- lib/libxml/node.rb
|
180
|
+
- lib/libxml/node_set.rb
|
181
|
+
- lib/libxml/parser.rb
|
182
|
+
- lib/libxml/parser_options.rb
|
183
|
+
- lib/libxml/properties.rb
|
184
|
+
- lib/libxml/tree.rb
|
164
185
|
- lib/xml/libxml.rb
|
165
186
|
- mingw/libiconv-2.dll
|
166
187
|
- mingw/libxml2-2.dll
|
167
188
|
- mingw/libxml_ruby.so
|
189
|
+
- benchmark/depixelate.rb
|
190
|
+
- benchmark/hamlet.xml
|
191
|
+
- benchmark/sock_entries.xml
|
192
|
+
- benchmark/throughput.rb
|
193
|
+
- benchmark/xml_benchmarks.rb
|
168
194
|
- test/etc_doc_to_s.rb
|
169
195
|
- test/ets_copy_bug.rb
|
170
|
-
- test/ets_copy_bug2.rb
|
171
196
|
- test/ets_copy_bug3.rb
|
172
197
|
- test/ets_doc_file.rb
|
173
198
|
- test/ets_doc_to_s.rb
|
@@ -177,12 +202,11 @@ files:
|
|
177
202
|
- test/ets_tsr.rb
|
178
203
|
- test/gc.log
|
179
204
|
- test/model
|
205
|
+
- test/tc_deprecated_require.rb
|
180
206
|
- test/tc_well_formed.rb
|
181
207
|
- test/tc_xml_attributes.rb
|
182
208
|
- test/tc_xml_document.rb
|
183
209
|
- test/tc_xml_document_write.rb
|
184
|
-
- test/tc_xml_document_write2.rb
|
185
|
-
- test/tc_xml_document_write3.rb
|
186
210
|
- test/tc_xml_dtd.rb
|
187
211
|
- test/tc_xml_html_parser.rb
|
188
212
|
- test/tc_xml_node.rb
|
@@ -197,28 +221,29 @@ files:
|
|
197
221
|
- test/tc_xml_node_xlink.rb
|
198
222
|
- test/tc_xml_parser.rb
|
199
223
|
- test/tc_xml_parser_context.rb
|
224
|
+
- test/tc_xml_properties.rb
|
200
225
|
- test/tc_xml_reader.rb
|
201
226
|
- test/tc_xml_sax_parser.rb
|
202
|
-
- test/tc_xml_sax_parser2.rb
|
203
227
|
- test/tc_xml_schema.rb
|
228
|
+
- test/tc_xml_traversal.rb
|
204
229
|
- test/tc_xml_xinclude.rb
|
205
230
|
- test/tc_xml_xpath.rb
|
231
|
+
- test/tc_xml_xpath_context.rb
|
206
232
|
- test/tc_xml_xpointer.rb
|
207
233
|
- test/test_suite.rb
|
234
|
+
- test/model/books.xml
|
235
|
+
- test/model/default_validation_bug.rb
|
236
|
+
- test/model/merge_bug_data.xml
|
237
|
+
- test/model/rubynet.xml
|
238
|
+
- test/model/rubynet_project
|
239
|
+
- test/model/saxtest.xml
|
240
|
+
- test/model/shiporder.xml
|
241
|
+
- test/model/shiporder.xsd
|
242
|
+
- test/model/simple.xml
|
243
|
+
- test/model/soap.xml
|
244
|
+
- test/model/xinclude.xml
|
208
245
|
- vc/libxml_ruby.sln
|
209
246
|
- vc/libxml_ruby.vcproj
|
210
|
-
- work/Rakefile
|
211
|
-
- work/task
|
212
|
-
- work/test
|
213
|
-
- work/task/make
|
214
|
-
- work/task/memory
|
215
|
-
- work/task/rdoc
|
216
|
-
- work/task/setup
|
217
|
-
- work/task/test
|
218
|
-
- work/test/ets_runner.rb
|
219
|
-
- work/test/libxml_test.rb
|
220
|
-
- work/test/runner.rb
|
221
|
-
- work/test/runner_ets.rb
|
222
247
|
- lib/libxml_ruby.so
|
223
248
|
has_rdoc: true
|
224
249
|
homepage: http://libxml.rubyforge.org/
|
@@ -227,6 +252,7 @@ rdoc_options: []
|
|
227
252
|
|
228
253
|
require_paths:
|
229
254
|
- lib
|
255
|
+
- ext/libxml
|
230
256
|
required_ruby_version: !ruby/object:Gem::Requirement
|
231
257
|
requirements:
|
232
258
|
- - ">="
|
@@ -241,18 +267,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
267
|
version:
|
242
268
|
requirements: []
|
243
269
|
|
244
|
-
rubyforge_project: libxml
|
270
|
+
rubyforge_project: libxml
|
245
271
|
rubygems_version: 1.0.1
|
246
272
|
signing_key:
|
247
273
|
specification_version: 2
|
248
274
|
summary: Ruby libxml bindings
|
249
275
|
test_files:
|
276
|
+
- test/tc_deprecated_require.rb
|
250
277
|
- test/tc_well_formed.rb
|
251
278
|
- test/tc_xml_attributes.rb
|
252
279
|
- test/tc_xml_document.rb
|
253
280
|
- test/tc_xml_document_write.rb
|
254
|
-
- test/tc_xml_document_write2.rb
|
255
|
-
- test/tc_xml_document_write3.rb
|
256
281
|
- test/tc_xml_dtd.rb
|
257
282
|
- test/tc_xml_html_parser.rb
|
258
283
|
- test/tc_xml_node.rb
|
@@ -267,10 +292,12 @@ test_files:
|
|
267
292
|
- test/tc_xml_node_xlink.rb
|
268
293
|
- test/tc_xml_parser.rb
|
269
294
|
- test/tc_xml_parser_context.rb
|
295
|
+
- test/tc_xml_properties.rb
|
270
296
|
- test/tc_xml_reader.rb
|
271
297
|
- test/tc_xml_sax_parser.rb
|
272
|
-
- test/tc_xml_sax_parser2.rb
|
273
298
|
- test/tc_xml_schema.rb
|
299
|
+
- test/tc_xml_traversal.rb
|
274
300
|
- test/tc_xml_xinclude.rb
|
275
301
|
- test/tc_xml_xpath.rb
|
302
|
+
- test/tc_xml_xpath_context.rb
|
276
303
|
- test/tc_xml_xpointer.rb
|
@@ -1,142 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: XML::SiblingEnum</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">XML::SiblingEnum</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/libxml_rb.html">
|
59
|
-
lib/libxml.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="method-list">
|
80
|
-
<h3 class="section-bar">Methods</h3>
|
81
|
-
|
82
|
-
<div class="name-list">
|
83
|
-
<a href="#M000001">length</a>
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
|
87
|
-
</div>
|
88
|
-
|
89
|
-
|
90
|
-
<!-- if includes -->
|
91
|
-
|
92
|
-
<div id="section">
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<!-- if method_list -->
|
102
|
-
<div id="methods">
|
103
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
104
|
-
|
105
|
-
<div id="method-M000001" class="method-detail">
|
106
|
-
<a name="M000001"></a>
|
107
|
-
|
108
|
-
<div class="method-heading">
|
109
|
-
<a href="#M000001" class="method-signature">
|
110
|
-
<span class="method-name">length</span><span class="method-args">()</span>
|
111
|
-
</a>
|
112
|
-
</div>
|
113
|
-
|
114
|
-
<div class="method-description">
|
115
|
-
<p><a class="source-toggle" href="#"
|
116
|
-
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
117
|
-
<div class="method-source-code" id="M000001-source">
|
118
|
-
<pre>
|
119
|
-
<span class="ruby-comment cmt"># File lib/libxml.rb, line 54</span>
|
120
|
-
54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">length</span>
|
121
|
-
55: <span class="ruby-identifier">inject</span>(<span class="ruby-value">0</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">result</span>, <span class="ruby-identifier">node</span><span class="ruby-operator">|</span>
|
122
|
-
56: <span class="ruby-identifier">result</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>
|
123
|
-
57: <span class="ruby-keyword kw">end</span>
|
124
|
-
58: <span class="ruby-keyword kw">end</span>
|
125
|
-
</pre>
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
</div>
|
129
|
-
|
130
|
-
|
131
|
-
</div>
|
132
|
-
|
133
|
-
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
<div id="validator-badges">
|
138
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
139
|
-
</div>
|
140
|
-
|
141
|
-
</body>
|
142
|
-
</html>
|