libxml-ruby 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. data/CHANGES +21 -0
  2. data/RAKEFILE +213 -0
  3. data/README +32 -11
  4. data/doc/rdoc/classes/LibXML.html +4 -0
  5. data/doc/rdoc/classes/LibXML/XML.html +7 -0
  6. data/doc/rdoc/classes/LibXML/XML/Attr.html +187 -177
  7. data/doc/rdoc/classes/LibXML/XML/Attributes.html +62 -61
  8. data/doc/rdoc/classes/LibXML/XML/Document.html +318 -254
  9. data/doc/rdoc/classes/LibXML/XML/Dtd.html +62 -8
  10. data/doc/rdoc/classes/LibXML/XML/Error.html +6 -0
  11. data/doc/rdoc/classes/LibXML/XML/HTMLParser.html +59 -41
  12. data/doc/rdoc/classes/LibXML/XML/InputCallbacks.html +12 -6
  13. data/doc/rdoc/classes/LibXML/XML/NS.html +65 -50
  14. data/doc/rdoc/classes/LibXML/XML/Node.html +671 -630
  15. data/doc/rdoc/classes/LibXML/XML/Node/FailedModify.html +12 -0
  16. data/doc/rdoc/classes/LibXML/XML/Node/Set.html +64 -60
  17. data/doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html +12 -0
  18. data/doc/rdoc/classes/LibXML/XML/Node/UnknownType.html +12 -0
  19. data/doc/rdoc/classes/LibXML/XML/Parser.html +407 -383
  20. data/doc/rdoc/classes/LibXML/XML/Parser/Context.html +241 -219
  21. data/doc/rdoc/classes/LibXML/XML/Parser/ParseError.html +12 -0
  22. data/doc/rdoc/classes/LibXML/XML/Reader.html +421 -331
  23. data/doc/rdoc/classes/LibXML/XML/RelaxNG.html +237 -0
  24. data/doc/rdoc/classes/LibXML/XML/SaxParser.html +79 -60
  25. data/doc/rdoc/classes/LibXML/XML/Schema.html +109 -22
  26. data/doc/rdoc/classes/LibXML/XML/State.html +6 -0
  27. data/doc/rdoc/classes/LibXML/XML/XInclude.html +6 -0
  28. data/doc/rdoc/classes/LibXML/XML/XInclude/Error.html +6 -0
  29. data/doc/rdoc/classes/LibXML/XML/XPath.html +4 -48
  30. data/doc/rdoc/classes/LibXML/XML/XPath/Context.html +6 -5
  31. data/doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html +61 -0
  32. data/doc/rdoc/classes/LibXML/XML/XPath/Object.html +12 -8
  33. data/doc/rdoc/classes/LibXML/XML/XPointer.html +14 -8
  34. data/doc/rdoc/classes/LibXML/XML/XPointer/Context.html +6 -0
  35. data/doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html +6 -0
  36. data/doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html +13 -0
  37. data/doc/rdoc/created.rid +1 -1
  38. data/doc/rdoc/files/CHANGES.html +38 -10
  39. data/doc/rdoc/files/LICENSE.html +1 -1
  40. data/doc/rdoc/files/README.html +57 -23
  41. data/doc/rdoc/files/VERSION.html +1 -1
  42. data/doc/rdoc/files/ext/libxml/cbg_c.html +1 -1
  43. data/doc/rdoc/files/ext/libxml/libxml_c.html +1 -1
  44. data/doc/rdoc/files/ext/libxml/ruby_xml_attr_c.html +1 -1
  45. data/doc/rdoc/files/ext/libxml/ruby_xml_attributes_c.html +1 -1
  46. data/doc/rdoc/files/ext/libxml/ruby_xml_document_c.html +1 -1
  47. data/doc/rdoc/files/ext/libxml/ruby_xml_dtd_c.html +1 -1
  48. data/doc/rdoc/files/ext/libxml/ruby_xml_html_parser_c.html +1 -1
  49. data/doc/rdoc/files/ext/libxml/ruby_xml_input_cbg_c.html +1 -1
  50. data/doc/rdoc/files/ext/libxml/ruby_xml_node_c.html +1 -1
  51. data/doc/rdoc/files/ext/libxml/ruby_xml_node_set_c.html +1 -1
  52. data/doc/rdoc/files/ext/libxml/ruby_xml_ns_c.html +1 -1
  53. data/doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html +1 -1
  54. data/doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html +1 -1
  55. data/doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html +1 -1
  56. data/doc/rdoc/{classes/XML.html → files/ext/libxml/ruby_xml_relaxng_c.html} +16 -35
  57. data/doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html +1 -1
  58. data/doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html +1 -1
  59. data/doc/rdoc/files/ext/libxml/ruby_xml_state_c.html +1 -1
  60. data/doc/rdoc/files/ext/libxml/ruby_xml_xinclude_c.html +1 -1
  61. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_c.html +1 -1
  62. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_context_c.html +1 -1
  63. data/doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html +1 -1
  64. data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html +1 -1
  65. data/doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html +1 -1
  66. data/doc/rdoc/files/lib/libxml/attr_rb.html +1 -1
  67. data/doc/rdoc/files/lib/libxml/attributes_rb.html +1 -1
  68. data/doc/rdoc/files/lib/libxml/document_rb.html +1 -1
  69. data/doc/rdoc/files/lib/libxml/node_rb.html +1 -1
  70. data/doc/rdoc/files/lib/libxml/node_set_rb.html +1 -1
  71. data/doc/rdoc/files/lib/libxml/parser_options_rb.html +1 -1
  72. data/doc/rdoc/files/lib/libxml/parser_rb.html +1 -1
  73. data/doc/rdoc/files/lib/libxml/properties_rb.html +1 -1
  74. data/doc/rdoc/files/lib/libxml/tree_rb.html +1 -1
  75. data/doc/rdoc/files/lib/libxml_rb.html +2 -2
  76. data/doc/rdoc/files/lib/xml/libxml_rb.html +12 -2
  77. data/doc/rdoc/files/lib/xml_rb.html +134 -0
  78. data/doc/rdoc/fr_class_index.html +1 -1
  79. data/doc/rdoc/fr_file_index.html +2 -0
  80. data/doc/rdoc/fr_method_index.html +349 -344
  81. data/ext/libxml/libxml.c +2 -1
  82. data/ext/libxml/ruby_libxml.h +1 -0
  83. data/ext/libxml/ruby_xml_attr.c +8 -2
  84. data/ext/libxml/ruby_xml_attributes.c +5 -5
  85. data/ext/libxml/ruby_xml_document.c +41 -2
  86. data/ext/libxml/ruby_xml_dtd.c +169 -169
  87. data/ext/libxml/ruby_xml_html_parser.c +449 -449
  88. data/ext/libxml/ruby_xml_input_cbg.c +165 -165
  89. data/ext/libxml/ruby_xml_node.c +1 -1
  90. data/ext/libxml/ruby_xml_node_set.c +172 -172
  91. data/ext/libxml/ruby_xml_ns.c +145 -145
  92. data/ext/libxml/ruby_xml_parser.c +1398 -1398
  93. data/ext/libxml/ruby_xml_parser_context.c +697 -697
  94. data/ext/libxml/ruby_xml_reader.c +44 -0
  95. data/ext/libxml/ruby_xml_reader.h +14 -14
  96. data/ext/libxml/ruby_xml_relaxng.c +97 -0
  97. data/ext/libxml/ruby_xml_relaxng.h +15 -0
  98. data/ext/libxml/ruby_xml_sax_parser.c +486 -486
  99. data/ext/libxml/ruby_xml_schema.c +1 -1
  100. data/ext/libxml/ruby_xml_state.c +4 -4
  101. data/ext/libxml/ruby_xml_xinclude.c +21 -21
  102. data/ext/libxml/ruby_xml_xpath.c +89 -89
  103. data/ext/libxml/ruby_xml_xpath_context.c +283 -283
  104. data/ext/libxml/ruby_xml_xpath_object.c +5 -5
  105. data/ext/libxml/ruby_xml_xpointer.c +104 -104
  106. data/ext/libxml/ruby_xml_xpointer_context.c +22 -22
  107. data/ext/libxml/version.h +2 -2
  108. data/ext/libxml/version.h.rej +17 -0
  109. data/ext/mingw/Rakefile +41 -0
  110. data/lib/libxml.rb +15 -4
  111. data/lib/xml.rb +14 -0
  112. data/lib/xml/libxml.rb +4 -1
  113. data/test/etc_doc_to_s.rb +1 -1
  114. data/test/ets_copy_bug.rb +1 -1
  115. data/test/ets_copy_bug3.rb +1 -1
  116. data/test/ets_doc_file.rb +1 -1
  117. data/test/ets_doc_to_s.rb +1 -1
  118. data/test/ets_node_gc.rb +1 -1
  119. data/test/ets_tsr.rb +1 -1
  120. data/test/model/shiporder.rnc +28 -0
  121. data/test/model/shiporder.rng +86 -0
  122. data/test/{tc_xml_attributes.rb → tc_attributes.rb} +1 -10
  123. data/test/{tc_xml_document.rb → tc_document.rb} +1 -1
  124. data/test/{tc_xml_document_write.rb → tc_document_write.rb} +1 -1
  125. data/test/{tc_xml_dtd.rb → tc_dtd.rb} +1 -1
  126. data/test/{tc_xml_html_parser.rb → tc_html_parser.rb} +1 -1
  127. data/test/{tc_xml_node.rb → tc_node.rb} +1 -1
  128. data/test/{tc_xml_node_attr.rb → tc_node_attr.rb} +1 -1
  129. data/test/{tc_xml_node_cdata.rb → tc_node_cdata.rb} +24 -5
  130. data/test/{tc_xml_node_comment.rb → tc_node_comment.rb} +1 -1
  131. data/test/{tc_xml_node_copy.rb → tc_node_copy.rb} +1 -1
  132. data/test/{tc_xml_node_edit.rb → tc_node_edit.rb} +1 -1
  133. data/test/{tc_xml_node_set.rb → tc_node_set.rb} +1 -1
  134. data/test/{tc_xml_node_set2.rb → tc_node_set2.rb} +1 -1
  135. data/test/{tc_xml_node_text.rb → tc_node_text.rb} +1 -1
  136. data/test/{tc_xml_node_xlink.rb → tc_node_xlink.rb} +2 -2
  137. data/test/{tc_xml_parser.rb → tc_parser.rb} +1 -1
  138. data/test/{tc_xml_parser_context.rb → tc_parser_context.rb} +1 -1
  139. data/test/{tc_xml_properties.rb → tc_properties.rb} +1 -7
  140. data/test/{tc_xml_reader.rb → tc_reader.rb} +1 -1
  141. data/test/tc_relaxng.rb +39 -0
  142. data/test/{tc_xml_sax_parser.rb → tc_sax_parser.rb} +1 -1
  143. data/test/{tc_xml_schema.rb → tc_schema.rb} +1 -1
  144. data/test/{tc_xml_traversal.rb → tc_traversal.rb} +1 -1
  145. data/test/{tc_xml_xinclude.rb → tc_xinclude.rb} +1 -1
  146. data/test/{tc_xml_xpath.rb → tc_xpath.rb} +1 -1
  147. data/test/{tc_xml_xpath_context.rb → tc_xpath_context.rb} +1 -1
  148. data/test/{tc_xml_xpointer.rb → tc_xpointer.rb} +1 -1
  149. data/test/test_suite.rb +26 -25
  150. metadata +100 -100
  151. data/benchmark/depixelate.rb +0 -632
  152. data/benchmark/hamlet.xml +0 -9055
  153. data/benchmark/sock_entries.xml +0 -507
  154. data/benchmark/throughput.rb +0 -39
  155. data/benchmark/xml_benchmarks.rb +0 -227
  156. data/mingw/libiconv-2.dll +0 -0
  157. data/mingw/libxml2-2.dll +0 -0
  158. data/mingw/libxml_ruby.so +0 -0
  159. data/test/gc.log +0 -0
  160. data/vc/libxml_ruby.sln +0 -20
  161. data/vc/libxml_ruby.vcproj +0 -389
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.8.1
4
+ version: 0.8.2
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: 2008-07-16 00:00:00 -06:00
12
+ date: 2008-07-21 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,25 +22,15 @@ extensions:
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - RAKEFILE
25
26
  - README
