kwaff 1.0.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 (85) hide show
  1. data/COPYING +340 -0
  2. data/ChangeLog.txt +118 -0
  3. data/README.txt +96 -0
  4. data/bin/kwaff +131 -0
  5. data/doc/docstyle.css +307 -0
  6. data/doc/examples.html +1283 -0
  7. data/doc/users-guide.html +395 -0
  8. data/examples/Makefile +17 -0
  9. data/examples/ant/Makefile +7 -0
  10. data/examples/ant/build.kwaff +57 -0
  11. data/examples/hibernate/AuctionItem.hbm.kwaff +45 -0
  12. data/examples/hibernate/Bid.hbm.kwaff +42 -0
  13. data/examples/hibernate/Makefile +9 -0
  14. data/examples/hibernate/User.hbm.kwaff +65 -0
  15. data/examples/hibernate/hibernate.cfg.kwaff +17 -0
  16. data/examples/seasar2/Makefile +9 -0
  17. data/examples/seasar2/seasar2.kwaff +62 -0
  18. data/examples/servlet/Makefile +9 -0
  19. data/examples/servlet/web.kwaff +37 -0
  20. data/examples/spring/Makefile +9 -0
  21. data/examples/spring/applicationContext.kwaff +147 -0
  22. data/examples/xhtml/Makefile +9 -0
  23. data/examples/xhtml/README.kwaff +84 -0
  24. data/examples/xi/Makefile +9 -0
  25. data/examples/xi/bbs.kwaff +58 -0
  26. data/lib/kwaff.rb +85 -0
  27. data/lib/kwaff/doctype.rb +124 -0
  28. data/lib/kwaff/doctypes.yaml +138 -0
  29. data/lib/kwaff/errors.rb +26 -0
  30. data/lib/kwaff/node.rb +101 -0
  31. data/lib/kwaff/optparse.rb +101 -0
  32. data/lib/kwaff/orderedhash.rb +56 -0
  33. data/lib/kwaff/parser.rb +342 -0
  34. data/lib/kwaff/rexml.rb +394 -0
  35. data/lib/kwaff/translator.rb +275 -0
  36. data/setup.rb +1331 -0
  37. data/test/ex101.exp +10 -0
  38. data/test/ex101.in +8 -0
  39. data/test/ex102.exp +14 -0
  40. data/test/ex102.in +16 -0
  41. data/test/ex103.exp +13 -0
  42. data/test/ex103.in +13 -0
  43. data/test/ex104.exp +24 -0
  44. data/test/ex104.in +24 -0
  45. data/test/ex105.exp +12 -0
  46. data/test/ex105.in +18 -0
  47. data/test/ex106.exp +22 -0
  48. data/test/ex106.in +21 -0
  49. data/test/ex107.exp +14 -0
  50. data/test/ex107.in +14 -0
  51. data/test/ex111.exp +7 -0
  52. data/test/ex111.in +13 -0
  53. data/test/ex112.exp +15 -0
  54. data/test/ex112.in +16 -0
  55. data/test/ex113.exp +23 -0
  56. data/test/ex113.in +22 -0
  57. data/test/ex114.exp +12 -0
  58. data/test/ex114.in +17 -0
  59. data/test/ex115.exp +9 -0
  60. data/test/ex115.in +12 -0
  61. data/test/ex121.exp +10 -0
  62. data/test/ex121.in +8 -0
  63. data/test/ex122.exp +10 -0
  64. data/test/ex122.in +8 -0
  65. data/test/ex301.exp +13 -0
  66. data/test/ex301.in +14 -0
  67. data/test/ex302.exp +15 -0
  68. data/test/ex302.in +18 -0
  69. data/test/ex303.exp +15 -0
  70. data/test/ex303.in +16 -0
  71. data/test/ex304.exp +17 -0
  72. data/test/ex304.in +15 -0
  73. data/test/ex311.exp +18 -0
  74. data/test/ex311.in +32 -0
  75. data/test/ex312.exp +21 -0
  76. data/test/ex312.in +18 -0
  77. data/test/ex313.exp +20 -0
  78. data/test/ex313.in +33 -0
  79. data/test/ex314.exp +34 -0
  80. data/test/ex314.in +24 -0
  81. data/test/ex801.exp +16 -0
  82. data/test/ex801.in +15 -0
  83. data/test/test.rb +273 -0
  84. data/todo.txt +1 -0
  85. metadata +132 -0
