xml-smart 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. data/AUTHORS +4 -0
  2. data/COPYING +504 -0
  3. data/README.rdoc +55 -0
  4. data/Rakefile +15 -0
  5. data/example/EXAMPLE.xml +18 -0
  6. data/example/xpath_visual.rb +54 -0
  7. data/lib/xml/XSDtoRNG.xsl +448 -0
  8. data/lib/xml/smart.rb +177 -0
  9. data/lib/xml/smart_dom.rb +118 -0
  10. data/lib/xml/smart_domattribute.rb +34 -0
  11. data/lib/xml/smart_domattributeset.rb +62 -0
  12. data/lib/xml/smart_domelement.rb +213 -0
  13. data/lib/xml/smart_domnamespace.rb +32 -0
  14. data/lib/xml/smart_domnamespaceset.rb +125 -0
  15. data/lib/xml/smart_domnodeset.rb +59 -0
  16. data/lib/xml/smart_domother.rb +16 -0
  17. data/lib/xml/smart_domtext.rb +25 -0
  18. data/lib/xml/smart_qname.rb +34 -0
  19. data/test/1.xml +1 -0
  20. data/test/2.xml +1 -0
  21. data/test/3.xml +1 -0
  22. data/test/EXAMPLE-NS.xml +18 -0
  23. data/test/EXAMPLE-NSE.xml +18 -0
  24. data/test/EXAMPLE.str.xml +6 -0
  25. data/test/EXAMPLE.str.xml.test +6 -0
  26. data/test/EXAMPLE.tmp.xml +4 -0
  27. data/test/EXAMPLE.tmp.xml.test +4 -0
  28. data/test/EXAMPLE.xml +17 -0
  29. data/test/HELLO-MORE.xml +1 -0
  30. data/test/HELLO.rng +9 -0
  31. data/test/HELLO.xml +8 -0
  32. data/test/HELLO.xsd +16 -0
  33. data/test/XSL_BASE.xml +17 -0
  34. data/test/XSL_BASE.xml.test +16 -0
  35. data/test/XSL_DOCUMENT.xml +48 -0
  36. data/test/concurrent.xml +1 -0
  37. data/test/smartrunner.rb +25 -0
  38. data/test/tc_add.rb +21 -0
  39. data/test/tc_basic.rb +108 -0
  40. data/test/tc_concurrent.rb +73 -0
  41. data/test/tc_copy.rb +41 -0
  42. data/test/tc_create.rb +32 -0
  43. data/test/tc_delete.rb +52 -0
  44. data/test/tc_move_elements.rb +24 -0
  45. data/test/tc_namespace_default.rb +70 -0
  46. data/test/tc_namespace_detailed.rb +44 -0
  47. data/test/tc_namespace_find.rb +22 -0
  48. data/test/tc_nested.rb +26 -0
  49. data/test/tc_qname.rb +30 -0
  50. data/test/tc_relaxng.rb +30 -0
  51. data/test/tc_set_or_replace.rb +57 -0
  52. data/test/tc_sort.rb +18 -0
  53. data/test/tc_string.rb +41 -0
  54. data/test/tc_todoc.rb +27 -0
  55. data/test/tc_write.rb +19 -0
  56. data/test/tc_xinclude.rb +26 -0
  57. data/test/tc_xmlschema.rb +30 -0
  58. data/test/tc_xpath.rb +16 -0
  59. data/test/tc_xpath_attrs.rb +24 -0
  60. data/test/tc_xpath_functions.rb +12 -0
  61. data/test/tc_xpath_root.rb +23 -0
  62. data/test/tc_xsl.rb +22 -0
  63. data/xml-smart.gemspec +26 -0
  64. metadata +201 -0
