libxml-ruby 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. data/CHANGES +42 -0
  2. data/README +123 -117
  3. data/doc/classes/XML.html +226 -0
  4. data/doc/classes/XML/Attr.html +969 -0
  5. data/doc/classes/XML/Attributes.html +487 -0
  6. data/doc/classes/XML/Document.html +1423 -0
  7. data/doc/classes/XML/Dtd.html +159 -0
  8. data/doc/classes/XML/Error.html +111 -0
  9. data/doc/classes/XML/HTMLParser.html +330 -0
  10. data/doc/classes/XML/InputCallbacks.html +154 -0
  11. data/doc/classes/XML/NS.html +366 -0
  12. data/doc/classes/XML/Node.html +3292 -0
  13. data/doc/classes/XML/Node/FailedModify.html +111 -0
  14. data/doc/classes/XML/Node/Set.html +435 -0
  15. data/doc/classes/XML/Node/SetNamespace.html +111 -0
  16. data/doc/classes/XML/Node/UnknownType.html +111 -0
  17. data/doc/classes/XML/Parser.html +2178 -0
  18. data/doc/classes/XML/Parser/Context.html +1233 -0
  19. data/doc/classes/XML/Parser/ParseError.html +111 -0
  20. data/doc/classes/XML/Reader.html +2173 -0
  21. data/doc/classes/XML/SaxParser.html +396 -0
  22. data/doc/classes/XML/SiblingEnum.html +142 -0
  23. data/doc/classes/XML/State.html +118 -0
  24. data/doc/classes/XML/Tree.html +224 -0
  25. data/doc/classes/XML/XInclude.html +117 -0
  26. data/doc/classes/XML/XInclude/Error.html +111 -0
  27. data/doc/classes/XML/XMLParserOptions.html +198 -0
  28. data/doc/classes/XML/XPath.html +269 -0
  29. data/doc/classes/XML/XPath/Context.html +193 -0
  30. data/doc/classes/XML/XPath/InvalidPath.html +111 -0
  31. data/doc/classes/XML/XPath/Object.html +439 -0
  32. data/doc/classes/XML/XPointer.html +164 -0
  33. data/doc/classes/XML/XPointer/Context.html +117 -0
  34. data/doc/classes/XML/XPointer/Context/InvalidPath.html +111 -0
  35. data/doc/classes/XML/XPointer/InvalidExpression.html +111 -0
  36. data/doc/classes/singleton.html +114 -0
  37. data/doc/created.rid +1 -0
  38. data/doc/files/CHANGES.html +375 -0
  39. data/doc/files/LICENSE.html +133 -0
  40. data/doc/files/README.html +279 -0
  41. data/doc/files/VERSION.html +107 -0
  42. data/doc/files/ext/libxml/cbg_c.html +101 -0
  43. data/doc/files/ext/libxml/libxml_c.html +101 -0
  44. data/doc/files/ext/libxml/ruby_xml_attr_c.html +101 -0
  45. data/doc/files/ext/libxml/ruby_xml_attributes_c.html +101 -0
  46. data/doc/files/ext/libxml/ruby_xml_document_c.html +101 -0
  47. data/doc/files/ext/libxml/ruby_xml_dtd_c.html +101 -0
  48. data/doc/files/ext/libxml/ruby_xml_html_parser_c.html +101 -0
  49. data/doc/files/ext/libxml/ruby_xml_input_cbg_c.html +101 -0
  50. data/doc/files/ext/libxml/ruby_xml_node_c.html +101 -0
  51. data/doc/files/ext/libxml/ruby_xml_node_set_c.html +101 -0
  52. data/doc/files/ext/libxml/ruby_xml_ns_c.html +101 -0
  53. data/doc/files/ext/libxml/ruby_xml_parser_c.html +101 -0
  54. data/doc/files/ext/libxml/ruby_xml_parser_context_c.html +101 -0
  55. data/doc/files/ext/libxml/ruby_xml_reader_c.html +101 -0
  56. data/doc/files/ext/libxml/ruby_xml_sax_parser_c.html +101 -0
  57. data/doc/files/ext/libxml/ruby_xml_schema_c.html +101 -0
  58. data/doc/files/ext/libxml/ruby_xml_state_c.html +101 -0
  59. data/doc/files/ext/libxml/ruby_xml_tree_c.html +101 -0
  60. data/doc/files/ext/libxml/ruby_xml_xinclude_c.html +101 -0
  61. data/doc/files/ext/libxml/ruby_xml_xpath_c.html +101 -0
  62. data/doc/files/ext/libxml/ruby_xml_xpath_context_c.html +101 -0
  63. data/doc/files/ext/libxml/ruby_xml_xpath_object_c.html +101 -0
  64. data/doc/files/ext/libxml/ruby_xml_xpointer_c.html +101 -0
  65. data/doc/files/ext/libxml/ruby_xml_xpointer_context_c.html +101 -0
  66. data/doc/files/lib/libxml_rb.html +115 -0
  67. data/doc/files/lib/xml/libxml_rb.html +114 -0
  68. data/doc/fr_class_index.html +60 -0
  69. data/doc/fr_file_index.html +56 -0
  70. data/doc/fr_method_index.html +373 -0
  71. data/doc/index.html +24 -0
  72. data/doc/rdoc-style.css +208 -0
  73. data/ext/libxml/cbg.c +76 -76
  74. data/ext/libxml/extconf.rb +308 -308
  75. data/ext/libxml/libxml.c +58 -62
  76. data/ext/libxml/ruby_libxml.h +1 -0
  77. data/ext/libxml/ruby_xml_attr.c +201 -113
  78. data/ext/libxml/ruby_xml_attr.h +6 -9
  79. data/ext/libxml/ruby_xml_attributes.c +268 -0
  80. data/ext/libxml/ruby_xml_attributes.h +17 -0
  81. data/ext/libxml/ruby_xml_document.c +80 -66
  82. data/ext/libxml/ruby_xml_dtd.c +2 -2
  83. data/ext/libxml/ruby_xml_dtd.h +17 -17
  84. data/ext/libxml/ruby_xml_html_parser.c +18 -19
  85. data/ext/libxml/ruby_xml_html_parser.h +29 -29
  86. data/ext/libxml/ruby_xml_input_cbg.c +6 -0
  87. data/ext/libxml/ruby_xml_input_cbg.h +20 -20
  88. data/ext/libxml/ruby_xml_node.c +438 -536
  89. data/ext/libxml/ruby_xml_node.h +17 -27
  90. data/ext/libxml/ruby_xml_node_set.c +10 -9
  91. data/ext/libxml/ruby_xml_node_set.h +20 -20
  92. data/ext/libxml/ruby_xml_ns.c +60 -69
  93. data/ext/libxml/ruby_xml_ns.h +12 -21
  94. data/ext/libxml/ruby_xml_parser.c +54 -53
  95. data/ext/libxml/ruby_xml_parser.h +31 -31
  96. data/ext/libxml/ruby_xml_parser_context.c +37 -91
  97. data/ext/libxml/ruby_xml_parser_context.h +20 -22
  98. data/ext/libxml/ruby_xml_reader.h +14 -14
  99. data/ext/libxml/ruby_xml_sax_parser.c +55 -55
  100. data/ext/libxml/ruby_xml_sax_parser.h +56 -56
  101. data/ext/libxml/ruby_xml_schema.c +44 -51
  102. data/ext/libxml/ruby_xml_schema.h +16 -16
  103. data/ext/libxml/ruby_xml_state.c +35 -96
  104. data/ext/libxml/ruby_xml_state.h +2 -3
  105. data/ext/libxml/ruby_xml_tree.h +12 -12
  106. data/ext/libxml/ruby_xml_xinclude.h +13 -13
  107. data/ext/libxml/ruby_xml_xpath.c +57 -18
  108. data/ext/libxml/ruby_xml_xpath.h +23 -23
  109. data/ext/libxml/ruby_xml_xpath_context.c +11 -7
  110. data/ext/libxml/ruby_xml_xpath_context.h +20 -20
  111. data/ext/libxml/ruby_xml_xpath_object.c +9 -16
  112. data/ext/libxml/ruby_xml_xpath_object.h +4 -10
  113. data/ext/libxml/ruby_xml_xpointer.c +11 -11
  114. data/ext/libxml/ruby_xml_xpointer.h +27 -27
  115. data/ext/libxml/ruby_xml_xpointer_context.h +18 -18
  116. data/ext/libxml/version.h +2 -2
  117. data/lib/libxml.rb +134 -125
  118. data/mingw/libiconv-2.dll +0 -0
  119. data/mingw/libxml2-2.dll +0 -0
  120. data/mingw/libxml_ruby.so +0 -0
  121. data/test/ets_copy_bug.rb +1 -1
  122. data/test/ets_copy_bug2.rb +16 -27
  123. data/test/ets_doc_to_s.rb +1 -1
  124. data/test/ets_gpx.rb +1 -1
  125. data/test/ets_node_gc.rb +1 -1
  126. data/test/ets_tsr.rb +1 -1
  127. data/test/tc_well_formed.rb +1 -1
  128. data/test/tc_xml_attributes.rb +106 -0
  129. data/test/tc_xml_document.rb +10 -10
  130. data/test/tc_xml_document_write3.rb +1 -1
  131. data/test/tc_xml_dtd.rb +49 -0
  132. data/test/tc_xml_html_parser.rb +3 -3
  133. data/test/tc_xml_node.rb +69 -33
  134. data/test/tc_xml_node_attr.rb +170 -0
  135. data/test/{tc_xml_node8.rb → tc_xml_node_cdata.rb} +2 -2
  136. data/test/{tc_xml_node9.rb → tc_xml_node_comment.rb} +3 -3
  137. data/test/tc_xml_node_edit.rb +91 -0
  138. data/test/tc_xml_parser.rb +97 -50
  139. data/test/tc_xml_parser_context.rb +61 -23
  140. data/test/tc_xml_schema.rb +39 -0
  141. data/test/tc_xml_xinclude.rb +5 -6
  142. data/test/tc_xml_xpath.rb +51 -27
  143. data/test/test_suite.rb +27 -0
  144. data/vc/{libxml.sln → libxml_ruby.sln} +5 -5
  145. data/vc/{libxml.vcproj → libxml_ruby.vcproj} +9 -1
  146. metadata +106 -54
  147. data/mingw/mingw.rake +0 -36
  148. data/test/dtd-test.rb +0 -24
  149. data/test/merge_bug.rb +0 -55
  150. data/test/schema-test.rb +0 -74
  151. data/test/tc_xml_node2.rb +0 -25
  152. data/test/tc_xml_node3.rb +0 -27
  153. data/test/tc_xml_node4.rb +0 -86
  154. data/test/tc_xml_node5.rb +0 -52
  155. data/test/tc_xml_node6.rb +0 -27
  156. data/test/tc_xml_node7.rb +0 -35
  157. data/test/tc_xml_parser2.rb +0 -16
  158. data/test/tc_xml_parser3.rb +0 -23
  159. data/test/tc_xml_parser4.rb +0 -33
  160. data/test/tc_xml_parser5.rb +0 -27
  161. data/test/tc_xml_parser6.rb +0 -23
  162. data/test/tc_xml_parser7.rb +0 -28
  163. data/test/tc_xml_parser8.rb +0 -32
  164. data/test/tc_xml_parser9.rb +0 -11
  165. data/test/tc_xml_xpath2.rb +0 -14
  166. data/work/vc/debug/libxml.exp +0 -0
  167. data/work/vc/debug/libxml.ilk +0 -0
  168. data/work/vc/debug/libxml.lib +0 -0
  169. data/work/vc/debug/libxml.pdb +0 -0
  170. data/work/vc/debug/libxml.so +0 -0