@@ -0,0 +1 @@
1
+ .- [_] XML Schema support, especially for web.xml 2.4
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.8.10
3
+ specification_version: 1
4
+ name: kwaff
5
+ version: !ruby/object:Gem::Version
6
+ version: 1.0.0
7
+ date: 2005-06-18
8
+ summary: a friendly formatter to generate XHML
9
+ require_paths:
10
+ - lib
11
+ email:
12
+ homepage: http://www.kuwata-lab.com/kwaff/
13
+ rubyforge_project:
14
+ description: "Kwaff is a pretty tool to convert Kwaff format document into XML document, and
15
+ also convert XML into Kwaff. Kwaff format is a friendly format for human to read
16
+ and write than XML. Kwaff format makes XML as easy as YAML to read and write."
17
+ autorequire:
18
+ default_executable:
19
+ bindir: bin
20
+ has_rdoc: false
21
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
22
+ requirements:
23
+ -
24
+ - ">"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.0
27
+ version:
28
+ platform: ruby
29
+ authors:
30
+ - Makoto Kuwata
31
+ files:
32
+ - lib/kwaff.rb
33
+ - lib/kwaff
34
+ - lib/kwaff/doctype.rb
35
+ - lib/kwaff/errors.rb
36
+ - lib/kwaff/node.rb
37
+ - lib/kwaff/optparse.rb
38
+ - lib/kwaff/orderedhash.rb
39
+ - lib/kwaff/parser.rb
40
+ - lib/kwaff/rexml.rb
41
+ - lib/kwaff/translator.rb
42
+ - lib/kwaff/doctypes.yaml
43
+ - bin/kwaff
44
+ - examples/Makefile
45
+ - examples/seasar2
46
+ - examples/xi
47
+ - examples/hibernate
48
+ - examples/ant
49
+ - examples/spring
50
+ - examples/servlet
51
+ - examples/xhtml
52
+ - examples/seasar2/seasar2.kwaff
53
+ - examples/seasar2/Makefile
54
+ - examples/xi/bbs.kwaff
55
+ - examples/xi/Makefile
56
+ - examples/hibernate/hibernate.cfg.kwaff
57
+ - examples/hibernate/User.hbm.kwaff
58
+ - examples/hibernate/Bid.hbm.kwaff
59
+ - examples/hibernate/Makefile
60
+ - examples/hibernate/AuctionItem.hbm.kwaff
61
+ - examples/ant/build.kwaff
62
+ - examples/ant/Makefile
63
+ - examples/spring/Makefile
64
+ - examples/spring/applicationContext.kwaff
65
+ - examples/servlet/web.kwaff
66
+ - examples/servlet/Makefile
67
+ - examples/xhtml/README.kwaff
68
+ - examples/xhtml/Makefile
69
+ - test/ex101.exp
70
+ - test/ex101.in
71
+ - test/ex102.exp
72
+ - test/ex102.in
73
+ - test/ex103.exp
74
+ - test/ex103.in
75
+ - test/ex104.exp
76
+ - test/ex104.in
77
+ - test/ex111.exp
78
+ - test/ex111.in
79
+ - test/ex112.exp
80
+ - test/ex112.in
81
+ - test/ex301.exp
82
+ - test/ex301.in
83
+ - test/ex302.exp
84
+ - test/ex302.in
85
+ - test/ex303.exp
86
+ - test/ex303.in
87
+ - test/ex304.exp
88
+ - test/ex304.in
89
+ - test/ex801.exp
90
+ - test/ex801.in
91
+ - test/test.rb
92
+ - test/ex105.exp
93
+ - test/ex106.exp
94
+ - test/ex105.in
95
+ - test/ex106.in
96
+ - test/ex311.exp
97
+ - test/ex113.exp
98
+ - test/ex312.exp
99
+ - test/ex114.exp
100
+ - test/ex313.exp
101
+ - test/ex314.exp
102
+ - test/ex122.in
103
+ - test/ex114.in
104
+ - test/ex312.in
105
+ - test/ex314.in
106
+ - test/ex121.exp
107
+ - test/ex122.exp
108
+ - test/ex121.in
109
+ - test/ex311.in
110
+ - test/ex113.in
111
+ - test/ex313.in
112
+ - test/ex107.exp
113
+ - test/ex107.in
114
+ - test/ex115.exp
115
+ - test/ex115.in
116
+ - doc/users-guide.html
117
+ - doc/examples.html
118
+ - doc/docstyle.css
119
+ - README.txt
120
+ - ChangeLog.txt
121
+ - COPYING
122
+ - setup.rb
123
+ - todo.txt
124
+ test_files:
125
+ - test/test.rb
126
+ rdoc_options: []
127
+ extra_rdoc_files: []
128
+ executables:
129
+ - kwaff
130
+ extensions: []
131
+ requirements: []
132
+ dependencies: []