metadata ADDED
@@ -0,0 +1,201 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xml-smart
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Juergen eTM Mangler
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: &84340440 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *84340440
25
+ - !ruby/object:Gem::Dependency
26
+ name: lockfile
27
+ requirement: &84339490 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *84339490
36
+ - !ruby/object:Gem::Dependency
37
+ name: term-ansicolor
38
+ requirement: &84338210 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *84338210
47
+ - !ruby/object:Gem::Dependency
48
+ name: minitest
49
+ requirement: &84362640 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *84362640
58
+ description: ! 'Write useful stuff.
59
+
60
+
61
+ Also see http://www.wst.univie.ac.at/~mangler/xml-smart/.
62
+
63
+ '
64
+ email: juergen.mangler@gmail.com
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files:
68
+ - README.rdoc
69
+ files:
70
+ - lib/xml/smart_domnamespaceset.rb
71
+ - lib/xml/smart_domattribute.rb
72
+ - lib/xml/smart_domnamespace.rb
73
+ - lib/xml/smart_domnodeset.rb
74
+ - lib/xml/smart_domtext.rb
75
+ - lib/xml/smart_dom.rb
76
+ - lib/xml/smart_domelement.rb
77
+ - lib/xml/smart_domother.rb
78
+ - lib/xml/smart_qname.rb
79
+ - lib/xml/XSDtoRNG.xsl
80
+ - lib/xml/smart_domattributeset.rb
81
+ - lib/xml/smart.rb
82
+ - example/EXAMPLE.xml
83
+ - example/xpath_visual.rb
84
+ - COPYING
85
+ - Rakefile
86
+ - xml-smart.gemspec
87
+ - README.rdoc
88
+ - AUTHORS
89
+ - test/tc_delete.rb
90
+ - test/tc_xpath_attrs.rb
91
+ - test/tc_xpath_functions.rb
92
+ - test/tc_sort.rb
93
+ - test/tc_xmlschema.rb
94
+ - test/tc_move_elements.rb
95
+ - test/tc_add.rb
96
+ - test/tc_namespace_detailed.rb
97
+ - test/tc_copy.rb
98
+ - test/tc_namespace_default.rb
99
+ - test/tc_string.rb
100
+ - test/tc_set_or_replace.rb
101
+ - test/tc_write.rb
102
+ - test/tc_xsl.rb
103
+ - test/tc_create.rb
104
+ - test/tc_nested.rb
105
+ - test/tc_xpath_root.rb
106
+ - test/tc_qname.rb
107
+ - test/tc_todoc.rb
108
+ - test/tc_concurrent.rb
109
+ - test/tc_basic.rb
110
+ - test/tc_namespace_find.rb
111
+ - test/tc_relaxng.rb
112
+ - test/tc_xinclude.rb
113
+ - test/tc_xpath.rb
114
+ - test/HELLO.xml
115
+ - test/EXAMPLE.tmp.xml
116
+ - test/2.xml
117
+ - test/HELLO-MORE.xml
118
+ - test/EXAMPLE-NSE.xml
119
+ - test/EXAMPLE.xml
120
+ - test/EXAMPLE.str.xml
121
+ - test/concurrent.xml
122
+ - test/EXAMPLE-NS.xml
123
+ - test/XSL_DOCUMENT.xml
124
+ - test/1.xml
125
+ - test/XSL_BASE.xml
126
+ - test/3.xml
127
+ - test/HELLO.rng
128
+ - test/HELLO.xsd
129
+ - test/XSL_BASE.xml.test
130
+ - test/EXAMPLE.str.xml.test
131
+ - test/EXAMPLE.tmp.xml.test
132
+ - test/smartrunner.rb
133
+ homepage: http://www.wst.univie.ac.at/~mangler/xml-smart/
134
+ licenses: []
135
+ post_install_message:
136
+ rdoc_options: []
137
+ require_paths:
138
+ - lib
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ requirements: []
152
+ rubyforge_project:
153
+ rubygems_version: 1.8.11
154
+ signing_key:
155
+ specification_version: 3
156
+ summary: An xml library that doesn't suck - since 2004.
157
+ test_files:
158
+ - test/tc_delete.rb
159
+ - test/tc_xpath_attrs.rb
160
+ - test/tc_xpath_functions.rb
161
+ - test/tc_sort.rb
162
+ - test/tc_xmlschema.rb
163
+ - test/tc_move_elements.rb
164
+ - test/tc_add.rb
165
+ - test/tc_namespace_detailed.rb
166
+ - test/tc_copy.rb
167
+ - test/tc_namespace_default.rb
168
+ - test/tc_string.rb
169
+ - test/tc_set_or_replace.rb
170
+ - test/tc_write.rb
171
+ - test/tc_xsl.rb
172
+ - test/tc_create.rb
173
+ - test/tc_nested.rb
174
+ - test/tc_xpath_root.rb
175
+ - test/tc_qname.rb
176
+ - test/tc_todoc.rb
177
+ - test/tc_concurrent.rb
178
+ - test/tc_basic.rb
179
+ - test/tc_namespace_find.rb
180
+ - test/tc_relaxng.rb
181
+ - test/tc_xinclude.rb
182
+ - test/tc_xpath.rb
183
+ - test/HELLO.xml
184
+ - test/EXAMPLE.tmp.xml
185
+ - test/2.xml
186
+ - test/HELLO-MORE.xml
187
+ - test/EXAMPLE-NSE.xml
188
+ - test/EXAMPLE.xml
189
+ - test/EXAMPLE.str.xml
190
+ - test/concurrent.xml
191
+ - test/EXAMPLE-NS.xml
192
+ - test/XSL_DOCUMENT.xml
193
+ - test/1.xml
194
+ - test/XSL_BASE.xml
195
+ - test/3.xml
196
+ - test/HELLO.rng
197
+ - test/HELLO.xsd
198
+ - test/XSL_BASE.xml.test
199
+ - test/EXAMPLE.str.xml.test
200
+ - test/EXAMPLE.tmp.xml.test
201
+ - test/smartrunner.rb