libxml-ruby 0.8.1-x86-mswin32-60 → 0.8.2-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +21 -0
- data/RAKEFILE +213 -0
- data/README +32 -11
- data/doc/rdoc/classes/LibXML.html +4 -0
- data/doc/rdoc/classes/LibXML/XML.html +7 -0
- data/doc/rdoc/classes/LibXML/XML/Attr.html +187 -177
- data/doc/rdoc/classes/LibXML/XML/Attributes.html +62 -61
- data/doc/rdoc/classes/LibXML/XML/Document.html +318 -254
- data/doc/rdoc/classes/LibXML/XML/Dtd.html +62 -8
- data/doc/rdoc/classes/LibXML/XML/Error.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/HTMLParser.html +59 -41
- data/doc/rdoc/classes/LibXML/XML/InputCallbacks.html +12 -6
- data/doc/rdoc/classes/LibXML/XML/NS.html +65 -50
- data/doc/rdoc/classes/LibXML/XML/Node.html +671 -630
- data/doc/rdoc/classes/LibXML/XML/Node/FailedModify.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Node/Set.html +64 -60
- data/doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Node/UnknownType.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Parser.html +407 -383
- data/doc/rdoc/classes/LibXML/XML/Parser/Context.html +241 -219
- data/doc/rdoc/classes/LibXML/XML/Parser/ParseError.html +12 -0
- data/doc/rdoc/classes/LibXML/XML/Reader.html +421 -331
- data/doc/rdoc/classes/LibXML/XML/RelaxNG.html +237 -0
- data/doc/rdoc/classes/LibXML/XML/SaxParser.html +79 -60
- data/doc/rdoc/classes/LibXML/XML/Schema.html +109 -22
- data/doc/rdoc/classes/LibXML/XML/State.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XInclude.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XInclude/Error.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XPath.html +4 -48
- data/doc/rdoc/classes/LibXML/XML/XPath/Context.html +6 -5
- data/doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html +61 -0
- data/doc/rdoc/classes/LibXML/XML/XPath/Object.html +12 -8
- data/doc/rdoc/classes/LibXML/XML/XPointer.html +14 -8
- data/doc/rdoc/classes/LibXML/XML/XPointer/Context.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html +6 -0
- data/doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html +13 -0
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/CHANGES.html +38 -10
- data/doc/rdoc/files/LICENSE.html +1 -1
- data/doc/rdoc/files/README.html +57 -23
- data/doc/rdoc/files/VERSION.html +1 -1
- data/doc/rdoc/files/ext/libxml/cbg_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/libxml_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_document_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_node_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
- data/doc/rdoc/{classes/XML.html → files/ext/libxml/ruby_xml_relaxng_c.html} +16 -35
- data/doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_state_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
- data/doc/rdoc/files/lib/libxml/attr_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/attributes_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/document_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/node_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/node_set_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/parser_options_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/parser_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/properties_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml/tree_rb.html +1 -1
- data/doc/rdoc/files/lib/libxml_rb.html +2 -2
- data/doc/rdoc/files/lib/xml/libxml_rb.html +12 -2
- data/doc/rdoc/files/lib/xml_rb.html +134 -0
- data/doc/rdoc/fr_class_index.html +1 -1
- data/doc/rdoc/fr_file_index.html +2 -0
- data/doc/rdoc/fr_method_index.html +349 -344
- data/ext/libxml/libxml.c +2 -1
- data/ext/libxml/ruby_libxml.h +1 -0
- data/ext/libxml/ruby_xml_attr.c +8 -2
- data/ext/libxml/ruby_xml_attributes.c +5 -5
- data/ext/libxml/ruby_xml_document.c +41 -2
- data/ext/libxml/ruby_xml_dtd.c +169 -169
- data/ext/libxml/ruby_xml_html_parser.c +449 -449
- data/ext/libxml/ruby_xml_input_cbg.c +165 -165
- data/ext/libxml/ruby_xml_node.c +1 -1
- data/ext/libxml/ruby_xml_node_set.c +172 -172
- data/ext/libxml/ruby_xml_ns.c +145 -145
- data/ext/libxml/ruby_xml_parser.c +1398 -1398
- data/ext/libxml/ruby_xml_parser_context.c +697 -697
- data/ext/libxml/ruby_xml_reader.c +44 -0
- data/ext/libxml/ruby_xml_reader.h +14 -14
- data/ext/libxml/ruby_xml_relaxng.c +97 -0
- data/ext/libxml/ruby_xml_relaxng.h +15 -0
- data/ext/libxml/ruby_xml_sax_parser.c +486 -486
- data/ext/libxml/ruby_xml_schema.c +1 -1
- data/ext/libxml/ruby_xml_state.c +4 -4
- data/ext/libxml/ruby_xml_xinclude.c +21 -21
- data/ext/libxml/ruby_xml_xpath.c +89 -89
- data/ext/libxml/ruby_xml_xpath_context.c +283 -283
- data/ext/libxml/ruby_xml_xpath_object.c +5 -5
- data/ext/libxml/ruby_xml_xpointer.c +104 -104
- data/ext/libxml/ruby_xml_xpointer_context.c +22 -22
- data/ext/libxml/version.h +2 -2
- data/ext/libxml/version.h.rej +17 -0
- data/ext/mingw/Rakefile +41 -0
- data/{mingw → lib}/libiconv-2.dll +0 -0
- data/lib/libxml.rb +15 -4
- data/lib/libxml2-2.dll +0 -0
- data/lib/libxml_ruby.dll.a +0 -0
- data/lib/libxml_ruby.so +0 -0
- data/lib/xml.rb +14 -0
- data/lib/xml/libxml.rb +4 -1
- data/test/etc_doc_to_s.rb +1 -1
- data/test/ets_copy_bug.rb +1 -1
- data/test/ets_copy_bug3.rb +1 -1
- data/test/ets_doc_file.rb +1 -1
- data/test/ets_doc_to_s.rb +1 -1
- data/test/ets_node_gc.rb +1 -1
- data/test/ets_tsr.rb +1 -1
- data/test/model/shiporder.rnc +28 -0
- data/test/model/shiporder.rng +86 -0
- data/test/{tc_xml_attributes.rb → tc_attributes.rb} +1 -10
- data/test/{tc_xml_document.rb → tc_document.rb} +1 -1
- data/test/{tc_xml_document_write.rb → tc_document_write.rb} +1 -1
- data/test/{tc_xml_dtd.rb → tc_dtd.rb} +1 -1
- data/test/{tc_xml_html_parser.rb → tc_html_parser.rb} +1 -1
- data/test/{tc_xml_node.rb → tc_node.rb} +1 -1
- data/test/{tc_xml_node_attr.rb → tc_node_attr.rb} +1 -1
- data/test/{tc_xml_node_cdata.rb → tc_node_cdata.rb} +24 -5
- data/test/{tc_xml_node_comment.rb → tc_node_comment.rb} +1 -1
- data/test/{tc_xml_node_copy.rb → tc_node_copy.rb} +1 -1
- data/test/{tc_xml_node_edit.rb → tc_node_edit.rb} +1 -1
- data/test/{tc_xml_node_set.rb → tc_node_set.rb} +1 -1
- data/test/{tc_xml_node_set2.rb → tc_node_set2.rb} +1 -1
- data/test/{tc_xml_node_text.rb → tc_node_text.rb} +1 -1
- data/test/{tc_xml_node_xlink.rb → tc_node_xlink.rb} +2 -2
- data/test/{tc_xml_parser.rb → tc_parser.rb} +1 -1
- data/test/{tc_xml_parser_context.rb → tc_parser_context.rb} +1 -1
- data/test/{tc_xml_properties.rb → tc_properties.rb} +1 -7
- data/test/{tc_xml_reader.rb → tc_reader.rb} +1 -1
- data/test/tc_relaxng.rb +39 -0
- data/test/{tc_xml_sax_parser.rb → tc_sax_parser.rb} +1 -1
- data/test/{tc_xml_schema.rb → tc_schema.rb} +1 -1
- data/test/{tc_xml_traversal.rb → tc_traversal.rb} +1 -1
- data/test/{tc_xml_xinclude.rb → tc_xinclude.rb} +1 -1
- data/test/{tc_xml_xpath.rb → tc_xpath.rb} +1 -1
- data/test/{tc_xml_xpath_context.rb → tc_xpath_context.rb} +1 -1
- data/test/{tc_xml_xpointer.rb → tc_xpointer.rb} +1 -1
- data/test/test_suite.rb +26 -25
- metadata +103 -100
- data/benchmark/depixelate.rb +0 -632
- data/benchmark/hamlet.xml +0 -9055
- data/benchmark/sock_entries.xml +0 -507
- data/benchmark/throughput.rb +0 -39
- data/benchmark/xml_benchmarks.rb +0 -227
- data/mingw/libxml2-2.dll +0 -0
- data/mingw/libxml_ruby.so +0 -0
- data/test/gc.log +0 -0
- data/vc/libxml_ruby.sln +0 -20
- data/vc/libxml_ruby.vcproj +0 -389
@@ -78,6 +78,19 @@
|
|
78
78
|
|
79
79
|
<div id="contextContent">
|
80
80
|
|
81
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
call-seq:
|
84
|
+
</p>
|
85
|
+
<pre>
|
86
|
+
context.well_formed? -> (true|false)
|
87
|
+
</pre>
|
88
|
+
<p>
|
89
|
+
Determine whether this context contains well-formed <a
|
90
|
+
href="../../XML.html">XML</a>.
|
91
|
+
</p>
|
92
|
+
|
93
|
+
</div>
|
81
94
|
|
82
95
|
|
83
96
|
</div>
|
@@ -86,39 +99,39 @@
|
|
86
99
|
<h3 class="section-bar">Methods</h3>
|
87
100
|
|
88
101
|
<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="#
|
102
|
+
<a href="#M000081">data_directory</a>
|
103
|
+
<a href="#M000082">depth</a>
|
104
|
+
<a href="#M000083">disable_sax?</a>
|
105
|
+
<a href="#M000084">docbook?</a>
|
106
|
+
<a href="#M000085">encoding</a>
|
107
|
+
<a href="#M000086">errno</a>
|
108
|
+
<a href="#M000087">html?</a>
|
109
|
+
<a href="#M000088">io_max_num_streams</a>
|
110
|
+
<a href="#M000089">io_num_streams</a>
|
111
|
+
<a href="#M000090">keep_blanks?</a>
|
112
|
+
<a href="#M000092">name_depth</a>
|
113
|
+
<a href="#M000093">name_depth_max</a>
|
114
|
+
<a href="#M000091">name_node</a>
|
115
|
+
<a href="#M000094">name_tab</a>
|
116
|
+
<a href="#M000095">node</a>
|
117
|
+
<a href="#M000096">node_depth</a>
|
118
|
+
<a href="#M000097">node_depth_max</a>
|
119
|
+
<a href="#M000098">num_chars</a>
|
120
|
+
<a href="#M000100">replace_entities=</a>
|
121
|
+
<a href="#M000099">replace_entities?</a>
|
122
|
+
<a href="#M000101">space_depth</a>
|
123
|
+
<a href="#M000102">space_depth_max</a>
|
124
|
+
<a href="#M000109">standalone?</a>
|
125
|
+
<a href="#M000108">stats?</a>
|
126
|
+
<a href="#M000103">subset_external?</a>
|
127
|
+
<a href="#M000104">subset_external_system_id</a>
|
128
|
+
<a href="#M000105">subset_external_uri</a>
|
129
|
+
<a href="#M000106">subset_internal?</a>
|
130
|
+
<a href="#M000107">subset_internal_name</a>
|
131
|
+
<a href="#M000110">valid</a>
|
132
|
+
<a href="#M000111">validate?</a>
|
133
|
+
<a href="#M000112">version</a>
|
134
|
+
<a href="#M000113">well_formed?</a>
|
122
135
|
</div>
|
123
136
|
</div>
|
124
137
|
|
@@ -140,11 +153,11 @@
|
|
140
153
|
<div id="methods">
|
141
154
|
<h3 class="section-bar">Public Instance methods</h3>
|
142
155
|
|
143
|
-
<div id="method-
|
144
|
-
<a name="
|
156
|
+
<div id="method-M000081" class="method-detail">
|
157
|
+
<a name="M000081"></a>
|
145
158
|
|
146
159
|
<div class="method-heading">
|
147
|
-
<a href="#
|
160
|
+
<a href="#M000081" class="method-signature">
|
148
161
|
<span class="method-name">context.data_directory → "dir"<br />
|
149
162
|
</span>
|
150
163
|
</a>
|
@@ -155,8 +168,8 @@
|
|
155
168
|
Obtain the data directory associated with this context.
|
156
169
|
</p>
|
157
170
|
<p><a class="source-toggle" href="#"
|
158
|
-
onclick="toggleCode('
|
159
|
-
<div class="method-source-code" id="
|
171
|
+
onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
|
172
|
+
<div class="method-source-code" id="M000081-source">
|
160
173
|
<pre>
|
161
174
|
/*
|
162
175
|
* call-seq:
|
@@ -172,11 +185,11 @@ ruby_xml_parser_context_data_directory_get(VALUE self) {
|
|
172
185
|
</div>
|
173
186
|
</div>
|
174
187
|
|
175
|
-
<div id="method-
|
176
|
-
<a name="
|
188
|
+
<div id="method-M000082" class="method-detail">
|
189
|
+
<a name="M000082"></a>
|
177
190
|
|
178
191
|
<div class="method-heading">
|
179
|
-
<a href="#
|
192
|
+
<a href="#M000082" class="method-signature">
|
180
193
|
<span class="method-name">context.depth → num<br />
|
181
194
|
</span>
|
182
195
|
</a>
|
@@ -184,11 +197,11 @@ ruby_xml_parser_context_data_directory_get(VALUE self) {
|
|
184
197
|
|
185
198
|
<div class="method-description">
|
186
199
|
<p>
|
187
|
-
Obtain the depth of this context.
|
200
|
+
Obtain the <a href="Context.html#M000082">depth</a> of this context.
|
188
201
|
</p>
|
189
202
|
<p><a class="source-toggle" href="#"
|
190
|
-
onclick="toggleCode('
|
191
|
-
<div class="method-source-code" id="
|
203
|
+
onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
|
204
|
+
<div class="method-source-code" id="M000082-source">
|
192
205
|
<pre>
|
193
206
|
/*
|
194
207
|
* call-seq:
|
@@ -204,11 +217,11 @@ ruby_xml_parser_context_depth_get(VALUE self) {
|
|
204
217
|
</div>
|
205
218
|
</div>
|
206
219
|
|
207
|
-
<div id="method-
|
208
|
-
<a name="
|
220
|
+
<div id="method-M000083" class="method-detail">
|
221
|
+
<a name="M000083"></a>
|
209
222
|
|
210
223
|
<div class="method-heading">
|
211
|
-
<a href="#
|
224
|
+
<a href="#M000083" class="method-signature">
|
212
225
|
<span class="method-name">context.disable_sax? → (true|false)<br />
|
213
226
|
</span>
|
214
227
|
</a>
|
@@ -219,8 +232,8 @@ ruby_xml_parser_context_depth_get(VALUE self) {
|
|
219
232
|
Determine whether SAX-based processing is disabled in this context.
|
220
233
|
</p>
|
221
234
|
<p><a class="source-toggle" href="#"
|
222
|
-
onclick="toggleCode('
|
223
|
-
<div class="method-source-code" id="
|
235
|
+
onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
|
236
|
+
<div class="method-source-code" id="M000083-source">
|
224
237
|
<pre>
|
225
238
|
/*
|
226
239
|
* call-seq:
|
@@ -237,11 +250,11 @@ ruby_xml_parser_context_disable_sax_q(VALUE self) {
|
|
237
250
|
</div>
|
238
251
|
</div>
|
239
252
|
|
240
|
-
<div id="method-
|
241
|
-
<a name="
|
253
|
+
<div id="method-M000084" class="method-detail">
|
254
|
+
<a name="M000084"></a>
|
242
255
|
|
243
256
|
<div class="method-heading">
|
244
|
-
<a href="#
|
257
|
+
<a href="#M000084" class="method-signature">
|
245
258
|
<span class="method-name">context.docbook? → (true|false)<br />
|
246
259
|
</span>
|
247
260
|
</a>
|
@@ -252,8 +265,8 @@ ruby_xml_parser_context_disable_sax_q(VALUE self) {
|
|
252
265
|
Determine whether this is a docbook context.
|
253
266
|
</p>
|
254
267
|
<p><a class="source-toggle" href="#"
|
255
|
-
onclick="toggleCode('
|
256
|
-
<div class="method-source-code" id="
|
268
|
+
onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
|
269
|
+
<div class="method-source-code" id="M000084-source">
|
257
270
|
<pre>
|
258
271
|
/*
|
259
272
|
* call-seq:
|
@@ -269,11 +282,11 @@ ruby_xml_parser_context_docbook_q(VALUE self) {
|
|
269
282
|
</div>
|
270
283
|
</div>
|
271
284
|
|
272
|
-
<div id="method-
|
273
|
-
<a name="
|
285
|
+
<div id="method-M000085" class="method-detail">
|
286
|
+
<a name="M000085"></a>
|
274
287
|
|
275
288
|
<div class="method-heading">
|
276
|
-
<a href="#
|
289
|
+
<a href="#M000085" class="method-signature">
|
277
290
|
<span class="method-name">context.encoding → "encoding"<br />
|
278
291
|
</span>
|
279
292
|
</a>
|
@@ -281,11 +294,12 @@ ruby_xml_parser_context_docbook_q(VALUE self) {
|
|
281
294
|
|
282
295
|
<div class="method-description">
|
283
296
|
<p>
|
284
|
-
Obtain the character encoding identifier
|
297
|
+
Obtain the character <a href="Context.html#M000085">encoding</a> identifier
|
298
|
+
used in this context.
|
285
299
|
</p>
|
286
300
|
<p><a class="source-toggle" href="#"
|
287
|
-
onclick="toggleCode('
|
288
|
-
<div class="method-source-code" id="
|
301
|
+
onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
|
302
|
+
<div class="method-source-code" id="M000085-source">
|
289
303
|
<pre>
|
290
304
|
/*
|
291
305
|
* call-seq:
|
@@ -302,11 +316,11 @@ ruby_xml_parser_context_encoding_get(VALUE self) {
|
|
302
316
|
</div>
|
303
317
|
</div>
|
304
318
|
|
305
|
-
<div id="method-
|
306
|
-
<a name="
|
319
|
+
<div id="method-M000086" class="method-detail">
|
320
|
+
<a name="M000086"></a>
|
307
321
|
|
308
322
|
<div class="method-heading">
|
309
|
-
<a href="#
|
323
|
+
<a href="#M000086" class="method-signature">
|
310
324
|
<span class="method-name">context.errno → num<br />
|
311
325
|
</span>
|
312
326
|
</a>
|
@@ -317,8 +331,8 @@ ruby_xml_parser_context_encoding_get(VALUE self) {
|
|
317
331
|
Obtain the last-error number in this context.
|
318
332
|
</p>
|
319
333
|
<p><a class="source-toggle" href="#"
|
320
|
-
onclick="toggleCode('
|
321
|
-
<div class="method-source-code" id="
|
334
|
+
onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
|
335
|
+
<div class="method-source-code" id="M000086-source">
|
322
336
|
<pre>
|
323
337
|
/*
|
324
338
|
* call-seq:
|
@@ -334,11 +348,11 @@ ruby_xml_parser_context_errno_get(VALUE self) {
|
|
334
348
|
</div>
|
335
349
|
</div>
|
336
350
|
|
337
|
-
<div id="method-
|
338
|
-
<a name="
|
351
|
+
<div id="method-M000087" class="method-detail">
|
352
|
+
<a name="M000087"></a>
|
339
353
|
|
340
354
|
<div class="method-heading">
|
341
|
-
<a href="#
|
355
|
+
<a href="#M000087" class="method-signature">
|
342
356
|
<span class="method-name">context.html? → (true|false)<br />
|
343
357
|
</span>
|
344
358
|
</a>
|
@@ -349,8 +363,8 @@ ruby_xml_parser_context_errno_get(VALUE self) {
|
|
349
363
|
Determine whether this is an html context.
|
350
364
|
</p>
|
351
365
|
<p><a class="source-toggle" href="#"
|
352
|
-
onclick="toggleCode('
|
353
|
-
<div class="method-source-code" id="
|
366
|
+
onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
|
367
|
+
<div class="method-source-code" id="M000087-source">
|
354
368
|
<pre>
|
355
369
|
/*
|
356
370
|
* call-seq:
|
@@ -366,11 +380,11 @@ ruby_xml_parser_context_html_q(VALUE self) {
|
|
366
380
|
</div>
|
367
381
|
</div>
|
368
382
|
|
369
|
-
<div id="method-
|
370
|
-
<a name="
|
383
|
+
<div id="method-M000088" class="method-detail">
|
384
|
+
<a name="M000088"></a>
|
371
385
|
|
372
386
|
<div class="method-heading">
|
373
|
-
<a href="#
|
387
|
+
<a href="#M000088" class="method-signature">
|
374
388
|
<span class="method-name">context.max_num_streams → num<br />
|
375
389
|
</span>
|
376
390
|
</a>
|
@@ -381,8 +395,8 @@ ruby_xml_parser_context_html_q(VALUE self) {
|
|
381
395
|
Obtain the limit on the number of IO streams opened in this context.
|
382
396
|
</p>
|
383
397
|
<p><a class="source-toggle" href="#"
|
384
|
-
onclick="toggleCode('
|
385
|
-
<div class="method-source-code" id="
|
398
|
+
onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
|
399
|
+
<div class="method-source-code" id="M000088-source">
|
386
400
|
<pre>
|
387
401
|
/*
|
388
402
|
* call-seq:
|
@@ -399,11 +413,11 @@ ruby_xml_parser_context_io_max_num_streams_get(VALUE self) {
|
|
399
413
|
</div>
|
400
414
|
</div>
|
401
415
|
|
402
|
-
<div id="method-
|
403
|
-
<a name="
|
416
|
+
<div id="method-M000089" class="method-detail">
|
417
|
+
<a name="M000089"></a>
|
404
418
|
|
405
419
|
<div class="method-heading">
|
406
|
-
<a href="#
|
420
|
+
<a href="#M000089" class="method-signature">
|
407
421
|
<span class="method-name">context.num_streams → "dir"<br />
|
408
422
|
</span>
|
409
423
|
</a>
|
@@ -414,8 +428,8 @@ ruby_xml_parser_context_io_max_num_streams_get(VALUE self) {
|
|
414
428
|
Obtain the actual number of IO streams in this context.
|
415
429
|
</p>
|
416
430
|
<p><a class="source-toggle" href="#"
|
417
|
-
onclick="toggleCode('
|
418
|
-
<div class="method-source-code" id="
|
431
|
+
onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
|
432
|
+
<div class="method-source-code" id="M000089-source">
|
419
433
|
<pre>
|
420
434
|
/*
|
421
435
|
* call-seq:
|
@@ -432,11 +446,11 @@ ruby_xml_parser_context_io_num_streams_get(VALUE self) {
|
|
432
446
|
</div>
|
433
447
|
</div>
|
434
448
|
|
435
|
-
<div id="method-
|
436
|
-
<a name="
|
449
|
+
<div id="method-M000090" class="method-detail">
|
450
|
+
<a name="M000090"></a>
|
437
451
|
|
438
452
|
<div class="method-heading">
|
439
|
-
<a href="#
|
453
|
+
<a href="#M000090" class="method-signature">
|
440
454
|
<span class="method-name">context.keep_blanks? → (true|false)<br />
|
441
455
|
</span>
|
442
456
|
</a>
|
@@ -447,8 +461,8 @@ ruby_xml_parser_context_io_num_streams_get(VALUE self) {
|
|
447
461
|
Determine whether parsers in this context retain whitespace.
|
448
462
|
</p>
|
449
463
|
<p><a class="source-toggle" href="#"
|
450
|
-
onclick="toggleCode('
|
451
|
-
<div class="method-source-code" id="
|
464
|
+
onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
|
465
|
+
<div class="method-source-code" id="M000090-source">
|
452
466
|
<pre>
|
453
467
|
/*
|
454
468
|
* call-seq:
|
@@ -465,11 +479,11 @@ ruby_xml_parser_context_keep_blanks_q(VALUE self) {
|
|
465
479
|
</div>
|
466
480
|
</div>
|
467
481
|
|
468
|
-
<div id="method-
|
469
|
-
<a name="
|
482
|
+
<div id="method-M000092" class="method-detail">
|
483
|
+
<a name="M000092"></a>
|
470
484
|
|
471
485
|
<div class="method-heading">
|
472
|
-
<a href="#
|
486
|
+
<a href="#M000092" class="method-signature">
|
473
487
|
<span class="method-name">context.name_depth → num<br />
|
474
488
|
</span>
|
475
489
|
</a>
|
@@ -477,11 +491,11 @@ ruby_xml_parser_context_keep_blanks_q(VALUE self) {
|
|
477
491
|
|
478
492
|
<div class="method-description">
|
479
493
|
<p>
|
480
|
-
Obtain the name depth for this context.
|
494
|
+
Obtain the name <a href="Context.html#M000082">depth</a> for this context.
|
481
495
|
</p>
|
482
496
|
<p><a class="source-toggle" href="#"
|
483
|
-
onclick="toggleCode('
|
484
|
-
<div class="method-source-code" id="
|
497
|
+
onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
|
498
|
+
<div class="method-source-code" id="M000092-source">
|
485
499
|
<pre>
|
486
500
|
/*
|
487
501
|
* call-seq:
|
@@ -497,11 +511,11 @@ ruby_xml_parser_context_name_depth_get(VALUE self) {
|
|
497
511
|
</div>
|
498
512
|
</div>
|
499
513
|
|
500
|
-
<div id="method-
|
501
|
-
<a name="
|
514
|
+
<div id="method-M000093" class="method-detail">
|
515
|
+
<a name="M000093"></a>
|
502
516
|
|
503
517
|
<div class="method-heading">
|
504
|
-
<a href="#
|
518
|
+
<a href="#M000093" class="method-signature">
|
505
519
|
<span class="method-name">context.name_depth_max → num<br />
|
506
520
|
</span>
|
507
521
|
</a>
|
@@ -509,11 +523,12 @@ ruby_xml_parser_context_name_depth_get(VALUE self) {
|
|
509
523
|
|
510
524
|
<div class="method-description">
|
511
525
|
<p>
|
512
|
-
Obtain the maximum name depth for this
|
526
|
+
Obtain the maximum name <a href="Context.html#M000082">depth</a> for this
|
527
|
+
context.
|
513
528
|
</p>
|
514
529
|
<p><a class="source-toggle" href="#"
|
515
|
-
onclick="toggleCode('
|
516
|
-
<div class="method-source-code" id="
|
530
|
+
onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
|
531
|
+
<div class="method-source-code" id="M000093-source">
|
517
532
|
<pre>
|
518
533
|
/*
|
519
534
|
* call-seq:
|
@@ -529,11 +544,11 @@ ruby_xml_parser_context_name_depth_max_get(VALUE self) {
|
|
529
544
|
</div>
|
530
545
|
</div>
|
531
546
|
|
532
|
-
<div id="method-
|
533
|
-
<a name="
|
547
|
+
<div id="method-M000091" class="method-detail">
|
548
|
+
<a name="M000091"></a>
|
534
549
|
|
535
550
|
<div class="method-heading">
|
536
|
-
<a href="#
|
551
|
+
<a href="#M000091" class="method-signature">
|
537
552
|
<span class="method-name">context.name_node → "name"<br />
|
538
553
|
</span>
|
539
554
|
</a>
|
@@ -541,11 +556,11 @@ ruby_xml_parser_context_name_depth_max_get(VALUE self) {
|
|
541
556
|
|
542
557
|
<div class="method-description">
|
543
558
|
<p>
|
544
|
-
Obtain the name node for this context.
|
559
|
+
Obtain the name <a href="Context.html#M000095">node</a> for this context.
|
545
560
|
</p>
|
546
561
|
<p><a class="source-toggle" href="#"
|
547
|
-
onclick="toggleCode('
|
548
|
-
<div class="method-source-code" id="
|
562
|
+
onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
|
563
|
+
<div class="method-source-code" id="M000091-source">
|
549
564
|
<pre>
|
550
565
|
/*
|
551
566
|
* call-seq:
|
@@ -561,11 +576,11 @@ ruby_xml_parser_context_name_node_get(VALUE self) {
|
|
561
576
|
</div>
|
562
577
|
</div>
|
563
578
|
|
564
|
-
<div id="method-
|
565
|
-
<a name="
|
579
|
+
<div id="method-M000094" class="method-detail">
|
580
|
+
<a name="M000094"></a>
|
566
581
|
|
567
582
|
<div class="method-heading">
|
568
|
-
<a href="#
|
583
|
+
<a href="#M000094" class="method-signature">
|
569
584
|
<span class="method-name">context.name_tab → ["name", ..., "name"]<br />
|
570
585
|
</span>
|
571
586
|
</a>
|
@@ -576,8 +591,8 @@ ruby_xml_parser_context_name_node_get(VALUE self) {
|
|
576
591
|
Obtain the name table for this context.
|
577
592
|
</p>
|
578
593
|
<p><a class="source-toggle" href="#"
|
579
|
-
onclick="toggleCode('
|
580
|
-
<div class="method-source-code" id="
|
594
|
+
onclick="toggleCode('M000094-source');return false;">[Source]</a></p>
|
595
|
+
<div class="method-source-code" id="M000094-source">
|
581
596
|
<pre>
|
582
597
|
/*
|
583
598
|
* call-seq:
|
@@ -593,11 +608,11 @@ ruby_xml_parser_context_name_tab_get(VALUE self) {
|
|
593
608
|
</div>
|
594
609
|
</div>
|
595
610
|
|
596
|
-
<div id="method-
|
597
|
-
<a name="
|
611
|
+
<div id="method-M000095" class="method-detail">
|
612
|
+
<a name="M000095"></a>
|
598
613
|
|
599
614
|
<div class="method-heading">
|
600
|
-
<a href="#
|
615
|
+
<a href="#M000095" class="method-signature">
|
601
616
|
<span class="method-name">context.node → node<br />
|
602
617
|
</span>
|
603
618
|
</a>
|
@@ -605,11 +620,11 @@ ruby_xml_parser_context_name_tab_get(VALUE self) {
|
|
605
620
|
|
606
621
|
<div class="method-description">
|
607
622
|
<p>
|
608
|
-
Obtain the root node of this context.
|
623
|
+
Obtain the root <a href="Context.html#M000095">node</a> of this context.
|
609
624
|
</p>
|
610
625
|
<p><a class="source-toggle" href="#"
|
611
|
-
onclick="toggleCode('
|
612
|
-
<div class="method-source-code" id="
|
626
|
+
onclick="toggleCode('M000095-source');return false;">[Source]</a></p>
|
627
|
+
<div class="method-source-code" id="M000095-source">
|
613
628
|
<pre>
|
614
629
|
/*
|
615
630
|
* call-seq:
|
@@ -625,11 +640,11 @@ ruby_xml_parser_context_node_get(VALUE self) {
|
|
625
640
|
</div>
|
626
641
|
</div>
|
627
642
|
|
628
|
-
<div id="method-
|
629
|
-
<a name="
|
643
|
+
<div id="method-M000096" class="method-detail">
|
644
|
+
<a name="M000096"></a>
|
630
645
|
|
631
646
|
<div class="method-heading">
|
632
|
-
<a href="#
|
647
|
+
<a href="#M000096" class="method-signature">
|
633
648
|
<span class="method-name">context.node_depth → num<br />
|
634
649
|
</span>
|
635
650
|
</a>
|
@@ -637,11 +652,12 @@ ruby_xml_parser_context_node_get(VALUE self) {
|
|
637
652
|
|
638
653
|
<div class="method-description">
|
639
654
|
<p>
|
640
|
-
Obtain the node
|
655
|
+
Obtain the <a href="Context.html#M000095">node</a> <a
|
656
|
+
href="Context.html#M000082">depth</a> for this context.
|
641
657
|
</p>
|
642
658
|
<p><a class="source-toggle" href="#"
|
643
|
-
onclick="toggleCode('
|
644
|
-
<div class="method-source-code" id="
|
659
|
+
onclick="toggleCode('M000096-source');return false;">[Source]</a></p>
|
660
|
+
<div class="method-source-code" id="M000096-source">
|
645
661
|
<pre>
|
646
662
|
/*
|
647
663
|
* call-seq:
|
@@ -657,11 +673,11 @@ ruby_xml_parser_context_node_depth_get(VALUE self) {
|
|
657
673
|
</div>
|
658
674
|
</div>
|
659
675
|
|
660
|
-
<div id="method-
|
661
|
-
<a name="
|
676
|
+
<div id="method-M000097" class="method-detail">
|
677
|
+
<a name="M000097"></a>
|
662
678
|
|
663
679
|
<div class="method-heading">
|
664
|
-
<a href="#
|
680
|
+
<a href="#M000097" class="method-signature">
|
665
681
|
<span class="method-name">context.node_depth_max → num<br />
|
666
682
|
</span>
|
667
683
|
</a>
|
@@ -669,11 +685,12 @@ ruby_xml_parser_context_node_depth_get(VALUE self) {
|
|
669
685
|
|
670
686
|
<div class="method-description">
|
671
687
|
<p>
|
672
|
-
Obtain the maximum node
|
688
|
+
Obtain the maximum <a href="Context.html#M000095">node</a> <a
|
689
|
+
href="Context.html#M000082">depth</a> for this context.
|
673
690
|
</p>
|
674
691
|
<p><a class="source-toggle" href="#"
|
675
|
-
onclick="toggleCode('
|
676
|
-
<div class="method-source-code" id="
|
692
|
+
onclick="toggleCode('M000097-source');return false;">[Source]</a></p>
|
693
|
+
<div class="method-source-code" id="M000097-source">
|
677
694
|
<pre>
|
678
695
|
/*
|
679
696
|
* call-seq:
|
@@ -689,11 +706,11 @@ ruby_xml_parser_context_node_depth_max_get(VALUE self) {
|
|
689
706
|
</div>
|
690
707
|
</div>
|
691
708
|
|
692
|
-
<div id="method-
|
693
|
-
<a name="
|
709
|
+
<div id="method-M000098" class="method-detail">
|
710
|
+
<a name="M000098"></a>
|
694
711
|
|
695
712
|
<div class="method-heading">
|
696
|
-
<a href="#
|
713
|
+
<a href="#M000098" class="method-signature">
|
697
714
|
<span class="method-name">context.num_chars → num<br />
|
698
715
|
</span>
|
699
716
|
</a>
|
@@ -704,8 +721,8 @@ ruby_xml_parser_context_node_depth_max_get(VALUE self) {
|
|
704
721
|
Obtain the number of characters in this context.
|
705
722
|
</p>
|
706
723
|
<p><a class="source-toggle" href="#"
|
707
|
-
onclick="toggleCode('
|
708
|
-
<div class="method-source-code" id="
|
724
|
+
onclick="toggleCode('M000098-source');return false;">[Source]</a></p>
|
725
|
+
<div class="method-source-code" id="M000098-source">
|
709
726
|
<pre>
|
710
727
|
/*
|
711
728
|
* call-seq:
|
@@ -721,11 +738,11 @@ ruby_xml_parser_context_num_chars_get(VALUE self) {
|
|
721
738
|
</div>
|
722
739
|
</div>
|
723
740
|
|
724
|
-
<div id="method-
|
725
|
-
<a name="
|
741
|
+
<div id="method-M000100" class="method-detail">
|
742
|
+
<a name="M000100"></a>
|
726
743
|
|
727
744
|
<div class="method-heading">
|
728
|
-
<a href="#
|
745
|
+
<a href="#M000100" class="method-signature">
|
729
746
|
<span class="method-name">context.replace_entities = true|false<br />
|
730
747
|
</span>
|
731
748
|
</a>
|
@@ -736,8 +753,8 @@ ruby_xml_parser_context_num_chars_get(VALUE self) {
|
|
736
753
|
Control whether external entity replacement is enabled in this context.
|
737
754
|
</p>
|
738
755
|
<p><a class="source-toggle" href="#"
|
739
|
-
onclick="toggleCode('
|
740
|
-
<div class="method-source-code" id="
|
756
|
+
onclick="toggleCode('M000100-source');return false;">[Source]</a></p>
|
757
|
+
<div class="method-source-code" id="M000100-source">
|
741
758
|
<pre>
|
742
759
|
/*
|
743
760
|
* call-seq:
|
@@ -754,11 +771,11 @@ ruby_xml_parser_context_replace_entities_set(VALUE self, VALUE bool) {
|
|
754
771
|
</div>
|
755
772
|
</div>
|
756
773
|
|
757
|
-
<div id="method-
|
758
|
-
<a name="
|
774
|
+
<div id="method-M000099" class="method-detail">
|
775
|
+
<a name="M000099"></a>
|
759
776
|
|
760
777
|
<div class="method-heading">
|
761
|
-
<a href="#
|
778
|
+
<a href="#M000099" class="method-signature">
|
762
779
|
<span class="method-name">context.replace_entities? → (true|false)<br />
|
763
780
|
</span>
|
764
781
|
</a>
|
@@ -769,8 +786,8 @@ ruby_xml_parser_context_replace_entities_set(VALUE self, VALUE bool) {
|
|
769
786
|
Determine whether external entity replacement is enabled in this context.
|
770
787
|
</p>
|
771
788
|
<p><a class="source-toggle" href="#"
|
772
|
-
onclick="toggleCode('
|
773
|
-
<div class="method-source-code" id="
|
789
|
+
onclick="toggleCode('M000099-source');return false;">[Source]</a></p>
|
790
|
+
<div class="method-source-code" id="M000099-source">
|
774
791
|
<pre>
|
775
792
|
/*
|
776
793
|
* call-seq:
|
@@ -787,11 +804,11 @@ ruby_xml_parser_context_replace_entities_q(VALUE self) {
|
|
787
804
|
</div>
|
788
805
|
</div>
|
789
806
|
|
790
|
-
<div id="method-
|
791
|
-
<a name="
|
807
|
+
<div id="method-M000101" class="method-detail">
|
808
|
+
<a name="M000101"></a>
|
792
809
|
|
793
810
|
<div class="method-heading">
|
794
|
-
<a href="#
|
811
|
+
<a href="#M000101" class="method-signature">
|
795
812
|
<span class="method-name">context.space_depth → num<br />
|
796
813
|
</span>
|
797
814
|
</a>
|
@@ -799,11 +816,11 @@ ruby_xml_parser_context_replace_entities_q(VALUE self) {
|
|
799
816
|
|
800
817
|
<div class="method-description">
|
801
818
|
<p>
|
802
|
-
Obtain the space depth for this context.
|
819
|
+
Obtain the space <a href="Context.html#M000082">depth</a> for this context.
|
803
820
|
</p>
|
804
821
|
<p><a class="source-toggle" href="#"
|
805
|
-
onclick="toggleCode('
|
806
|
-
<div class="method-source-code" id="
|
822
|
+
onclick="toggleCode('M000101-source');return false;">[Source]</a></p>
|
823
|
+
<div class="method-source-code" id="M000101-source">
|
807
824
|
<pre>
|
808
825
|
/*
|
809
826
|
* call-seq:
|
@@ -819,11 +836,11 @@ ruby_xml_parser_context_space_depth_get(VALUE self) {
|
|
819
836
|
</div>
|
820
837
|
</div>
|
821
838
|
|
822
|
-
<div id="method-
|
823
|
-
<a name="
|
839
|
+
<div id="method-M000102" class="method-detail">
|
840
|
+
<a name="M000102"></a>
|
824
841
|
|
825
842
|
<div class="method-heading">
|
826
|
-
<a href="#
|
843
|
+
<a href="#M000102" class="method-signature">
|
827
844
|
<span class="method-name">context.space_depth → num<br />
|
828
845
|
</span>
|
829
846
|
</a>
|
@@ -831,11 +848,12 @@ ruby_xml_parser_context_space_depth_get(VALUE self) {
|
|
831
848
|
|
832
849
|
<div class="method-description">
|
833
850
|
<p>
|
834
|
-
Obtain the maximum space depth for this
|
851
|
+
Obtain the maximum space <a href="Context.html#M000082">depth</a> for this
|
852
|
+
context.
|
835
853
|
</p>
|
836
854
|
<p><a class="source-toggle" href="#"
|
837
|
-
onclick="toggleCode('
|
838
|
-
<div class="method-source-code" id="
|
855
|
+
onclick="toggleCode('M000102-source');return false;">[Source]</a></p>
|
856
|
+
<div class="method-source-code" id="M000102-source">
|
839
857
|
<pre>
|
840
858
|
/*
|
841
859
|
* call-seq:
|
@@ -851,11 +869,11 @@ ruby_xml_parser_context_space_depth_max_get(VALUE self) {
|
|
851
869
|
</div>
|
852
870
|
</div>
|
853
871
|
|
854
|
-
<div id="method-
|
855
|
-
<a name="
|
872
|
+
<div id="method-M000109" class="method-detail">
|
873
|
+
<a name="M000109"></a>
|
856
874
|
|
857
875
|
<div class="method-heading">
|
858
|
-
<a href="#
|
876
|
+
<a href="#M000109" class="method-signature">
|
859
877
|
<span class="method-name">context.standalone? → (true|false)<br />
|
860
878
|
</span>
|
861
879
|
</a>
|
@@ -866,8 +884,8 @@ ruby_xml_parser_context_space_depth_max_get(VALUE self) {
|
|
866
884
|
Determine whether this is a standalone context.
|
867
885
|
</p>
|
868
886
|
<p><a class="source-toggle" href="#"
|
869
|
-
onclick="toggleCode('
|
870
|
-
<div class="method-source-code" id="
|
887
|
+
onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
|
888
|
+
<div class="method-source-code" id="M000109-source">
|
871
889
|
<pre>
|
872
890
|
/*
|
873
891
|
* call-seq:
|
@@ -883,11 +901,11 @@ ruby_xml_parser_context_standalone_q(VALUE self) {
|
|
883
901
|
</div>
|
884
902
|
</div>
|
885
903
|
|
886
|
-
<div id="method-
|
887
|
-
<a name="
|
904
|
+
<div id="method-M000108" class="method-detail">
|
905
|
+
<a name="M000108"></a>
|
888
906
|
|
889
907
|
<div class="method-heading">
|
890
|
-
<a href="#
|
908
|
+
<a href="#M000108" class="method-signature">
|
891
909
|
<span class="method-name">context.stats? → (true|false)<br />
|
892
910
|
</span>
|
893
911
|
</a>
|
@@ -898,8 +916,8 @@ ruby_xml_parser_context_standalone_q(VALUE self) {
|
|
898
916
|
Determine whether this context maintains statistics.
|
899
917
|
</p>
|
900
918
|
<p><a class="source-toggle" href="#"
|
901
|
-
onclick="toggleCode('
|
902
|
-
<div class="method-source-code" id="
|
919
|
+
onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
|
920
|
+
<div class="method-source-code" id="M000108-source">
|
903
921
|
<pre>
|
904
922
|
/*
|
905
923
|
* call-seq:
|
@@ -915,11 +933,11 @@ ruby_xml_parser_context_stats_q(VALUE self) {
|
|
915
933
|
</div>
|
916
934
|
</div>
|
917
935
|
|
918
|
-
<div id="method-
|
919
|
-
<a name="
|
936
|
+
<div id="method-M000103" class="method-detail">
|
937
|
+
<a name="M000103"></a>
|
920
938
|
|
921
939
|
<div class="method-heading">
|
922
|
-
<a href="#
|
940
|
+
<a href="#M000103" class="method-signature">
|
923
941
|
<span class="method-name">context.subset_external? → (true|false)<br />
|
924
942
|
</span>
|
925
943
|
</a>
|
@@ -930,8 +948,8 @@ ruby_xml_parser_context_stats_q(VALUE self) {
|
|
930
948
|
Determine whether this context is a subset of an external context.
|
931
949
|
</p>
|
932
950
|
<p><a class="source-toggle" href="#"
|
933
|
-
onclick="toggleCode('
|
934
|
-
<div class="method-source-code" id="
|
951
|
+
onclick="toggleCode('M000103-source');return false;">[Source]</a></p>
|
952
|
+
<div class="method-source-code" id="M000103-source">
|
935
953
|
<pre>
|
936
954
|
/*
|
937
955
|
* call-seq:
|
@@ -948,11 +966,11 @@ ruby_xml_parser_context_subset_external_q(VALUE self) {
|
|
948
966
|
</div>
|
949
967
|
</div>
|
950
968
|
|
951
|
-
<div id="method-
|
952
|
-
<a name="
|
969
|
+
<div id="method-M000104" class="method-detail">
|
970
|
+
<a name="M000104"></a>
|
953
971
|
|
954
972
|
<div class="method-heading">
|
955
|
-
<a href="#
|
973
|
+
<a href="#M000104" class="method-signature">
|
956
974
|
<span class="method-name">context.subset_external_system_id → "system_id"<br />
|
957
975
|
</span>
|
958
976
|
</a>
|
@@ -960,13 +978,14 @@ ruby_xml_parser_context_subset_external_q(VALUE self) {
|
|
960
978
|
|
961
979
|
<div class="method-description">
|
962
980
|
<p>
|
963
|
-
Obtain this context&#
|
964
|
-
|
965
|
-
href="Context.html#M000103">
|
981
|
+
Obtain this context‘s external subset system identifier. (<a
|
982
|
+
href="Context.html#M000110">valid</a> only if either of <a
|
983
|
+
href="Context.html#M000103">subset_external?</a> or <a
|
984
|
+
href="Context.html#M000106">subset_internal?</a> is true).
|
966
985
|
</p>
|
967
986
|
<p><a class="source-toggle" href="#"
|
968
|
-
onclick="toggleCode('
|
969
|
-
<div class="method-source-code" id="
|
987
|
+
onclick="toggleCode('M000104-source');return false;">[Source]</a></p>
|
988
|
+
<div class="method-source-code" id="M000104-source">
|
970
989
|
<pre>
|
971
990
|
/*
|
972
991
|
* call-seq:
|
@@ -984,11 +1003,11 @@ ruby_xml_parser_context_subset_external_system_id_get(VALUE self) {
|
|
984
1003
|
</div>
|
985
1004
|
</div>
|
986
1005
|
|
987
|
-
<div id="method-
|
988
|
-
<a name="
|
1006
|
+
<div id="method-M000105" class="method-detail">
|
1007
|
+
<a name="M000105"></a>
|
989
1008
|
|
990
1009
|
<div class="method-heading">
|
991
|
-
<a href="#
|
1010
|
+
<a href="#M000105" class="method-signature">
|
992
1011
|
<span class="method-name">context.subset_name → "name"<br />
|
993
1012
|
</span>
|
994
1013
|
</a>
|
@@ -996,13 +1015,14 @@ ruby_xml_parser_context_subset_external_system_id_get(VALUE self) {
|
|
996
1015
|
|
997
1016
|
<div class="method-description">
|
998
1017
|
<p>
|
999
|
-
Obtain this context&#
|
1000
|
-
href="Context.html#
|
1001
|
-
href="Context.html#M000103">
|
1018
|
+
Obtain this context‘s subset name (<a
|
1019
|
+
href="Context.html#M000110">valid</a> only if either of <a
|
1020
|
+
href="Context.html#M000103">subset_external?</a> or <a
|
1021
|
+
href="Context.html#M000106">subset_internal?</a> is true).
|
1002
1022
|
</p>
|
1003
1023
|
<p><a class="source-toggle" href="#"
|
1004
|
-
onclick="toggleCode('
|
1005
|
-
<div class="method-source-code" id="
|
1024
|
+
onclick="toggleCode('M000105-source');return false;">[Source]</a></p>
|
1025
|
+
<div class="method-source-code" id="M000105-source">
|
1006
1026
|
<pre>
|
1007
1027
|
/*
|
1008
1028
|
* call-seq:
|
@@ -1020,11 +1040,11 @@ ruby_xml_parser_context_subset_name_get(VALUE self) {
|
|
1020
1040
|
</div>
|
1021
1041
|
</div>
|
1022
1042
|
|
1023
|
-
<div id="method-
|
1024
|
-
<a name="
|
1043
|
+
<div id="method-M000106" class="method-detail">
|
1044
|
+
<a name="M000106"></a>
|
1025
1045
|
|
1026
1046
|
<div class="method-heading">
|
1027
|
-
<a href="#
|
1047
|
+
<a href="#M000106" class="method-signature">
|
1028
1048
|
<span class="method-name">context.subset_internal? → (true|false)<br />
|
1029
1049
|
</span>
|
1030
1050
|
</a>
|
@@ -1035,8 +1055,8 @@ ruby_xml_parser_context_subset_name_get(VALUE self) {
|
|
1035
1055
|
Determine whether this context is a subset of an internal context.
|
1036
1056
|
</p>
|
1037
1057
|
<p><a class="source-toggle" href="#"
|
1038
|
-
onclick="toggleCode('
|
1039
|
-
<div class="method-source-code" id="
|
1058
|
+
onclick="toggleCode('M000106-source');return false;">[Source]</a></p>
|
1059
|
+
<div class="method-source-code" id="M000106-source">
|
1040
1060
|
<pre>
|
1041
1061
|
/*
|
1042
1062
|
* call-seq:
|
@@ -1053,11 +1073,11 @@ ruby_xml_parser_context_subset_internal_q(VALUE self) {
|
|
1053
1073
|
</div>
|
1054
1074
|
</div>
|
1055
1075
|
|
1056
|
-
<div id="method-
|
1057
|
-
<a name="
|
1076
|
+
<div id="method-M000107" class="method-detail">
|
1077
|
+
<a name="M000107"></a>
|
1058
1078
|
|
1059
1079
|
<div class="method-heading">
|
1060
|
-
<a href="#
|
1080
|
+
<a href="#M000107" class="method-signature">
|
1061
1081
|
<span class="method-name">context.subset_name → "name"<br />
|
1062
1082
|
</span>
|
1063
1083
|
</a>
|
@@ -1065,13 +1085,14 @@ ruby_xml_parser_context_subset_internal_q(VALUE self) {
|
|
1065
1085
|
|
1066
1086
|
<div class="method-description">
|
1067
1087
|
<p>
|
1068
|
-
Obtain this context&#
|
1069
|
-
href="Context.html#
|
1070
|
-
href="Context.html#M000103">
|
1088
|
+
Obtain this context‘s subset name (<a
|
1089
|
+
href="Context.html#M000110">valid</a> only if either of <a
|
1090
|
+
href="Context.html#M000103">subset_external?</a> or <a
|
1091
|
+
href="Context.html#M000106">subset_internal?</a> is true).
|
1071
1092
|
</p>
|
1072
1093
|
<p><a class="source-toggle" href="#"
|
1073
|
-
onclick="toggleCode('
|
1074
|
-
<div class="method-source-code" id="
|
1094
|
+
onclick="toggleCode('M000107-source');return false;">[Source]</a></p>
|
1095
|
+
<div class="method-source-code" id="M000107-source">
|
1075
1096
|
<pre>
|
1076
1097
|
/*
|
1077
1098
|
* call-seq:
|
@@ -1089,11 +1110,11 @@ ruby_xml_parser_context_subset_name_get(VALUE self) {
|
|
1089
1110
|
</div>
|
1090
1111
|
</div>
|
1091
1112
|
|
1092
|
-
<div id="method-
|
1093
|
-
<a name="
|
1113
|
+
<div id="method-M000110" class="method-detail">
|
1114
|
+
<a name="M000110"></a>
|
1094
1115
|
|
1095
1116
|
<div class="method-heading">
|
1096
|
-
<a href="#
|
1117
|
+
<a href="#M000110" class="method-signature">
|
1097
1118
|
<span class="method-name">context.valid? → (true|false)<br />
|
1098
1119
|
</span>
|
1099
1120
|
</a>
|
@@ -1101,11 +1122,11 @@ ruby_xml_parser_context_subset_name_get(VALUE self) {
|
|
1101
1122
|
|
1102
1123
|
<div class="method-description">
|
1103
1124
|
<p>
|
1104
|
-
Determine whether this context is valid
|
1125
|
+
Determine whether this context is <a href="Context.html#M000110">valid</a>.
|
1105
1126
|
</p>
|
1106
1127
|
<p><a class="source-toggle" href="#"
|
1107
|
-
onclick="toggleCode('
|
1108
|
-
<div class="method-source-code" id="
|
1128
|
+
onclick="toggleCode('M000110-source');return false;">[Source]</a></p>
|
1129
|
+
<div class="method-source-code" id="M000110-source">
|
1109
1130
|
<pre>
|
1110
1131
|
/*
|
1111
1132
|
* call-seq:
|
@@ -1121,11 +1142,11 @@ ruby_xml_parser_context_valid_q(VALUE self) {
|
|
1121
1142
|
</div>
|
1122
1143
|
</div>
|
1123
1144
|
|
1124
|
-
<div id="method-
|
1125
|
-
<a name="
|
1145
|
+
<div id="method-M000111" class="method-detail">
|
1146
|
+
<a name="M000111"></a>
|
1126
1147
|
|
1127
1148
|
<div class="method-heading">
|
1128
|
-
<a href="#
|
1149
|
+
<a href="#M000111" class="method-signature">
|
1129
1150
|
<span class="method-name">context.validate? → (true|false)<br />
|
1130
1151
|
</span>
|
1131
1152
|
</a>
|
@@ -1136,8 +1157,8 @@ ruby_xml_parser_context_valid_q(VALUE self) {
|
|
1136
1157
|
Determine whether validation is enabled in this context.
|
1137
1158
|
</p>
|
1138
1159
|
<p><a class="source-toggle" href="#"
|
1139
|
-
onclick="toggleCode('
|
1140
|
-
<div class="method-source-code" id="
|
1160
|
+
onclick="toggleCode('M000111-source');return false;">[Source]</a></p>
|
1161
|
+
<div class="method-source-code" id="M000111-source">
|
1141
1162
|
<pre>
|
1142
1163
|
/*
|
1143
1164
|
* call-seq:
|
@@ -1153,11 +1174,11 @@ ruby_xml_parser_context_validate_q(VALUE self) {
|
|
1153
1174
|
</div>
|
1154
1175
|
</div>
|
1155
1176
|
|
1156
|
-
<div id="method-
|
1157
|
-
<a name="
|
1177
|
+
<div id="method-M000112" class="method-detail">
|
1178
|
+
<a name="M000112"></a>
|
1158
1179
|
|
1159
1180
|
<div class="method-heading">
|
1160
|
-
<a href="#
|
1181
|
+
<a href="#M000112" class="method-signature">
|
1161
1182
|
<span class="method-name">context.version → "version"<br />
|
1162
1183
|
</span>
|
1163
1184
|
</a>
|
@@ -1165,11 +1186,12 @@ ruby_xml_parser_context_validate_q(VALUE self) {
|
|
1165
1186
|
|
1166
1187
|
<div class="method-description">
|
1167
1188
|
<p>
|
1168
|
-
Obtain this context&#
|
1189
|
+
Obtain this context‘s <a href="Context.html#M000112">version</a>
|
1190
|
+
identifier.
|
1169
1191
|
</p>
|
1170
1192
|
<p><a class="source-toggle" href="#"
|
1171
|
-
onclick="toggleCode('
|
1172
|
-
<div class="method-source-code" id="
|
1193
|
+
onclick="toggleCode('M000112-source');return false;">[Source]</a></p>
|
1194
|
+
<div class="method-source-code" id="M000112-source">
|
1173
1195
|
<pre>
|
1174
1196
|
/*
|
1175
1197
|
* call-seq:
|
@@ -1185,11 +1207,11 @@ ruby_xml_parser_context_version_get(VALUE self) {
|
|
1185
1207
|
</div>
|
1186
1208
|
</div>
|
1187
1209
|
|
1188
|
-
<div id="method-
|
1189
|
-
<a name="
|
1210
|
+
<div id="method-M000113" class="method-detail">
|
1211
|
+
<a name="M000113"></a>
|
1190
1212
|
|
1191
1213
|
<div class="method-heading">
|
1192
|
-
<a href="#
|
1214
|
+
<a href="#M000113" class="method-signature">
|
1193
1215
|
<span class="method-name">context.well_formed? → (true|false)<br />
|
1194
1216
|
</span>
|
1195
1217
|
</a>
|
@@ -1201,8 +1223,8 @@ Determine whether this context contains well-formed <a
|
|
1201
1223
|
href="../../XML.html">XML</a>.
|
1202
1224
|
</p>
|
1203
1225
|
<p><a class="source-toggle" href="#"
|
1204
|
-
onclick="toggleCode('
|
1205
|
-
<div class="method-source-code" id="
|
1226
|
+
onclick="toggleCode('M000113-source');return false;">[Source]</a></p>
|
1227
|
+
<div class="method-source-code" id="M000113-source">
|
1206
1228
|
<pre>
|
1207
1229
|
/*
|
1208
1230
|
* call-seq:
|