26
27
  - LICENSE
27
28
  - CHANGES
28
29
  - setup.rb
29
30
  - doc/rdoc
30
31
  - doc/rdoc/classes
31
- - doc/rdoc/created.rid
32
- - doc/rdoc/files
33
- - doc/rdoc/fr_class_index.html
34
- - doc/rdoc/fr_file_index.html
35
- - doc/rdoc/fr_method_index.html
36
- - doc/rdoc/index.html
37
- - doc/rdoc/rdoc-style.css
38
32
  - doc/rdoc/classes/LibXML
39
- - doc/rdoc/classes/LibXML.html
40
- - doc/rdoc/classes/singleton.html
41
- - doc/rdoc/classes/XML.html
42
33
  - doc/rdoc/classes/LibXML/XML
43
- - doc/rdoc/classes/LibXML/XML.html
44
34
  - doc/rdoc/classes/LibXML/XML/Attr.html
45
35
  - doc/rdoc/classes/LibXML/XML/Attributes.html
46
36
  - doc/rdoc/classes/LibXML/XML/Document.html
@@ -49,42 +39,44 @@ files:
49
39
  - doc/rdoc/classes/LibXML/XML/HTMLParser.html
50
40
  - doc/rdoc/classes/LibXML/XML/InputCallbacks.html
51
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
52
46
  - doc/rdoc/classes/LibXML/XML/Node.html
53
47
  - doc/rdoc/classes/LibXML/XML/NS.html
54
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
55
51
  - doc/rdoc/classes/LibXML/XML/Parser.html
56
52
  - doc/rdoc/classes/LibXML/XML/Reader.html
