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.
Files changed (188) hide show
  1. data/CHANGES +24 -1
  2. data/README +48 -3
  3. data/benchmark/depixelate.rb +632 -0
  4. data/benchmark/hamlet.xml +9055 -0
  5. data/benchmark/sock_entries.xml +507 -0
  6. data/benchmark/throughput.rb +39 -0
  7. data/benchmark/xml_benchmarks.rb +222 -0
  8. data/doc/classes/LibXML.html +237 -0
  9. data/doc/classes/LibXML/XML.html +178 -0
  10. data/doc/classes/{XML → LibXML/XML}/Attr.html +213 -182
  11. data/doc/classes/{XML → LibXML/XML}/Attributes.html +126 -54
  12. data/doc/classes/{XML → LibXML/XML}/Document.html +299 -297
  13. data/doc/classes/{XML → LibXML/XML}/Dtd.html +10 -10
  14. data/doc/classes/{XML/XInclude → LibXML/XML}/Error.html +4 -4
  15. data/doc/classes/{XML → LibXML/XML}/HTMLParser.html +40 -40
  16. data/doc/classes/{XML → LibXML/XML}/InputCallbacks.html +10 -10
  17. data/doc/classes/{XML → LibXML/XML}/NS.html +46 -46
  18. data/doc/classes/{XML → LibXML/XML}/Node.html +935 -788
  19. data/doc/classes/LibXML/XML/Node/FailedModify.html +111 -0
  20. data/doc/classes/{XML → LibXML/XML}/Node/Set.html +69 -68
  21. data/doc/classes/{XML → LibXML/XML}/Node/SetNamespace.html +4 -4
  22. data/doc/classes/{XML/Node/FailedModify.html → LibXML/XML/Node/UnknownType.html} +4 -4
  23. data/doc/classes/{XML → LibXML/XML}/Parser.html +426 -389
  24. data/doc/classes/{XML → LibXML/XML}/Parser/Context.html +208 -208
  25. data/doc/classes/{XML → LibXML/XML}/Parser/ParseError.html +4 -4
  26. data/doc/classes/{XML → LibXML/XML}/Reader.html +288 -287
  27. data/doc/classes/{XML → LibXML/XML}/SaxParser.html +52 -52
  28. data/doc/classes/{XML/XPath/Context.html → LibXML/XML/Schema.html} +60 -32
  29. data/doc/classes/{XML → LibXML/XML}/State.html +4 -4
  30. data/doc/classes/{XML/Node/UnknownType.html → LibXML/XML/Tree.html} +5 -5
  31. data/doc/classes/{XML → LibXML/XML}/XInclude.html +5 -5
  32. data/doc/classes/{XML → LibXML/XML/XInclude}/Error.html +5 -5
  33. data/doc/classes/{XML → LibXML/XML}/XMLParserOptions.html +5 -5
  34. data/doc/classes/{XML → LibXML/XML}/XPath.html +23 -64
  35. data/doc/classes/LibXML/XML/XPath/Context.html +403 -0
  36. data/doc/classes/{XML/XPointer/Context → LibXML/XML/XPath}/InvalidPath.html +4 -4
  37. data/doc/classes/LibXML/XML/XPath/Object.html +623 -0
  38. data/doc/classes/{XML → LibXML/XML}/XPointer.html +12 -12
  39. data/doc/classes/{XML → LibXML/XML}/XPointer/Context.html +5 -5
  40. data/doc/classes/{XML/XPath → LibXML/XML/XPointer/Context}/InvalidPath.html +5 -5
  41. data/doc/classes/{XML → LibXML/XML}/XPointer/InvalidExpression.html +4 -4
  42. data/doc/classes/XML.html +17 -123
  43. data/doc/created.rid +1 -1
  44. data/doc/files/CHANGES.html +49 -25
  45. data/doc/files/LICENSE.html +1 -1
  46. data/doc/files/README.html +79 -4
  47. data/doc/files/VERSION.html +2 -2
  48. data/doc/files/ext/libxml/cbg_c.html +1 -1
  49. data/doc/files/ext/libxml/libxml_c.html +1 -1
  50. data/doc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
  51. data/doc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
  52. data/doc/files/ext/libxml/ruby_xml_document_c.html +1 -1
  53. data/doc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
  54. data/doc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
  55. data/doc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
  56. data/doc/files/ext/libxml/ruby_xml_node_c.html +1 -1
  57. data/doc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
  58. data/doc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
  59. data/doc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
  60. data/doc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
  61. data/doc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
  62. data/doc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
  63. data/doc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
  64. data/doc/files/ext/libxml/ruby_xml_state_c.html +1 -1
  65. data/doc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
  66. data/doc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
  67. data/doc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
  68. data/doc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
  69. data/doc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
  70. data/doc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
  71. data/doc/files/lib/libxml/attr_rb.html +108 -0
  72. data/doc/files/lib/libxml/attributes_rb.html +108 -0
  73. data/doc/files/lib/libxml/document_rb.html +108 -0
  74. data/doc/files/lib/libxml/node_rb.html +108 -0
  75. data/doc/files/lib/libxml/node_set_rb.html +108 -0
  76. data/doc/files/lib/libxml/parser_options_rb.html +107 -0
  77. data/doc/files/{ext/libxml/ruby_xml_tree_c.html → lib/libxml/parser_rb.html} +4 -4
  78. data/doc/files/lib/libxml/properties_rb.html +108 -0
  79. data/doc/files/lib/libxml/tree_rb.html +107 -0
  80. data/doc/files/lib/libxml_rb.html +12 -3
  81. data/doc/fr_class_index.html +34 -32
  82. data/doc/fr_file_index.html +9 -1
  83. data/doc/fr_method_index.html +362 -347
  84. data/ext/libxml/cbg.c +76 -76
  85. data/ext/libxml/libxml.c +4 -3
  86. data/ext/libxml/ruby_libxml.h +1 -1
  87. data/ext/libxml/ruby_xml_attr.c +4 -3
  88. data/ext/libxml/ruby_xml_attr.h +16 -16
  89. data/ext/libxml/ruby_xml_attributes.c +267 -266
  90. data/ext/libxml/ruby_xml_attributes.h +17 -17
  91. data/ext/libxml/ruby_xml_document.c +30 -59
  92. data/ext/libxml/ruby_xml_document.h +27 -27
  93. data/ext/libxml/ruby_xml_dtd.c +2 -1
  94. data/ext/libxml/ruby_xml_dtd.h +17 -17
  95. data/ext/libxml/ruby_xml_html_parser.c +3 -2
  96. data/ext/libxml/ruby_xml_html_parser.h +29 -29
  97. data/ext/libxml/ruby_xml_input_cbg.c +2 -1
  98. data/ext/libxml/ruby_xml_input_cbg.h +20 -20
  99. data/ext/libxml/ruby_xml_node.c +127 -470
  100. data/ext/libxml/ruby_xml_node.h +17 -17
  101. data/ext/libxml/ruby_xml_node_set.c +5 -4
  102. data/ext/libxml/ruby_xml_node_set.h +20 -20
  103. data/ext/libxml/ruby_xml_ns.c +3 -2
  104. data/ext/libxml/ruby_xml_ns.h +12 -12
  105. data/ext/libxml/ruby_xml_parser.c +20 -48
  106. data/ext/libxml/ruby_xml_parser.h +31 -31
  107. data/ext/libxml/ruby_xml_parser_context.c +3 -2
  108. data/ext/libxml/ruby_xml_parser_context.h +20 -20
  109. data/ext/libxml/ruby_xml_reader.c +2 -1
  110. data/ext/libxml/ruby_xml_sax_parser.c +3 -2
  111. data/ext/libxml/ruby_xml_sax_parser.h +56 -56
  112. data/ext/libxml/ruby_xml_schema.c +6 -0
  113. data/ext/libxml/ruby_xml_schema.h +16 -16
  114. data/ext/libxml/ruby_xml_state.c +13 -12
  115. data/ext/libxml/ruby_xml_state.h +1 -1
  116. data/ext/libxml/ruby_xml_xinclude.c +3 -2
  117. data/ext/libxml/ruby_xml_xinclude.h +13 -13
  118. data/ext/libxml/ruby_xml_xpath.c +35 -228
  119. data/ext/libxml/ruby_xml_xpath.h +22 -23
  120. data/ext/libxml/ruby_xml_xpath_context.c +223 -62
  121. data/ext/libxml/ruby_xml_xpath_context.h +15 -20
  122. data/ext/libxml/ruby_xml_xpath_object.c +63 -19
  123. data/ext/libxml/ruby_xml_xpointer.c +19 -15
  124. data/ext/libxml/ruby_xml_xpointer.h +27 -27
  125. data/ext/libxml/ruby_xml_xpointer_context.c +3 -2
  126. data/ext/libxml/ruby_xml_xpointer_context.h +18 -18
  127. data/ext/libxml/version.h +9 -9
  128. data/lib/libxml.rb +16 -128
  129. data/lib/libxml/attr.rb +45 -0
  130. data/lib/libxml/attributes.rb +15 -0
  131. data/lib/libxml/document.rb +54 -0
  132. data/lib/libxml/node.rb +132 -0
  133. data/lib/libxml/node_set.rb +27 -0
  134. data/lib/libxml/parser.rb +42 -0
  135. data/lib/libxml/parser_options.rb +25 -0
  136. data/lib/libxml/properties.rb +19 -0
  137. data/lib/libxml/tree.rb +29 -0
  138. data/lib/libxml_ruby.so +0 -0
  139. data/mingw/libxml_ruby.so +0 -0
  140. data/{work/task/setup → setup.rb} +1585 -1616
  141. data/test/gc.log +0 -0
  142. data/test/model/books.xml +147 -0
  143. data/{work/test/runner.rb → test/model/default_validation_bug.rb} +0 -0
  144. data/test/model/merge_bug_data.xml +58 -0
  145. data/test/model/rubynet.xml +78 -0
  146. data/test/model/rubynet_project +1 -0
  147. data/test/model/saxtest.xml +5 -0
  148. data/test/model/shiporder.xml +23 -0
  149. data/test/model/shiporder.xsd +31 -0
  150. data/test/model/simple.xml +7 -0
  151. data/test/model/soap.xml +27 -0
  152. data/test/model/xinclude.xml +5 -0
  153. data/test/tc_deprecated_require.rb +13 -0
  154. data/test/tc_xml_document.rb +57 -16
  155. data/test/tc_xml_document_write.rb +125 -10
  156. data/test/tc_xml_dtd.rb +22 -1
  157. data/test/tc_xml_node.rb +13 -0
  158. data/test/tc_xml_node_edit.rb +1 -1
  159. data/test/tc_xml_node_xlink.rb +1 -1
  160. data/test/tc_xml_parser.rb +64 -7
  161. data/test/tc_xml_properties.rb +42 -0
  162. data/test/tc_xml_reader.rb +4 -4
  163. data/test/tc_xml_sax_parser.rb +50 -50
  164. data/test/tc_xml_schema.rb +2 -2
  165. data/test/tc_xml_traversal.rb +220 -0
  166. data/test/tc_xml_xinclude.rb +12 -15
  167. data/test/tc_xml_xpath.rb +74 -6
  168. data/test/tc_xml_xpath_context.rb +72 -0
  169. data/test/test_suite.rb +6 -4
  170. data/vc/libxml_ruby.vcproj +1 -9
  171. metadata +92 -65
  172. data/doc/classes/XML/SiblingEnum.html +0 -142
  173. data/doc/classes/XML/Tree.html +0 -224
  174. data/doc/classes/XML/XPath/Object.html +0 -439
  175. data/ext/libxml/ruby_xml_tree.c +0 -43
  176. data/ext/libxml/ruby_xml_tree.h +0 -12
  177. data/test/ets_copy_bug2.rb +0 -21
  178. data/test/tc_xml_document_write2.rb +0 -54
  179. data/test/tc_xml_document_write3.rb +0 -96
  180. data/test/tc_xml_sax_parser2.rb +0 -51
  181. data/work/Rakefile +0 -247
  182. data/work/task/make +0 -26
  183. data/work/task/memory +0 -37
  184. data/work/task/rdoc +0 -39
  185. data/work/task/test +0 -29
  186. data/work/test/ets_runner.rb +0 -33
  187. data/work/test/libxml_test.rb +0 -3
  188. 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::SaxParser</title>
