libxml-ruby 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. data/CHANGES +1 -1
  2. data/LICENSE +22 -22
  3. data/README +160 -160
  4. data/Rakefile +0 -9
  5. data/ext/libxml/Makefile +156 -0
  6. data/ext/libxml/extconf.h +5 -0
  7. data/ext/libxml/extconf.rb +4 -160
  8. data/ext/libxml/libxml-ruby.so.a +0 -0
  9. data/ext/libxml/libxml.o +0 -0
  10. data/ext/libxml/libxml_ruby.so +0 -0
  11. data/ext/libxml/mkmf.log +129 -0
  12. data/ext/libxml/ruby_xml.o +0 -0
  13. data/ext/libxml/ruby_xml_attr.c +1 -1
  14. data/ext/libxml/ruby_xml_attr.h +1 -1
  15. data/ext/libxml/ruby_xml_attr.o +0 -0
  16. data/ext/libxml/ruby_xml_attr_decl.o +0 -0
  17. data/ext/libxml/ruby_xml_attributes.o +0 -0
  18. data/ext/libxml/ruby_xml_cbg.o +0 -0
  19. data/ext/libxml/ruby_xml_document.c +936 -936
  20. data/ext/libxml/ruby_xml_document.h +1 -1
  21. data/ext/libxml/ruby_xml_document.o +0 -0
  22. data/ext/libxml/ruby_xml_dtd.o +0 -0
  23. data/ext/libxml/ruby_xml_encoding.o +0 -0
  24. data/ext/libxml/ruby_xml_error.o +0 -0
  25. data/ext/libxml/ruby_xml_html_parser.c +1 -1
  26. data/ext/libxml/ruby_xml_html_parser.h +1 -1
  27. data/ext/libxml/ruby_xml_html_parser.o +0 -0
  28. data/ext/libxml/ruby_xml_html_parser_context.o +0 -0
  29. data/ext/libxml/ruby_xml_html_parser_options.o +0 -0
  30. data/ext/libxml/ruby_xml_input_cbg.o +0 -0
  31. data/ext/libxml/ruby_xml_io.o +0 -0
  32. data/ext/libxml/ruby_xml_namespace.c +1 -1
  33. data/ext/libxml/ruby_xml_namespace.h +1 -1
  34. data/ext/libxml/ruby_xml_namespace.o +0 -0
  35. data/ext/libxml/ruby_xml_namespaces.o +0 -0
  36. data/ext/libxml/ruby_xml_node.c +1386 -1386
  37. data/ext/libxml/ruby_xml_node.h +1 -1
  38. data/ext/libxml/ruby_xml_node.o +0 -0
  39. data/ext/libxml/ruby_xml_parser.c +1 -1
  40. data/ext/libxml/ruby_xml_parser.h +1 -1
  41. data/ext/libxml/ruby_xml_parser.o +0 -0
  42. data/ext/libxml/ruby_xml_parser_context.c +1 -1
  43. data/ext/libxml/ruby_xml_parser_context.h +1 -1
  44. data/ext/libxml/ruby_xml_parser_context.o +0 -0
  45. data/ext/libxml/ruby_xml_parser_options.o +0 -0
  46. data/ext/libxml/ruby_xml_reader.o +0 -0
  47. data/ext/libxml/ruby_xml_relaxng.o +0 -0
  48. data/ext/libxml/ruby_xml_sax2_handler.o +0 -0
  49. data/ext/libxml/ruby_xml_sax_parser.c +1 -1
  50. data/ext/libxml/ruby_xml_sax_parser.h +1 -1
  51. data/ext/libxml/ruby_xml_sax_parser.o +0 -0
  52. data/ext/libxml/ruby_xml_schema.o +0 -0
  53. data/ext/libxml/ruby_xml_version.h +3 -3
  54. data/ext/libxml/ruby_xml_xinclude.c +1 -1
  55. data/ext/libxml/ruby_xml_xinclude.h +1 -1
  56. data/ext/libxml/ruby_xml_xinclude.o +0 -0
  57. data/ext/libxml/ruby_xml_xpath.c +1 -1
  58. data/ext/libxml/ruby_xml_xpath.h +1 -1
  59. data/ext/libxml/ruby_xml_xpath.o +0 -0
  60. data/ext/libxml/ruby_xml_xpath_context.c +1 -1
  61. data/ext/libxml/ruby_xml_xpath_context.h +1 -1
  62. data/ext/libxml/ruby_xml_xpath_context.o +0 -0
  63. data/ext/libxml/ruby_xml_xpath_expression.o +0 -0
  64. data/ext/libxml/ruby_xml_xpath_object.o +0 -0
  65. data/ext/libxml/ruby_xml_xpointer.c +1 -1
  66. data/ext/libxml/ruby_xml_xpointer.h +1 -1
  67. data/ext/libxml/ruby_xml_xpointer.o +0 -0
  68. data/ext/mingw/build.rake +3 -3
  69. data/lib/libxml.rb +29 -29
  70. data/test/model/merge_bug_data.xml +58 -58
  71. data/test/model/rubynet.xml +79 -79
  72. data/test/model/xinclude.xml +4 -4
  73. data/test/tc_attr.rb +170 -170
  74. data/test/tc_document.rb +113 -113
  75. data/test/tc_document_write.rb +117 -117
  76. data/test/tc_dtd.rb +123 -123
  77. data/test/tc_html_parser.rb +137 -137
  78. data/test/tc_node.rb +180 -180
  79. data/test/tc_node_cdata.rb +49 -49
  80. data/test/tc_node_comment.rb +30 -30
  81. data/test/tc_node_edit.rb +157 -157
  82. data/test/tc_node_xlink.rb +26 -26
  83. data/test/tc_parser.rb +329 -329
  84. data/test/tc_parser_context.rb +185 -185
  85. data/test/tc_reader.rb +283 -283
  86. data/test/tc_sax_parser.rb +273 -273
  87. data/test/tc_schema.rb +51 -51
  88. data/test/tc_xinclude.rb +19 -19
  89. data/test/tc_xpath.rb +193 -193
  90. data/test/tc_xpointer.rb +72 -72
  91. metadata +55 -14
  92. data/ext/libxml/build.log +0 -4
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_node.h 850 2009-03-21 22:21:14Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_parser.c 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_parser.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_parser_context.c 851 2009-03-21 22:21:36Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_parser_context.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_sax_parser.c 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_sax_parser.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,9 +1,9 @@
1
1
  /* Don't nuke this block! It is used for automatically updating the
2
2
  * versions below. VERSION = string formatting, VERNUM = numbered
3
3
  * version for inline testing: increment both or none at all.*/