@@ -0,0 +1,1233 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: XML::Parser::Context</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">XML::Parser::Context</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/ext/libxml/ruby_xml_parser_c.html">
59
+ ext/libxml/ruby_xml_parser.c
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000061">data_directory</a>&nbsp;&nbsp;
90
+ <a href="#M000062">depth</a>&nbsp;&nbsp;
91
+ <a href="#M000063">disable_sax?</a>&nbsp;&nbsp;
92
+ <a href="#M000064">docbook?</a>&nbsp;&nbsp;
93
+ <a href="#M000065">encoding</a>&nbsp;&nbsp;
94
+ <a href="#M000066">errno</a>&nbsp;&nbsp;
95
+ <a href="#M000067">html?</a>&nbsp;&nbsp;
96
+ <a href="#M000068">io_max_num_streams</a>&nbsp;&nbsp;
97
+ <a href="#M000069">io_num_streams</a>&nbsp;&nbsp;
98
+ <a href="#M000070">keep_blanks?</a>&nbsp;&nbsp;
99
+ <a href="#M000072">name_depth</a>&nbsp;&nbsp;
100
+ <a href="#M000073">name_depth_max</a>&nbsp;&nbsp;
101
+ <a href="#M000071">name_node</a>&nbsp;&nbsp;
102
+ <a href="#M000074">name_tab</a>&nbsp;&nbsp;
103
+ <a href="#M000075">node</a>&nbsp;&nbsp;
104
+ <a href="#M000076">node_depth</a>&nbsp;&nbsp;
105
+ <a href="#M000077">node_depth_max</a>&nbsp;&nbsp;
106
+ <a href="#M000078">num_chars</a>&nbsp;&nbsp;
107
+ <a href="#M000080">replace_entities=</a>&nbsp;&nbsp;
108
+ <a href="#M000079">replace_entities?</a>&nbsp;&nbsp;
109
+ <a href="#M000081">space_depth</a>&nbsp;&nbsp;
110
+ <a href="#M000082">space_depth_max</a>&nbsp;&nbsp;
111
+ <a href="#M000089">standalone?</a>&nbsp;&nbsp;
112
+ <a href="#M000088">stats?</a>&nbsp;&nbsp;
113
+ <a href="#M000083">subset_external?</a>&nbsp;&nbsp;
114
+ <a href="#M000084">subset_external_system_id</a>&nbsp;&nbsp;
115
+ <a href="#M000085">subset_external_uri</a>&nbsp;&nbsp;
116
+ <a href="#M000086">subset_internal?</a>&nbsp;&nbsp;
117
+ <a href="#M000087">subset_internal_name</a>&nbsp;&nbsp;
118
+ <a href="#M000090">valid</a>&nbsp;&nbsp;
119
+ <a href="#M000091">validate?</a>&nbsp;&nbsp;
120
+ <a href="#M000092">version</a>&nbsp;&nbsp;
121
+ <a href="#M000093">well_formed?</a>&nbsp;&nbsp;
122
+ </div>
123
+ </div>
124
+
125
+ </div>
126
+
127
+
128
+ <!-- if includes -->
129
+
130
+ <div id="section">
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <!-- if method_list -->
140
+ <div id="methods">
141
+ <h3 class="section-bar">Public Instance methods</h3>
142
+
143
+ <div id="method-M000061" class="method-detail">
144
+ <a name="M000061"></a>
145
+
146
+ <div class="method-heading">
147
+ <a href="#M000061" class="method-signature">
148
+ <span class="method-name">context.data_directory &rarr; "dir"<br />
149
+ </span>
150
+ </a>
151
+ </div>
152
+
153
+ <div class="method-description">
154
+ <p>
155
+ Obtain the data directory associated with this context.
156
+ </p>
157
+ <p><a class="source-toggle" href="#"
158
+ onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
159
+ <div class="method-source-code" id="M000061-source">
160
+ <pre>
161
+ /*
162
+ * call-seq:
163
+ * context.data_directory -&gt; &quot;dir&quot;
164
+ *
165
+ * Obtain the data directory associated with this context.
166
+ */
167
+ VALUE
168
+ ruby_xml_parser_context_data_directory_get(VALUE self) {
169
+
170
+ </pre>
171
+ </div>
172
+ </div>
173
+ </div>
174
+
175
+ <div id="method-M000062" class="method-detail">
176
+ <a name="M000062"></a>
177
+
178
+ <div class="method-heading">
179
+ <a href="#M000062" class="method-signature">
180
+ <span class="method-name">context.depth &rarr; num<br />
181
+ </span>
182
+ </a>
183
+ </div>
184
+
185
+ <div class="method-description">
186
+ <p>
187
+ Obtain the depth of this context.
188
+ </p>
189
+ <p><a class="source-toggle" href="#"
190
+ onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
191
+ <div class="method-source-code" id="M000062-source">
192
+ <pre>
193
+ /*
194
+ * call-seq:
195
+ * context.depth -&gt; num
196
+ *
197
+ * Obtain the depth of this context.
198
+ */
199
+ VALUE
200
+ ruby_xml_parser_context_depth_get(VALUE self) {
201
+
202
+ </pre>
203
+ </div>
204
+ </div>
205
+ </div>
206
+
207
+ <div id="method-M000063" class="method-detail">
208
+ <a name="M000063"></a>
209
+
210
+ <div class="method-heading">
211
+ <a href="#M000063" class="method-signature">
212
+ <span class="method-name">context.disable_sax? &rarr; (true|false)<br />
213
+ </span>
214
+ </a>
215
+ </div>
216
+
217
+ <div class="method-description">
218
+ <p>
219
+ Determine whether SAX-based processing is disabled in this context.
220
+ </p>
221
+ <p><a class="source-toggle" href="#"
222
+ onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
223
+ <div class="method-source-code" id="M000063-source">
224
+ <pre>
225
+ /*
226
+ * call-seq:
227
+ * context.disable_sax? -&gt; (true|false)
228
+ *
229
+ * Determine whether SAX-based processing is disabled
230
+ * in this context.
231
+ */
232
+ VALUE
233
+ ruby_xml_parser_context_disable_sax_q(VALUE self) {
234
+
235
+ </pre>
236
+ </div>
237
+ </div>
238
+ </div>
239
+
240
+ <div id="method-M000064" class="method-detail">
241
+ <a name="M000064"></a>
242
+
243
+ <div class="method-heading">
244
+ <a href="#M000064" class="method-signature">
245
+ <span class="method-name">context.docbook? &rarr; (true|false)<br />
246
+ </span>
247
+ </a>
248
+ </div>
249
+
250
+ <div class="method-description">
251
+ <p>
252
+ Determine whether this is a docbook context.
253
+ </p>
254
+ <p><a class="source-toggle" href="#"
255
+ onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
256
+ <div class="method-source-code" id="M000064-source">
257
+ <pre>
258
+ /*
259
+ * call-seq:
260
+ * context.docbook? -&gt; (true|false)
261
+ *
262
+ * Determine whether this is a docbook context.
263
+ */
264
+ VALUE
265
+ ruby_xml_parser_context_docbook_q(VALUE self) {
266
+
267
+ </pre>
268
+ </div>
269
+ </div>
270
+ </div>
271
+
272
+ <div id="method-M000065" class="method-detail">
273
+ <a name="M000065"></a>
274
+
275
+ <div class="method-heading">
276
+ <a href="#M000065" class="method-signature">
277
+ <span class="method-name">context.encoding &rarr; "encoding"<br />
278
+ </span>
279
+ </a>
280
+ </div>
281
+
282
+ <div class="method-description">
283
+ <p>
284
+ Obtain the character encoding identifier used in this context.
285
+ </p>
286
+ <p><a class="source-toggle" href="#"
287
+ onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
288
+ <div class="method-source-code" id="M000065-source">
289
+ <pre>
290
+ /*
291
+ * call-seq:
292
+ * context.encoding -&gt; &quot;encoding&quot;
293
+ *
294
+ * Obtain the character encoding identifier used in
295
+ * this context.
296
+ */
297
+ VALUE
298
+ ruby_xml_parser_context_encoding_get(VALUE self) {
299
+
300
+ </pre>
301
+ </div>
302
+ </div>
303
+ </div>
304
+
305
+ <div id="method-M000066" class="method-detail">
306
+ <a name="M000066"></a>
307
+
308
+ <div class="method-heading">
309
+ <a href="#M000066" class="method-signature">
310
+ <span class="method-name">context.errno &rarr; num<br />
311
+ </span>
312
+ </a>
313
+ </div>
314
+
315
+ <div class="method-description">
316
+ <p>
317
+ Obtain the last-error number in this context.
318
+ </p>
319
+ <p><a class="source-toggle" href="#"
320
+ onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
321
+ <div class="method-source-code" id="M000066-source">
322
+ <pre>
323
+ /*
324
+ * call-seq:
325
+ * context.errno -&gt; num
326
+ *
327
+ * Obtain the last-error number in this context.
328
+ */
329
+ VALUE
330
+ ruby_xml_parser_context_errno_get(VALUE self) {
331
+
332
+ </pre>
333
+ </div>
334
+ </div>
335
+ </div>
336
+
337
+ <div id="method-M000067" class="method-detail">
338
+ <a name="M000067"></a>
339
+
340
+ <div class="method-heading">
341
+ <a href="#M000067" class="method-signature">
342
+ <span class="method-name">context.html? &rarr; (true|false)<br />
343
+ </span>
344
+ </a>
345
+ </div>
346
+
347
+ <div class="method-description">
348
+ <p>
349
+ Determine whether this is an html context.
350
+ </p>
351
+ <p><a class="source-toggle" href="#"
352
+ onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
353
+ <div class="method-source-code" id="M000067-source">
354
+ <pre>
355
+ /*
356
+ * call-seq:
357
+ * context.html? -&gt; (true|false)
358
+ *
359
+ * Determine whether this is an html context.
360
+ */
361
+ VALUE
362
+ ruby_xml_parser_context_html_q(VALUE self) {
363
+
364
+ </pre>
365
+ </div>
366
+ </div>
367
+ </div>
368
+
369
+ <div id="method-M000068" class="method-detail">
370
+ <a name="M000068"></a>
371
+
372
+ <div class="method-heading">
373
+ <a href="#M000068" class="method-signature">
374
+ <span class="method-name">context.max_num_streams &rarr; num<br />
375
+ </span>
376
+ </a>
377
+ </div>
378
+
379
+ <div class="method-description">
380
+ <p>
381
+ Obtain the limit on the number of IO streams opened in this context.
382
+ </p>
383
+ <p><a class="source-toggle" href="#"
384
+ onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
385
+ <div class="method-source-code" id="M000068-source">
386
+ <pre>
387
+ /*
388
+ * call-seq:
389
+ * context.max_num_streams -&gt; num
390
+ *
391
+ * Obtain the limit on the number of IO streams opened in
392
+ * this context.
393
+ */
394
+ VALUE
395
+ ruby_xml_parser_context_io_max_num_streams_get(VALUE self) {
396
+
397
+ </pre>
398
+ </div>
399
+ </div>
400
+ </div>
401
+
402
+ <div id="method-M000069" class="method-detail">
403
+ <a name="M000069"></a>
404
+
405
+ <div class="method-heading">
406
+ <a href="#M000069" class="method-signature">
407
+ <span class="method-name">context.num_streams &rarr; "dir"<br />
408
+ </span>
409
+ </a>
410
+ </div>
411
+
412
+ <div class="method-description">
413
+ <p>
414
+ Obtain the actual number of IO streams in this context.
415
+ </p>
416
+ <p><a class="source-toggle" href="#"
417
+ onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
418
+ <div class="method-source-code" id="M000069-source">
419
+ <pre>
420
+ /*
421
+ * call-seq:
422
+ * context.num_streams -&gt; &quot;dir&quot;
423
+ *
424
+ * Obtain the actual number of IO streams in this
425
+ * context.
426
+ */
427
+ VALUE
428
+ ruby_xml_parser_context_io_num_streams_get(VALUE self) {
429
+
430
+ </pre>
431
+ </div>
432
+ </div>
433
+ </div>
434
+
435
+ <div id="method-M000070" class="method-detail">
436
+ <a name="M000070"></a>
437
+
438
+ <div class="method-heading">
439
+ <a href="#M000070" class="method-signature">
440
+ <span class="method-name">context.keep_blanks? &rarr; (true|false)<br />
441
+ </span>
442
+ </a>
443
+ </div>
444
+
445
+ <div class="method-description">
446
+ <p>
447
+ Determine whether parsers in this context retain whitespace.
448
+ </p>
449
+ <p><a class="source-toggle" href="#"
450
+ onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
451
+ <div class="method-source-code" id="M000070-source">
452
+ <pre>
453
+ /*
454
+ * call-seq:
455
+ * context.keep_blanks? -&gt; (true|false)
456
+ *
457
+ * Determine whether parsers in this context retain
458
+ * whitespace.
459
+ */
460
+ VALUE
461
+ ruby_xml_parser_context_keep_blanks_q(VALUE self) {
462
+
463
+ </pre>
464
+ </div>
465
+ </div>
466
+ </div>
467
+
468
+ <div id="method-M000072" class="method-detail">
469
+ <a name="M000072"></a>
470
+
471
+ <div class="method-heading">
472
+ <a href="#M000072" class="method-signature">
473
+ <span class="method-name">context.name_depth &rarr; num<br />
474
+ </span>
475
+ </a>
476
+ </div>
477
+
478
+ <div class="method-description">
479
+ <p>
480
+ Obtain the name depth for this context.
481
+ </p>
482
+ <p><a class="source-toggle" href="#"
483
+ onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
484
+ <div class="method-source-code" id="M000072-source">
485
+ <pre>
486
+ /*
487
+ * call-seq:
488
+ * context.name_depth -&gt; num
489
+ *
490
+ * Obtain the name depth for this context.
491
+ */
492
+ VALUE
493
+ ruby_xml_parser_context_name_depth_get(VALUE self) {
494
+
495
+ </pre>
496
+ </div>
497
+ </div>
498
+ </div>
499
+
500
+ <div id="method-M000073" class="method-detail">
501
+ <a name="M000073"></a>
502
+
503
+ <div class="method-heading">
504
+ <a href="#M000073" class="method-signature">
505
+ <span class="method-name">context.name_depth_max &rarr; num<br />
506
+ </span>
507
+ </a>
508
+ </div>
509
+
510
+ <div class="method-description">
511
+ <p>
512
+ Obtain the maximum name depth for this context.
513
+ </p>
514
+ <p><a class="source-toggle" href="#"
515
+ onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
516
+ <div class="method-source-code" id="M000073-source">
517
+ <pre>
518
+ /*
519
+ * call-seq:
520
+ * context.name_depth_max -&gt; num
521
+ *
522
+ * Obtain the maximum name depth for this context.
523
+ */
524
+ VALUE
525
+ ruby_xml_parser_context_name_depth_max_get(VALUE self) {
526
+
527
+ </pre>
528
+ </div>
529
+ </div>
530
+ </div>
531
+
532
+ <div id="method-M000071" class="method-detail">
533
+ <a name="M000071"></a>
534
+
535
+ <div class="method-heading">
536
+ <a href="#M000071" class="method-signature">
537
+ <span class="method-name">context.name_node &rarr; "name"<br />
538
+ </span>
539
+ </a>
540
+ </div>
541
+
542
+ <div class="method-description">
543
+ <p>
544
+ Obtain the name node for this context.
545
+ </p>
546
+ <p><a class="source-toggle" href="#"
547
+ onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
548
+ <div class="method-source-code" id="M000071-source">
549
+ <pre>
550
+ /*
551
+ * call-seq:
552
+ * context.name_node -&gt; &quot;name&quot;
553
+ *
554
+ * Obtain the name node for this context.
555
+ */
556
+ VALUE
557
+ ruby_xml_parser_context_name_node_get(VALUE self) {
558
+
559
+ </pre>
560
+ </div>
561
+ </div>
562
+ </div>
563
+
564
+ <div id="method-M000074" class="method-detail">
565
+ <a name="M000074"></a>
566
+
567
+ <div class="method-heading">
568
+ <a href="#M000074" class="method-signature">
569
+ <span class="method-name">context.name_tab &rarr; ["name", ..., "name"]<br />
570
+ </span>
571
+ </a>
572
+ </div>
573
+
574
+ <div class="method-description">
575
+ <p>
576
+ Obtain the name table for this context.
577
+ </p>
578
+ <p><a class="source-toggle" href="#"
579
+ onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
580
+ <div class="method-source-code" id="M000074-source">
581
+ <pre>
582
+ /*
583
+ * call-seq:
584
+ * context.name_tab -&gt; [&quot;name&quot;, ..., &quot;name&quot;]
585
+ *
586
+ * Obtain the name table for this context.
587
+ */
588
+ VALUE
589
+ ruby_xml_parser_context_name_tab_get(VALUE self) {
590
+
591
+ </pre>
592
+ </div>
593
+ </div>
594
+ </div>
595
+
596
+ <div id="method-M000075" class="method-detail">
597
+ <a name="M000075"></a>
598
+
599
+ <div class="method-heading">
600
+ <a href="#M000075" class="method-signature">
601
+ <span class="method-name">context.node &rarr; node<br />
602
+ </span>
603
+ </a>
604
+ </div>
605
+
606
+ <div class="method-description">
607
+ <p>
608
+ Obtain the root node of this context.
609
+ </p>
610
+ <p><a class="source-toggle" href="#"
611
+ onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
612
+ <div class="method-source-code" id="M000075-source">
613
+ <pre>
614
+ /*
615
+ * call-seq:
616
+ * context.node -&gt; node
617
+ *
618
+ * Obtain the root node of this context.
619
+ */
620
+ VALUE
621
+ ruby_xml_parser_context_node_get(VALUE self) {
622
+
623
+ </pre>
624
+ </div>
625
+ </div>
626
+ </div>
627
+
628
+ <div id="method-M000076" class="method-detail">
629
+ <a name="M000076"></a>
630
+
631
+ <div class="method-heading">
632
+ <a href="#M000076" class="method-signature">
633
+ <span class="method-name">context.node_depth &rarr; num<br />
634
+ </span>
635
+ </a>
636
+ </div>
637
+
638
+ <div class="method-description">
639
+ <p>
640
+ Obtain the node depth for this context.
641
+ </p>
642
+ <p><a class="source-toggle" href="#"
643
+ onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
644
+ <div class="method-source-code" id="M000076-source">
645
+ <pre>
646
+ /*
647
+ * call-seq:
648
+ * context.node_depth -&gt; num
649
+ *
650
+ * Obtain the node depth for this context.
651
+ */
652
+ VALUE
653
+ ruby_xml_parser_context_node_depth_get(VALUE self) {
654
+
655
+ </pre>
656
+ </div>
657
+ </div>
658
+ </div>
659
+
660
+ <div id="method-M000077" class="method-detail">
661
+ <a name="M000077"></a>
662
+
663
+ <div class="method-heading">
664
+ <a href="#M000077" class="method-signature">
665
+ <span class="method-name">context.node_depth_max &rarr; num<br />
666
+ </span>
667
+ </a>
668
+ </div>
669
+
670
+ <div class="method-description">
671
+ <p>
672
+ Obtain the maximum node depth for this context.
673
+ </p>
674
+ <p><a class="source-toggle" href="#"
675
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
676
+ <div class="method-source-code" id="M000077-source">
677
+ <pre>
678
+ /*
679
+ * call-seq:
680
+ * context.node_depth_max -&gt; num
681
+ *
682
+ * Obtain the maximum node depth for this context.
683
+ */
684
+ VALUE
685
+ ruby_xml_parser_context_node_depth_max_get(VALUE self) {
686
+
687
+ </pre>
688
+ </div>
689
+ </div>
690
+ </div>
691
+
692
+ <div id="method-M000078" class="method-detail">
693
+ <a name="M000078"></a>
694
+
695
+ <div class="method-heading">
696
+ <a href="#M000078" class="method-signature">
697
+ <span class="method-name">context.num_chars &rarr; num<br />
698
+ </span>
699
+ </a>
700
+ </div>
701
+
702
+ <div class="method-description">
703
+ <p>
704
+ Obtain the number of characters in this context.
705
+ </p>
706
+ <p><a class="source-toggle" href="#"
707
+ onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
708
+ <div class="method-source-code" id="M000078-source">
709
+ <pre>
710
+ /*
711
+ * call-seq:
712
+ * context.num_chars -&gt; num
713
+ *
714
+ * Obtain the number of characters in this context.
715
+ */
716
+ VALUE
717
+ ruby_xml_parser_context_num_chars_get(VALUE self) {
718
+
719
+ </pre>
720
+ </div>
721
+ </div>
722
+ </div>
723
+
724
+ <div id="method-M000080" class="method-detail">
725
+ <a name="M000080"></a>
726
+
727
+ <div class="method-heading">
728
+ <a href="#M000080" class="method-signature">
729
+ <span class="method-name">context.replace_entities = true|false<br />
730
+ </span>
731
+ </a>
732
+ </div>
733
+
734
+ <div class="method-description">
735
+ <p>
736
+ Control whether external entity replacement is enabled in this context.
737
+ </p>
738
+ <p><a class="source-toggle" href="#"
739
+ onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
740
+ <div class="method-source-code" id="M000080-source">
741
+ <pre>
742
+ /*
743
+ * call-seq:
744
+ * context.replace_entities = true|false
745
+ *
746
+ * Control whether external entity replacement is enabled in this
747
+ * context.
748
+ */
749
+ VALUE
750
+ ruby_xml_parser_context_replace_entities_set(VALUE self, VALUE bool) {
751
+
752
+ </pre>
753
+ </div>
754
+ </div>
755
+ </div>
756
+
757
+ <div id="method-M000079" class="method-detail">
758
+ <a name="M000079"></a>
759
+
760
+ <div class="method-heading">
761
+ <a href="#M000079" class="method-signature">
762
+ <span class="method-name">context.replace_entities? &rarr; (true|false)<br />
763
+ </span>
764
+ </a>
765
+ </div>
766
+
767
+ <div class="method-description">
768
+ <p>
769
+ Determine whether external entity replacement is enabled in this context.
770
+ </p>
771
+ <p><a class="source-toggle" href="#"
772
+ onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
773
+ <div class="method-source-code" id="M000079-source">
774
+ <pre>
775
+ /*
776
+ * call-seq:
777
+ * context.replace_entities? -&gt; (true|false)
778
+ *
779
+ * Determine whether external entity replacement is enabled in this
780
+ * context.
781
+ */
782
+ VALUE
783
+ ruby_xml_parser_context_replace_entities_q(VALUE self) {
784
+
785
+ </pre>
786
+ </div>
787
+ </div>
788
+ </div>
789
+
790
+ <div id="method-M000081" class="method-detail">
791
+ <a name="M000081"></a>
792
+
793
+ <div class="method-heading">
794
+ <a href="#M000081" class="method-signature">
795
+ <span class="method-name">context.space_depth &rarr; num<br />
796
+ </span>
797
+ </a>
798
+ </div>
799
+
800
+ <div class="method-description">
801
+ <p>
802
+ Obtain the space depth for this context.
803
+ </p>
804
+ <p><a class="source-toggle" href="#"
805
+ onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
806
+ <div class="method-source-code" id="M000081-source">
807
+ <pre>
808
+ /*
809
+ * call-seq:
810
+ * context.space_depth -&gt; num
811
+ *
812
+ * Obtain the space depth for this context.
813
+ */
814
+ VALUE
815
+ ruby_xml_parser_context_space_depth_get(VALUE self) {
816
+
817
+ </pre>
818
+ </div>
819
+ </div>
820
+ </div>
821
+
822
+ <div id="method-M000082" class="method-detail">
823
+ <a name="M000082"></a>
824
+
825
+ <div class="method-heading">
826
+ <a href="#M000082" class="method-signature">
827
+ <span class="method-name">context.space_depth &rarr; num<br />
828
+ </span>
829
+ </a>
830
+ </div>
831
+
832
+ <div class="method-description">
833
+ <p>
834
+ Obtain the maximum space depth for this context.
835
+ </p>
836
+ <p><a class="source-toggle" href="#"
837
+ onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
838
+ <div class="method-source-code" id="M000082-source">
839
+ <pre>
840
+ /*
841
+ * call-seq:
842
+ * context.space_depth -&gt; num
843
+ *
844
+ * Obtain the maximum space depth for this context.
845
+ */
846
+ VALUE
847
+ ruby_xml_parser_context_space_depth_max_get(VALUE self) {
848
+
849
+ </pre>
850
+ </div>
851
+ </div>
852
+ </div>
853
+
854
+ <div id="method-M000089" class="method-detail">
855
+ <a name="M000089"></a>
856
+
857
+ <div class="method-heading">
858
+ <a href="#M000089" class="method-signature">
859
+ <span class="method-name">context.standalone? &rarr; (true|false)<br />
860
+ </span>
861
+ </a>
862
+ </div>
863
+
864
+ <div class="method-description">
865
+ <p>
866
+ Determine whether this is a standalone context.
867
+ </p>
868
+ <p><a class="source-toggle" href="#"
869
+ onclick="toggleCode('M000089-source');return false;">[Source]</a></p>
870
+ <div class="method-source-code" id="M000089-source">
871
+ <pre>
872
+ /*
873
+ * call-seq:
874
+ * context.standalone? -&gt; (true|false)
875
+ *
876
+ * Determine whether this is a standalone context.
877
+ */
878
+ VALUE
879
+ ruby_xml_parser_context_standalone_q(VALUE self) {
880
+
881
+ </pre>
882
+ </div>
883
+ </div>
884
+ </div>
885
+
886
+ <div id="method-M000088" class="method-detail">
887
+ <a name="M000088"></a>
888
+
889
+ <div class="method-heading">
890
+ <a href="#M000088" class="method-signature">
891
+ <span class="method-name">context.stats? &rarr; (true|false)<br />
892
+ </span>
893
+ </a>
894
+ </div>
895
+
896
+ <div class="method-description">
897
+ <p>
898
+ Determine whether this context maintains statistics.
899
+ </p>
900
+ <p><a class="source-toggle" href="#"
901
+ onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
902
+ <div class="method-source-code" id="M000088-source">
903
+ <pre>
904
+ /*
905
+ * call-seq:
906
+ * context.stats? -&gt; (true|false)
907
+ *
908
+ * Determine whether this context maintains statistics.
909
+ */
910
+ VALUE
911
+ ruby_xml_parser_context_stats_q(VALUE self) {
912
+
913
+ </pre>
914
+ </div>
915
+ </div>
916
+ </div>
917
+
918
+ <div id="method-M000083" class="method-detail">
919
+ <a name="M000083"></a>
920
+
921
+ <div class="method-heading">
922
+ <a href="#M000083" class="method-signature">
923
+ <span class="method-name">context.subset_external? &rarr; (true|false)<br />
924
+ </span>
925
+ </a>
926
+ </div>
927
+
928
+ <div class="method-description">
929
+ <p>
930
+ Determine whether this context is a subset of an external context.
931
+ </p>
932
+ <p><a class="source-toggle" href="#"
933
+ onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
934
+ <div class="method-source-code" id="M000083-source">
935
+ <pre>
936
+ /*
937
+ * call-seq:
938
+ * context.subset_external? -&gt; (true|false)
939
+ *
940
+ * Determine whether this context is a subset of an
941
+ * external context.
942
+ */
943
+ VALUE
944
+ ruby_xml_parser_context_subset_external_q(VALUE self) {
945
+
946
+ </pre>
947
+ </div>
948
+ </div>
949
+ </div>
950
+
951
+ <div id="method-M000084" class="method-detail">
952
+ <a name="M000084"></a>
953
+
954
+ <div class="method-heading">
955
+ <a href="#M000084" class="method-signature">
956
+ <span class="method-name">context.subset_external_system_id &rarr; "system_id"<br />
957
+ </span>
958
+ </a>
959
+ </div>
960
+
961
+ <div class="method-description">
962
+ <p>
963
+ Obtain this context&#8217;s external subset system identifier. (valid only
964
+ if either of <a href="Context.html#M000083">subset_external?</a> or <a
965
+ href="Context.html#M000086">subset_internal?</a> is true).
966
+ </p>
967
+ <p><a class="source-toggle" href="#"
968
+ onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
969
+ <div class="method-source-code" id="M000084-source">
970
+ <pre>
971
+ /*
972
+ * call-seq:
973
+ * context.subset_external_system_id -&gt; &quot;system_id&quot;
974
+ *
975
+ * Obtain this context's external subset system identifier.
976
+ * (valid only if either of subset_external? or subset_internal?
977
+ * is true).
978
+ */
979
+ VALUE
980
+ ruby_xml_parser_context_subset_external_system_id_get(VALUE self) {
981
+
982
+ </pre>
983
+ </div>
984
+ </div>
985
+ </div>
986
+
987
+ <div id="method-M000085" class="method-detail">
988
+ <a name="M000085"></a>
989
+
990
+ <div class="method-heading">
991
+ <a href="#M000085" class="method-signature">
992
+ <span class="method-name">context.subset_name &rarr; "name"<br />
993
+ </span>
994
+ </a>
995
+ </div>
996
+
997
+ <div class="method-description">
998
+ <p>
999
+ Obtain this context&#8217;s subset name (valid only if either of <a
1000
+ href="Context.html#M000083">subset_external?</a> or <a
1001
+ href="Context.html#M000086">subset_internal?</a> is true).
1002
+ </p>
1003
+ <p><a class="source-toggle" href="#"
1004
+ onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
1005
+ <div class="method-source-code" id="M000085-source">
1006
+ <pre>
1007
+ /*
1008
+ * call-seq:
1009
+ * context.subset_name -&gt; &quot;name&quot;
1010
+ *
1011
+ * Obtain this context's subset name (valid only if
1012
+ * either of subset_external? or subset_internal?
1013
+ * is true).
1014
+ */
1015
+ VALUE
1016
+ ruby_xml_parser_context_subset_name_get(VALUE self) {
1017
+
1018
+ </pre>
1019
+ </div>
1020
+ </div>
1021
+ </div>
1022
+
1023
+ <div id="method-M000086" class="method-detail">
1024
+ <a name="M000086"></a>
1025
+
1026
+ <div class="method-heading">
1027
+ <a href="#M000086" class="method-signature">
1028
+ <span class="method-name">context.subset_internal? &rarr; (true|false)<br />
1029
+ </span>
1030
+ </a>
1031
+ </div>
1032
+
1033
+ <div class="method-description">
1034
+ <p>
1035
+ Determine whether this context is a subset of an internal context.
1036
+ </p>
1037
+ <p><a class="source-toggle" href="#"
1038
+ onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
1039
+ <div class="method-source-code" id="M000086-source">
1040
+ <pre>
1041
+ /*
1042
+ * call-seq:
1043
+ * context.subset_internal? -&gt; (true|false)
1044
+ *
1045
+ * Determine whether this context is a subset of an
1046
+ * internal context.
1047
+ */
1048
+ VALUE
1049
+ ruby_xml_parser_context_subset_internal_q(VALUE self) {
1050
+
1051
+ </pre>
1052
+ </div>
1053
+ </div>
1054
+ </div>
1055
+
1056
+ <div id="method-M000087" class="method-detail">
1057
+ <a name="M000087"></a>
1058
+
1059
+ <div class="method-heading">
1060
+ <a href="#M000087" class="method-signature">
1061
+ <span class="method-name">context.subset_name &rarr; "name"<br />
1062
+ </span>
1063
+ </a>
1064
+ </div>
1065
+
1066
+ <div class="method-description">
1067
+ <p>
1068
+ Obtain this context&#8217;s subset name (valid only if either of <a
1069
+ href="Context.html#M000083">subset_external?</a> or <a
1070
+ href="Context.html#M000086">subset_internal?</a> is true).
1071
+ </p>
1072
+ <p><a class="source-toggle" href="#"
1073
+ onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
1074
+ <div class="method-source-code" id="M000087-source">
1075
+ <pre>
1076
+ /*
1077
+ * call-seq:
1078
+ * context.subset_name -&gt; &quot;name&quot;
1079
+ *
1080
+ * Obtain this context's subset name (valid only if
1081
+ * either of subset_external? or subset_internal?
1082
+ * is true).
1083
+ */
1084
+ VALUE
1085
+ ruby_xml_parser_context_subset_name_get(VALUE self) {
1086
+
1087
+ </pre>
1088
+ </div>
1089
+ </div>
1090
+ </div>
1091
+
1092
+ <div id="method-M000090" class="method-detail">
1093
+ <a name="M000090"></a>
1094
+
1095
+ <div class="method-heading">
1096
+ <a href="#M000090" class="method-signature">
1097
+ <span class="method-name">context.valid? &rarr; (true|false)<br />
1098
+ </span>
1099
+ </a>
1100
+ </div>
1101
+
1102
+ <div class="method-description">
1103
+ <p>
1104
+ Determine whether this context is valid.
1105
+ </p>
1106
+ <p><a class="source-toggle" href="#"
1107
+ onclick="toggleCode('M000090-source');return false;">[Source]</a></p>
1108
+ <div class="method-source-code" id="M000090-source">
1109
+ <pre>
1110
+ /*
1111
+ * call-seq:
1112
+ * context.valid? -&gt; (true|false)
1113
+ *
1114
+ * Determine whether this context is valid.
1115
+ */
1116
+ VALUE
1117
+ ruby_xml_parser_context_valid_q(VALUE self) {
1118
+
1119
+ </pre>
1120
+ </div>
1121
+ </div>
1122
+ </div>
1123
+
1124
+ <div id="method-M000091" class="method-detail">
1125
+ <a name="M000091"></a>
1126
+
1127
+ <div class="method-heading">
1128
+ <a href="#M000091" class="method-signature">
1129
+ <span class="method-name">context.validate? &rarr; (true|false)<br />
1130
+ </span>
1131
+ </a>
1132
+ </div>
1133
+
1134
+ <div class="method-description">
1135
+ <p>
1136
+ Determine whether validation is enabled in this context.
1137
+ </p>
1138
+ <p><a class="source-toggle" href="#"
1139
+ onclick="toggleCode('M000091-source');return false;">[Source]</a></p>
1140
+ <div class="method-source-code" id="M000091-source">
1141
+ <pre>
1142
+ /*
1143
+ * call-seq:
1144
+ * context.validate? -&gt; (true|false)
1145
+ *
1146
+ * Determine whether validation is enabled in this context.
1147
+ */
1148
+ VALUE
1149
+ ruby_xml_parser_context_validate_q(VALUE self) {
1150
+
1151
+ </pre>
1152
+ </div>
1153
+ </div>
1154
+ </div>
1155
+
1156
+ <div id="method-M000092" class="method-detail">
1157
+ <a name="M000092"></a>
1158
+
1159
+ <div class="method-heading">
1160
+ <a href="#M000092" class="method-signature">
1161
+ <span class="method-name">context.version &rarr; "version"<br />
1162
+ </span>
1163
+ </a>
1164
+ </div>
1165
+
1166
+ <div class="method-description">
1167
+ <p>
1168
+ Obtain this context&#8217;s version identifier.
1169
+ </p>
1170
+ <p><a class="source-toggle" href="#"
1171
+ onclick="toggleCode('M000092-source');return false;">[Source]</a></p>
1172
+ <div class="method-source-code" id="M000092-source">
1173
+ <pre>
1174
+ /*
1175
+ * call-seq:
1176
+ * context.version -&gt; &quot;version&quot;
1177
+ *
1178
+ * Obtain this context's version identifier.
1179
+ */
1180
+ VALUE
1181
+ ruby_xml_parser_context_version_get(VALUE self) {
1182
+
1183
+ </pre>
1184
+ </div>
1185
+ </div>
1186
+ </div>
1187
+
1188
+ <div id="method-M000093" class="method-detail">
1189
+ <a name="M000093"></a>
1190
+
1191
+ <div class="method-heading">
1192
+ <a href="#M000093" class="method-signature">
1193
+ <span class="method-name">context.well_formed? &rarr; (true|false)<br />
1194
+ </span>
1195
+ </a>
1196
+ </div>
1197
+
1198
+ <div class="method-description">
1199
+ <p>
1200
+ Determine whether this context contains well-formed <a
1201
+ href="../../XML.html">XML</a>.
1202
+ </p>
1203
+ <p><a class="source-toggle" href="#"
1204
+ onclick="toggleCode('M000093-source');return false;">[Source]</a></p>
1205
+ <div class="method-source-code" id="M000093-source">
1206
+ <pre>
1207
+ /*
1208
+ * call-seq:
1209
+ * context.well_formed? -&gt; (true|false)
1210
+ *
1211
+ * Determine whether this context contains well-formed XML.
1212
+ */
1213
+ VALUE
1214
+ ruby_xml_parser_context_well_formed_q(VALUE self) {
1215
+
1216
+ </pre>
1217
+ </div>
1218
+ </div>
1219
+ </div>
1220
+
1221
+
1222
+ </div>
1223
+
1224
+
1225
+ </div>
1226
+
1227
+
1228
+ <div id="validator-badges">
1229
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
1230
+ </div>
1231
+
1232
+ </body>
1233
+ </html>