libxml-ruby 0.8.3 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/CHANGES +18 -0
  2. data/RAKEFILE +15 -39
  3. data/README +48 -47
  4. data/ext/libxml/libxml.c +847 -22
  5. data/ext/libxml/ruby_libxml.h +71 -95
  6. data/ext/libxml/ruby_xml_attr.c +500 -500
  7. data/ext/libxml/ruby_xml_attributes.c +1 -1
  8. data/ext/libxml/ruby_xml_document.c +1144 -1135
  9. data/ext/libxml/ruby_xml_document.h +4 -11
  10. data/ext/libxml/ruby_xml_dtd.c +27 -0
  11. data/ext/libxml/ruby_xml_encoding.c +164 -0
  12. data/ext/libxml/ruby_xml_encoding.h +13 -0
  13. data/ext/libxml/ruby_xml_error.c +941 -0
  14. data/ext/libxml/ruby_xml_error.h +13 -0
  15. data/ext/libxml/ruby_xml_html_parser.c +71 -387
  16. data/ext/libxml/ruby_xml_html_parser.h +1 -17
  17. data/ext/libxml/ruby_xml_input.c +179 -0
  18. data/ext/libxml/ruby_xml_input.h +18 -0
  19. data/ext/libxml/ruby_xml_input_cbg.c +17 -3
  20. data/ext/libxml/ruby_xml_node.c +1566 -1582
  21. data/ext/libxml/ruby_xml_node.h +1 -4
  22. data/ext/libxml/ruby_xml_ns.c +14 -3
  23. data/ext/libxml/ruby_xml_parser.c +164 -1398
  24. data/ext/libxml/ruby_xml_parser.h +5 -17
  25. data/ext/libxml/ruby_xml_parser_context.c +131 -169
  26. data/ext/libxml/ruby_xml_parser_context.h +2 -9
  27. data/ext/libxml/ruby_xml_reader.c +910 -945
  28. data/ext/libxml/ruby_xml_relaxng.c +32 -3
  29. data/ext/libxml/ruby_xml_sax_parser.c +106 -364
  30. data/ext/libxml/ruby_xml_sax_parser.h +1 -37
  31. data/ext/libxml/ruby_xml_schema.c +174 -145
  32. data/ext/libxml/ruby_xml_xinclude.c +9 -5
  33. data/ext/libxml/ruby_xml_xpath.c +25 -6
  34. data/ext/libxml/ruby_xml_xpath.h +1 -2
  35. data/ext/libxml/ruby_xml_xpath_context.c +17 -19
  36. data/ext/libxml/ruby_xml_xpath_object.c +60 -56
  37. data/ext/libxml/ruby_xml_xpointer.c +11 -5
  38. data/ext/libxml/sax_parser_callbacks.inc +42 -37
  39. data/ext/libxml/version.h +3 -3
  40. data/ext/mingw/Rakefile +20 -27
  41. data/ext/mingw/build.rake +41 -0
  42. data/ext/vc/libxml_ruby.vcproj +23 -15
  43. data/lib/libxml.rb +8 -2
  44. data/lib/libxml/document.rb +16 -4
  45. data/lib/libxml/error.rb +84 -0
  46. data/lib/libxml/hpricot.rb +76 -0
  47. data/lib/libxml/html_parser.rb +61 -0
  48. data/lib/libxml/node.rb +36 -25
  49. data/lib/libxml/parser.rb +312 -33
  50. data/lib/libxml/parser_context.rb +17 -0
  51. data/lib/libxml/properties.rb +15 -2
  52. data/lib/libxml/reader.rb +15 -0
  53. data/lib/libxml/sax_callbacks.rb +179 -0
  54. data/lib/libxml/sax_parser.rb +42 -0
  55. data/lib/libxml/tree.rb +1 -2
  56. data/lib/libxml/xpath_object.rb +12 -0
  57. data/test/model/atom.xml +4 -0
  58. data/test/tc_attributes.rb +43 -19
  59. data/test/tc_document.rb +1 -1
  60. data/test/tc_document_write.rb +15 -8
  61. data/test/tc_dtd.rb +36 -20
  62. data/test/tc_encoding.rb +13 -0
  63. data/test/tc_error.rb +136 -0
  64. data/test/tc_node.rb +2 -3
  65. data/test/tc_node_copy.rb +1 -1
  66. data/test/tc_node_edit.rb +6 -0
  67. data/test/tc_ns.rb +18 -0
  68. data/test/tc_parser.rb +113 -228
  69. data/test/tc_parser_context.rb +1 -2
  70. data/test/tc_reader.rb +24 -14
  71. data/test/tc_relaxng.rb +18 -6
  72. data/test/tc_sax_parser.rb +48 -13
  73. data/test/tc_schema.rb +20 -8
  74. data/test/tc_well_formed.rb +2 -1
  75. data/test/tc_xml.rb +212 -0
  76. data/test/tc_xpath.rb +60 -46
  77. data/test/tc_xpointer.rb +7 -11
  78. data/test/test_suite.rb +4 -3
  79. metadata +26 -109
  80. data/doc/rdoc/classes/LibXML.html +0 -241
  81. data/doc/rdoc/classes/LibXML/XML.html +0 -185
  82. data/doc/rdoc/classes/LibXML/XML/Attr.html +0 -1010
  83. data/doc/rdoc/classes/LibXML/XML/Attributes.html +0 -526
  84. data/doc/rdoc/classes/LibXML/XML/Document.html +0 -1489
  85. data/doc/rdoc/classes/LibXML/XML/Dtd.html +0 -213
  86. data/doc/rdoc/classes/LibXML/XML/Error.html +0 -117
  87. data/doc/rdoc/classes/LibXML/XML/HTMLParser.html +0 -348
  88. data/doc/rdoc/classes/LibXML/XML/InputCallbacks.html +0 -160
  89. data/doc/rdoc/classes/LibXML/XML/NS.html +0 -381
  90. data/doc/rdoc/classes/LibXML/XML/Node.html +0 -3396
  91. data/doc/rdoc/classes/LibXML/XML/Node/FailedModify.html +0 -123
  92. data/doc/rdoc/classes/LibXML/XML/Node/Set.html +0 -440
  93. data/doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html +0 -123
  94. data/doc/rdoc/classes/LibXML/XML/Node/UnknownType.html +0 -123
  95. data/doc/rdoc/classes/LibXML/XML/Parser.html +0 -2239
  96. data/doc/rdoc/classes/LibXML/XML/Parser/Context.html +0 -1255
  97. data/doc/rdoc/classes/LibXML/XML/Parser/ParseError.html +0 -123
  98. data/doc/rdoc/classes/LibXML/XML/Reader.html +0 -2264
  99. data/doc/rdoc/classes/LibXML/XML/RelaxNG.html +0 -237
  100. data/doc/rdoc/classes/LibXML/XML/SaxParser.html +0 -415
  101. data/doc/rdoc/classes/LibXML/XML/Schema.html +0 -308
  102. data/doc/rdoc/classes/LibXML/XML/State.html +0 -124
  103. data/doc/rdoc/classes/LibXML/XML/Tree.html +0 -111
  104. data/doc/rdoc/classes/LibXML/XML/XInclude.html +0 -123
  105. data/doc/rdoc/classes/LibXML/XML/XInclude/Error.html +0 -117
  106. data/doc/rdoc/classes/LibXML/XML/XMLParserOptions.html +0 -198
  107. data/doc/rdoc/classes/LibXML/XML/XPath.html +0 -184
  108. data/doc/rdoc/classes/LibXML/XML/XPath/Context.html +0 -404
  109. data/doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html +0 -172
  110. data/doc/rdoc/classes/LibXML/XML/XPath/Object.html +0 -627
  111. data/doc/rdoc/classes/LibXML/XML/XPointer.html +0 -170
  112. data/doc/rdoc/classes/LibXML/XML/XPointer/Context.html +0 -123
  113. data/doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html +0 -117
  114. data/doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html +0 -124
  115. data/doc/rdoc/classes/singleton.html +0 -114
  116. data/doc/rdoc/created.rid +0 -1
  117. data/doc/rdoc/files/CHANGES.html +0 -442
  118. data/doc/rdoc/files/LICENSE.html +0 -133
  119. data/doc/rdoc/files/README.html +0 -388
  120. data/doc/rdoc/files/VERSION.html +0 -107
  121. data/doc/rdoc/files/ext/libxml/cbg_c.html +0 -101
  122. data/doc/rdoc/files/ext/libxml/libxml_c.html +0 -101
  123. data/doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html +0 -101
  124. data/doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html +0 -101
  125. data/doc/rdoc/files/ext/libxml/ruby_xml_document_c.html +0 -101
  126. data/doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html +0 -101
  127. data/doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html +0 -101
  128. data/doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html +0 -101
  129. data/doc/rdoc/files/ext/libxml/ruby_xml_node_c.html +0 -101
  130. data/doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html +0 -101
  131. data/doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html +0 -101
  132. data/doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html +0 -101
  133. data/doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html +0 -101
  134. data/doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html +0 -101
  135. data/doc/rdoc/files/ext/libxml/ruby_xml_relaxng_c.html +0 -101
  136. data/doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html +0 -101
  137. data/doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html +0 -101
  138. data/doc/rdoc/files/ext/libxml/ruby_xml_state_c.html +0 -101
  139. data/doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html +0 -101
  140. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html +0 -101
  141. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html +0 -101
  142. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html +0 -101
  143. data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html +0 -101
  144. data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html +0 -101
  145. data/doc/rdoc/files/lib/libxml/attr_rb.html +0 -108
  146. data/doc/rdoc/files/lib/libxml/attributes_rb.html +0 -108
  147. data/doc/rdoc/files/lib/libxml/document_rb.html +0 -108
  148. data/doc/rdoc/files/lib/libxml/node_rb.html +0 -108
  149. data/doc/rdoc/files/lib/libxml/node_set_rb.html +0 -108
  150. data/doc/rdoc/files/lib/libxml/parser_options_rb.html +0 -107
  151. data/doc/rdoc/files/lib/libxml/parser_rb.html +0 -101
  152. data/doc/rdoc/files/lib/libxml/properties_rb.html +0 -108
  153. data/doc/rdoc/files/lib/libxml/tree_rb.html +0 -107
  154. data/doc/rdoc/files/lib/libxml_rb.html +0 -124
  155. data/doc/rdoc/files/lib/xml/libxml_rb.html +0 -124
  156. data/doc/rdoc/files/lib/xml_rb.html +0 -134
  157. data/doc/rdoc/fr_class_index.html +0 -62
  158. data/doc/rdoc/fr_file_index.html +0 -66
  159. data/doc/rdoc/fr_method_index.html +0 -392
  160. data/doc/rdoc/index.html +0 -24
  161. data/doc/rdoc/rdoc-style.css +0 -208
  162. data/ext/libxml/ruby_xml_node_set.c +0 -172
  163. data/ext/libxml/ruby_xml_node_set.h +0 -20
  164. data/ext/libxml/ruby_xml_xpointer_context.c +0 -22
  165. data/ext/libxml/ruby_xml_xpointer_context.h +0 -18
  166. data/lib/libxml/node_set.rb +0 -27
  167. data/test/tc_node_set.rb +0 -24
  168. data/test/tc_node_set2.rb +0 -37
