libxml-ruby 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +41 -1
- data/LICENSE +3 -4
- data/README +37 -24
- data/Rakefile +2 -2
- data/ext/libxml/extconf.rb +31 -12
- data/ext/libxml/libxml.c +56 -858
- data/ext/libxml/ruby_libxml.h +93 -96
- data/ext/libxml/ruby_xml.c +855 -0
- data/ext/libxml/ruby_xml.h +9 -0
- data/ext/libxml/ruby_xml_attr.c +3 -9
- data/ext/libxml/ruby_xml_attr.h +2 -2
- data/ext/libxml/ruby_xml_attr_decl.c +2 -8
- data/ext/libxml/ruby_xml_attr_decl.h +1 -1
- data/ext/libxml/ruby_xml_attributes.c +6 -8
- data/ext/libxml/ruby_xml_attributes.h +1 -1
- data/ext/libxml/ruby_xml_document.c +915 -895
- data/ext/libxml/ruby_xml_document.h +2 -2
- data/ext/libxml/ruby_xml_dtd.c +257 -136
- data/ext/libxml/ruby_xml_dtd.h +1 -1
- data/ext/libxml/ruby_xml_encoding.c +55 -37
- data/ext/libxml/ruby_xml_encoding.h +1 -1
- data/ext/libxml/ruby_xml_error.c +526 -1058
- data/ext/libxml/ruby_xml_error.h +1 -1
- data/ext/libxml/ruby_xml_html_parser.c +2 -8
- data/ext/libxml/ruby_xml_html_parser.h +2 -2
- data/ext/libxml/ruby_xml_html_parser_context.c +175 -145
- data/ext/libxml/ruby_xml_html_parser_context.h +1 -1
- data/ext/libxml/ruby_xml_html_parser_options.c +12 -20
- data/ext/libxml/ruby_xml_html_parser_options.h +1 -1
- data/ext/libxml/ruby_xml_input_cbg.c +2 -8
- data/ext/libxml/ruby_xml_input_cbg.h +1 -1
- data/ext/libxml/ruby_xml_namespace.c +2 -8
- data/ext/libxml/ruby_xml_namespace.h +2 -2
- data/ext/libxml/ruby_xml_namespaces.c +1 -9
- data/ext/libxml/ruby_xml_namespaces.h +1 -1
- data/ext/libxml/ruby_xml_node.c +182 -121
- data/ext/libxml/ruby_xml_node.h +2 -2
- data/ext/libxml/ruby_xml_parser.c +2 -8
- data/ext/libxml/ruby_xml_parser.h +2 -2
- data/ext/libxml/ruby_xml_parser_context.c +952 -901
- data/ext/libxml/ruby_xml_parser_context.h +2 -2
- data/ext/libxml/ruby_xml_parser_options.c +2 -9
- data/ext/libxml/ruby_xml_parser_options.h +1 -1
- data/ext/libxml/ruby_xml_reader.c +1002 -993
- data/ext/libxml/ruby_xml_reader.h +1 -1
- data/ext/libxml/ruby_xml_relaxng.c +1 -7
- data/ext/libxml/ruby_xml_relaxng.h +1 -1
- data/ext/libxml/ruby_xml_sax2_handler.c +2 -2
- data/ext/libxml/ruby_xml_sax2_handler.h +1 -1
- data/ext/libxml/ruby_xml_sax_parser.c +2 -8
- data/ext/libxml/ruby_xml_sax_parser.h +2 -2
- data/ext/libxml/ruby_xml_schema.c +1 -7
- data/ext/libxml/ruby_xml_schema.h +1 -1
- data/ext/libxml/{version.h → ruby_xml_version.h} +2 -2
- data/ext/libxml/ruby_xml_xinclude.c +2 -8
- data/ext/libxml/ruby_xml_xinclude.h +2 -2
- data/ext/libxml/ruby_xml_xpath.c +17 -18
- data/ext/libxml/ruby_xml_xpath.h +2 -2
- data/ext/libxml/ruby_xml_xpath_context.c +387 -389
- data/ext/libxml/ruby_xml_xpath_context.h +2 -2
- data/ext/libxml/ruby_xml_xpath_expression.c +18 -8
- data/ext/libxml/ruby_xml_xpath_expression.h +1 -1
- data/ext/libxml/ruby_xml_xpath_object.c +19 -8
- data/ext/libxml/ruby_xml_xpath_object.h +1 -1
- data/ext/libxml/ruby_xml_xpointer.c +2 -8
- data/ext/libxml/ruby_xml_xpointer.h +2 -2
- data/ext/vc/libxml_ruby.sln +7 -1
- data/lib/libxml.rb +1 -12
- data/lib/libxml/attr.rb +0 -3
- data/lib/libxml/attr_decl.rb +0 -3
- data/lib/libxml/attributes.rb +0 -3
- data/lib/libxml/document.rb +31 -5
- data/lib/libxml/error.rb +8 -4
- data/lib/libxml/properties.rb +0 -5
- data/lib/libxml/sax_callbacks.rb +30 -19
- data/lib/libxml/tree.rb +0 -1
- data/lib/libxml/xpath_object.rb +0 -13
- data/test/model/definition.dtd +8 -0
- data/test/tc_attributes.rb +4 -1
- data/test/tc_document.rb +16 -0
- data/test/tc_dtd.rb +30 -2
- data/test/tc_html_parser.rb +55 -10
- data/test/tc_node.rb +67 -1
- data/test/tc_node_edit.rb +26 -6
- data/test/tc_node_text.rb +41 -23
- data/test/tc_parser.rb +50 -0
- data/test/tc_reader.rb +15 -0
- data/test/tc_relaxng.rb +1 -1
- data/test/tc_sax_parser.rb +37 -5
- data/test/tc_schema.rb +1 -1
- data/test/tc_xpath.rb +1 -0
- data/test/tc_xpath_expression.rb +4 -2
- metadata +6 -6
- data/ext/libxml/ruby_xml_state.c +0 -51
- data/ext/libxml/ruby_xml_state.h +0 -11
- data/ext/vc/libxml_ruby.vcproj +0 -460
data/test/tc_reader.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'xml'
|
2
|
+
require 'stringio'
|
2
3
|
require 'test/unit'
|
3
4
|
|
4
5
|
class TestReader < Test::Unit::TestCase
|
@@ -75,6 +76,16 @@ class TestReader < Test::Unit::TestCase
|
|
75
76
|
end
|
76
77
|
end
|
77
78
|
|
79
|
+
def test_io_gc
|
80
|
+
# Test that the reader keeps a reference
|
81
|
+
# to the io object
|
82
|
+
file = File.open(XML_FILE, 'rb')
|
83
|
+
reader = XML::Reader.io(file)
|
84
|
+
file = nil
|
85
|
+
GC.start
|
86
|
+
assert(reader.read)
|
87
|
+
end
|
88
|
+
|
78
89
|
def test_string_io
|
79
90
|
data = File.read(XML_FILE)
|
80
91
|
string_io = StringIO.new(data)
|
@@ -176,6 +187,10 @@ class TestReader < Test::Unit::TestCase
|
|
176
187
|
def test_node
|
177
188
|
XML.default_line_numbers = true
|
178
189
|
reader = XML::Reader.file(XML_FILE)
|
190
|
+
|
191
|
+
# first try to get a node
|
192
|
+
assert_nil(reader.node)
|
193
|
+
|
179
194
|
reader.read
|
180
195
|
assert_instance_of(XML::Node, reader.node)
|
181
196
|
end
|
data/test/tc_relaxng.rb
CHANGED
@@ -34,7 +34,7 @@ class TestRelaxNG < Test::Unit::TestCase
|
|
34
34
|
|
35
35
|
assert_not_nil(error)
|
36
36
|
assert_kind_of(XML::Error, error)
|
37
|
-
assert(error.message.match(/Error: Did not expect element invalid there
|
37
|
+
assert(error.message.match(/Error: Did not expect element invalid there/))
|
38
38
|
assert_equal(XML::Error::RELAXNGV, error.domain)
|
39
39
|
assert_equal(XML::Error::LT_IN_ATTRIBUTE, error.code)
|
40
40
|
assert_equal(XML::Error::ERROR, error.level)
|
data/test/tc_sax_parser.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'xml'
|
2
|
+
require 'stringio'
|
2
3
|
require 'test/unit'
|
3
|
-
require 'pp'
|
4
4
|
|
5
5
|
class DocTypeCallback
|
6
6
|
include XML::SaxParser::Callbacks
|
@@ -77,8 +77,8 @@ class TestSaxParser < Test::Unit::TestCase
|
|
77
77
|
i = -1
|
78
78
|
assert_equal("startdoc", result[i+=1])
|
79
79
|
assert_equal("pi: xml-stylesheet type=\"text/xsl\" href=\"my_stylesheet.xsl\"", result[i+=1])
|
80
|
-
assert_equal("start_element: feed, attr: {
|
81
|
-
assert_equal("start_element_ns: feed, attr: {
|
80
|
+
assert_equal("start_element: feed, attr: {}", result[i+=1])
|
81
|
+
assert_equal("start_element_ns: feed, attr: {}, prefix: , uri: http://www.w3.org/2005/Atom, ns: {nil=>\"http://www.w3.org/2005/Atom\"}", result[i+=1])
|
82
82
|
assert_equal("characters: \n ", result[i+=1])
|
83
83
|
assert_equal("comment: Not a valid atom entry ", result[i+=1])
|
84
84
|
assert_equal("characters: \n ", result[i+=1])
|
@@ -94,8 +94,8 @@ class TestSaxParser < Test::Unit::TestCase
|
|
94
94
|
assert_equal("start_element: content, attr: {\"type\"=>\"xhtml\"}", result[i+=1])
|
95
95
|
assert_equal("start_element_ns: content, attr: {\"type\"=>\"xhtml\"}, prefix: , uri: http://www.w3.org/2005/Atom, ns: {}", result[i+=1])
|
96
96
|
assert_equal("characters: \n ", result[i+=1])
|
97
|
-
assert_equal("start_element: xhtml:div, attr: {
|
98
|
-
assert_equal("start_element_ns: div, attr: {
|
97
|
+
assert_equal("start_element: xhtml:div, attr: {}", result[i+=1])
|
98
|
+
assert_equal("start_element_ns: div, attr: {}, prefix: xhtml, uri: http://www.w3.org/1999/xhtml, ns: {\"xhtml\"=>\"http://www.w3.org/1999/xhtml\"}", result[i+=1])
|
99
99
|
assert_equal("characters: \n ", result[i+=1])
|
100
100
|
assert_equal("start_element: xhtml:p, attr: {}", result[i+=1])
|
101
101
|
assert_equal("start_element_ns: p, attr: {}, prefix: xhtml, uri: http://www.w3.org/1999/xhtml, ns: {}", result[i+=1])
|
@@ -129,6 +129,22 @@ class TestSaxParser < Test::Unit::TestCase
|
|
129
129
|
assert_equal true, parser.parse
|
130
130
|
end
|
131
131
|
|
132
|
+
def test_noexistent_file
|
133
|
+
error = assert_raise(XML::Error) do
|
134
|
+
XML::SaxParser.file('i_dont_exist.xml')
|
135
|
+
end
|
136
|
+
|
137
|
+
assert_equal('Warning: failed to load external entity "i_dont_exist.xml".', error.to_s)
|
138
|
+
end
|
139
|
+
|
140
|
+
def test_nil_file
|
141
|
+
error = assert_raise(TypeError) do
|
142
|
+
XML::SaxParser.file(nil)
|
143
|
+
end
|
144
|
+
|
145
|
+
assert_equal("can't convert nil into String", error.to_s)
|
146
|
+
end
|
147
|
+
|
132
148
|
def test_io
|
133
149
|
File.open(saxtest_file) do |file|
|
134
150
|
parser = XML::SaxParser.io(file)
|
@@ -138,6 +154,14 @@ class TestSaxParser < Test::Unit::TestCase
|
|
138
154
|
end
|
139
155
|
end
|
140
156
|
|
157
|
+
def test_nil_io
|
158
|
+
error = assert_raise(TypeError) do
|
159
|
+
XML::HTMLParser.io(nil)
|
160
|
+
end
|
161
|
+
|
162
|
+
assert_equal("Must pass in an IO object", error.to_s)
|
163
|
+
end
|
164
|
+
|
141
165
|
def test_string_no_callbacks
|
142
166
|
xml = File.read(saxtest_file)
|
143
167
|
parser = XML::SaxParser.string(xml)
|
@@ -162,6 +186,14 @@ class TestSaxParser < Test::Unit::TestCase
|
|
162
186
|
verify(parser)
|
163
187
|
end
|
164
188
|
|
189
|
+
def test_nil_string
|
190
|
+
error = assert_raise(TypeError) do
|
191
|
+
XML::SaxParser.string(nil)
|
192
|
+
end
|
193
|
+
|
194
|
+
assert_equal("wrong argument type nil (expected String)", error.to_s)
|
195
|
+
end
|
196
|
+
|
165
197
|
def test_doctype
|
166
198
|
xml = <<-EOS
|
167
199
|
<?xml version="1.0" encoding="UTF-8"?>
|
data/test/tc_schema.rb
CHANGED
@@ -34,7 +34,7 @@ class TestSchema < Test::Unit::TestCase
|
|
34
34
|
|
35
35
|
assert_not_nil(error)
|
36
36
|
assert_kind_of(XML::Error, error)
|
37
|
-
assert(error.message.match(/Error: Element 'invalid': This element is not expected. Expected is \( item \)
|
37
|
+
assert(error.message.match(/Error: Element 'invalid': This element is not expected. Expected is \( item \)/))
|
38
38
|
assert_equal(XML::Error::SCHEMASV, error.domain)
|
39
39
|
assert_equal(XML::Error::SCHEMAV_ELEMENT_CONTENT, error.code)
|
40
40
|
assert_equal(XML::Error::ERROR, error.level)
|
data/test/tc_xpath.rb
CHANGED
@@ -115,6 +115,7 @@ class TestXPath < Test::Unit::TestCase
|
|
115
115
|
# Since we are searching on the node, don't have to register namespace
|
116
116
|
nodes = node.find('ns1:name')
|
117
117
|
assert_equal(1, nodes.length)
|
118
|
+
assert_equal(nodes.first.object_id, nodes.last.object_id, 'First and last should be the same')
|
118
119
|
assert_equal('name', nodes.first.name)
|
119
120
|
assert_equal('man1', nodes.first.content)
|
120
121
|
end
|
data/test/tc_xpath_expression.rb
CHANGED
@@ -11,9 +11,11 @@ class TestXPathExpression < Test::Unit::TestCase
|
|
11
11
|
@doc = nil
|
12
12
|
end
|
13
13
|
|
14
|
-
def
|
14
|
+
def test_nodes
|
15
15
|
expr = XML::XPath::Expression.compile('/ruby_array/fixnum')
|
16
|
-
@doc.find(expr)
|
16
|
+
set = @doc.find(expr)
|
17
|
+
assert_instance_of(XML::XPath::Object, set)
|
18
|
+
assert_equal(2, set.size)
|
17
19
|
end
|
18
20
|
|
19
21
|
def test_find_class
|
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.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charlie Savage
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-05 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -46,6 +46,8 @@ files:
|
|
46
46
|
- ext/libxml/extconf.rb
|
47
47
|
- ext/libxml/libxml.c
|
48
48
|
- ext/libxml/ruby_libxml.h
|
49
|
+
- ext/libxml/ruby_xml.c
|
50
|
+
- ext/libxml/ruby_xml.h
|
49
51
|
- ext/libxml/ruby_xml_attr.c
|
50
52
|
- ext/libxml/ruby_xml_attr.h
|
51
53
|
- ext/libxml/ruby_xml_attributes.c
|
@@ -92,8 +94,7 @@ files:
|
|
92
94
|
- ext/libxml/ruby_xml_sax_parser.h
|
93
95
|
- ext/libxml/ruby_xml_schema.c
|
94
96
|
- ext/libxml/ruby_xml_schema.h
|
95
|
-
- ext/libxml/
|
96
|
-
- ext/libxml/ruby_xml_state.h
|
97
|
+
- ext/libxml/ruby_xml_version.h
|
97
98
|
- ext/libxml/ruby_xml_xinclude.c
|
98
99
|
- ext/libxml/ruby_xml_xinclude.h
|
99
100
|
- ext/libxml/ruby_xml_xpath.c
|
@@ -106,11 +107,9 @@ files:
|
|
106
107
|
- ext/libxml/ruby_xml_xpath_object.h
|
107
108
|
- ext/libxml/ruby_xml_xpointer.c
|
108
109
|
- ext/libxml/ruby_xml_xpointer.h
|
109
|
-
- ext/libxml/version.h
|
110
110
|
- ext/mingw/Rakefile
|
111
111
|
- ext/mingw/build.rake
|
112
112
|
- ext/vc/libxml_ruby.sln
|
113
|
-
- ext/vc/libxml_ruby.vcproj
|
114
113
|
- lib/libxml
|
115
114
|
- lib/libxml/attr.rb
|
116
115
|
- lib/libxml/attributes.rb
|
@@ -145,6 +144,7 @@ files:
|
|
145
144
|
- test/model/atom.xml
|
146
145
|
- test/model/bands.xml
|
147
146
|
- test/model/books.xml
|
147
|
+
- test/model/definition.dtd
|
148
148
|
- test/model/merge_bug_data.xml
|
149
149
|
- test/model/ruby-lang.html
|
150
150
|
- test/model/rubynet.xml
|
data/ext/libxml/ruby_xml_state.c
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
/* $Id$ */
|
2
|
-
|
3
|
-
#include "ruby_libxml.h"
|
4
|
-
|
5
|
-
VALUE cXMLState;
|
6
|
-
VALUE LIBXML_STATE = Qnil;
|
7
|
-
|
8
|
-
static int dummy = 0;
|
9
|
-
|
10
|
-
static void rxml_state_free(int dummy)
|
11
|
-
{
|
12
|
-
xmlCleanupParser();
|
13
|
-
LIBXML_STATE = Qnil;
|
14
|
-
}
|
15
|
-
|
16
|
-
static VALUE rxml_state_alloc(VALUE klass)
|
17
|
-
{
|
18
|
-
#ifdef DEBUG
|
19
|
-
fprintf(stderr, "Allocating state");
|
20
|
-
#endif
|
21
|
-
|
22
|
-
xmlInitParser();
|
23
|
-
|
24
|
-
return Data_Wrap_Struct(cXMLState, NULL, rxml_state_free, &dummy);
|
25
|
-
}
|
26
|
-
|
27
|
-
// Rdoc needs to know
|
28
|
-
#ifdef RDOC_NEVER_DEFINED
|
29
|
-
mLibXML = rb_define_module("LibXML");
|
30
|
-
mXML = rb_define_module_under(mLibXML, "XML");
|
31
|
-
#endif
|
32
|
-
|
33
|
-
void ruby_init_state(void)
|
34
|
-
{
|
35
|
-
VALUE rb_mSingleton;
|
36
|
-
cXMLState = rb_define_class_under(mXML, "State", rb_cObject);
|
37
|
-
|
38
|
-
/* Mixin singleton so only one xml state object can be created. */
|
39
|
-
rb_require("singleton");
|
40
|
-
rb_mSingleton = rb_const_get(rb_cObject, rb_intern("Singleton"));
|
41
|
-
rb_include_module(cXMLState, rb_mSingleton);
|
42
|
-
|
43
|
-
rb_define_alloc_func(cXMLState, rxml_state_alloc);
|
44
|
-
|
45
|
-
/* Create one instance of the state object that is used
|
46
|
-
to initalize and cleanup libxml. Then register it with
|
47
|
-
the garbage collector so its not freed until the process
|
48
|
-
exists.*/
|
49
|
-
LIBXML_STATE = rb_class_new_instance(0, NULL, cXMLState);
|
50
|
-
rb_global_variable(&LIBXML_STATE);
|
51
|
-
}
|
data/ext/libxml/ruby_xml_state.h
DELETED
data/ext/vc/libxml_ruby.vcproj
DELETED
@@ -1,460 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="Windows-1252"?>
|
2
|
-
<VisualStudioProject
|
3
|
-
ProjectType="Visual C++"
|
4
|
-
Version="9.00"
|
5
|
-
Name="libxml_ruby"
|
6
|
-
ProjectGUID="{0B65CD1D-EEB9-41AE-93BB-75496E504152}"
|
7
|
-
RootNamespace="libxml"
|
8
|
-
Keyword="Win32Proj"
|
9
|
-
TargetFrameworkVersion="131072"
|
10
|
-
>
|
11
|
-
<Platforms>
|
12
|
-
<Platform
|
13
|
-
Name="Win32"
|
14
|
-
/>
|
15
|
-
</Platforms>
|
16
|
-
<ToolFiles>
|
17
|
-
</ToolFiles>
|
18
|
-
<Configurations>
|
19
|
-
<Configuration
|
20
|
-
Name="Debug|Win32"
|
21
|
-
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
22
|
-
IntermediateDirectory="$(ConfigurationName)"
|
23
|
-
ConfigurationType="2"
|
24
|
-
CharacterSet="1"
|
25
|
-
>
|
26
|
-
<Tool
|
27
|
-
Name="VCPreBuildEventTool"
|
28
|
-
/>
|
29
|
-
<Tool
|
30
|
-
Name="VCCustomBuildTool"
|
31
|
-
/>
|
32
|
-
<Tool
|
33
|
-
Name="VCXMLDataGeneratorTool"
|
34
|
-
/>
|
35
|
-
<Tool
|
36
|
-
Name="VCWebServiceProxyGeneratorTool"
|
37
|
-
/>
|
38
|
-
<Tool
|
39
|
-
Name="VCMIDLTool"
|
40
|
-
/>
|
41
|
-
<Tool
|
42
|
-
Name="VCCLCompilerTool"
|
43
|
-
Optimization="0"
|
44
|
-
AdditionalIncludeDirectories=""C:\Development\ruby\lib\ruby\1.8\i386-mswin32";C:\Development\msys\local\include;C:\Development\msys\local\include\libxml2"
|
45
|
-
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBXML_EXPORTS"
|
46
|
-
MinimalRebuild="true"
|
47
|
-
BasicRuntimeChecks="3"
|
48
|
-
RuntimeLibrary="3"
|
49
|
-
UsePrecompiledHeader="0"
|
50
|
-
WarningLevel="3"
|
51
|
-
Detect64BitPortabilityProblems="true"
|
52
|
-
DebugInformationFormat="4"
|
53
|
-
/>
|
54
|
-
<Tool
|
55
|
-
Name="VCManagedResourceCompilerTool"
|
56
|
-
/>
|
57
|
-
<Tool
|
58
|
-
Name="VCResourceCompilerTool"
|
59
|
-
/>
|
60
|
-
<Tool
|
61
|
-
Name="VCPreLinkEventTool"
|
62
|
-
/>
|
63
|
-
<Tool
|
64
|
-
Name="VCLinkerTool"
|
65
|
-
AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib"
|
66
|
-
OutputFile="C:\Development\ruby\lib\ruby\gems\1.8\gems\libxml-ruby-0.9.8-x86-mswin32-60\lib\$(ProjectName).so"
|
67
|
-
LinkIncremental="2"
|
68
|
-
AdditionalLibraryDirectories="C:\Development\ruby\lib;C:\Development\msys\local\lib"
|
69
|
-
GenerateDebugInformation="true"
|
70
|
-
SubSystem="2"
|
71
|
-
RandomizedBaseAddress="1"
|
72
|
-
DataExecutionPrevention="0"
|
73
|
-
TargetMachine="1"
|
74
|
-
/>
|
75
|
-
<Tool
|
76
|
-
Name="VCALinkTool"
|
77
|
-
/>
|
78
|
-
<Tool
|
79
|
-
Name="VCManifestTool"
|
80
|
-
/>
|
81
|
-
<Tool
|
82
|
-
Name="VCXDCMakeTool"
|
83
|
-
/>
|
84
|
-
<Tool
|
85
|
-
Name="VCBscMakeTool"
|
86
|
-
/>
|
87
|
-
<Tool
|
88
|
-
Name="VCFxCopTool"
|
89
|
-
/>
|
90
|
-
<Tool
|
91
|
-
Name="VCAppVerifierTool"
|
92
|
-
/>
|
93
|
-
<Tool
|
94
|
-
Name="VCPostBuildEventTool"
|
95
|
-
/>
|
96
|
-
</Configuration>
|
97
|
-
<Configuration
|
98
|
-
Name="Release|Win32"
|
99
|
-
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
100
|
-
IntermediateDirectory="$(ConfigurationName)"
|
101
|
-
ConfigurationType="2"
|
102
|
-
CharacterSet="1"
|
103
|
-
WholeProgramOptimization="1"
|
104
|
-
>
|
105
|
-
<Tool
|
106
|
-
Name="VCPreBuildEventTool"
|
107
|
-
/>
|
108
|
-
<Tool
|
109
|
-
Name="VCCustomBuildTool"
|
110
|
-
/>
|
111
|
-
<Tool
|
112
|
-
Name="VCXMLDataGeneratorTool"
|
113
|
-
/>
|
114
|
-
<Tool
|
115
|
-
Name="VCWebServiceProxyGeneratorTool"
|
116
|
-
/>
|
117
|
-
<Tool
|
118
|
-
Name="VCMIDLTool"
|
119
|
-
/>
|
120
|
-
<Tool
|
121
|
-
Name="VCCLCompilerTool"
|
122
|
-
AdditionalIncludeDirectories=""C:\Development\ruby\lib\ruby\1.8\i386-mswin32";"C:\Development\msys\src\libxml2-2.6.32\include";"C:\Development\msys\src\libiconv-1.12\include""
|
123
|
-
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBXML_EXPORTS"
|
124
|
-
RuntimeLibrary="2"
|
125
|
-
UsePrecompiledHeader="0"
|
126
|
-
WarningLevel="3"
|
127
|
-
Detect64BitPortabilityProblems="true"
|
128
|
-
DebugInformationFormat="3"
|
129
|
-
/>
|
130
|
-
<Tool
|
131
|
-
Name="VCManagedResourceCompilerTool"
|
132
|
-
/>
|
133
|
-
<Tool
|
134
|
-
Name="VCResourceCompilerTool"
|
135
|
-
/>
|
136
|
-
<Tool
|
137
|
-
Name="VCPreLinkEventTool"
|
138
|
-
/>
|
139
|
-
<Tool
|
140
|
-
Name="VCLinkerTool"
|
141
|
-
AdditionalDependencies="msvcrt-ruby18.lib libxml2.lib"
|
142
|
-
OutputFile="$(OutDir)\$(ProjectName).so"
|
143
|
-
LinkIncremental="1"
|
144
|
-
AdditionalLibraryDirectories="C:\Development\ruby\lib;"C:\Development\msys\src\libxml2-2.6.32\win32\lib""
|
145
|
-
GenerateDebugInformation="true"
|
146
|
-
SubSystem="2"
|
147
|
-
OptimizeReferences="2"
|
148
|
-
EnableCOMDATFolding="2"
|
149
|
-
RandomizedBaseAddress="1"
|
150
|
-
DataExecutionPrevention="0"
|
151
|
-
TargetMachine="1"
|
152
|
-
/>
|
153
|
-
<Tool
|
154
|
-
Name="VCALinkTool"
|
155
|
-
/>
|
156
|
-
<Tool
|
157
|
-
Name="VCManifestTool"
|
158
|
-
/>
|
159
|
-
<Tool
|
160
|
-
Name="VCXDCMakeTool"
|
161
|
-
/>
|
162
|
-
<Tool
|
163
|
-
Name="VCBscMakeTool"
|
164
|
-
/>
|
165
|
-
<Tool
|
166
|
-
Name="VCFxCopTool"
|
167
|
-
/>
|
168
|
-
<Tool
|
169
|
-
Name="VCAppVerifierTool"
|
170
|
-
/>
|
171
|
-
<Tool
|
172
|
-
Name="VCPostBuildEventTool"
|
173
|
-
/>
|
174
|
-
</Configuration>
|
175
|
-
</Configurations>
|
176
|
-
<References>
|
177
|
-
</References>
|
178
|
-
<Files>
|
179
|
-
<Filter
|
180
|
-
Name="Source Files"
|
181
|
-
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
182
|
-
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
183
|
-
>
|
184
|
-
<File
|
185
|
-
RelativePath="..\libxml\cbg.c"
|
186
|
-
>
|
187
|
-
</File>
|
188
|
-
<File
|
189
|
-
RelativePath="..\libxml\libxml.c"
|
190
|
-
>
|
191
|
-
</File>
|
192
|
-
<File
|
193
|
-
RelativePath="..\libxml\ruby_xml_attr.c"
|
194
|
-
>
|
195
|
-
</File>
|
196
|
-
<File
|
197
|
-
RelativePath="..\libxml\ruby_xml_attr_decl.c"
|
198
|
-
>
|
199
|
-
</File>
|
200
|
-
<File
|
201
|
-
RelativePath="..\libxml\ruby_xml_attributes.c"
|
202
|
-
>
|
203
|
-
</File>
|
204
|
-
<File
|
205
|
-
RelativePath="..\libxml\ruby_xml_document.c"
|
206
|
-
>
|
207
|
-
</File>
|
208
|
-
<File
|
209
|
-
RelativePath="..\libxml\ruby_xml_dtd.c"
|
210
|
-
>
|
211
|
-
</File>
|
212
|
-
<File
|
213
|
-
RelativePath="..\libxml\ruby_xml_encoding.c"
|
214
|
-
>
|
215
|
-
</File>
|
216
|
-
<File
|
217
|
-
RelativePath="..\libxml\ruby_xml_error.c"
|
218
|
-
>
|
219
|
-
</File>
|
220
|
-
<File
|
221
|
-
RelativePath="..\libxml\ruby_xml_html_parser.c"
|
222
|
-
>
|
223
|
-
</File>
|
224
|
-
<File
|
225
|
-
RelativePath="..\libxml\ruby_xml_html_parser_context.c"
|
226
|
-
>
|
227
|
-
</File>
|
228
|
-
<File
|
229
|
-
RelativePath="..\libxml\ruby_xml_html_parser_options.c"
|
230
|
-
>
|
231
|
-
</File>
|
232
|
-
<File
|
233
|
-
RelativePath="..\libxml\ruby_xml_input_cbg.c"
|
234
|
-
>
|
235
|
-
</File>
|
236
|
-
<File
|
237
|
-
RelativePath="..\libxml\ruby_xml_io.c"
|
238
|
-
>
|
239
|
-
</File>
|
240
|
-
<File
|
241
|
-
RelativePath="..\libxml\ruby_xml_namespace.c"
|
242
|
-
>
|
243
|
-
</File>
|
244
|
-
<File
|
245
|
-
RelativePath="..\libxml\ruby_xml_namespaces.c"
|
246
|
-
>
|
247
|
-
</File>
|
248
|
-
<File
|
249
|
-
RelativePath="..\libxml\ruby_xml_node.c"
|
250
|
-
>
|
251
|
-
</File>
|
252
|
-
<File
|
253
|
-
RelativePath="..\libxml\ruby_xml_parser.c"
|
254
|
-
>
|
255
|
-
</File>
|
256
|
-
<File
|
257
|
-
RelativePath="..\libxml\ruby_xml_parser_context.c"
|
258
|
-
>
|
259
|
-
</File>
|
260
|
-
<File
|
261
|
-
RelativePath="..\libxml\ruby_xml_parser_options.c"
|
262
|
-
>
|
263
|
-
</File>
|
264
|
-
<File
|
265
|
-
RelativePath="..\libxml\ruby_xml_reader.c"
|
266
|
-
>
|
267
|
-
</File>
|
268
|
-
<File
|
269
|
-
RelativePath="..\libxml\ruby_xml_relaxng.c"
|
270
|
-
>
|
271
|
-
</File>
|
272
|
-
<File
|
273
|
-
RelativePath="..\libxml\ruby_xml_sax2_handler.c"
|
274
|
-
>
|
275
|
-
</File>
|
276
|
-
<File
|
277
|
-
RelativePath="..\libxml\ruby_xml_sax_parser.c"
|
278
|
-
>
|
279
|
-
</File>
|
280
|
-
<File
|
281
|
-
RelativePath="..\libxml\ruby_xml_schema.c"
|
282
|
-
>
|
283
|
-
</File>
|
284
|
-
<File
|
285
|
-
RelativePath="..\libxml\ruby_xml_state.c"
|
286
|
-
>
|
287
|
-
</File>
|
288
|
-
<File
|
289
|
-
RelativePath="..\libxml\ruby_xml_xinclude.c"
|
290
|
-
>
|
291
|
-
</File>
|
292
|
-
<File
|
293
|
-
RelativePath="..\libxml\ruby_xml_xpath.c"
|
294
|
-
>
|
295
|
-
</File>
|
296
|
-
<File
|
297
|
-
RelativePath="..\libxml\ruby_xml_xpath_context.c"
|
298
|
-
>
|
299
|
-
</File>
|
300
|
-
<File
|
301
|
-
RelativePath="..\libxml\ruby_xml_xpath_expression.c"
|
302
|
-
>
|
303
|
-
</File>
|
304
|
-
<File
|
305
|
-
RelativePath="..\libxml\ruby_xml_xpath_object.c"
|
306
|
-
>
|
307
|
-
</File>
|
308
|
-
<File
|
309
|
-
RelativePath="..\libxml\ruby_xml_xpointer.c"
|
310
|
-
>
|
311
|
-
</File>
|
312
|
-
</Filter>
|
313
|
-
<Filter
|
314
|
-
Name="Header Files"
|
315
|
-
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
316
|
-
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
317
|
-
>
|
318
|
-
<File
|
319
|
-
RelativePath="..\libxml\ruby_libxml.h"
|
320
|
-
>
|
321
|
-
</File>
|
322
|
-
<File
|
323
|
-
RelativePath="..\libxml\ruby_xml_attr.h"
|
324
|
-
>
|
325
|
-
</File>
|
326
|
-
<File
|
327
|
-
RelativePath="..\libxml\ruby_xml_attr_decl.h"
|
328
|
-
>
|
329
|
-
</File>
|
330
|
-
<File
|
331
|
-
RelativePath="..\libxml\ruby_xml_attributes.h"
|
332
|
-
>
|
333
|
-
</File>
|
334
|
-
<File
|
335
|
-
RelativePath="..\libxml\ruby_xml_document.h"
|
336
|
-
>
|
337
|
-
</File>
|
338
|
-
<File
|
339
|
-
RelativePath="..\libxml\ruby_xml_dtd.h"
|
340
|
-
>
|
341
|
-
</File>
|
342
|
-
<File
|
343
|
-
RelativePath="..\libxml\ruby_xml_encoding.h"
|
344
|
-
>
|
345
|
-
</File>
|
346
|
-
<File
|
347
|
-
RelativePath="..\libxml\ruby_xml_error.h"
|
348
|
-
>
|
349
|
-
</File>
|
350
|
-
<File
|
351
|
-
RelativePath="..\libxml\ruby_xml_html_parser.h"
|
352
|
-
>
|
353
|
-
</File>
|
354
|
-
<File
|
355
|
-
RelativePath="..\libxml\ruby_xml_html_parser_context.h"
|
356
|
-
>
|
357
|
-
</File>
|
358
|
-
<File
|
359
|
-
RelativePath="..\libxml\ruby_xml_html_parser_options.h"
|
360
|
-
>
|
361
|
-
</File>
|
362
|
-
<File
|
363
|
-
RelativePath="..\libxml\ruby_xml_input_cbg.h"
|
364
|
-
>
|
365
|
-
</File>
|
366
|
-
<File
|
367
|
-
RelativePath="..\libxml\ruby_xml_io.h"
|
368
|
-
>
|
369
|
-
</File>
|
370
|
-
<File
|
371
|
-
RelativePath="..\libxml\ruby_xml_namespace.h"
|
372
|
-
>
|
373
|
-
</File>
|
374
|
-
<File
|
375
|
-
RelativePath="..\libxml\ruby_xml_namespaces.h"
|
376
|
-
>
|
377
|
-
</File>
|
378
|
-
<File
|
379
|
-
RelativePath="..\libxml\ruby_xml_node.h"
|
380
|
-
>
|
381
|
-
</File>
|
382
|
-
<File
|
383
|
-
RelativePath="..\libxml\ruby_xml_parser.h"
|
384
|
-
>
|
385
|
-
</File>
|
386
|
-
<File
|
387
|
-
RelativePath="..\libxml\ruby_xml_parser_context.h"
|
388
|
-
>
|
389
|
-
</File>
|
390
|
-
<File
|
391
|
-
RelativePath="..\libxml\ruby_xml_parser_options.h"
|
392
|
-
>
|
393
|
-
</File>
|
394
|
-
<File
|
395
|
-
RelativePath="..\libxml\ruby_xml_reader.h"
|
396
|
-
>
|
397
|
-
</File>
|
398
|
-
<File
|
399
|
-
RelativePath="..\libxml\ruby_xml_relaxng.h"
|
400
|
-
>
|
401
|
-
</File>
|
402
|
-
<File
|
403
|
-
RelativePath="..\libxml\ruby_xml_sax2_handler.h"
|
404
|
-
>
|
405
|
-
</File>
|
406
|
-
<File
|
407
|
-
RelativePath="..\libxml\ruby_xml_sax_parser.h"
|
408
|
-
>
|
409
|
-
</File>
|
410
|
-
<File
|
411
|
-
RelativePath="..\libxml\ruby_xml_schema.h"
|
412
|
-
>
|
413
|
-
</File>
|
414
|
-
<File
|
415
|
-
RelativePath="..\libxml\ruby_xml_state.h"
|
416
|
-
>
|
417
|
-
</File>
|
418
|
-
<File
|
419
|
-
RelativePath="..\libxml\ruby_xml_xinclude.h"
|
420
|
-
>
|
421
|
-
</File>
|
422
|
-
<File
|
423
|
-
RelativePath="..\libxml\ruby_xml_xpath.h"
|
424
|
-
>
|
425
|
-
</File>
|
426
|
-
<File
|
427
|
-
RelativePath="..\libxml\ruby_xml_xpath_context.h"
|
428
|
-
>
|
429
|
-
</File>
|
430
|
-
<File
|
431
|
-
RelativePath="..\libxml\ruby_xml_xpath_expression.h"
|
432
|
-
>
|
433
|
-
</File>
|
434
|
-
<File
|
435
|
-
RelativePath="..\libxml\ruby_xml_xpath_object.h"
|
436
|
-
>
|
437
|
-
</File>
|
438
|
-
<File
|
439
|
-
RelativePath="..\libxml\ruby_xml_xpointer.h"
|
440
|
-
>
|
441
|
-
</File>
|
442
|
-
<File
|
443
|
-
RelativePath="..\libxml\version.h"
|
444
|
-
>
|
445
|
-
</File>
|
446
|
-
</Filter>
|
447
|
-
<Filter
|
448
|
-
Name="Resource Files"
|
449
|
-
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
|
450
|
-
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
451
|
-
>
|
452
|
-
</Filter>
|
453
|
-
<File
|
454
|
-
RelativePath=".\ReadMe.txt"
|
455
|
-
>
|
456
|
-
</File>
|
457
|
-
</Files>
|
458
|
-
<Globals>
|
459
|
-
</Globals>
|
460
|
-
</VisualStudioProject>
|