8
+ <title>Class: LibXML::XML::SaxParser</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="../.././rdoc-style.css" type="text/css" media="screen" />
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,12 +50,12 @@
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::SaxParser</td>
53
+ <td class="class-name-in-header">LibXML::XML::SaxParser</td>
54
54
  </tr>
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../../files/ext/libxml/libxml_c.html">
58
+ <a href="../../../files/ext/libxml/libxml_c.html">
59
59
  ext/libxml/libxml.c
60
60
  </a>
61
61
  <br />
@@ -86,14 +86,14 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000300">callbacks</a>&nbsp;&nbsp;
90
- <a href="#M000301">callbacks=</a>&nbsp;&nbsp;
91
- <a href="#M000298">filename</a>&nbsp;&nbsp;
92
- <a href="#M000299">filename=</a>&nbsp;&nbsp;
93
- <a href="#M000297">new</a>&nbsp;&nbsp;
94
- <a href="#M000302">parse</a>&nbsp;&nbsp;
95
- <a href="#M000303">string</a>&nbsp;&nbsp;
96
- <a href="#M000304">string=</a>&nbsp;&nbsp;
89
+ <a href="#M000315">callbacks</a>&nbsp;&nbsp;
90
+ <a href="#M000316">callbacks=</a>&nbsp;&nbsp;
91
+ <a href="#M000313">filename</a>&nbsp;&nbsp;
92
+ <a href="#M000314">filename=</a>&nbsp;&nbsp;
93
+ <a href="#M000312">new</a>&nbsp;&nbsp;
94
+ <a href="#M000317">parse</a>&nbsp;&nbsp;
95
+ <a href="#M000318">string</a>&nbsp;&nbsp;
96
+ <a href="#M000319">string=</a>&nbsp;&nbsp;
97
97
  </div>