4
- #define RUBY_LIBXML_VERSION "1.1.3"
5
- #define RUBY_LIBXML_VERNUM 113
4
+ #define RUBY_LIBXML_VERSION "1.1.4"
5
+ #define RUBY_LIBXML_VERNUM 114
6
6
  #define RUBY_LIBXML_VER_MAJ 1
7
7
  #define RUBY_LIBXML_VER_MIN 1
8
- #define RUBY_LIBXML_VER_MIC 3
8
+ #define RUBY_LIBXML_VER_MIC 4
9
9
  #define RUBY_LIBXML_VER_PATCH 0
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xinclude.c 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  #include "ruby_libxml.h"
4
4
  #include "ruby_xml_xinclude.h"
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xinclude.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpath.c 759 2009-01-26 00:15:49Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /*
4
4
  * Document-class: LibXML::XML::XPath
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpath.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpath_context.c 799 2009-03-02 01:45:24Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpath_context.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpointer.c 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -1,4 +1,4 @@
1
- /* $Id: ruby_xml_xpointer.h 758 2009-01-25 20:36:03Z cfis $ */
1
+ /* $Id$ */
2
2
 
3
3
  /* Please see the LICENSE file for copyright and distribution information */
4
4
 
@@ -10,7 +10,7 @@ RUBY_INCLUDE_DIR = Config::CONFIG["archdir"]
10
10
  RUBY_BIN_DIR = Config::CONFIG["bindir"]