@@ -1,114 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: singleton</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">singleton</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- </td>
59
- </tr>
60
-
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
-
72
-
73
- </div>
74
-
75
-
76
- </div>
77
-
78
-
79
- <!-- if includes -->
80
-
81
- <div id="section">
82
-
83
-
84
-
85
- <div id="aliases-list">
86
- <h3 class="section-bar">External Aliases</h3>
87
-
88
- <div class="name-list">
89
- <table summary="aliases">
90
- <tr class="top-aligned-row context-row">
91
- <td class="context-item-name">new</td>
92
- <td>-&gt;</td>
93
- <td class="context-item-value">new_element</td>
94
- </tr>
95
- </table>
96
- </div>
97
- </div>
98
-
99
-
100
-
101
-
102
-
103
- <!-- if method_list -->
104
-
105
-
106
- </div>
107
-
108
-
109
- <div id="validator-badges">
110
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
111
- </div>
112
-
113
- </body>
114
- </html>
@@ -1 +0,0 @@
1
- Mon, 21 Jul 2008 23:03:04 -0600
@@ -1,442 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: CHANGES</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="fileHeader">
50
- <h1>CHANGES</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>CHANGES
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Mon Jul 21 23:01:10 -0600 2008</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <p>
73
- (See log/ChangeLog for more detailed changes derived directly from source
74
- control.)
75
- </p>
76
- <h2>0.8.3 / 2008-07-21 Charlie Savage</h2>
77
- <ul>
78
- <li>Missed several files in last release
79
-
80
- </li>
81
- </ul>
82
- <h2>0.8.2 / 2008-07-21 Charlie Savage</h2>
83
- <ul>
84
- <li>To use <a href="../classes/LibXML.html">LibXML</a> you can either require
85
- &#8216;xml&#8217; or require &#8216;libxml&#8217;. The differences is that
86
- require &#8216;xml&#8217; mixes the <a
87
- href="../classes/LibXML.html">LibXML</a> module into the global namespace,
88
- thereby allowing you to write code such as document = XML::Document.new.
89
- Note that this is different from 0.8.0 and 0.8.1 and may require updating
90
- your code.
91
-
92
- </li>
93
- <li>Support RelaxNG validation (thanks to Morus Walter)
94
-
95
- </li>
96
- <li>Support passing IO objects to XmlReaders (thanks to Tom Hughes)
97
-
98
- </li>
99
- <li>Fix segmentation fault caused by adding an attribute to a CDATA node
100
-
101
- </li>
102
- <li>Moved node checking functions from C to Ruby
103
-
104
- </li>
105
- <li>Improved Windows support - libxml-ruby should now work out of the box.
106
-
107
- </li>
108
- <li>Improved Windows support - turned on libxml&#8216;s zlib and iconv support.
109
-
110
- </li>
111
- </ul>
112
- <h2>0.8.1 / 2008-07-09 Charlie Savage</h2>
113
- <ul>
114
- <li>Reimplmented Node#each_attr for backwards compatability
115
-
116
- </li>
117
- <li>Moved node type test to Ruby.
118
-
119
- </li>
120
- </ul>
121
- <h2>0.8.0 / 2008-07-09 Charlie Savage</h2>
122
- <ul>
123
- <li>Fixed bug in returning attributes from XPath results
124
-
125
- </li>
126
- <li>Fixed DOM traversal methods
127
-
128
- </li>
129
- <li>Changed Node#children to return an array of nodes
130
-
131
- </li>
132
- <li>Fixed bug in returning attributes from XPath results
133
-
134
- </li>
135
- <li>Refactored XPath support, providing more user hooks in the XPath::Context
136
- class
137
-
138
- </li>
139
- <li>Added Node#properties for backwards compatibility
140
-
141
- </li>
142
- <li>Updated setup.rb
143
-
144
- </li>
145
- <li>Added more tests
146
-
147
- </li>
148
- <li>Updated rdocs and README file
149
-
150
- </li>
151
- <li>Moved libxml into <a href="../classes/LibXML.html">LibXML</a> namespace
152
-
153
- </li>
154
- </ul>
155
- <h2>0.7.0 / 2008-07-09 Charlie Savage</h2>
156
- <ul>
157
- <li>Added new attributes class to provide a more natural way of working with
158
- attributes
159
-
160
- </li>
161
- <li>Fixed XML::Attr to better support namespaces
162
-
163
- </li>
164
- <li>Added documentation on how to use namespaces with XPath
165
-
166
- </li>
167
- <li>Removed allocation of extraneous structures used to wrap nodes, namespaces
168
- and attributes
169
-
170
- </li>
171
- <li>Cleaned up tests and added new test suite
172
-
173
- </li>
174
- <li>Updated rdocs and README file
175
-
176
- </li>
177
- <li>Cleaned out most of the bug list
178
-
179
- </li>
180
- </ul>
181
- <h2>0.6.0 / 2008-07-01 Charlie Savage</h2>
182
- <ul>
183
- <li>Fixed memory allocation errors in Windows. On Windows, it is essential that
184
- the same library that allocates memory must free it. Thus ALLOC calls must
185
- be matched to ruby_xfree calls, which they were not. In addition, in one
186
- case Ruby was allocating memory to be freed by libxml. On Windows,
187
- that&#8216;s a segmentation fault. On Linux it might fly, but still seems
188
- like a bad idea.
189
-
190
- </li>
191
- <li>Fixed segmentation fault in xml reader expand (same xml tree freed twice)
192
-
193
- </li>
194
- <li>Applied a number of patches from Tom Bagby, including fixes for xpath
195
- segmentation faults and fixes for various memory leaks
196
-
197
- </li>
198
- <li>Cleaned up a number of compiler warnings
199
-
200
- </li>
201
- <li>Renamed libxml_so.so to libxml_ruby.so (same for xslt). That wasn&#8216;t
202
- actually my original intention, but um, it kind of sort of happened. It
203
- should not be noticeable from an end-user perspective.
204
-
205
- </li>
206
- <li>Added rake files for building with MingW
207
-
208
- </li>
209
- <li>Added rake files for packing gems. Note that I did this outside the
210
- existing rake tasks because I didn&#8216;t see how they were actually
211
- building the gems.
212
-
213
- </li>
214
- <li>Cleaned up the tests and added a few more based on bug reports from the
215
- Tracker and mailing list.
216
-
217
- </li>
218
- <li>Cleaned out the patch queue and went through about 1/2 the bug list
219
-
220
- </li>
221
- </ul>
222
- <h3>2007-11-16 &quot;Dan Janowski&quot; &lt;danj at 3skel.com&gt;</h3>
223
- <ul>
224
- <li>Merged Dan&#8216;s MEM2 branch to trunk.
225
-
226
- </li>
227
- </ul>
228
- <h2>0.5.3 /</h2>
229
- <h3>2007-11-16 &quot;Dan Janowski&quot; &lt;danj at 3skel.com&gt;</h3>
230
- <ul>
231
- <li>Merged Dan&#8216;s MEM2 branch to trunk.
232
-
233
- </li>
234
- </ul>
235
- <h2>0.5.2 / 2007-10-10</h2>
236
- <h3>2007-10-10 &quot;Dan Janowski&quot; &lt;danj at 3skel.com&gt;</h3>
237
- <ul>
238
- <li>(Dan, fill in the major points of the changes you made up to here -thanks)
239
-
240
- </li>
241
- </ul>
242
- <h3>2007-01-14 &quot;Laurent Sansonetti&quot; &lt;lrz at chopine.be&gt;</h3>
243
- <ul>
244
- <li>Added some preliminary RDoc comments for XML::Reader.
245
-
246
- </li>
247
- </ul>
248
- <h3>2006-12-05 &quot;Laurent Sansonetti&quot; &lt;lrz at chopine.be&gt;</h3>
249
- <ul>
250
- <li>Added XML::Reader, a set of bindings to the xmlTextReader API.
251
-
252
- </li>
253
- </ul>
254
- <h2>0.3.8.4 / 2006-12-02</h2>
255
- <h3>2006-04-15 &quot;Ross Bamform&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
256
- <ul>
257
- <li>Implemented SAX parser callback handling.
258
-
259
- </li>
260
- </ul>
261
- <h3>2006-04-12 &quot;Ross Bamford&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
262
- <ul>
263
- <li>Integrated and tested community patches.
264
-
265
- </li>
266
- <li>Defined XML::Node (hash) equality in terms of XML representation.
267
-
268
- </li>
269
- </ul>
270
- <h3>2006-04-12 &quot;Tim Yamin&quot; &lt;plasmaroo at gentoo.org&gt;</h3>
271
- <ul>
272
- <li>Fixed XML::Node#content inoperable bug (plasmaroo) [patch]
273
-
274
- </li>
275
- <li>Fixed memory leak in same
276
-
277
- </li>
278
- </ul>
279
- <h3>2006-04-12 &quot;Mark Van Holstyn&quot; &lt;mvette13 at gmail.com&gt;</h3>
280
- <ul>
281
- <li>Added XML::Node::Set#first (mvette13) [patch]
282
-
283
- </li>
284
- <li>Added XML::Node::Set#empty?
285
-
286
- </li>
287
- <li>Fixed XML::Node::Set#to_a
288
-
289
- </li>
290
- <li>Added XML::Node#find_first
291
-
292
- </li>
293
- <li>Added XML::Node#remove!
294
-
295
- </li>
296
- </ul>
297
- <h3>2006-03-27 &quot;Ross Bamford&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
298
- <ul>
299
- <li>Integrated contributed XML::Parser.register_error_handler patch (rosco)
300
-
301
- </li>
302
- </ul>
303
- <h3>2006-02-27 &quot;Ross Bamford&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
304
- <ul>
305
- <li>Fixed all multiple symbol definitions for -fno-common.
306
-
307
- </li>
308
- <li>Removed OSX -fno-common workaround.
309
-
310
- </li>
311
- </ul>
312
- <h2>0.3.6 / 2006-02-23</h2>
313
- <h3>2006-02-21 &quot;Ross Bamford&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
314
- <ul>
315
- <li>Patched extconf.rb with OSX -fno-common workaround
316
-
317
- </li>
318
- <li>Added gem and packaging support to Rakefile
319
-
320
- </li>
321
- <li>Moved version update to Rakefile
322
-
323
- </li>
324
- <li>Removed legacy project utility scripts
325
-
326
- </li>
327
- </ul>
328
- <h3>2005-02-19 &quot;Ross Bamford&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
329
- <ul>
330
- <li>Fixed doublefree bug in ruby_xml_attr.
331
-
332
- </li>
333
- <li>Fixed small leak in parser
334
-
335
- </li>
336
- </ul>
337
- <h3>2005-12-18 &quot;Ross Bamford&quot; &lt;rosco at roscopeco.co.uk&gt;</h3>
338
- <ul>
339
- <li>Updated for GCC 4.0 (community patches)
340
-
341
- </li>
342
- <li>Fixed default validation bug
343
-
344
- </li>
345
- <li>Refactored project, removed outdated files, cleaned up tests.
346
-
347
- </li>
348
- <li>Added RDoc documentation across .c files.
349
-
350
- </li>
351
- <li>Fixed up a few strings.
352
-
353
- </li>
354
- </ul>
355
- <h3>2004-04-04 &quot;Mangler Jurgen&quot; &lt;et@wkv.at&gt;</h3>
356
- <ul>
357
- <li>ruby_xml_node.cz: fixed ruby_xml_node_property_set. The ill-behaviour was,
358
- that there was added a second attribute of the same name, when you were
359
- setting the value of an already existing attribute.
360
-
361
- </li>
362
- </ul>
363
- <h3>2004-03-17 &quot;Lukas Svoboda&quot; &lt;luks@fi.muni.cz&gt;</h3>
364
- <ul>
365
- <li>ruby_xml_node.c: ruby_xml_node_to_s now returns XML subtree dump.
366
-
367
- </li>
368
- </ul>
369
- <h3>2004-02-27 &quot;Martin Povolny&quot; &lt;martin@solnet.cz&gt;</h3>
370
- <ul>
371
- <li>ruby_xml_node.c: added XML::Node.copy, this makes possible building of xml
372
- documents from nodes taken from other xml documents without making ruby
373
- SIGSEGV (see tests/copy_bug.rb).
374
-
375
- </li>
376
- </ul>
377
- <h3>2004-02-26 &quot;Martin Povolny&quot; &lt;martin@solnet.cz&gt;</h3>
378
- <ul>
379
- <li>ruby_xml_dtd.c, ruby_xml_dtd.h, ruby_xml_schema.c, ruby_xml_schema.h: more
380
- work on validation, now you can actually validate document using dtd or xml
381
- schema, also solved warning and error propagation (see
382
- tests/{dtd|schema}-test.rb).
383
-
384
- </li>
385
- </ul>
386
- <h3>2003-12-30 &quot;Martin Povolny&quot; &lt;martin@solnet.cz&gt;</h3>
387
- <ul>
388
- <li>ruby_xml_dtd.c, ruby_xml_dtd.h, ruby_xml_schema.c, ruby_xml_schema.h:
389
- prelimitary support for dtd and schema validation
390
-
391
- </li>
392
- </ul>
393
- <h3>2003-09-15 &quot;Martin Povolny&quot; &lt;martin@solnet.cz&gt;</h3>
394
- <ul>
395
- <li>ruby_xml_input_cbg.c, libxml.c: added class InputCallbacks to make possible
396
- registering custom input callbacks handlers (xmlRegisterInputCallbacks)
397
- written in ruby
398
-
399
- </li>
400
- </ul>
401
- <h3>2003-08-01 &quot;Martin Povolny&quot; &lt;martin@solnet.cz&gt;</h3>
402
- <ul>
403
- <li>ruby_xml_document.c: corrected argument handling in ruby_xml_document_find
404
-
405
- </li>
406
- <li>ruby_xml_node.c: corrected argument handling in ruby_xml_node_find
407
-
408
- </li>
409
- </ul>
410
-
411
- </div>
412
-
413
-
414
- </div>
415
-
416
-
417
- </div>
418
-
419
-
420
- <!-- if includes -->
421
-
422
- <div id="section">
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
- <!-- if method_list -->
432
-
433
-
434
- </div>
435
-
436
-
437
- <div id="validator-badges">
438
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
439
- </div>
440
-
441
- </body>
442
- </html>