libxml-ruby 0.8.3-x86-mswin32-60 → 0.9.0-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +18 -0
- data/RAKEFILE +15 -39
- data/README +48 -47
- data/ext/libxml/libxml.c +847 -22
- data/ext/libxml/ruby_libxml.h +71 -95
- data/ext/libxml/ruby_xml_attr.c +500 -500
- data/ext/libxml/ruby_xml_attributes.c +1 -1
- data/ext/libxml/ruby_xml_document.c +1144 -1135
- data/ext/libxml/ruby_xml_document.h +4 -11
- data/ext/libxml/ruby_xml_dtd.c +27 -0
- data/ext/libxml/ruby_xml_encoding.c +164 -0
- data/ext/libxml/ruby_xml_encoding.h +13 -0
- data/ext/libxml/ruby_xml_error.c +941 -0
- data/ext/libxml/ruby_xml_error.h +13 -0
- data/ext/libxml/ruby_xml_html_parser.c +71 -387
- data/ext/libxml/ruby_xml_html_parser.h +1 -17
- data/ext/libxml/ruby_xml_input.c +179 -0
- data/ext/libxml/ruby_xml_input.h +18 -0
- data/ext/libxml/ruby_xml_input_cbg.c +17 -3
- data/ext/libxml/ruby_xml_node.c +1566 -1582
- data/ext/libxml/ruby_xml_node.h +1 -4
- data/ext/libxml/ruby_xml_ns.c +14 -3
- data/ext/libxml/ruby_xml_parser.c +164 -1398
- data/ext/libxml/ruby_xml_parser.h +5 -17
- data/ext/libxml/ruby_xml_parser_context.c +131 -169
- data/ext/libxml/ruby_xml_parser_context.h +2 -9
- data/ext/libxml/ruby_xml_reader.c +910 -945
- data/ext/libxml/ruby_xml_relaxng.c +32 -3
- data/ext/libxml/ruby_xml_sax_parser.c +106 -364
- data/ext/libxml/ruby_xml_sax_parser.h +1 -37
- data/ext/libxml/ruby_xml_schema.c +174 -145
- data/ext/libxml/ruby_xml_xinclude.c +9 -5
- data/ext/libxml/ruby_xml_xpath.c +25 -6
- data/ext/libxml/ruby_xml_xpath.h +1 -2
- data/ext/libxml/ruby_xml_xpath_context.c +17 -19
- data/ext/libxml/ruby_xml_xpath_object.c +60 -56
- data/ext/libxml/ruby_xml_xpointer.c +11 -5
- data/ext/libxml/sax_parser_callbacks.inc +42 -37
- data/ext/libxml/version.h +3 -3
- data/ext/mingw/Rakefile +20 -27
- data/ext/mingw/build.rake +41 -0
- data/{lib → ext/mingw}/libiconv-2.dll +0 -0
- data/ext/mingw/libxml2-2.dll +0 -0
- data/ext/mingw/libxml_ruby.dll.a +0 -0
- data/ext/mingw/libxml_ruby.so +0 -0
- data/ext/vc/libxml_ruby.vcproj +23 -15
- data/lib/libxml.rb +8 -2
- data/lib/libxml/document.rb +16 -4
- data/lib/libxml/error.rb +84 -0
- data/lib/libxml/hpricot.rb +76 -0
- data/lib/libxml/html_parser.rb +61 -0
- data/lib/libxml/node.rb +36 -25
- data/lib/libxml/parser.rb +312 -33
- data/lib/libxml/parser_context.rb +17 -0
- data/lib/libxml/properties.rb +15 -2
- data/lib/libxml/reader.rb +15 -0
- data/lib/libxml/sax_callbacks.rb +179 -0
- data/lib/libxml/sax_parser.rb +42 -0
- data/lib/libxml/tree.rb +1 -2
- data/lib/libxml/xpath_object.rb +12 -0
- data/test/model/atom.xml +4 -0
- data/test/tc_attributes.rb +43 -19
- data/test/tc_document.rb +1 -1
- data/test/tc_document_write.rb +15 -8
- data/test/tc_dtd.rb +36 -20
- data/test/tc_encoding.rb +13 -0
- data/test/tc_error.rb +136 -0
- data/test/tc_node.rb +2 -3
- data/test/tc_node_copy.rb +1 -1
- data/test/tc_node_edit.rb +6 -0
- data/test/tc_ns.rb +18 -0
- data/test/tc_parser.rb +113 -228
- data/test/tc_parser_context.rb +1 -2
- data/test/tc_reader.rb +24 -14
- data/test/tc_relaxng.rb +18 -6
- data/test/tc_sax_parser.rb +48 -13
- data/test/tc_schema.rb +20 -8
- data/test/tc_well_formed.rb +2 -1
- data/test/tc_xml.rb +212 -0
- data/test/tc_xpath.rb +60 -46
- data/test/tc_xpointer.rb +7 -11
- data/test/test_suite.rb +4 -3
- metadata +32 -115
- data/doc/rdoc/classes/LibXML.html +0 -241
- data/doc/rdoc/classes/LibXML/XML.html +0 -185
- data/doc/rdoc/classes/LibXML/XML/Attr.html +0 -1010
- data/doc/rdoc/classes/LibXML/XML/Attributes.html +0 -526
- data/doc/rdoc/classes/LibXML/XML/Document.html +0 -1489
- data/doc/rdoc/classes/LibXML/XML/Dtd.html +0 -213
- data/doc/rdoc/classes/LibXML/XML/Error.html +0 -117
- data/doc/rdoc/classes/LibXML/XML/HTMLParser.html +0 -348
- data/doc/rdoc/classes/LibXML/XML/InputCallbacks.html +0 -160
- data/doc/rdoc/classes/LibXML/XML/NS.html +0 -381
- data/doc/rdoc/classes/LibXML/XML/Node.html +0 -3396
- data/doc/rdoc/classes/LibXML/XML/Node/FailedModify.html +0 -123
- data/doc/rdoc/classes/LibXML/XML/Node/Set.html +0 -440
- data/doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html +0 -123
- data/doc/rdoc/classes/LibXML/XML/Node/UnknownType.html +0 -123
- data/doc/rdoc/classes/LibXML/XML/Parser.html +0 -2239
- data/doc/rdoc/classes/LibXML/XML/Parser/Context.html +0 -1255
- data/doc/rdoc/classes/LibXML/XML/Parser/ParseError.html +0 -123
- data/doc/rdoc/classes/LibXML/XML/Reader.html +0 -2264
- data/doc/rdoc/classes/LibXML/XML/RelaxNG.html +0 -237
- data/doc/rdoc/classes/LibXML/XML/SaxParser.html +0 -415
- data/doc/rdoc/classes/LibXML/XML/Schema.html +0 -308
- data/doc/rdoc/classes/LibXML/XML/State.html +0 -124
- data/doc/rdoc/classes/LibXML/XML/Tree.html +0 -111
- data/doc/rdoc/classes/LibXML/XML/XInclude.html +0 -123
- data/doc/rdoc/classes/LibXML/XML/XInclude/Error.html +0 -117
- data/doc/rdoc/classes/LibXML/XML/XMLParserOptions.html +0 -198
- data/doc/rdoc/classes/LibXML/XML/XPath.html +0 -184
- data/doc/rdoc/classes/LibXML/XML/XPath/Context.html +0 -404
- data/doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html +0 -172
- data/doc/rdoc/classes/LibXML/XML/XPath/Object.html +0 -627
- data/doc/rdoc/classes/LibXML/XML/XPointer.html +0 -170
- data/doc/rdoc/classes/LibXML/XML/XPointer/Context.html +0 -123
- data/doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html +0 -117
- data/doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html +0 -124
- data/doc/rdoc/classes/singleton.html +0 -114
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/CHANGES.html +0 -442
- data/doc/rdoc/files/LICENSE.html +0 -133
- data/doc/rdoc/files/README.html +0 -388
- data/doc/rdoc/files/VERSION.html +0 -107
- data/doc/rdoc/files/ext/libxml/cbg_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/libxml_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_document_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_node_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_relaxng_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_state_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html +0 -101
- data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html +0 -101
- data/doc/rdoc/files/lib/libxml/attr_rb.html +0 -108
- data/doc/rdoc/files/lib/libxml/attributes_rb.html +0 -108
- data/doc/rdoc/files/lib/libxml/document_rb.html +0 -108
- data/doc/rdoc/files/lib/libxml/node_rb.html +0 -108
- data/doc/rdoc/files/lib/libxml/node_set_rb.html +0 -108
- data/doc/rdoc/files/lib/libxml/parser_options_rb.html +0 -107
- data/doc/rdoc/files/lib/libxml/parser_rb.html +0 -101
- data/doc/rdoc/files/lib/libxml/properties_rb.html +0 -108
- data/doc/rdoc/files/lib/libxml/tree_rb.html +0 -107
- data/doc/rdoc/files/lib/libxml_rb.html +0 -124
- data/doc/rdoc/files/lib/xml/libxml_rb.html +0 -124
- data/doc/rdoc/files/lib/xml_rb.html +0 -134
- data/doc/rdoc/fr_class_index.html +0 -62
- data/doc/rdoc/fr_file_index.html +0 -66
- data/doc/rdoc/fr_method_index.html +0 -392
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -208
- data/ext/libxml/ruby_xml_node_set.c +0 -172
- data/ext/libxml/ruby_xml_node_set.h +0 -20
- data/ext/libxml/ruby_xml_xpointer_context.c +0 -22
- data/ext/libxml/ruby_xml_xpointer_context.h +0 -18
- data/lib/libxml/node_set.rb +0 -27
- data/lib/libxml2-2.dll +0 -0
- data/lib/libxml_ruby.dll.a +0 -0
- data/lib/libxml_ruby.so +0 -0
- data/test/tc_node_set.rb +0 -24
- data/test/tc_node_set2.rb +0 -37
data/test/tc_xpath.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'xml'
|
2
|
-
require
|
3
|
-
require
|
2
|
+
require 'tempfile'
|
3
|
+
require 'test/unit'
|
4
4
|
|
5
5
|
class TestXPath < Test::Unit::TestCase
|
6
6
|
def setup
|
@@ -16,20 +16,19 @@ class TestXPath < Test::Unit::TestCase
|
|
16
16
|
assert_instance_of(XML::XPath::Object, nodes)
|
17
17
|
assert_equal(1, nodes.length)
|
18
18
|
assert_equal(nodes.xpath_type, XML::XPath::NODESET)
|
19
|
-
assert_instance_of(XML::Node::Set, nodes.set)
|
20
19
|
assert_instance_of(XML::XPath::Context, nodes.context)
|
21
|
-
end
|
20
|
+
end
|
22
21
|
|
23
22
|
def test_doc_find_first
|
24
23
|
node = @doc.find_first('/soap:Envelope/soap:Body')
|
25
24
|
assert_instance_of(XML::Node, node)
|
26
|
-
end
|
25
|
+
end
|
27
26
|
|
28
27
|
def test_ns
|
29
28
|
nodes = @doc.find('//ns1:IdAndName', 'ns1:http://domain.somewhere.com')
|
30
29
|
assert_equal(3, nodes.length)
|
31
30
|
end
|
32
|
-
|
31
|
+
|
33
32
|
def test_ns_array
|
34
33
|
nodes = @doc.find('//ns1:IdAndName', ['ns1:http://domain.somewhere.com'])
|
35
34
|
assert_equal(3, nodes.length)
|
@@ -41,23 +40,23 @@ class TestXPath < Test::Unit::TestCase
|
|
41
40
|
assert_equal(2, nodes.length)
|
42
41
|
assert_equal('getManufacturerNamesResponse', nodes[0].name)
|
43
42
|
assert_equal('IDAndNameList', nodes[1].name)
|
44
|
-
|
43
|
+
|
45
44
|
# Pull all nodes with http://services.somewhere.com namespace
|
46
45
|
nodes = @doc.find('//ns:*', 'ns:http://services.somewhere.com')
|
47
46
|
assert_equal(2, nodes.length)
|
48
47
|
assert_equal('getManufacturerNamesResponse', nodes[0].name)
|
49
48
|
assert_equal('IDAndNameList', nodes[1].name)
|
50
|
-
|
49
|
+
|
51
50
|
# Get getManufacturerNamesResponse node
|
52
51
|
nodes = @doc.find('//ns:getManufacturerNamesResponse', 'ns:http://services.somewhere.com')
|
53
52
|
assert_equal(1, nodes.length)
|
54
|
-
|
53
|
+
|
55
54
|
# Get IdAndName node
|
56
|
-
nodes = @doc.find('/soap:Envelope/soap:Body/ns0:getManufacturerNamesResponse/ns0:IDAndNameList/ns1:IdAndName',
|
55
|
+
nodes = @doc.find('/soap:Envelope/soap:Body/ns0:getManufacturerNamesResponse/ns0:IDAndNameList/ns1:IdAndName',
|
57
56
|
['ns0:http://services.somewhere.com', 'ns1:http://domain.somewhere.com'])
|
58
57
|
assert_equal(3, nodes.length)
|
59
58
|
end
|
60
|
-
|
59
|
+
|
61
60
|
def test_attribute_ns
|
62
61
|
# Pull all nodes with http://services.somewhere.com namespace
|
63
62
|
nodes = @doc.find('@soap:encodingStyle')
|
@@ -66,6 +65,23 @@ class TestXPath < Test::Unit::TestCase
|
|
66
65
|
assert_equal('http://www.w3.org/2001/12/soap-encoding', nodes.first.value)
|
67
66
|
end
|
68
67
|
|
68
|
+
def test_register_default_ns
|
69
|
+
doc = XML::Document.file(File.join(File.dirname(__FILE__), 'model/atom.xml'))
|
70
|
+
|
71
|
+
# No namespace has been yet defined
|
72
|
+
assert_raise(XML::Error) do
|
73
|
+
node = doc.find("atom:title")
|
74
|
+
end
|
75
|
+
|
76
|
+
node = doc.find('atom:title', 'atom:http://www.w3.org/2005/Atom')
|
77
|
+
assert_not_nil(node)
|
78
|
+
|
79
|
+
# Register namespace
|
80
|
+
doc.root.register_default_namespace('atom')
|
81
|
+
node = doc.find("atom:title")
|
82
|
+
assert_not_nil(node)
|
83
|
+
end
|
84
|
+
|
69
85
|
def test_node_find
|
70
86
|
nodes = @doc.find('//ns1:IdAndName', 'ns1:http://domain.somewhere.com')
|
71
87
|
node = nodes.first
|
@@ -76,16 +92,16 @@ class TestXPath < Test::Unit::TestCase
|
|
76
92
|
assert_equal('name', nodes.first.name)
|
77
93
|
assert_equal('man1', nodes.first.content)
|
78
94
|
end
|
79
|
-
|
95
|
+
|
80
96
|
def test_node_find_first
|
81
97
|
node = @doc.find_first('//ns1:IdAndName', 'ns1:http://domain.somewhere.com')
|
82
|
-
|
98
|
+
|
83
99
|
# Since we are searching on the node, don't have to register namespace
|
84
100
|
node = node.find_first('ns1:name')
|
85
101
|
assert_equal('name', node.name)
|
86
102
|
assert_equal('man1', node.content)
|
87
103
|
end
|
88
|
-
|
104
|
+
|
89
105
|
def test_node_no_doc
|
90
106
|
node = XML::Node.new('header', 'some content')
|
91
107
|
assert_raise(TypeError) do
|
@@ -93,38 +109,36 @@ class TestXPath < Test::Unit::TestCase
|
|
93
109
|
end
|
94
110
|
end
|
95
111
|
|
96
|
-
|
112
|
+
# This causes a segmentation fault on Windows for some reason
|
113
|
+
#def test_nodes_debug
|
97
114
|
# nodes = @doc.find('//ns1:IdAndName', 'ns1:http://domain.somewhere.com')
|
98
115
|
#nodes.debug
|
116
|
+
# end
|
117
|
+
|
118
|
+
def test_memory
|
119
|
+
# This sometimes causes a segmentation fault because
|
120
|
+
# an xml document is sometimes freed before the
|
121
|
+
# xpath_object used to query it. When the xpath_object
|
122
|
+
# is free, it iterates over its results which are pointers
|
123
|
+
# to the document's nodes. A segmentation fault then happens.
|
124
|
+
|
125
|
+
1000.times do
|
126
|
+
doc = XML::Document.new('1.0')
|
127
|
+
doc.root = XML::Node.new("header")
|
128
|
+
|
129
|
+
1000.times do
|
130
|
+
doc.root << XML::Node.new("footer")
|
131
|
+
end
|
132
|
+
|
133
|
+
nodes = doc.find('/header/footer')
|
134
|
+
end
|
99
135
|
end
|
100
|
-
|
101
|
-
#
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
#def test_memory
|
111
|
-
## This sometimes causes a segmentation fault because
|
112
|
-
## an xml document is sometimes freed before the
|
113
|
-
## xpath_object used to query it. When the xpath_object
|
114
|
-
## is free, it iterates over its results which are pointers
|
115
|
-
## to the document's nodes. A segmentation fault then happens.
|
116
|
-
|
117
|
-
#100.times do
|
118
|
-
#doc = XML::Document.new('1.0')
|
119
|
-
#doc.root = XML::Node.new("header")
|
120
|
-
|
121
|
-
#1000.times do
|
122
|
-
#doc.root << XML::Node.new("footer")
|
123
|
-
#end
|
124
|
-
|
125
|
-
#nodes = doc.find('/header/footer')
|
126
|
-
#nodes.length
|
127
|
-
#nodes = nil
|
128
|
-
#end
|
129
|
-
#end
|
130
|
-
end
|
136
|
+
|
137
|
+
# Test that document doesn't get freed before nodes
|
138
|
+
def test_xpath_free
|
139
|
+
doc = XML::Document.file(File.join(File.dirname(__FILE__), 'model/soap.xml'))
|
140
|
+
nodes = doc.find('//*')
|
141
|
+
GC.start
|
142
|
+
assert_equal('Envelope', nodes.first.name)
|
143
|
+
end
|
144
|
+
end
|
data/test/tc_xpointer.rb
CHANGED
@@ -18,19 +18,15 @@ class TC_XML_XPointer < Test::Unit::TestCase
|
|
18
18
|
@xptr = nil
|
19
19
|
end
|
20
20
|
|
21
|
-
def test_libxml_xpointer_id
|
22
|
-
|
23
|
-
assert_instance_of(XML::XPath::Object,
|
24
|
-
|
25
|
-
assert_instance_of(XML::Node::Set, set)
|
26
|
-
for n in set
|
21
|
+
def test_libxml_xpointer_id
|
22
|
+
xptr = @root.pointer('xpointer(id("two"))')
|
23
|
+
assert_instance_of(XML::XPath::Object, xptr)
|
24
|
+
xptr.each do |node|
|
27
25
|
# It seems from the spec that the pointer should
|
28
26
|
# be the whole node, rather than just the ID attr.
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
assert_instance_of(XML::Node, n)
|
33
|
-
assert_equal('two', n['id'])
|
27
|
+
assert_equal('two', node.content)
|
28
|
+
assert_instance_of(XML::Node, node)
|
29
|
+
assert_equal('two', node['id'])
|
34
30
|
end
|
35
31
|
|
36
32
|
# FIXME: Not sure at all about this kind of range
|
data/test/test_suite.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
require '
|
1
|
+
require 'tc_xml'
|
2
2
|
require 'tc_attributes'
|
3
3
|
require 'tc_document'
|
4
4
|
require 'tc_document_write'
|
5
5
|
require 'tc_dtd'
|
6
|
+
require 'tc_encoding'
|
6
7
|
require 'tc_html_parser'
|
7
8
|
require 'tc_node'
|
8
9
|
require 'tc_node_attr'
|
@@ -10,10 +11,9 @@ require 'tc_node_cdata'
|
|
10
11
|
require 'tc_node_comment'
|
11
12
|
require 'tc_node_copy'
|
12
13
|
require 'tc_node_edit'
|
13
|
-
require 'tc_node_set'
|
14
|
-
require 'tc_node_set2'
|
15
14
|
require 'tc_node_text'
|
16
15
|
require 'tc_node_xlink'
|
16
|
+
require 'tc_ns'
|
17
17
|
require 'tc_parser'
|
18
18
|
require 'tc_parser_context'
|
19
19
|
require 'tc_reader'
|
@@ -21,6 +21,7 @@ require 'tc_relaxng'
|
|
21
21
|
require 'tc_sax_parser'
|
22
22
|
require 'tc_schema'
|
23
23
|
require 'tc_traversal'
|
24
|
+
require 'tc_well_formed'
|
24
25
|
require 'tc_xinclude'
|
25
26
|
require 'tc_xpath'
|
26
27
|
require 'tc_xpointer'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libxml-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: x86-mswin32-60
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-11-18 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -17,8 +17,8 @@ description: The Libxml-Ruby project provides Ruby language bindings for the GNO
|
|
17
17
|
email: libxml-devel@rubyforge.org
|
18
18
|
executables: []
|
19
19
|
|
20
|
-
extensions:
|
21
|
-
|
20
|
+
extensions:
|
21
|
+
- ext/mingw/Rakefile
|
22
22
|
extra_rdoc_files: []
|
23
23
|
|
24
24
|
files:
|
@@ -27,104 +27,6 @@ files:
|
|
27
27
|
- LICENSE
|
28
28
|
- CHANGES
|
29
29
|
- setup.rb
|
30
|
-
- doc/rdoc
|
31
|
-
- doc/rdoc/classes
|
32
|
-
- doc/rdoc/classes/LibXML
|
33
|
-
- doc/rdoc/classes/LibXML/XML
|
34
|
-
- doc/rdoc/classes/LibXML/XML/Attr.html
|
35
|
-
- doc/rdoc/classes/LibXML/XML/Attributes.html
|
36
|
-
- doc/rdoc/classes/LibXML/XML/Document.html
|
37
|
-
- doc/rdoc/classes/LibXML/XML/Dtd.html
|
38
|
-
- doc/rdoc/classes/LibXML/XML/Error.html
|
39
|
-
- doc/rdoc/classes/LibXML/XML/HTMLParser.html
|
40
|
-
- doc/rdoc/classes/LibXML/XML/InputCallbacks.html
|
41
|
-
- doc/rdoc/classes/LibXML/XML/Node
|
42
|
-
- doc/rdoc/classes/LibXML/XML/Node/FailedModify.html
|
43
|
-
- doc/rdoc/classes/LibXML/XML/Node/Set.html
|
44
|
-
- doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html
|
45
|
-
- doc/rdoc/classes/LibXML/XML/Node/UnknownType.html
|
46
|
-
- doc/rdoc/classes/LibXML/XML/Node.html
|
47
|
-
- doc/rdoc/classes/LibXML/XML/NS.html
|
48
|
-
- doc/rdoc/classes/LibXML/XML/Parser
|
49
|
-
- doc/rdoc/classes/LibXML/XML/Parser/Context.html
|
50
|
-
- doc/rdoc/classes/LibXML/XML/Parser/ParseError.html
|
51
|
-
- doc/rdoc/classes/LibXML/XML/Parser.html
|
52
|
-
- doc/rdoc/classes/LibXML/XML/Reader.html
|
53
|
-
- doc/rdoc/classes/LibXML/XML/RelaxNG.html
|
54
|
-
- doc/rdoc/classes/LibXML/XML/SaxParser.html
|
55
|
-
- doc/rdoc/classes/LibXML/XML/Schema.html
|
56
|
-
- doc/rdoc/classes/LibXML/XML/State.html
|
57
|
-
- doc/rdoc/classes/LibXML/XML/Tree.html
|
58
|
-
- doc/rdoc/classes/LibXML/XML/XInclude
|
59
|
-
- doc/rdoc/classes/LibXML/XML/XInclude/Error.html
|
60
|
-
- doc/rdoc/classes/LibXML/XML/XInclude.html
|
61
|
-
- doc/rdoc/classes/LibXML/XML/XMLParserOptions.html
|
62
|
-
- doc/rdoc/classes/LibXML/XML/XPath
|
63
|
-
- doc/rdoc/classes/LibXML/XML/XPath/Context.html
|
64
|
-
- doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html
|
65
|
-
- doc/rdoc/classes/LibXML/XML/XPath/Object.html
|
66
|
-
- doc/rdoc/classes/LibXML/XML/XPath.html
|
67
|
-
- doc/rdoc/classes/LibXML/XML/XPointer
|
68
|
-
- doc/rdoc/classes/LibXML/XML/XPointer/Context
|
69
|
-
- doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html
|
70
|
-
- doc/rdoc/classes/LibXML/XML/XPointer/Context.html
|
71
|
-
- doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html
|
72
|
-
- doc/rdoc/classes/LibXML/XML/XPointer.html
|
73
|
-
- doc/rdoc/classes/LibXML/XML.html
|
74
|
-
- doc/rdoc/classes/LibXML.html
|
75
|
-
- doc/rdoc/classes/singleton.html
|
76
|
-
- doc/rdoc/created.rid
|
77
|
-
- doc/rdoc/files
|
78
|
-
- doc/rdoc/files/CHANGES.html
|
79
|
-
- doc/rdoc/files/ext
|
80
|
-
- doc/rdoc/files/ext/libxml
|
81
|
-
- doc/rdoc/files/ext/libxml/cbg_c.html
|
82
|
-
- doc/rdoc/files/ext/libxml/libxml_c.html
|
83
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html
|
84
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html
|
85
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_document_c.html
|
86
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html
|
87
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html
|
88
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html
|
89
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_node_c.html
|
90
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html
|
91
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html
|
92
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html
|
93
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html
|
94
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html
|
95
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_relaxng_c.html
|
96
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html
|
97
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html
|
98
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_state_c.html
|
99
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html
|
100
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html
|
101
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html
|
102
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html
|
103
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html
|
104
|
-
- doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html
|
105
|
-
- doc/rdoc/files/lib
|
106
|
-
- doc/rdoc/files/lib/libxml
|
107
|
-
- doc/rdoc/files/lib/libxml/attributes_rb.html
|
108
|
-
- doc/rdoc/files/lib/libxml/attr_rb.html
|
109
|
-
- doc/rdoc/files/lib/libxml/document_rb.html
|
110
|
-
- doc/rdoc/files/lib/libxml/node_rb.html
|
111
|
-
- doc/rdoc/files/lib/libxml/node_set_rb.html
|
112
|
-
- doc/rdoc/files/lib/libxml/parser_options_rb.html
|
113
|
-
- doc/rdoc/files/lib/libxml/parser_rb.html
|
114
|
-
- doc/rdoc/files/lib/libxml/properties_rb.html
|
115
|
-
- doc/rdoc/files/lib/libxml/tree_rb.html
|
116
|
-
- doc/rdoc/files/lib/libxml_rb.html
|
117
|
-
- doc/rdoc/files/lib/xml
|
118
|
-
- doc/rdoc/files/lib/xml/libxml_rb.html
|
119
|
-
- doc/rdoc/files/lib/xml_rb.html
|
120
|
-
- doc/rdoc/files/LICENSE.html
|
121
|
-
- doc/rdoc/files/README.html
|
122
|
-
- doc/rdoc/files/VERSION.html
|
123
|
-
- doc/rdoc/fr_class_index.html
|
124
|
-
- doc/rdoc/fr_file_index.html
|
125
|
-
- doc/rdoc/fr_method_index.html
|
126
|
-
- doc/rdoc/index.html
|
127
|
-
- doc/rdoc/rdoc-style.css
|
128
30
|
- ext/libxml/cbg.c
|
129
31
|
- ext/libxml/extconf.rb
|
130
32
|
- ext/libxml/libxml.c
|
@@ -137,14 +39,18 @@ files:
|
|
137
39
|
- ext/libxml/ruby_xml_document.h
|
138
40
|
- ext/libxml/ruby_xml_dtd.c
|
139
41
|
- ext/libxml/ruby_xml_dtd.h
|
42
|
+
- ext/libxml/ruby_xml_encoding.c
|
43
|
+
- ext/libxml/ruby_xml_encoding.h
|
44
|
+
- ext/libxml/ruby_xml_error.c
|
45
|
+
- ext/libxml/ruby_xml_error.h
|
140
46
|
- ext/libxml/ruby_xml_html_parser.c
|
141
47
|
- ext/libxml/ruby_xml_html_parser.h
|
48
|
+
- ext/libxml/ruby_xml_input.c
|
49
|
+
- ext/libxml/ruby_xml_input.h
|
142
50
|
- ext/libxml/ruby_xml_input_cbg.c
|
143
51
|
- ext/libxml/ruby_xml_input_cbg.h
|
144
52
|
- ext/libxml/ruby_xml_node.c
|
145
53
|
- ext/libxml/ruby_xml_node.h
|
146
|
-
- ext/libxml/ruby_xml_node_set.c
|
147
|
-
- ext/libxml/ruby_xml_node_set.h
|
148
54
|
- ext/libxml/ruby_xml_ns.c
|
149
55
|
- ext/libxml/ruby_xml_ns.h
|
150
56
|
- ext/libxml/ruby_xml_parser.c
|
@@ -171,23 +77,29 @@ files:
|
|
171
77
|
- ext/libxml/ruby_xml_xpath_object.h
|
172
78
|
- ext/libxml/ruby_xml_xpointer.c
|
173
79
|
- ext/libxml/ruby_xml_xpointer.h
|
174
|
-
- ext/libxml/ruby_xml_xpointer_context.c
|
175
|
-
- ext/libxml/ruby_xml_xpointer_context.h
|
176
80
|
- ext/libxml/sax_parser_callbacks.inc
|
177
81
|
- ext/libxml/version.h
|
178
82
|
- ext/mingw/Rakefile
|
83
|
+
- ext/mingw/build.rake
|
179
84
|
- ext/vc/libxml_ruby.sln
|
180
85
|
- ext/vc/libxml_ruby.vcproj
|
181
86
|
- lib/libxml
|
182
87
|
- lib/libxml/attr.rb
|
183
88
|
- lib/libxml/attributes.rb
|
184
89
|
- lib/libxml/document.rb
|
90
|
+
- lib/libxml/error.rb
|
91
|
+
- lib/libxml/hpricot.rb
|
92
|
+
- lib/libxml/html_parser.rb
|
185
93
|
- lib/libxml/node.rb
|
186
|
-
- lib/libxml/node_set.rb
|
187
94
|
- lib/libxml/parser.rb
|
95
|
+
- lib/libxml/parser_context.rb
|
188
96
|
- lib/libxml/parser_options.rb
|
189
97
|
- lib/libxml/properties.rb
|
98
|
+
- lib/libxml/reader.rb
|
99
|
+
- lib/libxml/sax_callbacks.rb
|
100
|
+
- lib/libxml/sax_parser.rb
|
190
101
|
- lib/libxml/tree.rb
|
102
|
+
- lib/libxml/xpath_object.rb
|
191
103
|
- lib/libxml.rb
|
192
104
|
- lib/xml
|
193
105
|
- lib/xml/libxml.rb
|
@@ -202,6 +114,7 @@ files:
|
|
202
114
|
- test/ets_test.xml
|
203
115
|
- test/ets_tsr.rb
|
204
116
|
- test/model
|
117
|
+
- test/model/atom.xml
|
205
118
|
- test/model/books.xml
|
206
119
|
- test/model/default_validation_bug.rb
|
207
120
|
- test/model/merge_bug_data.xml
|
@@ -220,6 +133,8 @@ files:
|
|
220
133
|
- test/tc_document.rb
|
221
134
|
- test/tc_document_write.rb
|
222
135
|
- test/tc_dtd.rb
|
136
|
+
- test/tc_encoding.rb
|
137
|
+
- test/tc_error.rb
|
223
138
|
- test/tc_html_parser.rb
|
224
139
|
- test/tc_node.rb
|
225
140
|
- test/tc_node_attr.rb
|
@@ -227,10 +142,9 @@ files:
|
|
227
142
|
- test/tc_node_comment.rb
|
228
143
|
- test/tc_node_copy.rb
|
229
144
|
- test/tc_node_edit.rb
|
230
|
-
- test/tc_node_set.rb
|
231
|
-
- test/tc_node_set2.rb
|
232
145
|
- test/tc_node_text.rb
|
233
146
|
- test/tc_node_xlink.rb
|
147
|
+
- test/tc_ns.rb
|
234
148
|
- test/tc_parser.rb
|
235
149
|
- test/tc_parser_context.rb
|
236
150
|
- test/tc_properties.rb
|
@@ -241,14 +155,15 @@ files:
|
|
241
155
|
- test/tc_traversal.rb
|
242
156
|
- test/tc_well_formed.rb
|
243
157
|
- test/tc_xinclude.rb
|
158
|
+
- test/tc_xml.rb
|
244
159
|
- test/tc_xpath.rb
|
245
160
|
- test/tc_xpath_context.rb
|
246
161
|
- test/tc_xpointer.rb
|
247
162
|
- test/test_suite.rb
|
248
|
-
-
|
249
|
-
-
|
250
|
-
-
|
251
|
-
-
|
163
|
+
- ext/mingw/libxml_ruby.so
|
164
|
+
- ext/mingw/libiconv-2.dll
|
165
|
+
- ext/mingw/libxml2-2.dll
|
166
|
+
- ext/mingw/libxml_ruby.dll.a
|
252
167
|
has_rdoc: true
|
253
168
|
homepage: http://libxml.rubyforge.org/
|
254
169
|
post_install_message:
|
@@ -282,6 +197,8 @@ test_files:
|
|
282
197
|
- test/tc_document.rb
|
283
198
|
- test/tc_document_write.rb
|
284
199
|
- test/tc_dtd.rb
|
200
|
+
- test/tc_encoding.rb
|
201
|
+
- test/tc_error.rb
|
285
202
|
- test/tc_html_parser.rb
|
286
203
|
- test/tc_node.rb
|
287
204
|
- test/tc_node_attr.rb
|
@@ -289,10 +206,9 @@ test_files:
|
|
289
206
|
- test/tc_node_comment.rb
|
290
207
|
- test/tc_node_copy.rb
|
291
208
|
- test/tc_node_edit.rb
|
292
|
-
- test/tc_node_set.rb
|
293
|
-
- test/tc_node_set2.rb
|
294
209
|
- test/tc_node_text.rb
|
295
210
|
- test/tc_node_xlink.rb
|
211
|
+
- test/tc_ns.rb
|
296
212
|
- test/tc_parser.rb
|
297
213
|
- test/tc_parser_context.rb
|
298
214
|
- test/tc_properties.rb
|
@@ -303,6 +219,7 @@ test_files:
|
|
303
219
|
- test/tc_traversal.rb
|
304
220
|
- test/tc_well_formed.rb
|
305
221
|
- test/tc_xinclude.rb
|
222
|
+
- test/tc_xml.rb
|
306
223
|
- test/tc_xpath.rb
|
307
224
|
- test/tc_xpath_context.rb
|
308
225
|
- test/tc_xpointer.rb
|