11
11
  RUBY_LIB_DIR = Config::CONFIG["libdir"]
12
12
  RUBY_SHARED_LIB = Config::CONFIG["LIBRUBY"]
13
- RUBY_SHARED_DLL = RUBY_SHARED_LIB.gsub(/lib$/, 'dll')
13
+ RUBY_SHARED_DLL = RUBY_SHARED_LIB.gsub(/^lib/, '').gsub(/lib$/, 'dll').gsub(/\.a$/, '')
14
14
 
15
15
  EXTENSION_NAME = "libxml_ruby.#{Config::CONFIG["DLEXT"]}"
16
16
  # MingW insists the import library is .dll.a
@@ -30,12 +30,12 @@ end
30
30
  SRC.each do |srcfile|
31
31
  objfile = File.basename(srcfile).ext('o')
32
32
  file objfile => srcfile do
33
- command = "gcc -c -O2 -Wall -o #{objfile} -I/usr/local/include #{srcfile} -I#{RUBY_INCLUDE_DIR}"
33
+ command = "gcc -c -O2 -Wall -o #{objfile} -I/usr/local/include/libxml2 #{srcfile} -I#{RUBY_INCLUDE_DIR}"
34
34
  sh "sh -c '#{command}'"
35
35
  end
36
36
  end
37
37
 
38
38
  file "libxml" => OBJ do
39
- command = "gcc -shared -o #{EXTENSION_NAME} -Wl,--out-implib,#{EXTENSION_LIB_NAME} -L/usr/local/lib #{OBJ} -lxml2 #{RUBY_BIN_DIR}/#{RUBY_SHARED_DLL}"
39
+ command = "gcc -shared -Wl,--enable-auto-import -o #{EXTENSION_NAME} -Wl,--out-implib,#{EXTENSION_LIB_NAME} -L/usr/local/lib #{OBJ} -lxml2 #{RUBY_BIN_DIR}/#{RUBY_SHARED_DLL}"
40
40
  sh "sh -c '#{command}'"
41
41
  end
@@ -1,30 +1,30 @@
1
- # If running on Windows, then add the current directory to the PATH
2
- # for the current process so it can find the pre-built libxml2 and
3
- # iconv2 shared libraries (dlls).
4
- if RUBY_PLATFORM.match(/mswin/i)
5
- ENV['PATH'] += ";#{File.dirname(__FILE__)}"
6
- end
7
-
8
- # Load the C-based binding.
9
- require 'libxml_ruby'
10
-
11
- # Load Ruby supporting code.
12
- require 'libxml/error'
13
- require 'libxml/parser'
14
- require 'libxml/document'
15
- require 'libxml/namespaces'
16
- require 'libxml/namespace'
17
- require 'libxml/node'
18
- require 'libxml/ns'
19
- require 'libxml/attributes'
20
- require 'libxml/attr'
21
- require 'libxml/attr_decl'
22
- require 'libxml/tree'
23
- require 'libxml/reader'
24
- require 'libxml/html_parser'
25
- require 'libxml/sax_parser'
26
- require 'libxml/sax_callbacks'
27
- require 'libxml/xpath_object'
28
-
29
- # Deprecated
1
+ # If running on Windows, then add the current directory to the PATH
2
+ # for the current process so it can find the pre-built libxml2 and
3
+ # iconv2 shared libraries (dlls).
4
+ if RUBY_PLATFORM.match(/mswin/i)
5
+ ENV['PATH'] += ";#{File.dirname(__FILE__)}"
6
+ end
7
+
8
+ # Load the C-based binding.
9
+ require 'libxml_ruby'
10
+
11
+ # Load Ruby supporting code.
12
+ require 'libxml/error'
13
+ require 'libxml/parser'
14
+ require 'libxml/document'
15
+ require 'libxml/namespaces'
16
+ require 'libxml/namespace'
17
+ require 'libxml/node'
18
+ require 'libxml/ns'
19
+ require 'libxml/attributes'
20
+ require 'libxml/attr'
21
+ require 'libxml/attr_decl'
22
+ require 'libxml/tree'
23
+ require 'libxml/reader'
24
+ require 'libxml/html_parser'
25
+ require 'libxml/sax_parser'
26
+ require 'libxml/sax_callbacks'
27
+ require 'libxml/xpath_object'
28
+
29
+ # Deprecated
30
30
  require 'libxml/properties'
