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
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
7
|
<head>
|
8
|
-
<title>Class: XML::Parser</title>
|
8
|
+
<title>Class: LibXML::XML::Parser</title>
|
9
9
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
10
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="
|
11
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
12
|
<script type="text/javascript">
|
13
13
|
// <![CDATA[
|
14
14
|
|
@@ -50,14 +50,18 @@
|
|
50
50
|
<table class="header-table">
|
51
51
|
<tr class="top-aligned-row">
|
52
52
|
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">XML::Parser</td>
|
53
|
+
<td class="class-name-in-header">LibXML::XML::Parser</td>
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>In:</strong></td>
|
57
57
|
<td>
|
58
|
-
<a href="
|
58
|
+
<a href="../../../files/ext/libxml/libxml_c.html">
|
59
59
|
ext/libxml/libxml.c
|
60
60
|
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../../../files/lib/libxml/parser_rb.html">
|
63
|
+
lib/libxml/parser.rb
|
64
|
+
</a>
|
61
65
|
<br />
|
62
66
|
</td>
|
63
67
|
</tr>
|
@@ -86,65 +90,66 @@
|
|
86
90
|
<h3 class="section-bar">Methods</h3>
|
87
91
|
|
88
92
|
<div class="name-list">
|
89
|
-
<a href="#
|
90
|
-
<a href="#
|
91
|
-
<a href="#
|
92
|
-
<a href="#
|
93
|
-
<a href="#
|
94
|
-
<a href="#
|
95
|
-
<a href="#
|
96
|
-
<a href="#
|
97
|
-
<a href="#
|
98
|
-
<a href="#
|
99
|
-
<a href="#
|
100
|
-
<a href="#
|
101
|
-
<a href="#
|
102
|
-
<a href="#
|
103
|
-
<a href="#
|
104
|
-
<a href="#
|
105
|
-
<a href="#
|
106
|
-
<a href="#
|
107
|
-
<a href="#
|
108
|
-
<a href="#
|
109
|
-
<a href="#
|
110
|
-
<a href="#
|
111
|
-
<a href="#
|
112
|
-
<a href="#
|
113
|
-
<a href="#
|
114
|
-
<a href="#
|
115
|
-
<a href="#
|
116
|
-
<a href="#
|
117
|
-
<a href="#
|
118
|
-
<a href="#
|
119
|
-
<a href="#
|
120
|
-
<a href="#
|
121
|
-
<a href="#
|
122
|
-
<a href="#
|
123
|
-
<a href="#
|
124
|
-
<a href="#
|
125
|
-
<a href="#
|
126
|
-
<a href="#
|
127
|
-
<a href="#
|
128
|
-
<a href="#
|
129
|
-
<a href="#
|
130
|
-
<a href="#
|
131
|
-
<a href="#
|
132
|
-
<a href="#
|
133
|
-
<a href="#
|
134
|
-
<a href="#
|
135
|
-
<a href="#
|
136
|
-
<a href="#
|
137
|
-
<a href="#
|
138
|
-
<a href="#
|
139
|
-
<a href="#
|
140
|
-
<a href="#
|
141
|
-
<a href="#
|
142
|
-
<a href="#
|
143
|
-
<a href="#
|
144
|
-
<a href="#
|
145
|
-
<a href="#
|
146
|
-
<a href="#
|
147
|
-
<a href="#
|
93
|
+
<a href="#M000036">catalog_dump</a>
|
94
|
+
<a href="#M000037">catalog_remove</a>
|
95
|
+
<a href="#M000038">check_lib_versions</a>
|
96
|
+
<a href="#M000073">context</a>
|
97
|
+
<a href="#M000039">debug_entities</a>
|
98
|
+
<a href="#M000040">debug_entities=</a>
|
99
|
+
<a href="#M000041">default_compression</a>
|
100
|
+
<a href="#M000042">default_compression=</a>
|
101
|
+
<a href="#M000043">default_keep_blanks</a>
|
102
|
+
<a href="#M000044">default_keep_blanks=</a>
|
103
|
+
<a href="#M000047">default_line_numbers</a>
|
104
|
+
<a href="#M000048">default_line_numbers=</a>
|
105
|
+
<a href="#M000045">default_load_external_dtd</a>
|
106
|
+
<a href="#M000046">default_load_external_dtd=</a>
|
107
|
+
<a href="#M000049">default_pedantic_parser</a>
|
108
|
+
<a href="#M000050">default_pedantic_parser=</a>
|
109
|
+
<a href="#M000051">default_substitute_entities</a>
|
110
|
+
<a href="#M000052">default_substitute_entities=</a>
|
111
|
+
<a href="#M000053">default_tree_indent_string</a>
|
112
|
+
<a href="#M000054">default_tree_indent_string=</a>
|
113
|
+
<a href="#M000055">default_validity_checking</a>
|
114
|
+
<a href="#M000056">default_validity_checking=</a>
|
115
|
+
<a href="#M000057">default_warnings</a>
|
116
|
+
<a href="#M000058">default_warnings=</a>
|
117
|
+
<a href="#M000018">enabled_automata?</a>
|
118
|
+
<a href="#M000019">enabled_c14n?</a>
|
119
|
+
<a href="#M000020">enabled_catalog?</a>
|
120
|
+
<a href="#M000021">enabled_debug?</a>
|
121
|
+
<a href="#M000022">enabled_docbook?</a>
|
122
|
+
<a href="#M000023">enabled_ftp?</a>
|
123
|
+
<a href="#M000025">enabled_html?</a>
|
124
|
+
<a href="#M000024">enabled_http?</a>
|
125
|
+
<a href="#M000026">enabled_iconv?</a>
|
126
|
+
<a href="#M000027">enabled_memory_debug?</a>
|
127
|
+
<a href="#M000028">enabled_regexp?</a>
|
128
|
+
<a href="#M000029">enabled_schemas?</a>
|
129
|
+
<a href="#M000030">enabled_thread?</a>
|
130
|
+
<a href="#M000031">enabled_unicode?</a>
|
131
|
+
<a href="#M000032">enabled_xinclude?</a>
|
132
|
+
<a href="#M000033">enabled_xpath?</a>
|
133
|
+
<a href="#M000034">enabled_xpointer?</a>
|
134
|
+
<a href="#M000035">enabled_zlib?</a>
|
135
|
+
<a href="#M000059">features</a>
|
136
|
+
<a href="#M000060">file</a>
|
137
|
+
<a href="#M000068">filename</a>
|
138
|
+
<a href="#M000069">filename=</a>
|
139
|
+
<a href="#M000061">indent_tree_output</a>
|
140
|
+
<a href="#M000062">indent_tree_output=</a>
|
141
|
+
<a href="#M000063">io</a>
|
142
|
+
<a href="#M000070">io</a>
|
143
|
+
<a href="#M000071">io=</a>
|
144
|
+
<a href="#M000064">memory_dump</a>
|
145
|
+
<a href="#M000065">memory_used</a>
|
146
|
+
<a href="#M000066">new</a>
|
147
|
+
<a href="#M000072">parse</a>
|
148
|
+
<a href="#M000076">register_error_handler</a>
|
149
|
+
<a href="#M000067">string</a>
|
150
|
+
<a href="#M000074">string</a>
|
151
|
+
<a href="#M000075">string=</a>
|
152
|
+
<a href="#M000077">xml_error_func_handler</a>
|
148
153
|
</div>
|
149
154
|
</div>
|
150
155
|
|
@@ -158,8 +163,8 @@
|
|
158
163
|
<div id="class-list">
|
159
164
|
<h3 class="section-bar">Classes and Modules</h3>
|
160
165
|
|
161
|
-
Class <a href="Parser/Context.html" class="link">XML::Parser::Context</a><br />
|
162
|
-
Class <a href="Parser/ParseError.html" class="link">XML::Parser::ParseError</a><br />
|
166
|
+
Class <a href="Parser/Context.html" class="link">LibXML::XML::Parser::Context</a><br />
|
167
|
+
Class <a href="Parser/ParseError.html" class="link">LibXML::XML::Parser::ParseError</a><br />
|
163
168
|
|
164
169
|
</div>
|
165
170
|
|
@@ -194,6 +199,19 @@ Constants
|
|
194
199
|
|
195
200
|
|
196
201
|
|
202
|
+
<div id="attribute-list">
|
203
|
+
<h3 class="section-bar">Attributes</h3>
|
204
|
+
|
205
|
+
<div class="name-list">
|
206
|
+
<table>
|
207
|
+
<tr class="top-aligned-row context-row">
|
208
|
+
<td class="context-item-name">error_handler</td>
|
209
|
+
<td class="context-item-value"> [R] </td>
|
210
|
+
<td class="context-item-desc"></td>
|
211
|
+
</tr>
|
212
|
+
</table>
|
213
|
+
</div>
|
214
|
+
</div>
|
197
215
|
|
198
216
|
|
199
217
|
|
@@ -201,11 +219,11 @@ Constants
|
|
201
219
|
<div id="methods">
|
202
220
|
<h3 class="section-bar">Public Class methods</h3>
|
203
221
|
|
204
|
-
<div id="method-
|
205
|
-
<a name="
|
222
|
+
<div id="method-M000036" class="method-detail">
|
223
|
+
<a name="M000036"></a>
|
206
224
|
|
207
225
|
<div class="method-heading">
|
208
|
-
<a href="#
|
226
|
+
<a href="#M000036" class="method-signature">
|
209
227
|
<span class="method-name">XML::Parser.catalog_dump → true<br />
|
210
228
|
</span>
|
211
229
|
</a>
|
@@ -216,8 +234,8 @@ Constants
|
|
216
234
|
Dump the parser resource catalogs to stdout.
|
217
235
|
</p>
|
218
236
|
<p><a class="source-toggle" href="#"
|
219
|
-
onclick="toggleCode('
|
220
|
-
<div class="method-source-code" id="
|
237
|
+
onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
|
238
|
+
<div class="method-source-code" id="M000036-source">
|
221
239
|
<pre>
|
222
240
|
/*
|
223
241
|
* call-seq:
|
@@ -233,11 +251,11 @@ ruby_xml_parser_catalog_dump(VALUE self) {
|
|
233
251
|
</div>
|
234
252
|
</div>
|
235
253
|
|
236
|
-
<div id="method-
|
237
|
-
<a name="
|
254
|
+
<div id="method-M000037" class="method-detail">
|
255
|
+
<a name="M000037"></a>
|
238
256
|
|
239
257
|
<div class="method-heading">
|
240
|
-
<a href="#
|
258
|
+
<a href="#M000037" class="method-signature">
|
241
259
|
<span class="method-name">XML::Parser.catalog_remove(catalog) → true<br />
|
242
260
|
</span>
|
243
261
|
</a>
|
@@ -248,8 +266,8 @@ ruby_xml_parser_catalog_dump(VALUE self) {
|
|
248
266
|
Remove the specified resource catalog.
|
249
267
|
</p>
|
250
268
|
<p><a class="source-toggle" href="#"
|
251
|
-
onclick="toggleCode('
|
252
|
-
<div class="method-source-code" id="
|
269
|
+
onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
|
270
|
+
<div class="method-source-code" id="M000037-source">
|
253
271
|
<pre>
|
254
272
|
/*
|
255
273
|
* call-seq:
|
@@ -265,11 +283,11 @@ ruby_xml_parser_catalog_remove(VALUE self, VALUE cat) {
|
|
265
283
|
</div>
|
266
284
|
</div>
|
267
285
|
|
268
|
-
<div id="method-
|
269
|
-
<a name="
|
286
|
+
<div id="method-M000038" class="method-detail">
|
287
|
+
<a name="M000038"></a>
|
270
288
|
|
271
289
|
<div class="method-heading">
|
272
|
-
<a href="#
|
290
|
+
<a href="#M000038" class="method-signature">
|
273
291
|
<span class="method-name">XML::Parser.check_lib_versions → true <br />
|
274
292
|
</span>
|
275
293
|
</a>
|
@@ -281,8 +299,8 @@ Check LIBXML version matches version the bindings were compiled to. Throws
|
|
281
299
|
an exception if not.
|
282
300
|
</p>
|
283
301
|
<p><a class="source-toggle" href="#"
|
284
|
-
onclick="toggleCode('
|
285
|
-
<div class="method-source-code" id="
|
302
|
+
onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
|
303
|
+
<div class="method-source-code" id="M000038-source">
|
286
304
|
<pre>
|
287
305
|
/*
|
288
306
|
* call-seq:
|
@@ -299,11 +317,11 @@ ruby_xml_parser_check_lib_versions(VALUE class) {
|
|
299
317
|
</div>
|
300
318
|
</div>
|
301
319
|
|
302
|
-
<div id="method-
|
303
|
-
<a name="
|
320
|
+
<div id="method-M000039" class="method-detail">
|
321
|
+
<a name="M000039"></a>
|
304
322
|
|
305
323
|
<div class="method-heading">
|
306
|
-
<a href="#
|
324
|
+
<a href="#M000039" class="method-signature">
|
307
325
|
<span class="method-name">XML::Parser.debug_entities → (true|false)<br />
|
308
326
|
</span>
|
309
327
|
</a>
|
@@ -315,8 +333,8 @@ Determine whether included-entity debugging is enabled. (Requires Libxml to
|
|
315
333
|
be compiled with debugging support)
|
316
334
|
</p>
|
317
335
|
<p><a class="source-toggle" href="#"
|
318
|
-
onclick="toggleCode('
|
319
|
-
<div class="method-source-code" id="
|
336
|
+
onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
|
337
|
+
<div class="method-source-code" id="M000039-source">
|
320
338
|
<pre>
|
321
339
|
/*
|
322
340
|
* call-seq:
|
@@ -333,11 +351,11 @@ ruby_xml_parser_debug_entities_get(VALUE class) {
|
|
333
351
|
</div>
|
334
352
|
</div>
|
335
353
|
|
336
|
-
<div id="method-
|
337
|
-
<a name="
|
354
|
+
<div id="method-M000040" class="method-detail">
|
355
|
+
<a name="M000040"></a>
|
338
356
|
|
339
357
|
<div class="method-heading">
|
340
|
-
<a href="#
|
358
|
+
<a href="#M000040" class="method-signature">
|
341
359
|
<span class="method-name">XML::Parser.debug_entities = true|false<br />
|
342
360
|
</span>
|
343
361
|
</a>
|
@@ -349,8 +367,8 @@ Enable or disable included-entity debugging. (Requires Libxml to be
|
|
349
367
|
compiled with debugging support)
|
350
368
|
</p>
|
351
369
|
<p><a class="source-toggle" href="#"
|
352
|
-
onclick="toggleCode('
|
353
|
-
<div class="method-source-code" id="
|
370
|
+
onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
|
371
|
+
<div class="method-source-code" id="M000040-source">
|
354
372
|
<pre>
|
355
373
|
/*
|
356
374
|
* call-seq:
|
@@ -367,11 +385,11 @@ ruby_xml_parser_debug_entities_set(VALUE class, VALUE bool) {
|
|
367
385
|
</div>
|
368
386
|
</div>
|
369
387
|
|
370
|
-
<div id="method-
|
371
|
-
<a name="
|
388
|
+
<div id="method-M000041" class="method-detail">
|
389
|
+
<a name="M000041"></a>
|
372
390
|
|
373
391
|
<div class="method-heading">
|
374
|
-
<a href="#
|
392
|
+
<a href="#M000041" class="method-signature">
|
375
393
|
<span class="method-name">XML::Parser.default_compression → (true|false)<br />
|
376
394
|
</span>
|
377
395
|
</a>
|
@@ -383,8 +401,8 @@ Determine whether parsers use Zlib compression by default (requires libxml
|
|
383
401
|
to be compiled with Zlib support).
|
384
402
|
</p>
|
385
403
|
<p><a class="source-toggle" href="#"
|
386
|
-
onclick="toggleCode('
|
387
|
-
<div class="method-source-code" id="
|
404
|
+
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
405
|
+
<div class="method-source-code" id="M000041-source">
|
388
406
|
<pre>
|
389
407
|
/*
|
390
408
|
* call-seq:
|
@@ -401,11 +419,11 @@ ruby_xml_parser_default_compression_get(VALUE class) {
|
|
401
419
|
</div>
|
402
420
|
</div>
|
403
421
|
|
404
|
-
<div id="method-
|
405
|
-
<a name="
|
422
|
+
<div id="method-M000042" class="method-detail">
|
423
|
+
<a name="M000042"></a>
|
406
424
|
|
407
425
|
<div class="method-heading">
|
408
|
-
<a href="#
|
426
|
+
<a href="#M000042" class="method-signature">
|
409
427
|
<span class="method-name">XML::Parser.default_compression = true|false<br />
|
410
428
|
</span>
|
411
429
|
</a>
|
@@ -417,8 +435,8 @@ Controls whether parsers use Zlib compression by default (requires libxml
|
|
417
435
|
to be compiled with Zlib support).
|
418
436
|
</p>
|
419
437
|
<p><a class="source-toggle" href="#"
|
420
|
-
onclick="toggleCode('
|
421
|
-
<div class="method-source-code" id="
|
438
|
+
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
439
|
+
<div class="method-source-code" id="M000042-source">
|
422
440
|
<pre>
|
423
441
|
/*
|
424
442
|
* call-seq:
|
@@ -435,11 +453,11 @@ ruby_xml_parser_default_compression_set(VALUE class, VALUE num) {
|
|
435
453
|
</div>
|
436
454
|
</div>
|
437
455
|
|
438
|
-
<div id="method-
|
439
|
-
<a name="
|
456
|
+
<div id="method-M000043" class="method-detail">
|
457
|
+
<a name="M000043"></a>
|
440
458
|
|
441
459
|
<div class="method-heading">
|
442
|
-
<a href="#
|
460
|
+
<a href="#M000043" class="method-signature">
|
443
461
|
<span class="method-name">XML::Parser.default_keep_blanks → (true|false)<br />
|
444
462
|
</span>
|
445
463
|
</a>
|
@@ -450,8 +468,8 @@ ruby_xml_parser_default_compression_set(VALUE class, VALUE num) {
|
|
450
468
|
Determine whether parsers retain whitespace by default.
|
451
469
|
</p>
|
452
470
|
<p><a class="source-toggle" href="#"
|
453
|
-
onclick="toggleCode('
|
454
|
-
<div class="method-source-code" id="
|
471
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
472
|
+
<div class="method-source-code" id="M000043-source">
|
455
473
|
<pre>
|
456
474
|
/*
|
457
475
|
* call-seq:
|
@@ -467,11 +485,11 @@ ruby_xml_parser_default_keep_blanks_get(VALUE class) {
|
|
467
485
|
</div>
|
468
486
|
</div>
|
469
487
|
|
470
|
-
<div id="method-
|
471
|
-
<a name="
|
488
|
+
<div id="method-M000044" class="method-detail">
|
489
|
+
<a name="M000044"></a>
|
472
490
|
|
473
491
|
<div class="method-heading">
|
474
|
-
<a href="#
|
492
|
+
<a href="#M000044" class="method-signature">
|
475
493
|
<span class="method-name">XML::Parser.default_keep_blanks = true|false<br />
|
476
494
|
</span>
|
477
495
|
</a>
|
@@ -482,8 +500,8 @@ ruby_xml_parser_default_keep_blanks_get(VALUE class) {
|
|
482
500
|
Controls whether parsers retain whitespace by default.
|
483
501
|
</p>
|
484
502
|
<p><a class="source-toggle" href="#"
|
485
|
-
onclick="toggleCode('
|
486
|
-
<div class="method-source-code" id="
|
503
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
504
|
+
<div class="method-source-code" id="M000044-source">
|
487
505
|
<pre>
|
488
506
|
/*
|
489
507
|
* call-seq:
|
@@ -499,11 +517,11 @@ ruby_xml_parser_default_keep_blanks_set(VALUE class, VALUE bool) {
|
|
499
517
|
</div>
|
500
518
|
</div>
|
501
519
|
|
502
|
-
<div id="method-
|
503
|
-
<a name="
|
520
|
+
<div id="method-M000047" class="method-detail">
|
521
|
+
<a name="M000047"></a>
|
504
522
|
|
505
523
|
<div class="method-heading">
|
506
|
-
<a href="#
|
524
|
+
<a href="#M000047" class="method-signature">
|
507
525
|
<span class="method-name">XML::Parser.default_line_numbers → (true|false)<br />
|
508
526
|
</span>
|
509
527
|
</a>
|
@@ -514,8 +532,8 @@ ruby_xml_parser_default_keep_blanks_set(VALUE class, VALUE bool) {
|
|
514
532
|
Determine whether parsers retain line-numbers by default.
|
515
533
|
</p>
|
516
534
|
<p><a class="source-toggle" href="#"
|
517
|
-
onclick="toggleCode('
|
518
|
-
<div class="method-source-code" id="
|
535
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
536
|
+
<div class="method-source-code" id="M000047-source">
|
519
537
|
<pre>
|
520
538
|
/*
|
521
539
|
* call-seq:
|
@@ -531,11 +549,11 @@ ruby_xml_parser_default_line_numbers_get(VALUE class) {
|
|
531
549
|
</div>
|
532
550
|
</div>
|
533
551
|
|
534
|
-
<div id="method-
|
535
|
-
<a name="
|
552
|
+
<div id="method-M000048" class="method-detail">
|
553
|
+
<a name="M000048"></a>
|
536
554
|
|
537
555
|
<div class="method-heading">
|
538
|
-
<a href="#
|
556
|
+
<a href="#M000048" class="method-signature">
|
539
557
|
<span class="method-name">XML::Parser.default_line_numbers = true|false<br />
|
540
558
|
</span>
|
541
559
|
</a>
|
@@ -546,8 +564,8 @@ ruby_xml_parser_default_line_numbers_get(VALUE class) {
|
|
546
564
|
Controls whether parsers retain line-numbers by default.
|
547
565
|
</p>
|
548
566
|
<p><a class="source-toggle" href="#"
|
549
|
-
onclick="toggleCode('
|
550
|
-
<div class="method-source-code" id="
|
567
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
568
|
+
<div class="method-source-code" id="M000048-source">
|
551
569
|
<pre>
|
552
570
|
/*
|
553
571
|
* call-seq:
|
@@ -563,11 +581,11 @@ ruby_xml_parser_default_line_numbers_set(VALUE class, VALUE bool) {
|
|
563
581
|
</div>
|
564
582
|
</div>
|
565
583
|
|
566
|
-
<div id="method-
|
567
|
-
<a name="
|
584
|
+
<div id="method-M000045" class="method-detail">
|
585
|
+
<a name="M000045"></a>
|
568
586
|
|
569
587
|
<div class="method-heading">
|
570
|
-
<a href="#
|
588
|
+
<a href="#M000045" class="method-signature">
|
571
589
|
<span class="method-name">XML::Parser.default_load_external_dtd → (true|false)<br />
|
572
590
|
</span>
|
573
591
|
</a>
|
@@ -578,8 +596,8 @@ ruby_xml_parser_default_line_numbers_set(VALUE class, VALUE bool) {
|
|
578
596
|
Determine whether parsers load external DTDs by default.
|
579
597
|
</p>
|
580
598
|
<p><a class="source-toggle" href="#"
|
581
|
-
onclick="toggleCode('
|
582
|
-
<div class="method-source-code" id="
|
599
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
600
|
+
<div class="method-source-code" id="M000045-source">
|
583
601
|
<pre>
|
584
602
|
/*
|
585
603
|
* call-seq:
|
@@ -595,11 +613,11 @@ ruby_xml_parser_default_load_external_dtd_get(VALUE class) {
|
|
595
613
|
</div>
|
596
614
|
</div>
|
597
615
|
|
598
|
-
<div id="method-
|
599
|
-
<a name="
|
616
|
+
<div id="method-M000046" class="method-detail">
|
617
|
+
<a name="M000046"></a>
|
600
618
|
|
601
619
|
<div class="method-heading">
|
602
|
-
<a href="#
|
620
|
+
<a href="#M000046" class="method-signature">
|
603
621
|
<span class="method-name">XML::Parser.default_load_external_dtd = true|false<br />
|
604
622
|
</span>
|
605
623
|
</a>
|
@@ -610,8 +628,8 @@ ruby_xml_parser_default_load_external_dtd_get(VALUE class) {
|
|
610
628
|
Controls whether parsers load external DTDs by default.
|
611
629
|
</p>
|
612
630
|
<p><a class="source-toggle" href="#"
|
613
|
-
onclick="toggleCode('
|
614
|
-
<div class="method-source-code" id="
|
631
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
632
|
+
<div class="method-source-code" id="M000046-source">
|
615
633
|
<pre>
|
616
634
|
/*
|
617
635
|
* call-seq:
|
@@ -627,11 +645,11 @@ ruby_xml_parser_default_load_external_dtd_set(VALUE class, VALUE bool) {
|
|
627
645
|
</div>
|
628
646
|
</div>
|
629
647
|
|
630
|
-
<div id="method-
|
631
|
-
<a name="
|
648
|
+
<div id="method-M000049" class="method-detail">
|
649
|
+
<a name="M000049"></a>
|
632
650
|
|
633
651
|
<div class="method-heading">
|
634
|
-
<a href="#
|
652
|
+
<a href="#M000049" class="method-signature">
|
635
653
|
<span class="method-name">XML::Parser.default_pedantic_parser → (true|false)<br />
|
636
654
|
</span>
|
637
655
|
</a>
|
@@ -642,8 +660,8 @@ ruby_xml_parser_default_load_external_dtd_set(VALUE class, VALUE bool) {
|
|
642
660
|
Determine whether parsers are pedantic by default.
|
643
661
|
</p>
|
644
662
|
<p><a class="source-toggle" href="#"
|
645
|
-
onclick="toggleCode('
|
646
|
-
<div class="method-source-code" id="
|
663
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
664
|
+
<div class="method-source-code" id="M000049-source">
|
647
665
|
<pre>
|
648
666
|
/*
|
649
667
|
* call-seq:
|
@@ -659,11 +677,11 @@ ruby_xml_parser_default_pedantic_parser_get(VALUE class) {
|
|
659
677
|
</div>
|
660
678
|
</div>
|
661
679
|
|
662
|
-
<div id="method-
|
663
|
-
<a name="
|
680
|
+
<div id="method-M000050" class="method-detail">
|
681
|
+
<a name="M000050"></a>
|
664
682
|
|
665
683
|
<div class="method-heading">
|
666
|
-
<a href="#
|
684
|
+
<a href="#M000050" class="method-signature">
|
667
685
|
<span class="method-name">XML::Parser.default_pedantic_parser = true|false<br />
|
668
686
|
</span>
|
669
687
|
</a>
|
@@ -674,8 +692,8 @@ ruby_xml_parser_default_pedantic_parser_get(VALUE class) {
|
|
674
692
|
Controls whether parsers are pedantic by default.
|
675
693
|
</p>
|
676
694
|
<p><a class="source-toggle" href="#"
|
677
|
-
onclick="toggleCode('
|
678
|
-
<div class="method-source-code" id="
|
695
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
696
|
+
<div class="method-source-code" id="M000050-source">
|
679
697
|
<pre>
|
680
698
|
/*
|
681
699
|
* call-seq:
|
@@ -691,11 +709,11 @@ ruby_xml_parser_default_pedantic_parser_set(VALUE class, VALUE bool) {
|
|
691
709
|
</div>
|
692
710
|
</div>
|
693
711
|
|
694
|
-
<div id="method-
|
695
|
-
<a name="
|
712
|
+
<div id="method-M000051" class="method-detail">
|
713
|
+
<a name="M000051"></a>
|
696
714
|
|
697
715
|
<div class="method-heading">
|
698
|
-
<a href="#
|
716
|
+
<a href="#M000051" class="method-signature">
|
699
717
|
<span class="method-name">XML::Parser.default_substitute_entities → (true|false)<br />
|
700
718
|
</span>
|
701
719
|
</a>
|
@@ -707,8 +725,8 @@ Determine whether parsers perform inline entity substitution (for external
|
|
707
725
|
entities) by default.
|
708
726
|
</p>
|
709
727
|
<p><a class="source-toggle" href="#"
|
710
|
-
onclick="toggleCode('
|
711
|
-
<div class="method-source-code" id="
|
728
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
729
|
+
<div class="method-source-code" id="M000051-source">
|
712
730
|
<pre>
|
713
731
|
/*
|
714
732
|
* call-seq:
|
@@ -725,11 +743,11 @@ ruby_xml_parser_default_substitute_entities_get(VALUE class) {
|
|
725
743
|
</div>
|
726
744
|
</div>
|
727
745
|
|
728
|
-
<div id="method-
|
729
|
-
<a name="
|
746
|
+
<div id="method-M000052" class="method-detail">
|
747
|
+
<a name="M000052"></a>
|
730
748
|
|
731
749
|
<div class="method-heading">
|
732
|
-
<a href="#
|
750
|
+
<a href="#M000052" class="method-signature">
|
733
751
|
<span class="method-name">XML::Parser.default_substitute_entities = true|false<br />
|
734
752
|
</span>
|
735
753
|
</a>
|
@@ -741,8 +759,8 @@ Controls whether parsers perform inline entity substitution (for external
|
|
741
759
|
entities) by default.
|
742
760
|
</p>
|
743
761
|
<p><a class="source-toggle" href="#"
|
744
|
-
onclick="toggleCode('
|
745
|
-
<div class="method-source-code" id="
|
762
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
763
|
+
<div class="method-source-code" id="M000052-source">
|
746
764
|
<pre>
|
747
765
|
/*
|
748
766
|
* call-seq:
|
@@ -759,11 +777,11 @@ ruby_xml_parser_default_substitute_entities_set(VALUE class, VALUE bool) {
|
|
759
777
|
</div>
|
760
778
|
</div>
|
761
779
|
|
762
|
-
<div id="method-
|
763
|
-
<a name="
|
780
|
+
<div id="method-M000053" class="method-detail">
|
781
|
+
<a name="M000053"></a>
|
764
782
|
|
765
783
|
<div class="method-heading">
|
766
|
-
<a href="#
|
784
|
+
<a href="#M000053" class="method-signature">
|
767
785
|
<span class="method-name">XML::Parser.default_tree_indent_string → "string"<br />
|
768
786
|
</span>
|
769
787
|
</a>
|
@@ -775,8 +793,8 @@ Obtain the default string used by parsers to indent the <a
|
|
775
793
|
href="../XML.html">XML</a> tree for output.
|
776
794
|
</p>
|
777
795
|
<p><a class="source-toggle" href="#"
|
778
|
-
onclick="toggleCode('
|
779
|
-
<div class="method-source-code" id="
|
796
|
+
onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
|
797
|
+
<div class="method-source-code" id="M000053-source">
|
780
798
|
<pre>
|
781
799
|
/*
|
782
800
|
* call-seq:
|
@@ -793,11 +811,11 @@ ruby_xml_parser_default_tree_indent_string_get(VALUE class) {
|
|
793
811
|
</div>
|
794
812
|
</div>
|
795
813
|
|
796
|
-
<div id="method-
|
797
|
-
<a name="
|
814
|
+
<div id="method-M000054" class="method-detail">
|
815
|
+
<a name="M000054"></a>
|
798
816
|
|
799
817
|
<div class="method-heading">
|
800
|
-
<a href="#
|
818
|
+
<a href="#M000054" class="method-signature">
|
801
819
|
<span class="method-name">XML::Parser.default_tree_indent_string = "string"<br />
|
802
820
|
</span>
|
803
821
|
</a>
|
@@ -809,8 +827,8 @@ Set the default string used by parsers to indent the <a
|
|
809
827
|
href="../XML.html">XML</a> tree for output.
|
810
828
|
</p>
|
811
829
|
<p><a class="source-toggle" href="#"
|
812
|
-
onclick="toggleCode('
|
813
|
-
<div class="method-source-code" id="
|
830
|
+
onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
|
831
|
+
<div class="method-source-code" id="M000054-source">
|
814
832
|
<pre>
|
815
833
|
/*
|
816
834
|
* call-seq:
|
@@ -827,11 +845,11 @@ ruby_xml_parser_default_tree_indent_string_set(VALUE class, VALUE string) {
|
|
827
845
|
</div>
|
828
846
|
</div>
|
829
847
|
|
830
|
-
<div id="method-
|
831
|
-
<a name="
|
848
|
+
<div id="method-M000055" class="method-detail">
|
849
|
+
<a name="M000055"></a>
|
832
850
|
|
833
851
|
<div class="method-heading">
|
834
|
-
<a href="#
|
852
|
+
<a href="#M000055" class="method-signature">
|
835
853
|
<span class="method-name">XML::Parser.default_validity_checking → (true|false)<br />
|
836
854
|
</span>
|
837
855
|
</a>
|
@@ -843,8 +861,8 @@ Determine whether parsers perform <a href="../XML.html">XML</a> validation
|
|
843
861
|
by default.
|
844
862
|
</p>
|
845
863
|
<p><a class="source-toggle" href="#"
|
846
|
-
onclick="toggleCode('
|
847
|
-
<div class="method-source-code" id="
|
864
|
+
onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
|
865
|
+
<div class="method-source-code" id="M000055-source">
|
848
866
|
<pre>
|
849
867
|
/*
|
850
868
|
* call-seq:
|
@@ -860,11 +878,11 @@ ruby_xml_parser_default_validity_checking_get(VALUE class) {
|
|
860
878
|
</div>
|
861
879
|
</div>
|
862
880
|
|
863
|
-
<div id="method-
|
864
|
-
<a name="
|
881
|
+
<div id="method-M000056" class="method-detail">
|
882
|
+
<a name="M000056"></a>
|
865
883
|
|
866
884
|
<div class="method-heading">
|
867
|
-
<a href="#
|
885
|
+
<a href="#M000056" class="method-signature">
|
868
886
|
<span class="method-name">XML::Parser.default_validity_checking = true|false<br />
|
869
887
|
</span>
|
870
888
|
</a>
|
@@ -876,8 +894,8 @@ Controls whether parsers perform <a href="../XML.html">XML</a> validation
|
|
876
894
|
by default.
|
877
895
|
</p>
|
878
896
|
<p><a class="source-toggle" href="#"
|
879
|
-
onclick="toggleCode('
|
880
|
-
<div class="method-source-code" id="
|
897
|
+
onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
|
898
|
+
<div class="method-source-code" id="M000056-source">
|
881
899
|
<pre>
|
882
900
|
/*
|
883
901
|
* call-seq:
|
@@ -893,11 +911,11 @@ ruby_xml_parser_default_validity_checking_set(VALUE class, VALUE bool) {
|
|
893
911
|
</div>
|
894
912
|
</div>
|
895
913
|
|
896
|
-
<div id="method-
|
897
|
-
<a name="
|
914
|
+
<div id="method-M000057" class="method-detail">
|
915
|
+
<a name="M000057"></a>
|
898
916
|
|
899
917
|
<div class="method-heading">
|
900
|
-
<a href="#
|
918
|
+
<a href="#M000057" class="method-signature">
|
901
919
|
<span class="method-name">XML::Parser.default_warnings → (true|false)<br />
|
902
920
|
</span>
|
903
921
|
</a>
|
@@ -908,8 +926,8 @@ ruby_xml_parser_default_validity_checking_set(VALUE class, VALUE bool) {
|
|
908
926
|
Determine whether parsers output warnings by default.
|
909
927
|
</p>
|
910
928
|
<p><a class="source-toggle" href="#"
|
911
|
-
onclick="toggleCode('
|
912
|
-
<div class="method-source-code" id="
|
929
|
+
onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
|
930
|
+
<div class="method-source-code" id="M000057-source">
|
913
931
|
<pre>
|
914
932
|
/*
|
915
933
|
* call-seq:
|
@@ -925,11 +943,11 @@ ruby_xml_parser_default_warnings_get(VALUE class) {
|
|
925
943
|
</div>
|
926
944
|
</div>
|
927
945
|
|
928
|
-
<div id="method-
|
929
|
-
<a name="
|
946
|
+
<div id="method-M000058" class="method-detail">
|
947
|
+
<a name="M000058"></a>
|
930
948
|
|
931
949
|
<div class="method-heading">
|
932
|
-
<a href="#
|
950
|
+
<a href="#M000058" class="method-signature">
|
933
951
|
<span class="method-name">XML::Parser.default_warnings = true|false<br />
|
934
952
|
</span>
|
935
953
|
</a>
|
@@ -940,8 +958,8 @@ ruby_xml_parser_default_warnings_get(VALUE class) {
|
|
940
958
|
Controls whether parsers output warnings by default.
|
941
959
|
</p>
|
942
960
|
<p><a class="source-toggle" href="#"
|
943
|
-
onclick="toggleCode('
|
944
|
-
<div class="method-source-code" id="
|
961
|
+
onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
|
962
|
+
<div class="method-source-code" id="M000058-source">
|
945
963
|
<pre>
|
946
964
|
/*
|
947
965
|
* call-seq:
|
@@ -957,11 +975,11 @@ ruby_xml_parser_default_warnings_set(VALUE class, VALUE bool) {
|
|
957
975
|
</div>
|
958
976
|
</div>
|
959
977
|
|
960
|
-
<div id="method-
|
961
|
-
<a name="
|
978
|
+
<div id="method-M000018" class="method-detail">
|
979
|
+
<a name="M000018"></a>
|
962
980
|
|
963
981
|
<div class="method-heading">
|
964
|
-
<a href="#
|
982
|
+
<a href="#M000018" class="method-signature">
|
965
983
|
<span class="method-name">XML::Parser.enabled_automata? → (true|false)<br />
|
966
984
|
</span>
|
967
985
|
</a>
|
@@ -972,8 +990,8 @@ ruby_xml_parser_default_warnings_set(VALUE class, VALUE bool) {
|
|
972
990
|
Determine whether libxml regexp automata support is enabled.
|
973
991
|
</p>
|
974
992
|
<p><a class="source-toggle" href="#"
|
975
|
-
onclick="toggleCode('
|
976
|
-
<div class="method-source-code" id="
|
993
|
+
onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
|
994
|
+
<div class="method-source-code" id="M000018-source">
|
977
995
|
<pre>
|
978
996
|
/*
|
979
997
|
* call-seq:
|
@@ -989,11 +1007,11 @@ ruby_xml_parser_enabled_automata_q(VALUE class) {
|
|
989
1007
|
</div>
|
990
1008
|
</div>
|
991
1009
|
|
992
|
-
<div id="method-
|
993
|
-
<a name="
|
1010
|
+
<div id="method-M000019" class="method-detail">
|
1011
|
+
<a name="M000019"></a>
|
994
1012
|
|
995
1013
|
<div class="method-heading">
|
996
|
-
<a href="#
|
1014
|
+
<a href="#M000019" class="method-signature">
|
997
1015
|
<span class="method-name">XML::Parser.enabled_c14n? → (true|false)<br />
|
998
1016
|
</span>
|
999
1017
|
</a>
|
@@ -1007,8 +1025,8 @@ href="../XML.html">XML</a>’ support is enabled. See "Canonical
|
|
1007
1025
|
href="http://www.w3.org/TR/xml-c14n">www.w3.org/TR/xml-c14n</a>)
|
1008
1026
|
</p>
|
1009
1027
|
<p><a class="source-toggle" href="#"
|
1010
|
-
onclick="toggleCode('
|
1011
|
-
<div class="method-source-code" id="
|
1028
|
+
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
1029
|
+
<div class="method-source-code" id="M000019-source">
|
1012
1030
|
<pre>
|
1013
1031
|
/*
|
1014
1032
|
* call-seq:
|
@@ -1025,11 +1043,11 @@ ruby_xml_parser_enabled_c14n_q(VALUE class) {
|
|
1025
1043
|
</div>
|
1026
1044
|
</div>
|
1027
1045
|
|
1028
|
-
<div id="method-
|
1029
|
-
<a name="
|
1046
|
+
<div id="method-M000020" class="method-detail">
|
1047
|
+
<a name="M000020"></a>
|
1030
1048
|
|
1031
1049
|
<div class="method-heading">
|
1032
|
-
<a href="#
|
1050
|
+
<a href="#M000020" class="method-signature">
|
1033
1051
|
<span class="method-name">XML::Parser.enabled_catalog? → (true|false) <br />
|
1034
1052
|
</span>
|
1035
1053
|
</a>
|
@@ -1040,8 +1058,8 @@ ruby_xml_parser_enabled_c14n_q(VALUE class) {
|
|
1040
1058
|
Determine whether libxml resource catalog support is enabled.
|
1041
1059
|
</p>
|
1042
1060
|
<p><a class="source-toggle" href="#"
|
1043
|
-
onclick="toggleCode('
|
1044
|
-
<div class="method-source-code" id="
|
1061
|
+
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
1062
|
+
<div class="method-source-code" id="M000020-source">
|
1045
1063
|
<pre>
|
1046
1064
|
/*
|
1047
1065
|
* call-seq:
|
@@ -1057,11 +1075,11 @@ ruby_xml_parser_enabled_catalog_q(VALUE class) {
|
|
1057
1075
|
</div>
|
1058
1076
|
</div>
|
1059
1077
|
|
1060
|
-
<div id="method-
|
1061
|
-
<a name="
|
1078
|
+
<div id="method-M000021" class="method-detail">
|
1079
|
+
<a name="M000021"></a>
|
1062
1080
|
|
1063
1081
|
<div class="method-heading">
|
1064
|
-
<a href="#
|
1082
|
+
<a href="#M000021" class="method-signature">
|
1065
1083
|
<span class="method-name">XML::Parser.enabled_debug? → (true|false) <br />
|
1066
1084
|
</span>
|
1067
1085
|
</a>
|
@@ -1072,8 +1090,8 @@ ruby_xml_parser_enabled_catalog_q(VALUE class) {
|
|
1072
1090
|
Determine whether libxml debugging support is enabled.
|
1073
1091
|
</p>
|
1074
1092
|
<p><a class="source-toggle" href="#"
|
1075
|
-
onclick="toggleCode('
|
1076
|
-
<div class="method-source-code" id="
|
1093
|
+
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
1094
|
+
<div class="method-source-code" id="M000021-source">
|
1077
1095
|
<pre>
|
1078
1096
|
/*
|
1079
1097
|
* call-seq:
|
@@ -1089,11 +1107,11 @@ ruby_xml_parser_enabled_debug_q(VALUE class) {
|
|
1089
1107
|
</div>
|
1090
1108
|
</div>
|
1091
1109
|
|
1092
|
-
<div id="method-
|
1093
|
-
<a name="
|
1110
|
+
<div id="method-M000022" class="method-detail">
|
1111
|
+
<a name="M000022"></a>
|
1094
1112
|
|
1095
1113
|
<div class="method-heading">
|
1096
|
-
<a href="#
|
1114
|
+
<a href="#M000022" class="method-signature">
|
1097
1115
|
<span class="method-name">XML::Parser.enabled_docbook? → (true|false) <br />
|
1098
1116
|
</span>
|
1099
1117
|
</a>
|
@@ -1104,8 +1122,8 @@ ruby_xml_parser_enabled_debug_q(VALUE class) {
|
|
1104
1122
|
Determine whether libxml docbook support is enabled.
|
1105
1123
|
</p>
|
1106
1124
|
<p><a class="source-toggle" href="#"
|
1107
|
-
onclick="toggleCode('
|
1108
|
-
<div class="method-source-code" id="
|
1125
|
+
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
1126
|
+
<div class="method-source-code" id="M000022-source">
|
1109
1127
|
<pre>
|
1110
1128
|
/*
|
1111
1129
|
* call-seq:
|
@@ -1121,11 +1139,11 @@ ruby_xml_parser_enabled_docbook_q(VALUE class) {
|
|
1121
1139
|
</div>
|
1122
1140
|
</div>
|
1123
1141
|
|
1124
|
-
<div id="method-
|
1125
|
-
<a name="
|
1142
|
+
<div id="method-M000023" class="method-detail">
|
1143
|
+
<a name="M000023"></a>
|
1126
1144
|
|
1127
1145
|
<div class="method-heading">
|
1128
|
-
<a href="#
|
1146
|
+
<a href="#M000023" class="method-signature">
|
1129
1147
|
<span class="method-name">XML::Parser.enabled_ftp? → (true|false) <br />
|
1130
1148
|
</span>
|
1131
1149
|
</a>
|
@@ -1136,8 +1154,8 @@ ruby_xml_parser_enabled_docbook_q(VALUE class) {
|
|
1136
1154
|
Determine whether libxml ftp client support is enabled.
|
1137
1155
|
</p>
|
1138
1156
|
<p><a class="source-toggle" href="#"
|
1139
|
-
onclick="toggleCode('
|
1140
|
-
<div class="method-source-code" id="
|
1157
|
+
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
1158
|
+
<div class="method-source-code" id="M000023-source">
|
1141
1159
|
<pre>
|
1142
1160
|
/*
|
1143
1161
|
* call-seq:
|
@@ -1153,11 +1171,11 @@ ruby_xml_parser_enabled_ftp_q(VALUE class) {
|
|
1153
1171
|
</div>
|
1154
1172
|
</div>
|
1155
1173
|
|
1156
|
-
<div id="method-
|
1157
|
-
<a name="
|
1174
|
+
<div id="method-M000025" class="method-detail">
|
1175
|
+
<a name="M000025"></a>
|
1158
1176
|
|
1159
1177
|
<div class="method-heading">
|
1160
|
-
<a href="#
|
1178
|
+
<a href="#M000025" class="method-signature">
|
1161
1179
|
<span class="method-name">XML::Parser.enabled_html? → (true|false) <br />
|
1162
1180
|
</span>
|
1163
1181
|
</a>
|
@@ -1168,8 +1186,8 @@ ruby_xml_parser_enabled_ftp_q(VALUE class) {
|
|
1168
1186
|
Determine whether libxml html support is enabled.
|
1169
1187
|
</p>
|
1170
1188
|
<p><a class="source-toggle" href="#"
|
1171
|
-
onclick="toggleCode('
|
1172
|
-
<div class="method-source-code" id="
|
1189
|
+
onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
|
1190
|
+
<div class="method-source-code" id="M000025-source">
|
1173
1191
|
<pre>
|
1174
1192
|
/*
|
1175
1193
|
* call-seq:
|
@@ -1185,11 +1203,11 @@ ruby_xml_parser_enabled_html_q(VALUE class) {
|
|
1185
1203
|
</div>
|
1186
1204
|
</div>
|
1187
1205
|
|
1188
|
-
<div id="method-
|
1189
|
-
<a name="
|
1206
|
+
<div id="method-M000024" class="method-detail">
|
1207
|
+
<a name="M000024"></a>
|
1190
1208
|
|
1191
1209
|
<div class="method-heading">
|
1192
|
-
<a href="#
|
1210
|
+
<a href="#M000024" class="method-signature">
|
1193
1211
|
<span class="method-name">XML::Parser.enabled_http? → (true|false) <br />
|
1194
1212
|
</span>
|
1195
1213
|
</a>
|
@@ -1200,8 +1218,8 @@ ruby_xml_parser_enabled_html_q(VALUE class) {
|
|
1200
1218
|
Determine whether libxml http client support is enabled.
|
1201
1219
|
</p>
|
1202
1220
|
<p><a class="source-toggle" href="#"
|
1203
|
-
onclick="toggleCode('
|
1204
|
-
<div class="method-source-code" id="
|
1221
|
+
onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
|
1222
|
+
<div class="method-source-code" id="M000024-source">
|
1205
1223
|
<pre>
|
1206
1224
|
/*
|
1207
1225
|
* call-seq:
|
@@ -1217,11 +1235,11 @@ ruby_xml_parser_enabled_http_q(VALUE class) {
|
|
1217
1235
|
</div>
|
1218
1236
|
</div>
|
1219
1237
|
|
1220
|
-
<div id="method-
|
1221
|
-
<a name="
|
1238
|
+
<div id="method-M000026" class="method-detail">
|
1239
|
+
<a name="M000026"></a>
|
1222
1240
|
|
1223
1241
|
<div class="method-heading">
|
1224
|
-
<a href="#
|
1242
|
+
<a href="#M000026" class="method-signature">
|
1225
1243
|
<span class="method-name">XML::Parser.enabled_iconv? → (true|false) <br />
|
1226
1244
|
</span>
|
1227
1245
|
</a>
|
@@ -1232,8 +1250,8 @@ ruby_xml_parser_enabled_http_q(VALUE class) {
|
|
1232
1250
|
Determine whether libxml iconv support is enabled.
|
1233
1251
|
</p>
|
1234
1252
|
<p><a class="source-toggle" href="#"
|
1235
|
-
onclick="toggleCode('
|
1236
|
-
<div class="method-source-code" id="
|
1253
|
+
onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
|
1254
|
+
<div class="method-source-code" id="M000026-source">
|
1237
1255
|
<pre>
|
1238
1256
|
/*
|
1239
1257
|
* call-seq:
|
@@ -1249,11 +1267,11 @@ ruby_xml_parser_enabled_iconv_q(VALUE class) {
|
|
1249
1267
|
</div>
|
1250
1268
|
</div>
|
1251
1269
|
|
1252
|
-
<div id="method-
|
1253
|
-
<a name="
|
1270
|
+
<div id="method-M000027" class="method-detail">
|
1271
|
+
<a name="M000027"></a>
|
1254
1272
|
|
1255
1273
|
<div class="method-heading">
|
1256
|
-
<a href="#
|
1274
|
+
<a href="#M000027" class="method-signature">
|
1257
1275
|
<span class="method-name">XML::Parser.enabled_memory_debug? → (true|false) <br />
|
1258
1276
|
</span>
|
1259
1277
|
</a>
|
@@ -1264,8 +1282,8 @@ ruby_xml_parser_enabled_iconv_q(VALUE class) {
|
|
1264
1282
|
Determine whether libxml memory location debugging support is enabled.
|
1265
1283
|
</p>
|
1266
1284
|
<p><a class="source-toggle" href="#"
|
1267
|
-
onclick="toggleCode('
|
1268
|
-
<div class="method-source-code" id="
|
1285
|
+
onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
|
1286
|
+
<div class="method-source-code" id="M000027-source">
|
1269
1287
|
<pre>
|
1270
1288
|
/*
|
1271
1289
|
* call-seq:
|
@@ -1282,11 +1300,11 @@ ruby_xml_parser_enabled_memory_debug_location_q(VALUE class) {
|
|
1282
1300
|
</div>
|
1283
1301
|
</div>
|
1284
1302
|
|
1285
|
-
<div id="method-
|
1286
|
-
<a name="
|
1303
|
+
<div id="method-M000028" class="method-detail">
|
1304
|
+
<a name="M000028"></a>
|
1287
1305
|
|
1288
1306
|
<div class="method-heading">
|
1289
|
-
<a href="#
|
1307
|
+
<a href="#M000028" class="method-signature">
|
1290
1308
|
<span class="method-name">XML::Parser.enabled_regexp? → (true|false) <br />
|
1291
1309
|
</span>
|
1292
1310
|
</a>
|
@@ -1297,8 +1315,8 @@ ruby_xml_parser_enabled_memory_debug_location_q(VALUE class) {
|
|
1297
1315
|
Determine whether libxml regular expression support is enabled.
|
1298
1316
|
</p>
|
1299
1317
|
<p><a class="source-toggle" href="#"
|
1300
|
-
onclick="toggleCode('
|
1301
|
-
<div class="method-source-code" id="
|
1318
|
+
onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
|
1319
|
+
<div class="method-source-code" id="M000028-source">
|
1302
1320
|
<pre>
|
1303
1321
|
/*
|
1304
1322
|
* call-seq:
|
@@ -1314,11 +1332,11 @@ ruby_xml_parser_enabled_regexp_q(VALUE class) {
|
|
1314
1332
|
</div>
|
1315
1333
|
</div>
|
1316
1334
|
|
1317
|
-
<div id="method-
|
1318
|
-
<a name="
|
1335
|
+
<div id="method-M000029" class="method-detail">
|
1336
|
+
<a name="M000029"></a>
|
1319
1337
|
|
1320
1338
|
<div class="method-heading">
|
1321
|
-
<a href="#
|
1339
|
+
<a href="#M000029" class="method-signature">
|
1322
1340
|
<span class="method-name">XML::Parser.enabled_schemas? → (true|false) <br />
|
1323
1341
|
</span>
|
1324
1342
|
</a>
|
@@ -1329,8 +1347,8 @@ ruby_xml_parser_enabled_regexp_q(VALUE class) {
|
|
1329
1347
|
Determine whether libxml schema support is enabled.
|
1330
1348
|
</p>
|
1331
1349
|
<p><a class="source-toggle" href="#"
|
1332
|
-
onclick="toggleCode('
|
1333
|
-
<div class="method-source-code" id="
|
1350
|
+
onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
|
1351
|
+
<div class="method-source-code" id="M000029-source">
|
1334
1352
|
<pre>
|
1335
1353
|
/*
|
1336
1354
|
* call-seq:
|
@@ -1346,11 +1364,11 @@ ruby_xml_parser_enabled_schemas_q(VALUE class) {
|
|
1346
1364
|
</div>
|
1347
1365
|
</div>
|
1348
1366
|
|
1349
|
-
<div id="method-
|
1350
|
-
<a name="
|
1367
|
+
<div id="method-M000030" class="method-detail">
|
1368
|
+
<a name="M000030"></a>
|
1351
1369
|
|
1352
1370
|
<div class="method-heading">
|
1353
|
-
<a href="#
|
1371
|
+
<a href="#M000030" class="method-signature">
|
1354
1372
|
<span class="method-name">XML::Parser.enabled_thread? → (true|false) <br />
|
1355
1373
|
</span>
|
1356
1374
|
</a>
|
@@ -1362,8 +1380,8 @@ Determine whether libxml thread-safe semantics support is enabled (I
|
|
1362
1380
|
think?).
|
1363
1381
|
</p>
|
1364
1382
|
<p><a class="source-toggle" href="#"
|
1365
|
-
onclick="toggleCode('
|
1366
|
-
<div class="method-source-code" id="
|
1383
|
+
onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
|
1384
|
+
<div class="method-source-code" id="M000030-source">
|
1367
1385
|
<pre>
|
1368
1386
|
/*
|
1369
1387
|
* call-seq:
|
@@ -1380,11 +1398,11 @@ ruby_xml_parser_enabled_thread_q(VALUE class) {
|
|
1380
1398
|
</div>
|
1381
1399
|
</div>
|
1382
1400
|
|
1383
|
-
<div id="method-
|
1384
|
-
<a name="
|
1401
|
+
<div id="method-M000031" class="method-detail">
|
1402
|
+
<a name="M000031"></a>
|
1385
1403
|
|
1386
1404
|
<div class="method-heading">
|
1387
|
-
<a href="#
|
1405
|
+
<a href="#M000031" class="method-signature">
|
1388
1406
|
<span class="method-name">XML::Parser.enabled_unicode? → (true|false) <br />
|
1389
1407
|
</span>
|
1390
1408
|
</a>
|
@@ -1395,8 +1413,8 @@ ruby_xml_parser_enabled_thread_q(VALUE class) {
|
|
1395
1413
|
Determine whether libxml unicode support is enabled.
|
1396
1414
|
</p>
|
1397
1415
|
<p><a class="source-toggle" href="#"
|
1398
|
-
onclick="toggleCode('
|
1399
|
-
<div class="method-source-code" id="
|
1416
|
+
onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
|
1417
|
+
<div class="method-source-code" id="M000031-source">
|
1400
1418
|
<pre>
|
1401
1419
|
/*
|
1402
1420
|
* call-seq:
|
@@ -1412,11 +1430,11 @@ ruby_xml_parser_enabled_unicode_q(VALUE class) {
|
|
1412
1430
|
</div>
|
1413
1431
|
</div>
|
1414
1432
|
|
1415
|
-
<div id="method-
|
1416
|
-
<a name="
|
1433
|
+
<div id="method-M000032" class="method-detail">
|
1434
|
+
<a name="M000032"></a>
|
1417
1435
|
|
1418
1436
|
<div class="method-heading">
|
1419
|
-
<a href="#
|
1437
|
+
<a href="#M000032" class="method-signature">
|
1420
1438
|
<span class="method-name">XML::Parser.enabled_xinclude? → (true|false) <br />
|
1421
1439
|
</span>
|
1422
1440
|
</a>
|
@@ -1427,8 +1445,8 @@ ruby_xml_parser_enabled_unicode_q(VALUE class) {
|
|
1427
1445
|
Determine whether libxml xinclude support is enabled.
|
1428
1446
|
</p>
|
1429
1447
|
<p><a class="source-toggle" href="#"
|
1430
|
-
onclick="toggleCode('
|
1431
|
-
<div class="method-source-code" id="
|
1448
|
+
onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
|
1449
|
+
<div class="method-source-code" id="M000032-source">
|
1432
1450
|
<pre>
|
1433
1451
|
/*
|
1434
1452
|
* call-seq:
|
@@ -1444,11 +1462,11 @@ ruby_xml_parser_enabled_xinclude_q(VALUE class) {
|
|
1444
1462
|
</div>
|
1445
1463
|
</div>
|
1446
1464
|
|
1447
|
-
<div id="method-
|
1448
|
-
<a name="
|
1465
|
+
<div id="method-M000033" class="method-detail">
|
1466
|
+
<a name="M000033"></a>
|
1449
1467
|
|
1450
1468
|
<div class="method-heading">
|
1451
|
-
<a href="#
|
1469
|
+
<a href="#M000033" class="method-signature">
|
1452
1470
|
<span class="method-name">XML::Parser.enabled_xpath? → (true|false) <br />
|
1453
1471
|
</span>
|
1454
1472
|
</a>
|
@@ -1459,8 +1477,8 @@ ruby_xml_parser_enabled_xinclude_q(VALUE class) {
|
|
1459
1477
|
Determine whether libxml xpath support is enabled.
|
1460
1478
|
</p>
|
1461
1479
|
<p><a class="source-toggle" href="#"
|
1462
|
-
onclick="toggleCode('
|
1463
|
-
<div class="method-source-code" id="
|
1480
|
+
onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
|
1481
|
+
<div class="method-source-code" id="M000033-source">
|
1464
1482
|
<pre>
|
1465
1483
|
/*
|
1466
1484
|
* call-seq:
|
@@ -1476,11 +1494,11 @@ ruby_xml_parser_enabled_xpath_q(VALUE class) {
|
|
1476
1494
|
</div>
|
1477
1495
|
</div>
|
1478
1496
|
|
1479
|
-
<div id="method-
|
1480
|
-
<a name="
|
1497
|
+
<div id="method-M000034" class="method-detail">
|
1498
|
+
<a name="M000034"></a>
|
1481
1499
|
|
1482
1500
|
<div class="method-heading">
|
1483
|
-
<a href="#
|
1501
|
+
<a href="#M000034" class="method-signature">
|
1484
1502
|
<span class="method-name">XML::Parser.enabled_xpointer? → (true|false) <br />
|
1485
1503
|
</span>
|
1486
1504
|
</a>
|
@@ -1491,8 +1509,8 @@ ruby_xml_parser_enabled_xpath_q(VALUE class) {
|
|
1491
1509
|
Determine whether libxml xpointer support is enabled.
|
1492
1510
|
</p>
|
1493
1511
|
<p><a class="source-toggle" href="#"
|
1494
|
-
onclick="toggleCode('
|
1495
|
-
<div class="method-source-code" id="
|
1512
|
+
onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
|
1513
|
+
<div class="method-source-code" id="M000034-source">
|
1496
1514
|
<pre>
|
1497
1515
|
/*
|
1498
1516
|
* call-seq:
|
@@ -1508,11 +1526,11 @@ ruby_xml_parser_enabled_xpointer_q(VALUE class) {
|
|
1508
1526
|
</div>
|
1509
1527
|
</div>
|
1510
1528
|
|
1511
|
-
<div id="method-
|
1512
|
-
<a name="
|
1529
|
+
<div id="method-M000035" class="method-detail">
|
1530
|
+
<a name="M000035"></a>
|
1513
1531
|
|
1514
1532
|
<div class="method-heading">
|
1515
|
-
<a href="#
|
1533
|
+
<a href="#M000035" class="method-signature">
|
1516
1534
|
<span class="method-name">XML::Parser.enabled_zlib? → (true|false) <br />
|
1517
1535
|
</span>
|
1518
1536
|
</a>
|
@@ -1523,8 +1541,8 @@ ruby_xml_parser_enabled_xpointer_q(VALUE class) {
|
|
1523
1541
|
Determine whether libxml zlib support is enabled.
|
1524
1542
|
</p>
|
1525
1543
|
<p><a class="source-toggle" href="#"
|
1526
|
-
onclick="toggleCode('
|
1527
|
-
<div class="method-source-code" id="
|
1544
|
+
onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
|
1545
|
+
<div class="method-source-code" id="M000035-source">
|
1528
1546
|
<pre>
|
1529
1547
|
/*
|
1530
1548
|
* call-seq:
|
@@ -1540,11 +1558,11 @@ ruby_xml_parser_enabled_zlib_q(VALUE class) {
|
|
1540
1558
|
</div>
|
1541
1559
|
</div>
|
1542
1560
|
|
1543
|
-
<div id="method-
|
1544
|
-
<a name="
|
1561
|
+
<div id="method-M000059" class="method-detail">
|
1562
|
+
<a name="M000059"></a>
|
1545
1563
|
|
1546
1564
|
<div class="method-heading">
|
1547
|
-
<a href="#
|
1565
|
+
<a href="#M000059" class="method-signature">
|
1548
1566
|
<span class="method-name">XML::Parser.features → ["feature", ..., "feature"]<br />
|
1549
1567
|
</span>
|
1550
1568
|
</a>
|
@@ -1556,8 +1574,8 @@ Obtains an array of strings representing features supported (and enabled)
|
|
1556
1574
|
by the installed libxml.
|
1557
1575
|
</p>
|
1558
1576
|
<p><a class="source-toggle" href="#"
|
1559
|
-
onclick="toggleCode('
|
1560
|
-
<div class="method-source-code" id="
|
1577
|
+
onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
|
1578
|
+
<div class="method-source-code" id="M000059-source">
|
1561
1579
|
<pre>
|
1562
1580
|
/*
|
1563
1581
|
* call-seq:
|
@@ -1574,11 +1592,11 @@ ruby_xml_parser_features(VALUE class) {
|
|
1574
1592
|
</div>
|
1575
1593
|
</div>
|
1576
1594
|
|
1577
|
-
<div id="method-
|
1578
|
-
<a name="
|
1595
|
+
<div id="method-M000060" class="method-detail">
|
1596
|
+
<a name="M000060"></a>
|
1579
1597
|
|
1580
1598
|
<div class="method-heading">
|
1581
|
-
<a href="#
|
1599
|
+
<a href="#M000060" class="method-signature">
|
1582
1600
|
<span class="method-name">XML::Parser.file → parser<br />
|
1583
1601
|
</span>
|
1584
1602
|
</a>
|
@@ -1589,8 +1607,8 @@ ruby_xml_parser_features(VALUE class) {
|
|
1589
1607
|
Create a new parser instance that will read the specified file.
|
1590
1608
|
</p>
|
1591
1609
|
<p><a class="source-toggle" href="#"
|
1592
|
-
onclick="toggleCode('
|
1593
|
-
<div class="method-source-code" id="
|
1610
|
+
onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
|
1611
|
+
<div class="method-source-code" id="M000060-source">
|
1594
1612
|
<pre>
|
1595
1613
|
/*
|
1596
1614
|
* call-seq:
|
@@ -1606,11 +1624,11 @@ ruby_xml_parser_new_file(VALUE class, VALUE filename) {
|
|
1606
1624
|
</div>
|
1607
1625
|
</div>
|
1608
1626
|
|
1609
|
-
<div id="method-
|
1610
|
-
<a name="
|
1627
|
+
<div id="method-M000061" class="method-detail">
|
1628
|
+
<a name="M000061"></a>
|
1611
1629
|
|
1612
1630
|
<div class="method-heading">
|
1613
|
-
<a href="#
|
1631
|
+
<a href="#M000061" class="method-signature">
|
1614
1632
|
<span class="method-name">XML::Parser.indent_tree_output → (true|false)<br />
|
1615
1633
|
</span>
|
1616
1634
|
</a>
|
@@ -1622,8 +1640,8 @@ Determines whether <a href="../XML.html">XML</a> output will be indented
|
|
1622
1640
|
(using the string supplied to <tt>default_indent_tree_string</tt>)
|
1623
1641
|
</p>
|
1624
1642
|
<p><a class="source-toggle" href="#"
|
1625
|
-
onclick="toggleCode('
|
1626
|
-
<div class="method-source-code" id="
|
1643
|
+
onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
|
1644
|
+
<div class="method-source-code" id="M000061-source">
|
1627
1645
|
<pre>
|
1628
1646
|
/*
|
1629
1647
|
* call-seq:
|
@@ -1640,11 +1658,11 @@ ruby_xml_parser_indent_tree_output_get(VALUE class) {
|
|
1640
1658
|
</div>
|
1641
1659
|
</div>
|
1642
1660
|
|
1643
|
-
<div id="method-
|
1644
|
-
<a name="
|
1661
|
+
<div id="method-M000062" class="method-detail">
|
1662
|
+
<a name="M000062"></a>
|
1645
1663
|
|
1646
1664
|
<div class="method-heading">
|
1647
|
-
<a href="#
|
1665
|
+
<a href="#M000062" class="method-signature">
|
1648
1666
|
<span class="method-name">XML::Parser.indent_tree_output = true|false<br />
|
1649
1667
|
</span>
|
1650
1668
|
</a>
|
@@ -1656,8 +1674,8 @@ Controls whether <a href="../XML.html">XML</a> output will be indented
|
|
1656
1674
|
(using the string supplied to <tt>default_indent_tree_string</tt>)
|
1657
1675
|
</p>
|
1658
1676
|
<p><a class="source-toggle" href="#"
|
1659
|
-
onclick="toggleCode('
|
1660
|
-
<div class="method-source-code" id="
|
1677
|
+
onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
|
1678
|
+
<div class="method-source-code" id="M000062-source">
|
1661
1679
|
<pre>
|
1662
1680
|
/*
|
1663
1681
|
* call-seq:
|
@@ -1674,11 +1692,11 @@ ruby_xml_parser_indent_tree_output_set(VALUE class, VALUE bool) {
|
|
1674
1692
|
</div>
|
1675
1693
|
</div>
|
1676
1694
|
|
1677
|
-
<div id="method-
|
1678
|
-
<a name="
|
1695
|
+
<div id="method-M000063" class="method-detail">
|
1696
|
+
<a name="M000063"></a>
|
1679
1697
|
|
1680
1698
|
<div class="method-heading">
|
1681
|
-
<a href="#
|
1699
|
+
<a href="#M000063" class="method-signature">
|
1682
1700
|
<span class="method-name">XML::Parser.io → parser<br />
|
1683
1701
|
</span>
|
1684
1702
|
</a>
|
@@ -1689,8 +1707,8 @@ ruby_xml_parser_indent_tree_output_set(VALUE class, VALUE bool) {
|
|
1689
1707
|
Create a new parser instance that will read from the specified IO object.
|
1690
1708
|
</p>
|
1691
1709
|
<p><a class="source-toggle" href="#"
|
1692
|
-
onclick="toggleCode('
|
1693
|
-
<div class="method-source-code" id="
|
1710
|
+
onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
|
1711
|
+
<div class="method-source-code" id="M000063-source">
|
1694
1712
|
<pre>
|
1695
1713
|
/*
|
1696
1714
|
* call-seq:
|
@@ -1707,11 +1725,11 @@ ruby_xml_parser_new_io(VALUE class, VALUE io) {
|
|
1707
1725
|
</div>
|
1708
1726
|
</div>
|
1709
1727
|
|
1710
|
-
<div id="method-
|
1711
|
-
<a name="
|
1728
|
+
<div id="method-M000064" class="method-detail">
|
1729
|
+
<a name="M000064"></a>
|
1712
1730
|
|
1713
1731
|
<div class="method-heading">
|
1714
|
-
<a href="#
|
1732
|
+
<a href="#M000064" class="method-signature">
|
1715
1733
|
<span class="method-name">XML::Parser.memory_dump → (true|false)<br />
|
1716
1734
|
</span>
|
1717
1735
|
</a>
|
@@ -1722,8 +1740,8 @@ ruby_xml_parser_new_io(VALUE class, VALUE io) {
|
|
1722
1740
|
Perform a parser memory dump (requires memory debugging support in libxml).
|
1723
1741
|
</p>
|
1724
1742
|
<p><a class="source-toggle" href="#"
|
1725
|
-
onclick="toggleCode('
|
1726
|
-
<div class="method-source-code" id="
|
1743
|
+
onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
|
1744
|
+
<div class="method-source-code" id="M000064-source">
|
1727
1745
|
<pre>
|
1728
1746
|
/*
|
1729
1747
|
* call-seq:
|
@@ -1740,11 +1758,11 @@ ruby_xml_parser_memory_dump(VALUE self) {
|
|
1740
1758
|
</div>
|
1741
1759
|
</div>
|
1742
1760
|
|
1743
|
-
<div id="method-
|
1744
|
-
<a name="
|
1761
|
+
<div id="method-M000065" class="method-detail">
|
1762
|
+
<a name="M000065"></a>
|
1745
1763
|
|
1746
1764
|
<div class="method-heading">
|
1747
|
-
<a href="#
|
1765
|
+
<a href="#M000065" class="method-signature">
|
1748
1766
|
<span class="method-name">XML::Parser.memory_used → num_bytes<br />
|
1749
1767
|
</span>
|
1750
1768
|
</a>
|
@@ -1755,8 +1773,8 @@ ruby_xml_parser_memory_dump(VALUE self) {
|
|
1755
1773
|
Perform a parser memory dump (requires memory debugging support in libxml).
|
1756
1774
|
</p>
|
1757
1775
|
<p><a class="source-toggle" href="#"
|
1758
|
-
onclick="toggleCode('
|
1759
|
-
<div class="method-source-code" id="
|
1776
|
+
onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
|
1777
|
+
<div class="method-source-code" id="M000065-source">
|
1760
1778
|
<pre>
|
1761
1779
|
/*
|
1762
1780
|
* call-seq:
|
@@ -1773,11 +1791,11 @@ ruby_xml_parser_memory_used(VALUE self) {
|
|
1773
1791
|
</div>
|
1774
1792
|
</div>
|
1775
1793
|
|
1776
|
-
<div id="method-
|
1777
|
-
<a name="
|
1794
|
+
<div id="method-M000066" class="method-detail">
|
1795
|
+
<a name="M000066"></a>
|
1778
1796
|
|
1779
1797
|
<div class="method-heading">
|
1780
|
-
<a href="#
|
1798
|
+
<a href="#M000066" class="method-signature">
|
1781
1799
|
<span class="method-name">XML::Parser.new → parser<br />
|
1782
1800
|
</span>
|
1783
1801
|
</a>
|
@@ -1788,8 +1806,8 @@ ruby_xml_parser_memory_used(VALUE self) {
|
|
1788
1806
|
Create a new parser instance with no pre-determined source.
|
1789
1807
|
</p>
|
1790
1808
|
<p><a class="source-toggle" href="#"
|
1791
|
-
onclick="toggleCode('
|
1792
|
-
<div class="method-source-code" id="
|
1809
|
+
onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
|
1810
|
+
<div class="method-source-code" id="M000066-source">
|
1793
1811
|
<pre>
|
1794
1812
|
/*
|
1795
1813
|
* call-seq:
|
@@ -1805,23 +1823,30 @@ ruby_xml_parser_new(VALUE class) {
|
|
1805
1823
|
</div>
|
1806
1824
|
</div>
|
1807
1825
|
|
1808
|
-
<div id="method-
|
1809
|
-
<a name="
|
1826
|
+
<div id="method-M000076" class="method-detail">
|
1827
|
+
<a name="M000076"></a>
|
1810
1828
|
|
1811
1829
|
<div class="method-heading">
|
1812
|
-
<a href="#
|
1813
|
-
<span class="method-name">
|
1814
|
-
XML::Parser.register_error_handler(nil) → old_handler<br />
|
1815
|
-
</span>
|
1830
|
+
<a href="#M000076" class="method-signature">
|
1831
|
+
<span class="method-name">register_error_handler</span><span class="method-args">(value = nil, &block)</span>
|
1816
1832
|
</a>
|
1817
1833
|
</div>
|
1818
1834
|
|
1819
1835
|
<div class="method-description">
|
1820
1836
|
<p>
|
1821
|
-
Register the attached block as the handler for parser errors.
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1837
|
+
Register the attached block as the handler for parser errors.
|
1838
|
+
</p>
|
1839
|
+
<p>
|
1840
|
+
<a href="Parser.html#M000076">Parser.register_error_handler</a> {|msg|
|
1841
|
+
<do stuff>} <a
|
1842
|
+
href="Parser.html#M000076">Parser.register_error_handler</a>(lambda {|msg|
|
1843
|
+
<do stuff>}) <a
|
1844
|
+
href="Parser.html#M000076">Parser.register_error_handler</a>(nil)
|
1845
|
+
</p>
|
1846
|
+
<p>
|
1847
|
+
A message describing parse errors is passed to the block. Libxml passes
|
1848
|
+
error messages to the handler in parts, one per call. A typical error
|
1849
|
+
results in six calls to this proc, with arguments:
|
1825
1850
|
</p>
|
1826
1851
|
<pre>
|
1827
1852
|
"Entity: line 1: ",
|
@@ -1835,41 +1860,26 @@ six calls to this proc, with arguments:
|
|
1835
1860
|
Note that the error handler is shared by all threads.
|
1836
1861
|
</p>
|
1837
1862
|
<p><a class="source-toggle" href="#"
|
1838
|
-
onclick="toggleCode('
|
1839
|
-
<div class="method-source-code" id="
|
1863
|
+
onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
|
1864
|
+
<div class="method-source-code" id="M000076-source">
|
1840
1865
|
<pre>
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
* Libxml passes error messages to the handler in parts, one per call.
|
1849
|
-
* A typical error results in six calls to this proc, with arguments:
|
1850
|
-
*
|
1851
|
-
* "Entity: line 1: ",
|
1852
|
-
* "parser ",
|
1853
|
-
* "error : ",
|
1854
|
-
* "Opening and ending tag mismatch: foo line 1 and foz\n",
|
1855
|
-
* "<foo><bar/></foz>\n",
|
1856
|
-
* " ^\n"
|
1857
|
-
*
|
1858
|
-
* Note that the error handler is shared by all threads.
|
1859
|
-
*/
|
1860
|
-
VALUE
|
1861
|
-
ruby_xml_parser_registerErrorHandler(VALUE self, VALUE proc) {
|
1862
|
-
|
1866
|
+
<span class="ruby-comment cmt"># File lib/libxml/parser.rb, line 25</span>
|
1867
|
+
25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">register_error_handler</span>(<span class="ruby-identifier">value</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
1868
|
+
26: <span class="ruby-comment cmt"># Value may be nil or a proc.</span>
|
1869
|
+
27: <span class="ruby-identifier">tmp</span> = <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">error_handler</span>
|
1870
|
+
28: <span class="ruby-ivar">@error_handler</span> = <span class="ruby-identifier">block_given?</span> <span class="ruby-value">? </span><span class="ruby-identifier">block</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">value</span>
|
1871
|
+
29: <span class="ruby-identifier">tmp</span>
|
1872
|
+
30: <span class="ruby-keyword kw">end</span>
|
1863
1873
|
</pre>
|
1864
1874
|
</div>
|
1865
1875
|
</div>
|
1866
1876
|
</div>
|
1867
1877
|
|
1868
|
-
<div id="method-
|
1869
|
-
<a name="
|
1878
|
+
<div id="method-M000067" class="method-detail">
|
1879
|
+
<a name="M000067"></a>
|
1870
1880
|
|
1871
1881
|
<div class="method-heading">
|
1872
|
-
<a href="#
|
1882
|
+
<a href="#M000067" class="method-signature">
|
1873
1883
|
<span class="method-name">XML::Parser.string → parser<br />
|
1874
1884
|
</span>
|
1875
1885
|
</a>
|
@@ -1880,8 +1890,8 @@ ruby_xml_parser_registerErrorHandler(VALUE self, VALUE proc) {
|
|
1880
1890
|
Create a new parser instance that will parse the given string.
|
1881
1891
|
</p>
|
1882
1892
|
<p><a class="source-toggle" href="#"
|
1883
|
-
onclick="toggleCode('
|
1884
|
-
<div class="method-source-code" id="
|
1893
|
+
onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
|
1894
|
+
<div class="method-source-code" id="M000067-source">
|
1885
1895
|
<pre>
|
1886
1896
|
/*
|
1887
1897
|
* call-seq:
|
@@ -1893,6 +1903,33 @@ Create a new parser instance that will parse the given string.
|
|
1893
1903
|
VALUE
|
1894
1904
|
ruby_xml_parser_new_string(VALUE class, VALUE str) {
|
1895
1905
|
|
1906
|
+
</pre>
|
1907
|
+
</div>
|
1908
|
+
</div>
|
1909
|
+
</div>
|
1910
|
+
|
1911
|
+
<div id="method-M000077" class="method-detail">
|
1912
|
+
<a name="M000077"></a>
|
1913
|
+
|
1914
|
+
<div class="method-heading">
|
1915
|
+
<a href="#M000077" class="method-signature">
|
1916
|
+
<span class="method-name">xml_error_func_handler</span><span class="method-args">(msg)</span>
|
1917
|
+
</a>
|
1918
|
+
</div>
|
1919
|
+
|
1920
|
+
<div class="method-description">
|
1921
|
+
<p><a class="source-toggle" href="#"
|
1922
|
+
onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
|
1923
|
+
<div class="method-source-code" id="M000077-source">
|
1924
|
+
<pre>
|
1925
|
+
<span class="ruby-comment cmt"># File lib/libxml/parser.rb, line 32</span>
|
1926
|
+
32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xml_error_func_handler</span>(<span class="ruby-identifier">msg</span>)
|
1927
|
+
33: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">error_handler</span>
|
1928
|
+
34: <span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">puts</span>(<span class="ruby-identifier">msg</span>)
|
1929
|
+
35: <span class="ruby-keyword kw">else</span>
|
1930
|
+
36: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">error_handler</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">msg</span>)
|
1931
|
+
37: <span class="ruby-keyword kw">end</span>
|
1932
|
+
38: <span class="ruby-keyword kw">end</span>
|
1896
1933
|
</pre>
|
1897
1934
|
</div>
|
1898
1935
|
</div>
|
@@ -1900,11 +1937,11 @@ ruby_xml_parser_new_string(VALUE class, VALUE str) {
|
|
1900
1937
|
|
1901
1938
|
<h3 class="section-bar">Public Instance methods</h3>
|
1902
1939
|
|
1903
|
-
<div id="method-
|
1904
|
-
<a name="
|
1940
|
+
<div id="method-M000073" class="method-detail">
|
1941
|
+
<a name="M000073"></a>
|
1905
1942
|
|
1906
1943
|
<div class="method-heading">
|
1907
|
-
<a href="#
|
1944
|
+
<a href="#M000073" class="method-signature">
|
1908
1945
|
<span class="method-name">parser.context → context<br />
|
1909
1946
|
</span>
|
1910
1947
|
</a>
|
@@ -1916,8 +1953,8 @@ Obtain the <a href="Parser/Context.html">XML::Parser::Context</a>
|
|
1916
1953
|
associated with this parser.
|
1917
1954
|
</p>
|
1918
1955
|
<p><a class="source-toggle" href="#"
|
1919
|
-
onclick="toggleCode('
|
1920
|
-
<div class="method-source-code" id="
|
1956
|
+
onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
|
1957
|
+
<div class="method-source-code" id="M000073-source">
|
1921
1958
|
<pre>
|
1922
1959
|
/*
|
1923
1960
|
* call-seq:
|
@@ -1934,11 +1971,11 @@ ruby_xml_parser_context_get(VALUE self) {
|
|
1934
1971
|
</div>
|
1935
1972
|
</div>
|
1936
1973
|
|
1937
|
-
<div id="method-
|
1938
|
-
<a name="
|
1974
|
+
<div id="method-M000068" class="method-detail">
|
1975
|
+
<a name="M000068"></a>
|
1939
1976
|
|
1940
1977
|
<div class="method-heading">
|
1941
|
-
<a href="#
|
1978
|
+
<a href="#M000068" class="method-signature">
|
1942
1979
|
<span class="method-name">parser.filename → "filename"<br />
|
1943
1980
|
</span>
|
1944
1981
|
</a>
|
@@ -1949,8 +1986,8 @@ ruby_xml_parser_context_get(VALUE self) {
|
|
1949
1986
|
Obtain the filename this parser will read from.
|
1950
1987
|
</p>
|
1951
1988
|
<p><a class="source-toggle" href="#"
|
1952
|
-
onclick="toggleCode('
|
1953
|
-
<div class="method-source-code" id="
|
1989
|
+
onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
|
1990
|
+
<div class="method-source-code" id="M000068-source">
|
1954
1991
|
<pre>
|
1955
1992
|
/*
|
1956
1993
|
* call-seq:
|
@@ -1966,11 +2003,11 @@ ruby_xml_parser_filename_get(VALUE self) {
|
|
1966
2003
|
</div>
|
1967
2004
|
</div>
|
1968
2005
|
|
1969
|
-
<div id="method-
|
1970
|
-
<a name="
|
2006
|
+
<div id="method-M000069" class="method-detail">
|
2007
|
+
<a name="M000069"></a>
|
1971
2008
|
|
1972
2009
|
<div class="method-heading">
|
1973
|
-
<a href="#
|
2010
|
+
<a href="#M000069" class="method-signature">
|
1974
2011
|
<span class="method-name">parser.filename = "filename"<br />
|
1975
2012
|
</span>
|
1976
2013
|
</a>
|
@@ -1981,8 +2018,8 @@ ruby_xml_parser_filename_get(VALUE self) {
|
|
1981
2018
|
Set the filename this parser will read from.
|
1982
2019
|
</p>
|
1983
2020
|
<p><a class="source-toggle" href="#"
|
1984
|
-
onclick="toggleCode('
|
1985
|
-
<div class="method-source-code" id="
|
2021
|
+
onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
|
2022
|
+
<div class="method-source-code" id="M000069-source">
|
1986
2023
|
<pre>
|
1987
2024
|
/*
|
1988
2025
|
* call-seq:
|
@@ -1998,11 +2035,11 @@ ruby_xml_parser_filename_set(VALUE self, VALUE filename) {
|
|
1998
2035
|
</div>
|
1999
2036
|
</div>
|
2000
2037
|
|
2001
|
-
<div id="method-
|
2002
|
-
<a name="
|
2038
|
+
<div id="method-M000070" class="method-detail">
|
2039
|
+
<a name="M000070"></a>
|
2003
2040
|
|
2004
2041
|
<div class="method-heading">
|
2005
|
-
<a href="#
|
2042
|
+
<a href="#M000070" class="method-signature">
|
2006
2043
|
<span class="method-name">parser.io → IO<br />
|
2007
2044
|
</span>
|
2008
2045
|
</a>
|
@@ -2013,8 +2050,8 @@ ruby_xml_parser_filename_set(VALUE self, VALUE filename) {
|
|
2013
2050
|
Obtain the IO instance this parser works with.
|
2014
2051
|
</p>
|
2015
2052
|
<p><a class="source-toggle" href="#"
|
2016
|
-
onclick="toggleCode('
|
2017
|
-
<div class="method-source-code" id="
|
2053
|
+
onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
|
2054
|
+
<div class="method-source-code" id="M000070-source">
|
2018
2055
|
<pre>
|
2019
2056
|
/*
|
2020
2057
|
* call-seq:
|
@@ -2030,11 +2067,11 @@ ruby_xml_parser_io_get(VALUE self, VALUE io) {
|
|
2030
2067
|
</div>
|
2031
2068
|
</div>
|
2032
2069
|
|
2033
|
-
<div id="method-
|
2034
|
-
<a name="
|
2070
|
+
<div id="method-M000071" class="method-detail">
|
2071
|
+
<a name="M000071"></a>
|
2035
2072
|
|
2036
2073
|
<div class="method-heading">
|
2037
|
-
<a href="#
|
2074
|
+
<a href="#M000071" class="method-signature">
|
2038
2075
|
<span class="method-name">parser.io = IO<br />
|
2039
2076
|
</span>
|
2040
2077
|
</a>
|
@@ -2045,8 +2082,8 @@ ruby_xml_parser_io_get(VALUE self, VALUE io) {
|
|
2045
2082
|
Set the IO instance this parser works with.
|
2046
2083
|
</p>
|
2047
2084
|
<p><a class="source-toggle" href="#"
|
2048
|
-
onclick="toggleCode('
|
2049
|
-
<div class="method-source-code" id="
|
2085
|
+
onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
|
2086
|
+
<div class="method-source-code" id="M000071-source">
|
2050
2087
|
<pre>
|
2051
2088
|
/*
|
2052
2089
|
* call-seq:
|
@@ -2062,11 +2099,11 @@ ruby_xml_parser_io_set(VALUE self, VALUE io) {
|
|
2062
2099
|
</div>
|
2063
2100
|
</div>
|
2064
2101
|
|
2065
|
-
<div id="method-
|
2066
|
-
<a name="
|
2102
|
+
<div id="method-M000072" class="method-detail">
|
2103
|
+
<a name="M000072"></a>
|
2067
2104
|
|
2068
2105
|
<div class="method-heading">
|
2069
|
-
<a href="#
|
2106
|
+
<a href="#M000072" class="method-signature">
|
2070
2107
|
<span class="method-name">parser.parse → document<br />
|
2071
2108
|
</span>
|
2072
2109
|
</a>
|
@@ -2080,8 +2117,8 @@ occurs, <a href="Parser/ParseError.html">XML::Parser::ParseError</a> is
|
|
2080
2117
|
thrown.
|
2081
2118
|
</p>
|
2082
2119
|
<p><a class="source-toggle" href="#"
|
2083
|
-
onclick="toggleCode('
|
2084
|
-
<div class="method-source-code" id="
|
2120
|
+
onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
|
2121
|
+
<div class="method-source-code" id="M000072-source">
|
2085
2122
|
<pre>
|
2086
2123
|
/*
|
2087
2124
|
* call-seq:
|
@@ -2099,11 +2136,11 @@ ruby_xml_parser_parse(VALUE self) {
|
|
2099
2136
|
</div>
|
2100
2137
|
</div>
|
2101
2138
|
|
2102
|
-
<div id="method-
|
2103
|
-
<a name="
|
2139
|
+
<div id="method-M000074" class="method-detail">
|
2140
|
+
<a name="M000074"></a>
|
2104
2141
|
|
2105
2142
|
<div class="method-heading">
|
2106
|
-
<a href="#
|
2143
|
+
<a href="#M000074" class="method-signature">
|
2107
2144
|
<span class="method-name">parser.string → "string"<br />
|
2108
2145
|
</span>
|
2109
2146
|
</a>
|
@@ -2114,8 +2151,8 @@ ruby_xml_parser_parse(VALUE self) {
|
|
2114
2151
|
Obtain the string this parser works with.
|
2115
2152
|
</p>
|
2116
2153
|
<p><a class="source-toggle" href="#"
|
2117
|
-
onclick="toggleCode('
|
2118
|
-
<div class="method-source-code" id="
|
2154
|
+
onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
|
2155
|
+
<div class="method-source-code" id="M000074-source">
|
2119
2156
|
<pre>
|
2120
2157
|
/*
|
2121
2158
|
* call-seq:
|
@@ -2131,11 +2168,11 @@ ruby_xml_parser_str_get(VALUE self) {
|
|
2131
2168
|
</div>
|
2132
2169
|
</div>
|
2133
2170
|
|
2134
|
-
<div id="method-
|
2135
|
-
<a name="
|
2171
|
+
<div id="method-M000075" class="method-detail">
|
2172
|
+
<a name="M000075"></a>
|
2136
2173
|
|
2137
2174
|
<div class="method-heading">
|
2138
|
-
<a href="#
|
2175
|
+
<a href="#M000075" class="method-signature">
|
2139
2176
|
<span class="method-name">parser.string = "string"<br />
|
2140
2177
|
</span>
|
2141
2178
|
</a>
|
@@ -2146,8 +2183,8 @@ ruby_xml_parser_str_get(VALUE self) {
|
|
2146
2183
|
Set the string this parser works with.
|
2147
2184
|
</p>
|
2148
2185
|
<p><a class="source-toggle" href="#"
|
2149
|
-
onclick="toggleCode('
|
2150
|
-
<div class="method-source-code" id="
|
2186
|
+
onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
|
2187
|
+
<div class="method-source-code" id="M000075-source">
|
2151
2188
|
<pre>
|
2152
2189
|
/*
|
2153
2190
|
* call-seq:
|