98
98
  </div>
99
99
 
@@ -115,11 +115,11 @@
115
115
  <div id="methods">
116
116
  <h3 class="section-bar">Public Class methods</h3>
117
117
 
118
- <div id="method-M000297" class="method-detail">
119
- <a name="M000297"></a>
118
+ <div id="method-M000312" class="method-detail">
119
+ <a name="M000312"></a>
120
120
 
121
121
  <div class="method-heading">
122
- <a href="#M000297" class="method-signature">
122
+ <a href="#M000312" class="method-signature">
123
123
  <span class="method-name">XML::SaxParser.new &rarr; sax_parser<br />
124
124
  </span>
125
125
  </a>
@@ -130,8 +130,8 @@
130
130
  Create a new <a href="SaxParser.html">XML::SaxParser</a> instance.
131
131
  </p>
132
132
  <p><a class="source-toggle" href="#"
133
- onclick="toggleCode('M000297-source');return false;">[Source]</a></p>
134
- <div class="method-source-code" id="M000297-source">
133
+ onclick="toggleCode('M000312-source');return false;">[Source]</a></p>
134
+ <div class="method-source-code" id="M000312-source">
135
135
  <pre>
136
136
  /*
137
137
  * call-seq:
@@ -149,11 +149,11 @@ ruby_xml_sax_parser_new(VALUE class) {
149
149
 
150
150
  <h3 class="section-bar">Public Instance methods</h3>
151
151
 
152
- <div id="method-M000300" class="method-detail">
153
- <a name="M000300"></a>
152
+ <div id="method-M000315" class="method-detail">
153
+ <a name="M000315"></a>
154
154
 
155
155
  <div class="method-heading">
156
- <a href="#M000300" class="method-signature">
156
+ <a href="#M000315" class="method-signature">
157
157
  <span class="method-name">sax_parser.callbacks &rarr; #<XML::SaxParser::Callbacks subclass><br />
158
158
  </span>
159
159
  </a>
@@ -164,8 +164,8 @@ ruby_xml_sax_parser_new(VALUE class) {
164
164
  Obtain the callbacks used by this parser.
165
165
  </p>
166
166
  <p><a class="source-toggle" href="#"
167
- onclick="toggleCode('M000300-source');return false;">[Source]</a></p>
168
- <div class="method-source-code" id="M000300-source">
167
+ onclick="toggleCode('M000315-source');return false;">[Source]</a></p>
168
+ <div class="method-source-code" id="M000315-source">
169
169
  <pre>
170
170
  /*
171
171
  * call-seq:
@@ -181,11 +181,11 @@ ruby_xml_sax_parser_callbacks_get(VALUE self) {
181
181
  </div>
182
182
  </div>
183
183
 
184
- <div id="method-M000301" class="method-detail">
185
- <a name="M000301"></a>
184
+ <div id="method-M000316" class="method-detail">
185
+ <a name="M000316"></a>
186
186
 
187
187
  <div class="method-heading">
188
- <a href="#M000301" class="method-signature">
188
+ <a href="#M000316" class="method-signature">
189
189
  <span class="method-name">sax_parser.callbacks = #<XML::SaxParser::Callbacks subclass><br />
190
190
  </span>
191
191
  </a>
@@ -199,8 +199,8 @@ XML::SaxParser::Callbacks module, overriding the callbacks it wishes to
199
199
  process.
200
200
  </p>
201
201
  <p><a class="source-toggle" href="#"
202
- onclick="toggleCode('M000301-source');return false;">[Source]</a></p>
203
- <div class="method-source-code" id="M000301-source">
202
+ onclick="toggleCode('M000316-source');return false;">[Source]</a></p>
203
+ <div class="method-source-code" id="M000316-source">
204
204
  <pre>
205
205
  /*
206
206
  * call-seq:
@@ -219,11 +219,11 @@ ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
219
219
  </div>
220
220
  </div>
221
221
 
222
- <div id="method-M000298" class="method-detail">
223
- <a name="M000298"></a>
222
+ <div id="method-M000313" class="method-detail">
223
+ <a name="M000313"></a>
224
224
 
225
225
  <div class="method-heading">
226
- <a href="#M000298" class="method-signature">
226
+ <a href="#M000313" class="method-signature">
227
227
  <span class="method-name">sax_parser.filename &rarr; "filename"<br />
228
228
  </span>
229
229
  </a>
@@ -234,8 +234,8 @@ ruby_xml_sax_parser_callbacks_set(VALUE self, VALUE callbacks) {
234
234
  Obtain the filename this parser reads from.
235
235
  </p>
236
236
  <p><a class="source-toggle" href="#"
237
- onclick="toggleCode('M000298-source');return false;">[Source]</a></p>
238
- <div class="method-source-code" id="M000298-source">
237
+ onclick="toggleCode('M000313-source');return false;">[Source]</a></p>
238
+ <div class="method-source-code" id="M000313-source">
239
239
  <pre>
240
240
  /*
241
241
  * call-seq:
@@ -251,11 +251,11 @@ ruby_xml_sax_parser_filename_get(VALUE self) {
251
251
  </div>
252
252
  </div>
253
253
 
254
- <div id="method-M000299" class="method-detail">
255
- <a name="M000299"></a>
254
+ <div id="method-M000314" class="method-detail">
255
+ <a name="M000314"></a>
256
256
 
257
257
  <div class="method-heading">
258
- <a href="#M000299" class="method-signature">
258
+ <a href="#M000314" class="method-signature">
259
259
  <span class="method-name">sax_parser.filename = "filename"<br />
260
260
  </span>
261
261
  </a>
@@ -266,8 +266,8 @@ ruby_xml_sax_parser_filename_get(VALUE self) {
266
266
  Set the filename this parser reads from.
267
267
  </p>
268
268
  <p><a class="source-toggle" href="#"
269
- onclick="toggleCode('M000299-source');return false;">[Source]</a></p>
270
- <div class="method-source-code" id="M000299-source">
269
+ onclick="toggleCode('M000314-source');return false;">[Source]</a></p>
270
+ <div class="method-source-code" id="M000314-source">
271
271
  <pre>
272
272
  /*
273
273
  * call-seq:
@@ -283,11 +283,11 @@ ruby_xml_sax_parser_filename_set(VALUE self, VALUE filename) {
283
283
  </div>
284
284
  </div>
285
285
 
286
- <div id="method-M000302" class="method-detail">
287
- <a name="M000302"></a>
286
+ <div id="method-M000317" class="method-detail">
287
+ <a name="M000317"></a>
288
288
 
289
289
  <div class="method-heading">
290
- <a href="#M000302" class="method-signature">
290
+ <a href="#M000317" class="method-signature">
291
291
  <span class="method-name">parser.parse &rarr; (true|false)<br />
292
292
  </span>
293
293
  </a>
@@ -299,8 +299,8 @@ Parse the input <a href="../XML.html">XML</a>, generating callbacks to the
299
299
  object registered via the <tt>callbacks</tt> attributesibute.
300
300
  </p>
301
301
  <p><a class="source-toggle" href="#"
302
- onclick="toggleCode('M000302-source');return false;">[Source]</a></p>
303
- <div class="method-source-code" id="M000302-source">
302
+ onclick="toggleCode('M000317-source');return false;">[Source]</a></p>
303
+ <div class="method-source-code" id="M000317-source">
304
304
  <pre>
305
305
  /*
306
306
  * call-seq:
@@ -317,11 +317,11 @@ ruby_xml_sax_parser_parse(VALUE self) {
317
317
  </div>
318
318
  </div>
319
319
 
320
- <div id="method-M000303" class="method-detail">
321
- <a name="M000303"></a>
320
+ <div id="method-M000318" class="method-detail">
321
+ <a name="M000318"></a>
322
322
 
323
323
  <div class="method-heading">
324
- <a href="#M000303" class="method-signature">
324
+ <a href="#M000318" class="method-signature">
325
325
  <span class="method-name">parser.string &rarr; "xml"<br />
326
326
  </span>
327
327
  </a>
@@ -332,8 +332,8 @@ ruby_xml_sax_parser_parse(VALUE self) {
332
332
  Obtain the parser&#8217;s input string.
333
333
  </p>
334
334
  <p><a class="source-toggle" href="#"
335
- onclick="toggleCode('M000303-source');return false;">[Source]</a></p>
336
- <div class="method-source-code" id="M000303-source">
335
+ onclick="toggleCode('M000318-source');return false;">[Source]</a></p>
336
+ <div class="method-source-code" id="M000318-source">
337
337
  <pre>
338
338
  /*
339
339
  * call-seq:
@@ -349,11 +349,11 @@ ruby_xml_sax_parser_str_get(VALUE self) {
349
349
  </div>
350
350
  </div>
351
351
 
352
- <div id="method-M000304" class="method-detail">
353
- <a name="M000304"></a>
352
+ <div id="method-M000319" class="method-detail">
353
+ <a name="M000319"></a>
354
354
 
355
355
  <div class="method-heading">
356
- <a href="#M000304" class="method-signature">
356
+ <a href="#M000319" class="method-signature">
357
357
  <span class="method-name">parser.string = "xml"<br />
358
358
  </span>
359
359
  </a>
@@ -364,8 +364,8 @@ ruby_xml_sax_parser_str_get(VALUE self) {
364
364
  Set the parser&#8217;s input string.
365
365
  </p>
366
366
  <p><a class="source-toggle" href="#"
367
- onclick="toggleCode('M000304-source');return false;">[Source]</a></p>
368
- <div class="method-source-code" id="M000304-source">
367
+ onclick="toggleCode('M000319-source');return false;">[Source]</a></p>
368
+ <div class="method-source-code" id="M000319-source">
369
369
  <pre>
370
370
  /*
371
371
  * call-seq:
@@ -5,7 +5,7 @@
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>Class: XML::XPath::Context</title>
8
+ <title>Class: LibXML::XML::Schema</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
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
@@ -50,13 +50,13 @@
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::XPath::Context</td>
53
+ <td class="class-name-in-header">LibXML::XML::Schema</td>
54
54
  </tr>
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../../../files/ext/libxml/ruby_xml_xpath_c.html">
59
- ext/libxml/ruby_xml_xpath.c
58
+ <a href="../../../files/ext/libxml/libxml_c.html">
59
+ ext/libxml/libxml.c
60
60
  </a>
61
61
  <br />
62
62
  </td>
@@ -65,9 +65,7 @@
65
65
  <tr class="top-aligned-row">
66
66
  <td><strong>Parent:</strong></td>
67
67
  <td>
68
- <a href="Object.html">
69
68
  Object
70
- </a>
71
69
  </td>
72
70
  </tr>
73
71
  </table>
@@ -88,8 +86,9 @@
88
86
  <h3 class="section-bar">Methods</h3>
89
87
 
90
88
  <div class="name-list">
91
- <a href="#M000240">doc</a>&nbsp;&nbsp;
92
- <a href="#M000239">register_namespace</a>&nbsp;&nbsp;
89
+ <a href="#M000218">document</a>&nbsp;&nbsp;
90
+ <a href="#M000217">from_string</a>&nbsp;&nbsp;
91
+ <a href="#M000216">new</a>&nbsp;&nbsp;
93
92
  </div>
94
93
  </div>
95
94
 
@@ -109,69 +108,98 @@
109
108
 
110
109
  <!-- if method_list -->
111
110
  <div id="methods">
112
- <h3 class="section-bar">Public Instance methods</h3>
111
+ <h3 class="section-bar">Public Class methods</h3>
113
112
 
114
- <div id="method-M000240" class="method-detail">
115
- <a name="M000240"></a>
113
+ <div id="method-M000218" class="method-detail">
114
+ <a name="M000218"></a>
116
115
 
117
116
  <div class="method-heading">
118
- <a href="#M000240" class="method-signature">
119
- <span class="method-name">context.doc &rarr; document<br />
117
+ <a href="#M000218" class="method-signature">
118
+ <span class="method-name">XML::Schema.document(document) &rarr; schema<br />
120
119
  </span>
121
120
  </a>
122
121
  </div>
123
122
 
124
123
  <div class="method-description">
125
124
  <p>
126
- Obtain the <a href="../Document.html">XML::Document</a> associated with
127
- this <a href="../XPath.html">XPath</a>.
125
+ Create a new schema from the specified URI.
128
126
  </p>
129
127
  <p><a class="source-toggle" href="#"
130
- onclick="toggleCode('M000240-source');return false;">[Source]</a></p>
131
- <div class="method-source-code" id="M000240-source">
128
+ onclick="toggleCode('M000218-source');return false;">[Source]</a></p>
129
+ <div class="method-source-code" id="M000218-source">
132
130
  <pre>
133
131
  /*
134
132
  * call-seq:
135
- * context.doc -&gt; document
133
+ * XML::Schema.document(document) -&gt; schema
136
134
  *
137
- * Obtain the XML::Document associated with this XPath.
135
+ * Create a new schema from the specified URI.
138
136
  */