@@ -1,58 +1,58 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <template>
3
- <body>
4
- <section>
5
- <txt>Some Preset Data Here</txt>
6
- <txt>Some Preset Data Here</txt>
7
- <txt>name: quack!</txt>
8
- <txt>Some Preset Data Here</txt>
9
- <txt>Some Preset Data Here</txt>
10
- <txt>Some Preset Data Here</txt>
11
- <txt>Some Preset Data Here</txt>
12
- <txt>city: quack!</txt>
13
- <txt>Some Preset Data Here</txt>
14
- <txt>Some Preset Data Here</txt>
15
- <txt>Some Preset Data Here</txt>
16
- <txt>Some Preset Data Here</txt>
17
- <txt>state: quack!</txt>
18
- <txt>Some Preset Data Here</txt>
19
- <txt>Some Preset Data Here</txt>
20
- <txt>Some Preset Data Here</txt>
21
- <txt>Some Preset Data Here</txt>
22
- <row>
23
- <txt>year: Vroom!</txt>
24
- <txt>make: Vroom!</txt>
25
- <txt>model: Vroom!</txt>
26
- </row>
27
- <row>
28
- <txt>year: Vroom!</txt>
29
- <txt>make: Vroom!</txt>
30
- <txt>model: Vroom!</txt>
31
- </row>
32
- <row>
33
- <txt>year: Vroom!</txt>
34
- <txt>make: Vroom!</txt>
35
- <txt>model: Vroom!</txt>
36
- </row>
37
- <txt>Some Preset Data Here</txt>
38
- <txt>Some Preset Data Here</txt>
39
- <row>
40
- <txt>year: Vroom!</txt>
41
- <txt>make: Vroom!</txt>
42
- <txt>model: Vroom!</txt>
43
- </row>
44
- <row>
45
- <txt>year: Vroom!</txt>
46
- <txt>make: Vroom!</txt>
47
- <txt>model: Vroom!</txt>
48
- </row>
49
- <row>
50
- <txt>year: Vroom!</txt>
51
- <txt>make: Vroom!</txt>
52
- <txt>model: Vroom!</txt>
53
- </row>
54
- <txt>Some Preset Data Here</txt>
55
- <txt>Some Preset Data Here</txt>
56
- </section>
57
- </body>
58
- </template>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <template>
3
+ <body>
4
+ <section>
5
+ <txt>Some Preset Data Here</txt>
6
+ <txt>Some Preset Data Here</txt>
7
+ <txt>name: quack!</txt>
8
+ <txt>Some Preset Data Here</txt>
9
+ <txt>Some Preset Data Here</txt>
10
+ <txt>Some Preset Data Here</txt>
11
+ <txt>Some Preset Data Here</txt>
12
+ <txt>city: quack!</txt>
13
+ <txt>Some Preset Data Here</txt>
14
+ <txt>Some Preset Data Here</txt>
15
+ <txt>Some Preset Data Here</txt>
16
+ <txt>Some Preset Data Here</txt>
17
+ <txt>state: quack!</txt>
18
+ <txt>Some Preset Data Here</txt>
19
+ <txt>Some Preset Data Here</txt>
20
+ <txt>Some Preset Data Here</txt>
21
+ <txt>Some Preset Data Here</txt>
22
+ <row>
23
+ <txt>year: Vroom!</txt>
24
+ <txt>make: Vroom!</txt>
25
+ <txt>model: Vroom!</txt>
26
+ </row>
27
+ <row>
28
+ <txt>year: Vroom!</txt>
29
+ <txt>make: Vroom!</txt>
30
+ <txt>model: Vroom!</txt>
31
+ </row>
32
+ <row>
33
+ <txt>year: Vroom!</txt>
34
+ <txt>make: Vroom!</txt>
35
+ <txt>model: Vroom!</txt>
36
+ </row>
37
+ <txt>Some Preset Data Here</txt>
38
+ <txt>Some Preset Data Here</txt>
39
+ <row>
40
+ <txt>year: Vroom!</txt>
41
+ <txt>make: Vroom!</txt>
42
+ <txt>model: Vroom!</txt>
43
+ </row>
44
+ <row>
45
+ <txt>year: Vroom!</txt>
46
+ <txt>make: Vroom!</txt>
47
+ <txt>model: Vroom!</txt>
48
+ </row>
49
+ <row>
50
+ <txt>year: Vroom!</txt>
51
+ <txt>make: Vroom!</txt>
52
+ <txt>model: Vroom!</txt>
53
+ </row>
54
+ <txt>Some Preset Data Here</txt>
55
+ <txt>Some Preset Data Here</txt>
56
+ </section>
57
+ </body>
58
+ </template>
@@ -1,79 +1,79 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <rubynet xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <pkg version="1.0">
4
- <meta>
5
- <pkgname>REXML</pkgname>
6
- <authors>
7
- <author>
8
- <name>Aaron Malone</name>
9
- <email>aaron@munge.net</email>
10
- <irc_network>irc.opentprojects.org</irc_network>
11
- <irc_channel>#ruby-lang</irc_channel>
12
- <irc_handle>AAmalone</irc_handle>
13
- </author>
14
- </authors>
15
- <maintainers>
16
- <maintainer>
17
- <name>Tools Team</name>
18
- <email>tools@gentoo.org</email>
19
- <irc_network>irc.opentprojects.org</irc_network>
20
- <irc_channel>#ruby-lang</irc_channel>
21
- <irc_handle>TinyT</irc_handle>
22
- </maintainer>
23
- </maintainers>
24
- <categories>
25
-
26
- <!-- For pieces of data that are repeated constnatly, could we
27
- use XLink to centralize some of these definitions? If we move
28
- stuff around on rubynet.org, we don't want to have to do a
29
- search/replace: just update the entity, IMHO. -->
30
-
31
- <major_category xlink:type="simple" xlink:href="http://www.rubynet.org/category/xml/">XML</major_category>
32
- <minor_category xlink:type="simple" xlink:href="http://www.rubynet.org/category/text%20processing/">Text Processing</minor_category>
33
- <minor_category xlink:type="simple" xlink:href="http://www.rubynet.org/category/storage/">Storage</minor_category>
34
- </categories>
35
- <version>
36
- <major_version>1</major_version>
37
- <minor_version>2</minor_version>
38
- <micro_version>3</micro_version>
39
- </version>
40
- <copyright>1999-2002 Gentoo Technologies,Inc.</copyright>
41
- <license>Ruby</license>
42
- <status>Stable</status>
43
- <full_name>Ruby Electric XML</full_name>
44
- <description>Pure Ruby parser, blah blah. Based of Electrice XML</description>
45
- <homepage xlink:type="simple" xlink:href="http://www.germane-software.com/~ser/Software/rexml/">REXML Home</homepage>
46
- <download xlink:type="simple" xlink:href="http://www.germane-software.com/~ser/Software/rexml/rexml-1.2.3.bz2/">REXML Download</download>
47
- </meta>
48
- <dependencies>
49
- <dependency name="ruby" uri="http://www.rubynet.org/packages/ruby/">
50
- <required_version restriction="no-lower-than">
51
- <version>
52
- <major_version>1</major_version>
53
- <minor_version>6</minor_version>
54
- <micro_version>0</micro_version>
55
- </version>
56
- </required_version>
57
- </dependency>
58
- </dependencies>
59
- <files>
60
- <file>
61
- <filename>uga.rb</filename>
62
- <mode>0444</mode>
63
- <content encoding="xml">... the file here</content>
64
- </file>
65
- <file>
66
- <filename>booga.h</filename>
67
- <mode>0444</mode>
68
- <content encoding="xml">... the file here</content>
69
- </file>
70
- <file>
71
- <filename>foo.so</filename>
72
- <mode>0555</mode>
73
- <!-- Encode routine: str.to_a.pack('m')
74
- Decode routine: str.unpack('m') -->
75
- <content encoding="mime64">Li4uIHRoZSBmaWxlIGhlcmU=\n</content>
76
- </file>
77
- </files>
78
- </pkg>
79
- </rubynet>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <rubynet xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <pkg version="1.0">
4
+ <meta>
5
+ <pkgname>REXML</pkgname>
6
+ <authors>
7
+ <author>
8
+ <name>Aaron Malone</name>
9
+ <email>aaron@munge.net</email>
10
+ <irc_network>irc.opentprojects.org</irc_network>
11
+ <irc_channel>#ruby-lang</irc_channel>
12
+ <irc_handle>AAmalone</irc_handle>
13
+ </author>
14
+ </authors>
15
+ <maintainers>
16
+ <maintainer>
17
+ <name>Tools Team</name>
18
+ <email>tools@gentoo.org</email>
19
+ <irc_network>irc.opentprojects.org</irc_network>
20
+ <irc_channel>#ruby-lang</irc_channel>
21
+ <irc_handle>TinyT</irc_handle>
22
+ </maintainer>
23
+ </maintainers>
24
+ <categories>
25
+
26
+ <!-- For pieces of data that are repeated constnatly, could we
27
+ use XLink to centralize some of these definitions? If we move
28
+ stuff around on rubynet.org, we don't want to have to do a
29
+ search/replace: just update the entity, IMHO. -->
30
+
31
+ <major_category xlink:type="simple" xlink:href="http://www.rubynet.org/category/xml/">XML</major_category>
32
+ <minor_category xlink:type="simple" xlink:href="http://www.rubynet.org/category/text%20processing/">Text Processing</minor_category>
33
+ <minor_category xlink:type="simple" xlink:href="http://www.rubynet.org/category/storage/">Storage</minor_category>
34
+ </categories>
35
+ <version>
36
+ <major_version>1</major_version>
37
+ <minor_version>2</minor_version>
38
+ <micro_version>3</micro_version>
39
+ </version>
40
+ <copyright>1999-2002 Gentoo Technologies,Inc.</copyright>
41
+ <license>Ruby</license>
42
+ <status>Stable</status>
43
+ <full_name>Ruby Electric XML</full_name>
44
+ <description>Pure Ruby parser, blah blah. Based of Electrice XML</description>
45
+ <homepage xlink:type="simple" xlink:href="http://www.germane-software.com/~ser/Software/rexml/">REXML Home</homepage>
46
+ <download xlink:type="simple" xlink:href="http://www.germane-software.com/~ser/Software/rexml/rexml-1.2.3.bz2/">REXML Download</download>
47
+ </meta>
48
+ <dependencies>
49
+ <dependency name="ruby" uri="http://www.rubynet.org/packages/ruby/">
50
+ <required_version restriction="no-lower-than">
51
+ <version>
52
+ <major_version>1</major_version>
53
+ <minor_version>6</minor_version>
54
+ <micro_version>0</micro_version>
55
+ </version>
56
+ </required_version>
57
+ </dependency>
58
+ </dependencies>
59
+ <files>
60
+ <file>
61
+ <filename>uga.rb</filename>
62
+ <mode>0444</mode>
63
+ <content encoding="xml">... the file here</content>
64
+ </file>
65
+ <file>
66
+ <filename>booga.h</filename>
67
+ <mode>0444</mode>
68
+ <content encoding="xml">... the file here</content>
69
+ </file>
70
+ <file>
71
+ <filename>foo.so</filename>
72
+ <mode>0555</mode>
73
+ <!-- Encode routine: str.to_a.pack('m')
74
+ Decode routine: str.unpack('m') -->
75
+ <content encoding="mime64">Li4uIHRoZSBmaWxlIGhlcmU=\n</content>
76
+ </file>
77
+ </files>
78
+ </pkg>
79
+ </rubynet>