53
+ - doc/rdoc/classes/LibXML/XML/RelaxNG.html
57
54
  - doc/rdoc/classes/LibXML/XML/SaxParser.html
58
55
  - doc/rdoc/classes/LibXML/XML/Schema.html
59
56
  - doc/rdoc/classes/LibXML/XML/State.html
60
57
  - doc/rdoc/classes/LibXML/XML/Tree.html
61
58
  - doc/rdoc/classes/LibXML/XML/XInclude
59
+ - doc/rdoc/classes/LibXML/XML/XInclude/Error.html
62
60
  - doc/rdoc/classes/LibXML/XML/XInclude.html
63
61
  - doc/rdoc/classes/LibXML/XML/XMLParserOptions.html
64
62
  - doc/rdoc/classes/LibXML/XML/XPath
65
- - doc/rdoc/classes/LibXML/XML/XPath.html
66
- - doc/rdoc/classes/LibXML/XML/XPointer
67
- - doc/rdoc/classes/LibXML/XML/XPointer.html
68
- - doc/rdoc/classes/LibXML/XML/Node/FailedModify.html
69
- - doc/rdoc/classes/LibXML/XML/Node/Set.html
70
- - doc/rdoc/classes/LibXML/XML/Node/SetNamespace.html
71
- - doc/rdoc/classes/LibXML/XML/Node/UnknownType.html
72
- - doc/rdoc/classes/LibXML/XML/Parser/Context.html
73
- - doc/rdoc/classes/LibXML/XML/Parser/ParseError.html
74
- - doc/rdoc/classes/LibXML/XML/XInclude/Error.html
75
63
  - doc/rdoc/classes/LibXML/XML/XPath/Context.html
76
64
  - doc/rdoc/classes/LibXML/XML/XPath/InvalidPath.html
77
65
  - doc/rdoc/classes/LibXML/XML/XPath/Object.html
66
+ - doc/rdoc/classes/LibXML/XML/XPath.html
67
+ - doc/rdoc/classes/LibXML/XML/XPointer
78
68
  - doc/rdoc/classes/LibXML/XML/XPointer/Context
69
+ - doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.html
79
70
  - doc/rdoc/classes/LibXML/XML/XPointer/Context.html
80
71
  - doc/rdoc/classes/LibXML/XML/XPointer/InvalidExpression.html
81
- - doc/rdoc/classes/LibXML/XML/XPointer/Context/InvalidPath.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
82
78
  - doc/rdoc/files/CHANGES.html
83
79
  - doc/rdoc/files/ext
84
- - doc/rdoc/files/lib
85
- - doc/rdoc/files/LICENSE.html
86
- - doc/rdoc/files/README.html
87
- - doc/rdoc/files/VERSION.html
88
80
  - doc/rdoc/files/ext/libxml
89
81
  - doc/rdoc/files/ext/libxml/cbg_c.html
90
82
  - doc/rdoc/files/ext/libxml/libxml_c.html
@@ -100,6 +92,7 @@ files:
100
92
  - doc/rdoc/files/ext/libxml/ruby_xml_parser_c.html
101
93
  - doc/rdoc/files/ext/libxml/ruby_xml_parser_context_c.html
102
94
  - doc/rdoc/files/ext/libxml/ruby_xml_reader_c.html
95
+ - doc/rdoc/files/ext/libxml/ruby_xml_relaxng_c.html
103
96
  - doc/rdoc/files/ext/libxml/ruby_xml_sax_parser_c.html
104
97
  - doc/rdoc/files/ext/libxml/ruby_xml_schema_c.html
105
98
  - doc/rdoc/files/ext/libxml/ruby_xml_state_c.html
@@ -109,9 +102,8 @@ files:
109
102
  - doc/rdoc/files/ext/libxml/ruby_xml_xpath_object_c.html
110
103
  - doc/rdoc/files/ext/libxml/ruby_xml_xpointer_c.html
111
104
  - doc/rdoc/files/ext/libxml/ruby_xml_xpointer_context_c.html
105
+ - doc/rdoc/files/lib
112
106
  - doc/rdoc/files/lib/libxml
113
- - doc/rdoc/files/lib/libxml_rb.html
114
- - doc/rdoc/files/lib/xml
115
107
  - doc/rdoc/files/lib/libxml/attributes_rb.html
116
108
  - doc/rdoc/files/lib/libxml/attr_rb.html
117
109
  - doc/rdoc/files/lib/libxml/document_rb.html
@@ -121,8 +113,18 @@ files:
121
113
  - doc/rdoc/files/lib/libxml/parser_rb.html
122
114
  - doc/rdoc/files/lib/libxml/properties_rb.html
123
115
  - doc/rdoc/files/lib/libxml/tree_rb.html
116
+ - doc/rdoc/files/lib/libxml_rb.html
117
+ - doc/rdoc/files/lib/xml
124
118
  - doc/rdoc/files/lib/xml/libxml_rb.html
125
- - ext/libxml
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
126
128
  - ext/libxml/cbg.c
127
129
  - ext/libxml/extconf.rb
128
130
  - ext/libxml/libxml.c
@@ -151,6 +153,8 @@ files:
151
153
  - ext/libxml/ruby_xml_parser_context.h
152
154
  - ext/libxml/ruby_xml_reader.c
153
155
  - ext/libxml/ruby_xml_reader.h
156
+ - ext/libxml/ruby_xml_relaxng.c
157
+ - ext/libxml/ruby_xml_relaxng.h
154
158
  - ext/libxml/ruby_xml_sax_parser.c
155
159
  - ext/libxml/ruby_xml_sax_parser.h
156
160
  - ext/libxml/ruby_xml_schema.c
@@ -171,9 +175,9 @@ files:
171
175
  - ext/libxml/ruby_xml_xpointer_context.h
172
176
  - ext/libxml/sax_parser_callbacks.inc
173
177
  - ext/libxml/version.h
178
+ - ext/libxml/version.h.rej
179
+ - ext/mingw/Rakefile
174
180
  - lib/libxml
175
- - lib/libxml.rb
176
- - lib/xml
177
181
  - lib/libxml/attr.rb
178
182
  - lib/libxml/attributes.rb
179
183
  - lib/libxml/document.rb
@@ -183,15 +187,10 @@ files:
183
187
  - lib/libxml/parser_options.rb
184
188
  - lib/libxml/properties.rb
185
189
  - lib/libxml/tree.rb
190
+ - lib/libxml.rb
191
+ - lib/xml
186
192
  - lib/xml/libxml.rb
187
- - mingw/libiconv-2.dll
188
- - mingw/libxml2-2.dll
189
- - mingw/libxml_ruby.so
190
- - benchmark/depixelate.rb
191
- - benchmark/hamlet.xml
192
- - benchmark/sock_entries.xml
193
- - benchmark/throughput.rb
194
- - benchmark/xml_benchmarks.rb
193
+ - lib/xml.rb
195
194
  - test/etc_doc_to_s.rb
196
195
  - test/ets_copy_bug.rb
197
196
  - test/ets_copy_bug3.rb