139
137
  VALUE
140
- ruby_xml_xpath_context_doc_get(VALUE self) {
138
+ ruby_xml_schema_init_from_document(VALUE class, VALUE document) {
141
139
 
142
140
  </pre>
143
141
  </div>
144
142
  </div>
145
143
  </div>
146
144
 
147
- <div id="method-M000239" class="method-detail">
148
- <a name="M000239"></a>
145
+ <div id="method-M000217" class="method-detail">
146
+ <a name="M000217"></a>
149
147
 
150
148
  <div class="method-heading">
151
- <a href="#M000239" class="method-signature">
152
- <span class="method-name">context.register_namespace(prefix, uri) &rarr; (true|false)<br />
149
+ <a href="#M000217" class="method-signature">
150
+ <span class="method-name">XML::Schema.string("schema_data") &rarr; "value"<br />
153
151
  </span>
154
152
  </a>
155
153
  </div>
156
154
 
157
155
  <div class="method-description">
158
156
  <p>
159
- Register the specified namespace URI with the specified prefix in this
160
- context.
157
+ Create a new schema using the specified string.
161
158
  </p>
162
159
  <p><a class="source-toggle" href="#"
163
- onclick="toggleCode('M000239-source');return false;">[Source]</a></p>
164
- <div class="method-source-code" id="M000239-source">
160
+ onclick="toggleCode('M000217-source');return false;">[Source]</a></p>
161
+ <div class="method-source-code" id="M000217-source">
165
162
  <pre>
166
163
  /*
167
164
  * call-seq:
168
- * context.register_namespace(prefix, uri) -&gt; (true|false)
165
+ * XML::Schema.string(&quot;schema_data&quot;) -&gt; &quot;value&quot;
169
166
  *
170
- * Register the specified namespace URI with the specified prefix
171
- * in this context.
167
+ * Create a new schema using the specified string.
172
168
  */
173
169
  VALUE
174
- ruby_xml_xpath_context_register_namespace(VALUE self, VALUE prefix, VALUE uri) {
170
+ ruby_xml_schema_init_from_string(VALUE self, VALUE schema_str) {
171
+
172
+ </pre>
173
+ </div>
174
+ </div>
175
+ </div>
176
+
177
+ <div id="method-M000216" class="method-detail">
178
+ <a name="M000216"></a>
179
+
180
+ <div class="method-heading">
181
+ <a href="#M000216" class="method-signature">
182
+ <span class="method-name">XML::Schema.new(schema_uri) &rarr; schema<br />
183
+ </span>
184
+ </a>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+ <p>
189
+ Create a new schema from the specified URI.
190
+ </p>
191
+ <p><a class="source-toggle" href="#"
192
+ onclick="toggleCode('M000216-source');return false;">[Source]</a></p>
193
+ <div class="method-source-code" id="M000216-source">
194
+ <pre>
195
+ /*
196
+ * call-seq:
197
+ * XML::Schema.new(schema_uri) -&gt; schema
198
+ *
199
+ * Create a new schema from the specified URI.
200
+ */
201
+ VALUE
202
+ ruby_xml_schema_init_from_uri(VALUE class, VALUE uri) {
175
203
 
176
204
  </pre>
177
205
  </div>
@@ -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::State</title>
8
+ <title>Class: LibXML::XML::State</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="../.././rdoc-style.css" type="text/css" media="screen" />
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,12 +50,12 @@
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::State</td>
53
+ <td class="class-name-in-header">LibXML::XML::State</td>
54
54
  </tr>
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../../files/ext/libxml/libxml_c.html">
58
+ <a href="../../../files/ext/libxml/libxml_c.html">
59
59
  ext/libxml/libxml.c
60
60
  </a>
61
61
  <br />
@@ -5,7 +5,7 @@
5
5
 
6
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
7
  <head>
8
- <title>Class: XML::Node::UnknownType</title>
8
+ <title>Class: LibXML::XML::Tree</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
11
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
@@ -50,13 +50,13 @@
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::Node::UnknownType</td>
53
+ <td class="class-name-in-header">LibXML::XML::Tree</td>
54
54
  </tr>
55
55
  <tr class="top-aligned-row">
56
56
  <td><strong>In:</strong></td>
57
57
  <td>
58
- <a href="../../../files/ext/libxml/ruby_xml_node_c.html">
59
- ext/libxml/ruby_xml_node.c
58
+ <a href="../../../files/lib/libxml/tree_rb.html">
59
+ lib/libxml/tree.rb
60
60
  </a>
61
61
  <br />
62
62
  </td>
@@ -65,7 +65,7 @@
65
65
  <tr class="top-aligned-row">
66
66
  <td><strong>Parent:</strong></td>
67
67
  <td>
68
- eXMLError
68
+ Object
69
69
  </td>
70
70
  </tr>
71
71
  </table>