@@ -201,50 +200,50 @@ files:
201
200
  - test/ets_node_gc.rb
202
201
  - test/ets_test.xml
203
202
  - test/ets_tsr.rb
204
- - test/gc.log
205
203
  - test/model
206
- - test/tc_deprecated_require.rb
207
- - test/tc_well_formed.rb
208
- - test/tc_xml_attributes.rb
209
- - test/tc_xml_document.rb
210
- - test/tc_xml_document_write.rb
211
- - test/tc_xml_dtd.rb
212
- - test/tc_xml_html_parser.rb
213
- - test/tc_xml_node.rb
214
- - test/tc_xml_node_attr.rb
215
- - test/tc_xml_node_cdata.rb
216
- - test/tc_xml_node_comment.rb
217
- - test/tc_xml_node_copy.rb
218
- - test/tc_xml_node_edit.rb
219
- - test/tc_xml_node_set.rb
220
- - test/tc_xml_node_set2.rb
221
- - test/tc_xml_node_text.rb
222
- - test/tc_xml_node_xlink.rb
223
- - test/tc_xml_parser.rb
224
- - test/tc_xml_parser_context.rb
225
- - test/tc_xml_properties.rb
226
- - test/tc_xml_reader.rb
227
- - test/tc_xml_sax_parser.rb
228
- - test/tc_xml_schema.rb
229
- - test/tc_xml_traversal.rb
230
- - test/tc_xml_xinclude.rb
231
- - test/tc_xml_xpath.rb
232
- - test/tc_xml_xpath_context.rb
233
- - test/tc_xml_xpointer.rb
234
- - test/test_suite.rb
235
204
  - test/model/books.xml
236
205
  - test/model/default_validation_bug.rb
237
206
  - test/model/merge_bug_data.xml
238
207
  - test/model/rubynet.xml
239
208
  - test/model/rubynet_project
240
209
  - test/model/saxtest.xml
210
+ - test/model/shiporder.rnc
211
+ - test/model/shiporder.rng
241
212
  - test/model/shiporder.xml
242
213
  - test/model/shiporder.xsd
243
214
  - test/model/simple.xml
244
215
  - test/model/soap.xml
245
216
  - test/model/xinclude.xml
246
- - vc/libxml_ruby.sln
247
- - vc/libxml_ruby.vcproj
217
+ - test/tc_attributes.rb
218
+ - test/tc_deprecated_require.rb
219
+ - test/tc_document.rb
220
+ - test/tc_document_write.rb
221
+ - test/tc_dtd.rb
222
+ - test/tc_html_parser.rb
223
+ - test/tc_node.rb
224
+ - test/tc_node_attr.rb
225
+ - test/tc_node_cdata.rb
226
+ - test/tc_node_comment.rb
227
+ - test/tc_node_copy.rb
228
+ - test/tc_node_edit.rb
229
+ - test/tc_node_set.rb
230
+ - test/tc_node_set2.rb
231
+ - test/tc_node_text.rb
232
+ - test/tc_node_xlink.rb
233
+ - test/tc_parser.rb
234
+ - test/tc_parser_context.rb
235
+ - test/tc_properties.rb
236
+ - test/tc_reader.rb
237
+ - test/tc_relaxng.rb
238
+ - test/tc_sax_parser.rb
239
+ - test/tc_schema.rb
240
+ - test/tc_traversal.rb
241
+ - test/tc_well_formed.rb
242
+ - test/tc_xinclude.rb
243
+ - test/tc_xpath.rb
244
+ - test/tc_xpath_context.rb
245
+ - test/tc_xpointer.rb
246
+ - test/test_suite.rb
248
247
  has_rdoc: true
249
248
  homepage: http://libxml.rubyforge.org/
250
249
  post_install_message:
@@ -268,36 +267,37 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
267
  requirements: []
269
268
 
270
269
  rubyforge_project: libxml
271
- rubygems_version: 1.0.1
270
+ rubygems_version: 1.2.0
272
271
  signing_key:
273
272
  specification_version: 2
274
273
  summary: Ruby libxml bindings
275
274
  test_files:
275
+ - test/tc_attributes.rb
276
276
  - test/tc_deprecated_require.rb
277
+ - test/tc_document.rb
278
+ - test/tc_document_write.rb
279
+ - test/tc_dtd.rb
280
+ - test/tc_html_parser.rb
281
+ - test/tc_node.rb
282
+ - test/tc_node_attr.rb
283
+ - test/tc_node_cdata.rb
284
+ - test/tc_node_comment.rb
285
+ - test/tc_node_copy.rb
286
+ - test/tc_node_edit.rb
287
+ - test/tc_node_set.rb
288
+ - test/tc_node_set2.rb
289
+ - test/tc_node_text.rb
290
+ - test/tc_node_xlink.rb
291
+ - test/tc_parser.rb
292
+ - test/tc_parser_context.rb
293
+ - test/tc_properties.rb
294
+ - test/tc_reader.rb
295
+ - test/tc_relaxng.rb
296
+ - test/tc_sax_parser.rb
297
+ - test/tc_schema.rb
298
+ - test/tc_traversal.rb
277
299
  - test/tc_well_formed.rb
278
- - test/tc_xml_attributes.rb
279
- - test/tc_xml_document.rb
280
- - test/tc_xml_document_write.rb
281
- - test/tc_xml_dtd.rb
282
- - test/tc_xml_html_parser.rb
283
- - test/tc_xml_node.rb
284
- - test/tc_xml_node_attr.rb
285
- - test/tc_xml_node_cdata.rb
286
- - test/tc_xml_node_comment.rb
287
- - test/tc_xml_node_copy.rb
288
- - test/tc_xml_node_edit.rb
289
- - test/tc_xml_node_set.rb
290
- - test/tc_xml_node_set2.rb
291
- - test/tc_xml_node_text.rb
292
- - test/tc_xml_node_xlink.rb
293
- - test/tc_xml_parser.rb
294
- - test/tc_xml_parser_context.rb
295
- - test/tc_xml_properties.rb
296
- - test/tc_xml_reader.rb
297
- - test/tc_xml_sax_parser.rb
298
- - test/tc_xml_schema.rb
299
- - test/tc_xml_traversal.rb
300
- - test/tc_xml_xinclude.rb
301
- - test/tc_xml_xpath.rb
302
- - test/tc_xml_xpath_context.rb
303
- - test/tc_xml_xpointer.rb
300
+ - test/tc_xinclude.rb
301
+ - test/tc_xpath.rb
302
+ - test/tc_xpath_context.rb
303
+ - test/tc_xpointer.rb
@@ -1,632 +0,0 @@
1
- require 'rubygems'
2
- require 'benchmark'
3
- require 'hpricot'
4
- require 'rexml/document'
5
- require 'libxml'
6
-
7
-
8
- # Taken from http://depixelate.com/2008/4/23/ruby-xml-parsing-benchmarks
9
-
10
- XML_STRING = DATA.read
11
-
12
- class Parse
13
- def self.libxml
14
- doc = XML::Parser.string(XML_STRING).parse
15
- ary = []
16
- doc.find('/*/*/*').each do |node|
17
- case node.name
18
- when 'ItemQueryRs'
19
- node.each_element do |child|
20
- ary << child.find_first('./ListID')
21
- end
22
- end
23
- end
24
- ary
25
- end
26
-
27
- def self.rexml
28
- doc = REXML::Document.new(XML_STRING)
29
- ary = []
30
- REXML::XPath.each(doc, '/*/*/*') do |node|
31
- case node.name
32
- when 'ItemQueryRs'
33
- node.elements.each do |element|
34
- ary << rexml_fetch(element, 'ListID')
35
- end
36
- end
37
- end
38
- ary
39
- end
40
-
41
- def self.hpricot
42
- doc = Hpricot.XML(XML_STRING)
43
- ary = []
44
- response_element = doc.search('/*/*/*').each do |node|
45
- next unless node.elem?
46
- case node.name
47
- when 'ItemQueryRs'
48
- node.containers.each do |element|
49
- ary << hpricot_fetch(element/'ListID')
50
- end
51
- end
52
- end
53
- ary
54
- end
55
-
56
- # rexml helper
57
- def self.rexml_fetch(node, name)
58
- e = REXML::XPath.first(node, name)
59
- e ? e.text : nil
60
- end
61
-
62
- # hpricot helper
63
- def self.hpricot_fetch(path)
64
- return nil if path.nil? || path.empty?
65
- path = path.first if path.is_a?(Array)
66
- path.innerHTML
67
- end
68
- end
69
-
70
- TIMES = 10
71
- Benchmark.bmbm do |x|
72
- x.report('libxml') { TIMES.times { Parse.libxml } }
73
- x.report('Hpricot') { TIMES.times { Parse.hpricot } }
74
- x.report('REXML') { TIMES.times { Parse.rexml } }
75
- end
76
-
77
- __END__
78
- <?xml version="1.0"?>
79
- <QBXML>
80
- <QBXMLMsgsRs>
81
- <ItemQueryRs requestID="1" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
82
- <ItemServiceRet>
83
- <ListID>240000-1071531214</ListID>
84
- <TimeCreated>2003-12-15T15:33:34-08:00</TimeCreated>
85
- <TimeModified>2003-12-15T15:34:51-08:00</TimeModified>
86
- <EditSequence>1071531291</EditSequence>
87
- <Name>Delivery</Name>
88
- <FullName>Delivery</FullName>
89
- <IsActive>true</IsActive>
90
- <Sublevel>0</Sublevel>
91
- <SalesTaxCodeRef>
92
- <ListID>20000-999021789</ListID>
93
- <FullName>Non</FullName>
94
- </SalesTaxCodeRef>
95
- <SalesOrPurchase>
96
- <Desc>Delivery Service Fee (free for orders over $100)</Desc>
97
- <Price>15.00</Price>
98
- <AccountRef>
99
- <ListID>610001-1071531179</ListID>
100
- <FullName>Service</FullName>
101
- </AccountRef>
102
- </SalesOrPurchase>
103
- </ItemServiceRet>
104
- <ItemServiceRet>
105
- <ListID>10000-934380927</ListID>
106
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
107
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
108
- <EditSequence>934380927</EditSequence>
109
- <Name>Design</Name>
110
- <FullName>Design</FullName>
111
- <IsActive>true</IsActive>
112
- <Sublevel>0</Sublevel>
113
- <SalesTaxCodeRef>
114
- <ListID>20000-999021789</ListID>
115
- <FullName>Non</FullName>
116
- </SalesTaxCodeRef>
117
- <SalesOrPurchase>
118
- <Desc>Custom Landscape Design</Desc>
119
- <Price>55.00</Price>
120
- <AccountRef>
121
- <ListID>150000-934380913</ListID>
122
- <FullName>Landscaping Services:Design Services</FullName>
123
- </AccountRef>
124
- </SalesOrPurchase>
125
- </ItemServiceRet>
126
- <ItemServiceRet>
127
- <ListID>20000-934380927</ListID>
128
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
129
- <TimeModified>1999-08-11T08:59:12-08:00</TimeModified>
130
- <EditSequence>934387152</EditSequence>
131
- <Name>Gardening</Name>
132
- <FullName>Gardening</FullName>
133
- <IsActive>true</IsActive>
134
- <Sublevel>0</Sublevel>
135
- <SalesTaxCodeRef>
136
- <ListID>20000-999021789</ListID>
137
- <FullName>Non</FullName>
138
- </SalesTaxCodeRef>
139
- <SalesOrPurchase>
140
- <Desc>Weekly gardening services</Desc>
141
- <Price>0.00</Price>
142
- <AccountRef>
143
- <ListID>1F0000-934380913</ListID>
144
- <FullName>Landscaping Services:Labor:Installation</FullName>
145
- </AccountRef>
146
- </SalesOrPurchase>
147
- </ItemServiceRet>
148
- <ItemServiceRet>
149
- <ListID>30000-934380927</ListID>
150
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
151
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
152
- <EditSequence>934380927</EditSequence>
153
- <Name>Installation</Name>
154
- <FullName>Installation</FullName>
155
- <IsActive>true</IsActive>
156
- <Sublevel>0</Sublevel>
157
- <SalesTaxCodeRef>
158
- <ListID>20000-999021789</ListID>
159
- <FullName>Non</FullName>
160
- </SalesTaxCodeRef>
161
- <SalesOrPurchase>
162
- <Desc>Installation of landscape design</Desc>
163
- <Price>35.00</Price>
164
- <AccountRef>
165
- <ListID>1F0000-934380913</ListID>
166
- <FullName>Landscaping Services:Labor:Installation</FullName>
167
- </AccountRef>
168
- </SalesOrPurchase>
169
- </ItemServiceRet>
170
- <ItemServiceRet>
171
- <ListID>40000-934380927</ListID>
172
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
173
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
174
- <EditSequence>934380927</EditSequence>
175
- <Name>Pest Control</Name>
176
- <FullName>Pest Control</FullName>
177
- <IsActive>true</IsActive>
178
- <Sublevel>0</Sublevel>
179
- <SalesTaxCodeRef>
180
- <ListID>20000-999021789</ListID>
181
- <FullName>Non</FullName>
182
- </SalesTaxCodeRef>
183
- <SalesOrPurchase>
184
- <Desc>Pest control services</Desc>
185
- <Price>0.00</Price>
186
- <AccountRef>
187
- <ListID>200000-934380913</ListID>
188
- <FullName>Landscaping Services:Labor:Maintenance &amp; Repairs</FullName>
189
- </AccountRef>
190
- </SalesOrPurchase>
191
- </ItemServiceRet>
192
- <ItemServiceRet>
193
- <ListID>2E0000-1071514896</ListID>
194
- <TimeCreated>2003-12-15T11:01:36-08:00</TimeCreated>
195
- <TimeModified>2003-12-15T14:42:51-08:00</TimeModified>
196
- <EditSequence>1071528171</EditSequence>
197
- <Name>Tree Removal</Name>
198
- <FullName>Tree Removal</FullName>
199
- <IsActive>true</IsActive>
200
- <Sublevel>0</Sublevel>
201
- <SalesTaxCodeRef>
202
- <ListID>20000-999021789</ListID>
203
- <FullName>Non</FullName>
204
- </SalesTaxCodeRef>
205
- <SalesOrPurchase>
206
- <Desc>Tree Removal Service</Desc>
207
- <Price>0.00</Price>
208
- <AccountRef>
209
- <ListID>610001-1071531179</ListID>
210
- <FullName>Service</FullName>
211
- </AccountRef>
212
- </SalesOrPurchase>
213
- </ItemServiceRet>
214
- <ItemServiceRet>
215
- <ListID>50000-934380927</ListID>
216
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
217
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
218
- <EditSequence>934380927</EditSequence>
219
- <Name>Trimming</Name>
220
- <FullName>Trimming</FullName>
221
- <IsActive>true</IsActive>
222
- <Sublevel>0</Sublevel>
223
- <SalesTaxCodeRef>
224
- <ListID>20000-999021789</ListID>
225
- <FullName>Non</FullName>
226
- </SalesTaxCodeRef>
227
- <SalesOrPurchase>
228
- <Desc>Tree and shrub trimming</Desc>
229
- <Price>35.00</Price>
230
- <AccountRef>
231
- <ListID>200000-934380913</ListID>
232
- <FullName>Landscaping Services:Labor:Maintenance &amp; Repairs</FullName>
233
- </AccountRef>
234
- </SalesOrPurchase>
235
- </ItemServiceRet>
236
- <ItemNonInventoryRet>
237
- <ListID>B0000-934380927</ListID>
238
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
239
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
240
- <EditSequence>934380927</EditSequence>
241
- <Name>Concrete</Name>
242
- <FullName>Concrete</FullName>
243
- <IsActive>true</IsActive>
244
- <Sublevel>0</Sublevel>
245
- <SalesTaxCodeRef>
246
- <ListID>10000-999021789</ListID>
247
- <FullName>Tax</FullName>
248
- </SalesTaxCodeRef>
249
- <SalesOrPurchase>
250
- <Desc>Concrete for fountain installation</Desc>
251
- <Price>0.00</Price>
252
- <AccountRef>
253
- <ListID>1B0000-934380913</ListID>
254
- <FullName>Landscaping Services:Job Materials:Fountains &amp; Garden Lighting</FullName>
255
- </AccountRef>
256
- </SalesOrPurchase>
257
- </ItemNonInventoryRet>
258
- <ItemNonInventoryRet>
259
- <ListID>C0000-934380927</ListID>
260
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
261
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
262
- <EditSequence>934380927</EditSequence>
263
- <Name>Deck Lumber</Name>
264
- <FullName>Deck Lumber</FullName>
265
- <IsActive>true</IsActive>
266
- <Sublevel>0</Sublevel>
267
- <SalesTaxCodeRef>
268
- <ListID>10000-999021789</ListID>
269
- <FullName>Tax</FullName>
270
- </SalesTaxCodeRef>
271
- <SalesOrPurchase>
272
- <Desc>Deck Lumber</Desc>
273
- <Price>0.00</Price>
274
- <AccountRef>
275
- <ListID>1A0000-934380913</ListID>
276
- <FullName>Landscaping Services:Job Materials:Decks &amp; Patios</FullName>
277
- </AccountRef>
278
- </SalesOrPurchase>
279
- </ItemNonInventoryRet>
280
- <ItemNonInventoryRet>
281
- <ListID>210000-1071530240</ListID>
282
- <TimeCreated>2003-12-15T15:17:20-08:00</TimeCreated>
283
- <TimeModified>2003-12-15T15:17:20-08:00</TimeModified>
284
- <EditSequence>1071530240</EditSequence>
285
- <Name>Fertilizer</Name>
286
- <FullName>Fertilizer</FullName>
287
- <IsActive>true</IsActive>
288
- <Sublevel>0</Sublevel>
289
- <SalesTaxCodeRef>
290
- <ListID>10000-999021789</ListID>
291
- <FullName>Tax</FullName>
292
- </SalesTaxCodeRef>
293
- <SalesOrPurchase>
294
- <Desc>Parent Item - Do Not Use</Desc>
295
- <Price>0.00</Price>
296
- <AccountRef>
297
- <ListID>600001-1071530232</ListID>
298
- <FullName>Retail Sales</FullName>
299
- </AccountRef>
300
- </SalesOrPurchase>
301
- </ItemNonInventoryRet>
302
- <ItemInventoryRet>
303
- <ListID>250000-1071523682</ListID>
304
- <TimeCreated>2003-12-15T13:28:02-08:00</TimeCreated>
305
- <TimeModified>2003-12-15T13:44:20-08:00</TimeModified>
306
- <EditSequence>1071524660</EditSequence>
307
- <Name>Irrigation Hose</Name>
308
- <FullName>Irrigation Hose</FullName>
309
- <IsActive>true</IsActive>
310
- <Sublevel>0</Sublevel>
311
- <SalesTaxCodeRef>
312
- <ListID>10000-999021789</ListID>
313
- <FullName>Tax</FullName>
314
- </SalesTaxCodeRef>
315
- <SalesDesc>Parent Item Vinyl Irrigation Line- Do Not Purchase or Sell</SalesDesc>
316
- <SalesPrice>0.00</SalesPrice>
317
- <IncomeAccountRef>
318
- <ListID>690001-1071523679</ListID>
319
- <FullName>Landscaping Services:Job Materials:Misc Materials</FullName>
320
- </IncomeAccountRef>
321
- <PurchaseDesc>Vinyl Irrigation LineParent Item - Do Not Purchase or Sell</PurchaseDesc>
322
- <PurchaseCost>0.00</PurchaseCost>
323
- <COGSAccountRef>
324
- <ListID>240000-934380913</ListID>
325
- <FullName>Cost of Goods Sold</FullName>
326
- </COGSAccountRef>
327
- <AssetAccountRef>
328
- <ListID>60000-934380912</ListID>
329
- <FullName>Inventory Asset</FullName>
330
- </AssetAccountRef>
331
- <ReorderPoint>-1</ReorderPoint>
332
- <QuantityOnHand>0</QuantityOnHand>
333
- <AverageCost>0.00</AverageCost>
334
- <QuantityOnOrder>0</QuantityOnOrder>
335
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
336
- </ItemInventoryRet>
337
- <ItemInventoryRet>
338
- <ListID>270000-1071524193</ListID>
339
- <TimeCreated>2003-12-15T13:36:33-08:00</TimeCreated>
340
- <TimeModified>2003-12-15T13:38:13-08:00</TimeModified>
341
- <EditSequence>1071524293</EditSequence>
342
- <Name>1/2" Line</Name>
343
- <FullName>Irrigation Hose:1/2" Line</FullName>
344
- <IsActive>true</IsActive>
345
- <ParentRef>
346
- <ListID>250000-1071523682</ListID>
347
- <FullName>Irrigation Hose</FullName>
348
- </ParentRef>
349
- <Sublevel>1</Sublevel>
350
- <SalesTaxCodeRef>
351
- <ListID>10000-999021789</ListID>
352
- <FullName>Tax</FullName>
353
- </SalesTaxCodeRef>
354
- <SalesDesc>1/2" Vinyl Irrigation Line</SalesDesc>
355
- <SalesPrice>0.15</SalesPrice>
356
- <IncomeAccountRef>
357
- <ListID>690001-1071523679</ListID>
358
- <FullName>Landscaping Services:Job Materials:Misc Materials</FullName>
359
- </IncomeAccountRef>
360
- <PurchaseDesc>1/2" Vinyl Irrigation Line</PurchaseDesc>
361
- <PurchaseCost>0.12</PurchaseCost>
362
- <COGSAccountRef>
363
- <ListID>240000-934380913</ListID>
364
- <FullName>Cost of Goods Sold</FullName>
365
- </COGSAccountRef>
366
- <AssetAccountRef>
367
- <ListID>60000-934380912</ListID>
368
- <FullName>Inventory Asset</FullName>
369
- </AssetAccountRef>
370
- <ReorderPoint>1500</ReorderPoint>
371
- <QuantityOnHand>1783</QuantityOnHand>
372
- <AverageCost>0.12</AverageCost>
373
- <QuantityOnOrder>0</QuantityOnOrder>
374
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
375
- </ItemInventoryRet>
376
- <ItemInventoryRet>
377
- <ListID>260000-1071523858</ListID>
378
- <TimeCreated>2003-12-15T13:30:58-08:00</TimeCreated>
379
- <TimeModified>2003-12-15T13:37:52-08:00</TimeModified>
380
- <EditSequence>1071524272</EditSequence>
381
- <Name>1/4" Line</Name>
382
- <FullName>Irrigation Hose:1/4" Line</FullName>
383
- <IsActive>true</IsActive>
384
- <ParentRef>
385
- <ListID>250000-1071523682</ListID>
386
- <FullName>Irrigation Hose</FullName>
387
- </ParentRef>
388
- <Sublevel>1</Sublevel>
389
- <SalesTaxCodeRef>
390
- <ListID>10000-999021789</ListID>
391
- <FullName>Tax</FullName>
392
- </SalesTaxCodeRef>
393
- <SalesDesc>1/4" Vinyl Irrigation Line</SalesDesc>
394
- <SalesPrice>0.10</SalesPrice>
395
- <IncomeAccountRef>
396
- <ListID>690001-1071523679</ListID>
397
- <FullName>Landscaping Services:Job Materials:Misc Materials</FullName>
398
- </IncomeAccountRef>
399
- <PurchaseDesc>1/4" Vinyl Irrigation Line</PurchaseDesc>
400
- <PurchaseCost>0.07</PurchaseCost>
401
- <COGSAccountRef>
402
- <ListID>240000-934380913</ListID>
403
- <FullName>Cost of Goods Sold</FullName>
404
- </COGSAccountRef>
405
- <AssetAccountRef>
406
- <ListID>60000-934380912</ListID>
407
- <FullName>Inventory Asset</FullName>
408
- </AssetAccountRef>
409
- <ReorderPoint>500</ReorderPoint>
410
- <QuantityOnHand>1235</QuantityOnHand>
411
- <AverageCost>0.07</AverageCost>
412
- <QuantityOnOrder>0</QuantityOnOrder>
413
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
414
- </ItemInventoryRet>
415
- <ItemInventoryRet>
416
- <ListID>280000-1071524260</ListID>
417
- <TimeCreated>2003-12-15T13:37:40-08:00</TimeCreated>
418
- <TimeModified>2003-12-15T13:37:40-08:00</TimeModified>
419
- <EditSequence>1071524260</EditSequence>
420
- <Name>3/4" Line</Name>
421
- <FullName>Irrigation Hose:3/4" Line</FullName>
422
- <IsActive>true</IsActive>
423
- <ParentRef>
424
- <ListID>250000-1071523682</ListID>
425
- <FullName>Irrigation Hose</FullName>
426
- </ParentRef>
427
- <Sublevel>1</Sublevel>
428
- <SalesTaxCodeRef>
429
- <ListID>10000-999021789</ListID>
430
- <FullName>Tax</FullName>
431
- </SalesTaxCodeRef>
432
- <SalesDesc>3/4" Vinyl Irrigation Line</SalesDesc>
433
- <SalesPrice>0.27</SalesPrice>
434
- <IncomeAccountRef>
435
- <ListID>690001-1071523679</ListID>
436
- <FullName>Landscaping Services:Job Materials:Misc Materials</FullName>
437
- </IncomeAccountRef>
438
- <PurchaseDesc>3/4" Vinyl Irrigation Line</PurchaseDesc>
439
- <PurchaseCost>0.18</PurchaseCost>
440
- <COGSAccountRef>
441
- <ListID>240000-934380913</ListID>
442
- <FullName>Cost of Goods Sold</FullName>
443
- </COGSAccountRef>
444
- <AssetAccountRef>
445
- <ListID>60000-934380912</ListID>
446
- <FullName>Inventory Asset</FullName>
447
- </AssetAccountRef>
448
- <ReorderPoint>1500</ReorderPoint>
449
- <QuantityOnHand>2670</QuantityOnHand>
450
- <AverageCost>0.18</AverageCost>
451
- <QuantityOnOrder>0</QuantityOnOrder>
452
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
453
- </ItemInventoryRet>
454
- <ItemInventoryRet>
455
- <ListID>60000-934380927</ListID>
456
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
457
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
458
- <EditSequence>934380927</EditSequence>
459
- <Name>Lighting</Name>
460
- <FullName>Lighting</FullName>
461
- <IsActive>true</IsActive>
462
- <Sublevel>0</Sublevel>
463
- <SalesTaxCodeRef>
464
- <ListID>10000-999021789</ListID>
465
- <FullName>Tax</FullName>
466
- </SalesTaxCodeRef>
467
- <SalesDesc>Garden Lighting</SalesDesc>
468
- <SalesPrice>0.00</SalesPrice>
469
- <IncomeAccountRef>
470
- <ListID>1B0000-934380913</ListID>
471
- <FullName>Landscaping Services:Job Materials:Fountains &amp; Garden Lighting</FullName>
472
- </IncomeAccountRef>
473
- <PurchaseDesc>Garden Lighting</PurchaseDesc>
474
- <PurchaseCost>0.00</PurchaseCost>
475
- <COGSAccountRef>
476
- <ListID>240000-934380913</ListID>
477
- <FullName>Cost of Goods Sold</FullName>
478
- </COGSAccountRef>
479
- <AssetAccountRef>
480
- <ListID>60000-934380912</ListID>
481
- <FullName>Inventory Asset</FullName>
482
- </AssetAccountRef>
483
- <QuantityOnHand>94</QuantityOnHand>
484
- <AverageCost>14.80</AverageCost>
485
- <QuantityOnOrder>28</QuantityOnOrder>
486
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
487
- </ItemInventoryRet>
488
- <ItemInventoryRet>
489
- <ListID>70000-934380927</ListID>
490
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
491
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
492
- <EditSequence>934380927</EditSequence>
493
- <Name>Pump</Name>
494
- <FullName>Pump</FullName>
495
- <IsActive>true</IsActive>
496
- <Sublevel>0</Sublevel>
497
- <SalesTaxCodeRef>
498
- <ListID>10000-999021789</ListID>
499
- <FullName>Tax</FullName>
500
- </SalesTaxCodeRef>
501
- <SalesDesc>Fountain pump</SalesDesc>
502
- <SalesPrice>75.00</SalesPrice>
503
- <IncomeAccountRef>
504
- <ListID>1B0000-934380913</ListID>
505
- <FullName>Landscaping Services:Job Materials:Fountains &amp; Garden Lighting</FullName>
506
- </IncomeAccountRef>
507
- <PurchaseDesc>Fountain pump #198-30</PurchaseDesc>
508
- <PurchaseCost>56.00</PurchaseCost>
509
- <COGSAccountRef>
510
- <ListID>240000-934380913</ListID>
511
- <FullName>Cost of Goods Sold</FullName>
512
- </COGSAccountRef>
513
- <AssetAccountRef>
514
- <ListID>60000-934380912</ListID>
515
- <FullName>Inventory Asset</FullName>
516
- </AssetAccountRef>
517
- <QuantityOnHand>48</QuantityOnHand>
518
- <AverageCost>53.93</AverageCost>
519
- <QuantityOnOrder>0</QuantityOnOrder>
520
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
521
- </ItemInventoryRet>
522
- <ItemInventoryRet>
523
- <ListID>80000-934380927</ListID>
524
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
525
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
526
- <EditSequence>934380927</EditSequence>
527
- <Name>Soil</Name>
528
- <FullName>Soil</FullName>
529
- <IsActive>true</IsActive>
530
- <Sublevel>0</Sublevel>
531
- <SalesTaxCodeRef>
532
- <ListID>10000-999021789</ListID>
533
- <FullName>Tax</FullName>
534
- </SalesTaxCodeRef>
535
- <SalesDesc>Soil, 2 cubic ft bag</SalesDesc>
536
- <SalesPrice>6.75</SalesPrice>
537
- <IncomeAccountRef>
538
- <ListID>1C0000-934380913</ListID>
539
- <FullName>Landscaping Services:Job Materials:Plants and Sod</FullName>
540
- </IncomeAccountRef>
541
- <PurchaseDesc>Soil, 2 cubic ft bag</PurchaseDesc>
542
- <PurchaseCost>5.30</PurchaseCost>
543
- <COGSAccountRef>
544
- <ListID>240000-934380913</ListID>
545
- <FullName>Cost of Goods Sold</FullName>
546
- </COGSAccountRef>
547
- <PrefVendorRef>
548
- <ListID>10000-934380927</ListID>
549
- <FullName>Middlefield Nursery</FullName>
550
- </PrefVendorRef>
551
- <AssetAccountRef>
552
- <ListID>60000-934380912</ListID>
553
- <FullName>Inventory Asset</FullName>
554
- </AssetAccountRef>
555
- <ReorderPoint>25</ReorderPoint>
556
- <QuantityOnHand>0</QuantityOnHand>
557
- <AverageCost>5.30</AverageCost>
558
- <QuantityOnOrder>6</QuantityOnOrder>
559
- <QuantityOnSalesOrder>10</QuantityOnSalesOrder>
560
- </ItemInventoryRet>
561
- <ItemInventoryRet>
562
- <ListID>90000-934380927</ListID>
563
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
564
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
565
- <EditSequence>934380927</EditSequence>
566
- <Name>Sprinkler Hds</Name>
567
- <FullName>Sprinkler Hds</FullName>
568
- <IsActive>true</IsActive>
569
- <Sublevel>0</Sublevel>
570
- <SalesTaxCodeRef>
571
- <ListID>10000-999021789</ListID>
572
- <FullName>Tax</FullName>
573
- </SalesTaxCodeRef>
574
- <SalesDesc>Sprinkler heads</SalesDesc>
575
- <SalesPrice>0.00</SalesPrice>
576
- <IncomeAccountRef>
577
- <ListID>1D0000-934380913</ListID>
578
- <FullName>Landscaping Services:Job Materials:Sprinklers &amp; Drip systems</FullName>
579
- </IncomeAccountRef>
580
- <PurchaseDesc>Sprinkler head #BLS9081-09</PurchaseDesc>
581
- <PurchaseCost>0.00</PurchaseCost>
582
- <COGSAccountRef>
583
- <ListID>240000-934380913</ListID>
584
- <FullName>Cost of Goods Sold</FullName>
585
- </COGSAccountRef>
586
- <AssetAccountRef>
587
- <ListID>60000-934380912</ListID>
588
- <FullName>Inventory Asset</FullName>
589
- </AssetAccountRef>
590
- <QuantityOnHand>69</QuantityOnHand>
591
- <AverageCost>6.38</AverageCost>
592
- <QuantityOnOrder>36</QuantityOnOrder>
593
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
594
- </ItemInventoryRet>
595
- <ItemInventoryRet>
596
- <ListID>A0000-934380927</ListID>
597
- <TimeCreated>1999-08-11T07:15:27-08:00</TimeCreated>
598
- <TimeModified>1999-08-11T07:15:27-08:00</TimeModified>
599
- <EditSequence>934380927</EditSequence>
600
- <Name>Sprkl pipes</Name>
601
- <FullName>Sprkl pipes</FullName>
602
- <IsActive>true</IsActive>
603
- <Sublevel>0</Sublevel>
604
- <SalesTaxCodeRef>
605
- <ListID>10000-999021789</ListID>
606
- <FullName>Tax</FullName>
607
- </SalesTaxCodeRef>
608
- <SalesDesc>Plastic sprinkler piping</SalesDesc>
609
- <SalesPrice>2.75</SalesPrice>
610
- <IncomeAccountRef>
611
- <ListID>1D0000-934380913</ListID>
612
- <FullName>Landscaping Services:Job Materials:Sprinklers &amp; Drip systems</FullName>
613
- </IncomeAccountRef>
614
- <PurchaseDesc>Plastic sprinkler piping #1098-20</PurchaseDesc>
615
- <PurchaseCost>2.10</PurchaseCost>
616
- <COGSAccountRef>
617
- <ListID>240000-934380913</ListID>
618
- <FullName>Cost of Goods Sold</FullName>
619
- </COGSAccountRef>
620
- <AssetAccountRef>
621
- <ListID>60000-934380912</ListID>
622
- <FullName>Inventory Asset</FullName>
623
- </AssetAccountRef>
624
- <ReorderPoint>250</ReorderPoint>
625
- <QuantityOnHand>826</QuantityOnHand>
626
- <AverageCost>2.10</AverageCost>
627
- <QuantityOnOrder>115</QuantityOnOrder>
628
- <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
629
- </ItemInventoryRet>
630
- </ItemQueryRs>
631
- </QBXMLMsgsRs>
632
- </QBXML>