oga 2.6-java → 2.7-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/c/lexer.c +1020 -957
- data/ext/java/org/liboga/xml/Lexer.java +241 -235
- data/ext/ragel/base_lexer.rl +1 -1
- data/lib/liboga.jar +0 -0
- data/lib/oga.rb +1 -1
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/element.rb +5 -5
- data/lib/oga/xml/generator.rb +18 -4
- data/lib/oga/xml/xml_declaration.rb +4 -3
- metadata +2 -2
@@ -70,14 +70,14 @@ private static short[] init__java_lexer_key_offsets_0()
|
|
70
70
|
{
|
71
71
|
return new short [] {
|
72
72
|
0, 0, 4, 5, 7, 9, 11, 13, 15, 17, 21, 22,
|
73
|
-
23, 24, 25, 26, 27, 38,
|
74
|
-
|
75
|
-
80, 91,
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
73
|
+
23, 24, 25, 26, 27, 38, 48, 49, 50, 51, 52, 53,
|
74
|
+
54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 76,
|
75
|
+
80, 91, 101, 113, 125, 126, 127, 128, 129, 130, 131, 132,
|
76
|
+
133, 134, 135, 136, 137, 138, 139, 140, 160, 161, 171, 182,
|
77
|
+
193, 204, 215, 226, 237, 248, 259, 270, 281, 294, 304, 305,
|
78
|
+
315, 326, 337, 348, 354, 355, 360, 365, 367, 381, 382, 393,
|
79
|
+
394, 408, 409, 419, 420, 421, 422, 435, 448, 449, 450, 452,
|
80
|
+
453, 454, 455, 457
|
81
81
|
};
|
82
82
|
}
|
83
83
|
|
@@ -90,40 +90,42 @@ private static char[] init__java_lexer_trans_keys_0()
|
|
90
90
|
45, 68, 91, 100, 45, 79, 111, 67, 99, 84, 116, 89,
|
91
91
|
121, 80, 112, 69, 101, 13, 32, 9, 10, 67, 68, 65,
|
92
92
|
84, 65, 91, 47, 96, 120, 0, 44, 58, 64, 91, 94,
|
93
|
-
123, 127,
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
44,
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
94, 123, 127,
|
104
|
-
|
105
|
-
127, 47,
|
106
|
-
|
107
|
-
|
108
|
-
96, 0, 44, 58, 64, 91, 94, 123, 127, 47,
|
109
|
-
|
110
|
-
|
111
|
-
58, 64, 91, 94, 123, 127,
|
112
|
-
|
113
|
-
64, 91, 94, 123, 127,
|
114
|
-
91, 94, 123, 127, 47,
|
115
|
-
94, 123, 127,
|
116
|
-
|
117
|
-
127,
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
93
|
+
123, 127, 47, 96, 0, 44, 58, 64, 91, 94, 123, 127,
|
94
|
+
62, 62, 115, 99, 114, 105, 112, 116, 62, 115, 116, 121,
|
95
|
+
108, 101, 62, 60, 33, 47, 63, 96, 0, 44, 58, 64,
|
96
|
+
91, 94, 123, 127, 13, 32, 9, 10, 47, 58, 96, 0,
|
97
|
+
44, 59, 64, 91, 94, 123, 127, 47, 96, 0, 44, 58,
|
98
|
+
64, 91, 94, 123, 127, 47, 58, 96, 109, 0, 44, 59,
|
99
|
+
64, 91, 94, 123, 127, 47, 58, 96, 108, 0, 44, 59,
|
100
|
+
64, 91, 94, 123, 127, 45, 45, 45, 93, 93, 93, 63,
|
101
|
+
63, 62, 39, 39, 34, 34, 93, 93, 9, 10, 13, 32,
|
102
|
+
34, 39, 47, 62, 80, 83, 91, 96, 0, 44, 58, 64,
|
103
|
+
92, 94, 123, 127, 10, 47, 96, 0, 44, 58, 64, 91,
|
104
|
+
94, 123, 127, 47, 85, 96, 0, 44, 58, 64, 91, 94,
|
105
|
+
123, 127, 47, 66, 96, 0, 44, 58, 64, 91, 94, 123,
|
106
|
+
127, 47, 76, 96, 0, 44, 58, 64, 91, 94, 123, 127,
|
107
|
+
47, 73, 96, 0, 44, 58, 64, 91, 94, 123, 127, 47,
|
108
|
+
67, 96, 0, 44, 58, 64, 91, 94, 123, 127, 47, 89,
|
109
|
+
96, 0, 44, 58, 64, 91, 94, 123, 127, 47, 83, 96,
|
110
|
+
0, 44, 58, 64, 91, 94, 123, 127, 47, 84, 96, 0,
|
111
|
+
44, 58, 64, 91, 94, 123, 127, 47, 69, 96, 0, 44,
|
112
|
+
58, 64, 91, 94, 123, 127, 47, 77, 96, 0, 44, 58,
|
113
|
+
64, 91, 94, 123, 127, 34, 39, 47, 63, 96, 0, 44,
|
114
|
+
58, 64, 91, 94, 123, 127, 47, 96, 0, 44, 58, 64,
|
115
|
+
91, 94, 123, 127, 62, 47, 96, 0, 44, 58, 64, 91,
|
116
|
+
94, 123, 127, 47, 58, 96, 0, 44, 59, 64, 91, 94,
|
117
|
+
123, 127, 47, 62, 96, 0, 44, 58, 64, 91, 94, 123,
|
118
|
+
127, 47, 58, 96, 0, 44, 59, 64, 91, 94, 123, 127,
|
119
|
+
13, 32, 34, 39, 9, 10, 10, 13, 32, 62, 9, 10,
|
120
|
+
13, 32, 62, 9, 10, 34, 39, 10, 13, 47, 61, 62,
|
121
|
+
96, 0, 44, 58, 64, 91, 94, 123, 127, 10, 47, 58,
|
122
|
+
96, 0, 44, 59, 64, 91, 94, 123, 127, 62, 10, 13,
|
123
|
+
47, 61, 62, 96, 0, 44, 59, 64, 91, 94, 123, 127,
|
124
|
+
10, 47, 96, 0, 44, 59, 64, 91, 94, 123, 127, 62,
|
125
|
+
60, 60, 60, 64, 96, 0, 32, 34, 44, 58, 62, 91,
|
126
|
+
94, 123, 127, 60, 64, 96, 0, 32, 34, 44, 58, 62,
|
127
|
+
91, 94, 123, 127, 60, 60, 47, 60, 60, 60, 60, 47,
|
128
|
+
60, 60, 0
|
127
129
|
};
|
128
130
|
}
|
129
131
|
|
@@ -134,14 +136,14 @@ private static byte[] init__java_lexer_single_lengths_0()
|
|
134
136
|
{
|
135
137
|
return new byte [] {
|
136
138
|
0, 4, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1,
|
137
|
-
1, 1, 1, 1, 3,
|
138
|
-
1, 1, 1, 1, 1, 1, 1, 1, 1,
|
139
|
-
3,
|
140
|
-
1, 1, 1, 1, 1, 12, 1, 2, 3, 3,
|
141
|
-
3, 3, 3, 3, 3, 3,
|
142
|
-
3, 4, 1, 3, 3, 2, 6, 1, 3, 1,
|
143
|
-
2, 1, 1, 1, 3, 3, 1, 1, 2, 1,
|
144
|
-
2, 1
|
139
|
+
1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 1, 1,
|
140
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 2,
|
141
|
+
3, 2, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1,
|
142
|
+
1, 1, 1, 1, 1, 1, 1, 12, 1, 2, 3, 3,
|
143
|
+
3, 3, 3, 3, 3, 3, 3, 3, 5, 2, 1, 2,
|
144
|
+
3, 3, 3, 4, 1, 3, 3, 2, 6, 1, 3, 1,
|
145
|
+
6, 1, 2, 1, 1, 1, 3, 3, 1, 1, 2, 1,
|
146
|
+
1, 1, 2, 1
|
145
147
|
};
|
146
148
|
}
|
147
149
|
|
@@ -152,14 +154,14 @@ private static byte[] init__java_lexer_range_lengths_0()
|
|
152
154
|
{
|
153
155
|
return new byte [] {
|
154
156
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
|
155
|
-
0, 0, 0, 0, 4,
|
156
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1,
|
157
|
-
4, 4,
|
158
|
-
0, 0, 0, 0, 0,
|
159
|
-
4, 4, 4, 4, 4, 4, 4, 4,
|
160
|
-
4,
|
161
|
-
4, 0, 0, 0,
|
162
|
-
0, 0
|
157
|
+
0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0,
|
158
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1,
|
159
|
+
4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0,
|
160
|
+
0, 0, 0, 0, 0, 0, 0, 4, 0, 4, 4, 4,
|
161
|
+
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 0, 4,
|
162
|
+
4, 4, 4, 1, 0, 1, 1, 0, 4, 0, 4, 0,
|
163
|
+
4, 0, 4, 0, 0, 0, 5, 5, 0, 0, 0, 0,
|
164
|
+
0, 0, 0, 0
|
163
165
|
};
|
164
166
|
}
|
165
167
|
|
@@ -170,14 +172,14 @@ private static short[] init__java_lexer_index_offsets_0()
|
|
170
172
|
{
|
171
173
|
return new short [] {
|
172
174
|
0, 0, 5, 7, 10, 13, 16, 19, 22, 25, 29, 31,
|
173
|
-
33, 35, 37, 39, 41, 49,
|
174
|
-
|
175
|
-
101, 109,
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
175
|
+
33, 35, 37, 39, 41, 49, 56, 58, 60, 62, 64, 66,
|
176
|
+
68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 97,
|
177
|
+
101, 109, 116, 125, 134, 136, 138, 140, 142, 144, 146, 148,
|
178
|
+
150, 152, 154, 156, 158, 160, 162, 164, 181, 183, 190, 198,
|
179
|
+
206, 214, 222, 230, 238, 246, 254, 262, 270, 280, 287, 289,
|
180
|
+
296, 304, 312, 320, 326, 328, 333, 338, 341, 352, 354, 362,
|
181
|
+
364, 375, 377, 384, 386, 388, 390, 399, 408, 410, 412, 415,
|
182
|
+
417, 419, 421, 424
|
181
183
|
};
|
182
184
|
}
|
183
185
|
|
@@ -187,47 +189,49 @@ private static final short _java_lexer_index_offsets[] = init__java_lexer_index_
|
|
187
189
|
private static byte[] init__java_lexer_trans_targs_0()
|
188
190
|
{
|
189
191
|
return new byte [] {
|
190
|
-
2, 3, 10, 3,
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
55,
|
208
|
-
|
209
|
-
55,
|
210
|
-
|
211
|
-
55,
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
71, 71,
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
94,
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
192
|
+
2, 3, 10, 3, 33, 33, 33, 4, 4, 33, 5, 5,
|
193
|
+
33, 6, 6, 33, 7, 7, 33, 8, 8, 33, 9, 9,
|
194
|
+
33, 35, 35, 35, 33, 11, 33, 12, 33, 13, 33, 14,
|
195
|
+
33, 15, 33, 33, 33, 33, 33, 38, 33, 33, 33, 33,
|
196
|
+
36, 33, 33, 33, 33, 33, 33, 37, 40, 40, 43, 43,
|
197
|
+
21, 92, 22, 92, 23, 92, 24, 92, 25, 92, 26, 92,
|
198
|
+
92, 92, 28, 96, 29, 96, 30, 96, 31, 96, 32, 96,
|
199
|
+
96, 96, 34, 33, 1, 33, 16, 33, 33, 33, 33, 33,
|
200
|
+
33, 35, 35, 35, 33, 33, 17, 33, 33, 33, 33, 33,
|
201
|
+
36, 33, 33, 33, 33, 33, 33, 37, 33, 17, 33, 39,
|
202
|
+
33, 33, 33, 33, 36, 33, 17, 33, 36, 33, 33, 33,
|
203
|
+
33, 36, 42, 41, 40, 41, 18, 40, 45, 44, 43, 44,
|
204
|
+
19, 43, 48, 47, 46, 47, 46, 46, 49, 50, 49, 50,
|
205
|
+
51, 52, 51, 52, 53, 54, 53, 54, 55, 55, 56, 55,
|
206
|
+
55, 55, 0, 55, 58, 63, 55, 0, 0, 0, 0, 0,
|
207
|
+
57, 55, 55, 55, 55, 55, 55, 55, 55, 57, 55, 59,
|
208
|
+
55, 55, 55, 55, 55, 57, 55, 60, 55, 55, 55, 55,
|
209
|
+
55, 57, 55, 61, 55, 55, 55, 55, 55, 57, 55, 62,
|
210
|
+
55, 55, 55, 55, 55, 57, 55, 57, 55, 55, 55, 55,
|
211
|
+
55, 57, 55, 64, 55, 55, 55, 55, 55, 57, 55, 65,
|
212
|
+
55, 55, 55, 55, 55, 57, 55, 66, 55, 55, 55, 55,
|
213
|
+
55, 57, 55, 67, 55, 55, 55, 55, 55, 57, 55, 57,
|
214
|
+
55, 55, 55, 55, 55, 57, 68, 68, 68, 70, 68, 68,
|
215
|
+
68, 68, 68, 69, 68, 68, 68, 68, 68, 68, 69, 68,
|
216
|
+
68, 0, 0, 0, 0, 0, 0, 72, 71, 71, 71, 71,
|
217
|
+
71, 71, 71, 72, 73, 73, 73, 73, 73, 73, 73, 74,
|
218
|
+
73, 73, 73, 73, 73, 73, 73, 74, 76, 75, 75, 75,
|
219
|
+
75, 75, 75, 75, 77, 77, 77, 77, 78, 77, 77, 77,
|
220
|
+
77, 78, 79, 79, 79, 80, 81, 83, 80, 80, 80, 80,
|
221
|
+
80, 80, 80, 82, 80, 80, 80, 80, 80, 80, 80, 80,
|
222
|
+
80, 82, 80, 80, 84, 85, 87, 84, 84, 84, 84, 84,
|
223
|
+
84, 84, 86, 84, 84, 84, 84, 84, 84, 84, 84, 86,
|
224
|
+
84, 84, 91, 89, 90, 89, 90, 89, 89, 89, 89, 89,
|
225
|
+
89, 89, 88, 90, 89, 89, 89, 89, 89, 89, 89, 88,
|
226
|
+
94, 93, 92, 93, 20, 95, 92, 95, 92, 98, 97, 96,
|
227
|
+
97, 27, 99, 96, 99, 96, 33, 33, 33, 33, 33, 33,
|
228
|
+
33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 40,
|
229
|
+
43, 92, 92, 92, 92, 92, 92, 92, 96, 96, 96, 96,
|
230
|
+
96, 96, 33, 33, 33, 33, 33, 33, 40, 40, 43, 43,
|
231
|
+
46, 46, 49, 51, 53, 55, 55, 55, 55, 55, 55, 55,
|
232
|
+
55, 55, 55, 55, 55, 68, 68, 71, 73, 75, 77, 80,
|
233
|
+
80, 80, 84, 84, 84, 88, 88, 88, 92, 92, 92, 96,
|
234
|
+
96, 96, 0
|
231
235
|
};
|
232
236
|
}
|
233
237
|
|
@@ -240,44 +244,46 @@ private static short[] init__java_lexer_trans_actions_0()
|
|
240
244
|
0, 0, 0, 0, 153, 137, 153, 0, 0, 153, 0, 0,
|
241
245
|
153, 0, 0, 153, 0, 0, 153, 0, 0, 153, 0, 0,
|
242
246
|
153, 1, 1, 1, 153, 0, 153, 0, 153, 0, 153, 0,
|
243
|
-
153, 0, 153, 139, 153, 153, 153,
|
244
|
-
181,
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
181, 149, 149,
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
175,
|
256
|
-
49, 49, 49, 49, 175, 49, 0, 49, 49, 49, 49,
|
257
|
-
|
258
|
-
49, 49, 49, 49, 175, 49,
|
259
|
-
|
260
|
-
49, 49, 49, 49,
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
1,
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
247
|
+
153, 0, 153, 139, 153, 153, 153, 181, 153, 153, 153, 153,
|
248
|
+
181, 155, 155, 155, 155, 155, 155, 0, 9, 13, 15, 19,
|
249
|
+
0, 129, 0, 129, 0, 129, 0, 129, 0, 129, 0, 129,
|
250
|
+
125, 129, 0, 135, 0, 135, 0, 135, 0, 135, 0, 135,
|
251
|
+
131, 135, 7, 145, 0, 143, 0, 151, 151, 151, 151, 151,
|
252
|
+
141, 1, 1, 1, 147, 155, 0, 155, 155, 155, 155, 155,
|
253
|
+
181, 149, 149, 149, 149, 149, 149, 0, 149, 0, 149, 181,
|
254
|
+
149, 149, 149, 149, 181, 149, 0, 149, 178, 149, 149, 149,
|
255
|
+
149, 181, 169, 1, 11, 1, 0, 11, 169, 1, 17, 1,
|
256
|
+
0, 17, 1, 1, 23, 1, 21, 23, 25, 1, 27, 1,
|
257
|
+
29, 1, 31, 1, 33, 1, 35, 1, 47, 45, 0, 47,
|
258
|
+
41, 39, 0, 43, 0, 0, 37, 0, 0, 0, 0, 0,
|
259
|
+
175, 45, 51, 53, 53, 53, 53, 53, 53, 175, 49, 0,
|
260
|
+
49, 49, 49, 49, 49, 175, 49, 0, 49, 49, 49, 49,
|
261
|
+
49, 175, 49, 0, 49, 49, 49, 49, 49, 175, 49, 0,
|
262
|
+
49, 49, 49, 49, 49, 175, 49, 172, 49, 49, 49, 49,
|
263
|
+
49, 175, 49, 0, 49, 49, 49, 49, 49, 175, 49, 0,
|
264
|
+
49, 49, 49, 49, 49, 175, 49, 0, 49, 49, 49, 49,
|
265
|
+
49, 175, 49, 0, 49, 49, 49, 49, 49, 175, 49, 172,
|
266
|
+
49, 49, 49, 49, 49, 175, 187, 184, 160, 1, 160, 160,
|
267
|
+
160, 160, 160, 1, 57, 57, 57, 57, 57, 57, 0, 55,
|
268
|
+
59, 0, 0, 0, 0, 0, 0, 0, 63, 61, 63, 63,
|
269
|
+
63, 63, 63, 0, 163, 190, 163, 163, 163, 163, 163, 1,
|
270
|
+
67, 65, 67, 67, 67, 67, 67, 0, 1, 166, 69, 69,
|
271
|
+
166, 71, 166, 73, 75, 75, 75, 75, 0, 77, 77, 77,
|
272
|
+
77, 0, 81, 79, 83, 85, 0, 0, 89, 91, 95, 95,
|
273
|
+
95, 95, 95, 0, 85, 97, 99, 87, 99, 99, 99, 99,
|
274
|
+
99, 0, 93, 101, 103, 0, 0, 105, 107, 111, 111, 111,
|
275
|
+
111, 111, 0, 103, 113, 115, 115, 115, 115, 115, 115, 0,
|
276
|
+
109, 117, 157, 1, 157, 1, 157, 1, 1, 1, 1, 1,
|
277
|
+
1, 1, 121, 157, 1, 1, 1, 1, 1, 1, 1, 119,
|
278
|
+
169, 1, 127, 1, 0, 1, 127, 1, 127, 169, 1, 133,
|
279
|
+
1, 0, 1, 133, 1, 133, 153, 153, 153, 153, 153, 153,
|
280
|
+
153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 155, 13,
|
281
|
+
19, 129, 129, 129, 129, 129, 129, 129, 135, 135, 135, 135,
|
282
|
+
135, 135, 151, 147, 155, 149, 149, 149, 11, 11, 17, 17,
|
283
|
+
23, 23, 27, 31, 35, 51, 53, 49, 49, 49, 49, 49,
|
284
|
+
49, 49, 49, 49, 49, 57, 59, 63, 67, 73, 77, 97,
|
285
|
+
99, 101, 113, 115, 117, 123, 123, 123, 127, 127, 127, 133,
|
286
|
+
133, 133, 0
|
281
287
|
};
|
282
288
|
}
|
283
289
|
|
@@ -289,13 +295,13 @@ private static short[] init__java_lexer_to_state_actions_0()
|
|
289
295
|
return new short [] {
|
290
296
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
291
297
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
292
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
293
|
-
0, 0,
|
294
|
-
0, 3, 0, 3, 0, 3, 0,
|
295
|
-
0, 0, 0, 0, 0, 0,
|
296
|
-
0, 3, 0, 3, 0, 3, 3,
|
297
|
-
0, 0, 3, 0, 0, 0, 3, 0, 0, 0,
|
298
|
-
0, 0
|
298
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0,
|
299
|
+
0, 0, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0,
|
300
|
+
0, 3, 0, 3, 0, 3, 0, 3, 0, 0, 0, 0,
|
301
|
+
0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 3,
|
302
|
+
0, 3, 0, 3, 0, 3, 0, 3, 3, 0, 0, 0,
|
303
|
+
3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0,
|
304
|
+
3, 0, 0, 0
|
299
305
|
};
|
300
306
|
}
|
301
307
|
|
@@ -307,13 +313,13 @@ private static short[] init__java_lexer_from_state_actions_0()
|
|
307
313
|
return new short [] {
|
308
314
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
309
315
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
310
|
-
0, 0, 0, 0, 0, 0, 0, 0,
|
311
|
-
0, 0,
|
312
|
-
0, 5, 0, 5, 0, 5, 0,
|
313
|
-
0, 0, 0, 0, 0, 0,
|
314
|
-
0, 5, 0, 5, 0, 5, 5,
|
315
|
-
0, 0, 5, 0, 0, 0, 5, 0, 0, 0,
|
316
|
-
0, 0
|
316
|
+
0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0,
|
317
|
+
0, 0, 0, 0, 5, 0, 0, 5, 0, 0, 5, 0,
|
318
|
+
0, 5, 0, 5, 0, 5, 0, 5, 0, 0, 0, 0,
|
319
|
+
0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 5,
|
320
|
+
0, 5, 0, 5, 0, 5, 0, 5, 5, 0, 0, 0,
|
321
|
+
5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0,
|
322
|
+
5, 0, 0, 0
|
317
323
|
};
|
318
324
|
}
|
319
325
|
|
@@ -323,44 +329,44 @@ private static final short _java_lexer_from_state_actions[] = init__java_lexer_f
|
|
323
329
|
private static short[] init__java_lexer_eof_trans_0()
|
324
330
|
{
|
325
331
|
return new short [] {
|
326
|
-
0,
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
332
|
+
0, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, 442,
|
333
|
+
442, 442, 442, 442, 442, 461, 444, 445, 452, 452, 452, 452,
|
334
|
+
452, 452, 452, 458, 458, 458, 458, 458, 458, 0, 459, 460,
|
335
|
+
461, 464, 464, 464, 0, 466, 466, 0, 468, 468, 0, 470,
|
336
|
+
470, 0, 471, 0, 472, 0, 473, 0, 474, 475, 485, 485,
|
337
|
+
485, 485, 485, 485, 485, 485, 485, 485, 0, 486, 487, 0,
|
338
|
+
488, 0, 489, 0, 490, 0, 491, 0, 0, 492, 493, 494,
|
339
|
+
0, 495, 496, 497, 0, 500, 500, 500, 0, 503, 503, 503,
|
340
|
+
0, 506, 506, 506
|
335
341
|
};
|
336
342
|
}
|
337
343
|
|
338
344
|
private static final short _java_lexer_eof_trans[] = init__java_lexer_eof_trans_0();
|
339
345
|
|
340
346
|
|
341
|
-
static final int java_lexer_start =
|
342
|
-
static final int java_lexer_first_final =
|
347
|
+
static final int java_lexer_start = 33;
|
348
|
+
static final int java_lexer_first_final = 33;
|
343
349
|
static final int java_lexer_error = 0;
|
344
350
|
|
345
|
-
static final int java_lexer_en_comment_body =
|
346
|
-
static final int java_lexer_en_cdata_body =
|
347
|
-
static final int java_lexer_en_proc_ins_body =
|
348
|
-
static final int java_lexer_en_string_squote =
|
349
|
-
static final int java_lexer_en_string_dquote =
|
350
|
-
static final int java_lexer_en_doctype_inline =
|
351
|
-
static final int java_lexer_en_doctype =
|
352
|
-
static final int java_lexer_en_xml_decl =
|
353
|
-
static final int java_lexer_en_element_name =
|
354
|
-
static final int java_lexer_en_element_close =
|
355
|
-
static final int java_lexer_en_attribute_pre =
|
356
|
-
static final int java_lexer_en_unquoted_attribute_value =
|
357
|
-
static final int java_lexer_en_quoted_attribute_value =
|
358
|
-
static final int java_lexer_en_element_head =
|
359
|
-
static final int java_lexer_en_html_element_head =
|
360
|
-
static final int java_lexer_en_text =
|
361
|
-
static final int java_lexer_en_html_script =
|
362
|
-
static final int java_lexer_en_html_style =
|
363
|
-
static final int java_lexer_en_main =
|
351
|
+
static final int java_lexer_en_comment_body = 40;
|
352
|
+
static final int java_lexer_en_cdata_body = 43;
|
353
|
+
static final int java_lexer_en_proc_ins_body = 46;
|
354
|
+
static final int java_lexer_en_string_squote = 49;
|
355
|
+
static final int java_lexer_en_string_dquote = 51;
|
356
|
+
static final int java_lexer_en_doctype_inline = 53;
|
357
|
+
static final int java_lexer_en_doctype = 55;
|
358
|
+
static final int java_lexer_en_xml_decl = 68;
|
359
|
+
static final int java_lexer_en_element_name = 71;
|
360
|
+
static final int java_lexer_en_element_close = 73;
|
361
|
+
static final int java_lexer_en_attribute_pre = 75;
|
362
|
+
static final int java_lexer_en_unquoted_attribute_value = 77;
|
363
|
+
static final int java_lexer_en_quoted_attribute_value = 79;
|
364
|
+
static final int java_lexer_en_element_head = 80;
|
365
|
+
static final int java_lexer_en_html_element_head = 84;
|
366
|
+
static final int java_lexer_en_text = 88;
|
367
|
+
static final int java_lexer_en_html_script = 92;
|
368
|
+
static final int java_lexer_en_html_style = 96;
|
369
|
+
static final int java_lexer_en_main = 33;
|
364
370
|
|
365
371
|
|
366
372
|
// line 39 "ext/java/org/liboga/xml/Lexer.rl"
|
@@ -461,7 +467,7 @@ static final int java_lexer_en_main = 32;
|
|
461
467
|
String id_on_xml_decl_start = "on_xml_decl_start";
|
462
468
|
|
463
469
|
|
464
|
-
// line
|
470
|
+
// line 471 "ext/java/org/liboga/xml/Lexer.java"
|
465
471
|
{
|
466
472
|
int _klen;
|
467
473
|
int _trans = 0;
|
@@ -490,7 +496,7 @@ case 1:
|
|
490
496
|
// line 1 "NONE"
|
491
497
|
{ts = p;}
|
492
498
|
break;
|
493
|
-
// line
|
499
|
+
// line 500 "ext/java/org/liboga/xml/Lexer.java"
|
494
500
|
}
|
495
501
|
}
|
496
502
|
|
@@ -572,7 +578,7 @@ case 3:
|
|
572
578
|
{te = p+1;{
|
573
579
|
callback_simple(id_on_comment_end);
|
574
580
|
|
575
|
-
( this.cs) =
|
581
|
+
( this.cs) = 33;
|
576
582
|
}}
|
577
583
|
break;
|
578
584
|
case 6:
|
@@ -606,7 +612,7 @@ case 3:
|
|
606
612
|
{te = p+1;{
|
607
613
|
callback_simple(id_on_cdata_end);
|
608
614
|
|
609
|
-
( this.cs) =
|
615
|
+
( this.cs) = 33;
|
610
616
|
}}
|
611
617
|
break;
|
612
618
|
case 9:
|
@@ -640,7 +646,7 @@ case 3:
|
|
640
646
|
{te = p+1;{
|
641
647
|
callback_simple(id_on_proc_ins_end);
|
642
648
|
|
643
|
-
( this.cs) =
|
649
|
+
( this.cs) = 33;
|
644
650
|
}}
|
645
651
|
break;
|
646
652
|
case 12:
|
@@ -700,7 +706,7 @@ case 3:
|
|
700
706
|
break;
|
701
707
|
case 17:
|
702
708
|
// line 286 "ext/ragel/base_lexer.rl"
|
703
|
-
{te = p+1;{ ( this.cs) =
|
709
|
+
{te = p+1;{ ( this.cs) = 55; }}
|
704
710
|
break;
|
705
711
|
case 18:
|
706
712
|
// line 275 "ext/ragel/base_lexer.rl"
|
@@ -725,14 +731,14 @@ case 3:
|
|
725
731
|
break;
|
726
732
|
case 21:
|
727
733
|
// line 297 "ext/ragel/base_lexer.rl"
|
728
|
-
{te = p+1;{ ( this.cs) =
|
734
|
+
{te = p+1;{ ( this.cs) = 53; }}
|
729
735
|
break;
|
730
736
|
case 22:
|
731
737
|
// line 216 "ext/ragel/base_lexer.rl"
|
732
738
|
{te = p+1;{
|
733
739
|
callback_simple(id_on_string_squote);
|
734
740
|
|
735
|
-
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) =
|
741
|
+
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 49; _goto_targ = 2; if (true) continue _goto;}
|
736
742
|
}}
|
737
743
|
break;
|
738
744
|
case 23:
|
@@ -740,14 +746,14 @@ case 3:
|
|
740
746
|
{te = p+1;{
|
741
747
|
callback_simple(id_on_string_dquote);
|
742
748
|
|
743
|
-
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) =
|
749
|
+
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 51; _goto_targ = 2; if (true) continue _goto;}
|
744
750
|
}}
|
745
751
|
break;
|
746
752
|
case 24:
|
747
753
|
// line 307 "ext/ragel/base_lexer.rl"
|
748
754
|
{te = p+1;{
|
749
755
|
callback_simple(id_on_doctype_end);
|
750
|
-
( this.cs) =
|
756
|
+
( this.cs) = 33;
|
751
757
|
}}
|
752
758
|
break;
|
753
759
|
case 25:
|
@@ -800,7 +806,7 @@ case 3:
|
|
800
806
|
|
801
807
|
callback_simple(id_on_xml_decl_end);
|
802
808
|
|
803
|
-
( this.cs) =
|
809
|
+
( this.cs) = 33;
|
804
810
|
}}
|
805
811
|
break;
|
806
812
|
case 31:
|
@@ -808,7 +814,7 @@ case 3:
|
|
808
814
|
{te = p+1;{
|
809
815
|
callback_simple(id_on_string_squote);
|
810
816
|
|
811
|
-
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) =
|
817
|
+
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 49; _goto_targ = 2; if (true) continue _goto;}
|
812
818
|
}}
|
813
819
|
break;
|
814
820
|
case 32:
|
@@ -816,7 +822,7 @@ case 3:
|
|
816
822
|
{te = p+1;{
|
817
823
|
callback_simple(id_on_string_dquote);
|
818
824
|
|
819
|
-
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) =
|
825
|
+
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 51; _goto_targ = 2; if (true) continue _goto;}
|
820
826
|
}}
|
821
827
|
break;
|
822
828
|
case 33:
|
@@ -856,11 +862,11 @@ case 3:
|
|
856
862
|
|
857
863
|
if ( html_p )
|
858
864
|
{
|
859
|
-
( this.cs) =
|
865
|
+
( this.cs) = 84;
|
860
866
|
}
|
861
867
|
else
|
862
868
|
{
|
863
|
-
( this.cs) =
|
869
|
+
( this.cs) = 80;
|
864
870
|
}
|
865
871
|
}}
|
866
872
|
break;
|
@@ -878,7 +884,7 @@ case 3:
|
|
878
884
|
lines = 0;
|
879
885
|
}
|
880
886
|
|
881
|
-
( this.cs) =
|
887
|
+
( this.cs) = 33;
|
882
888
|
}}
|
883
889
|
break;
|
884
890
|
case 40:
|
@@ -907,7 +913,7 @@ case 3:
|
|
907
913
|
lines = 0;
|
908
914
|
}
|
909
915
|
|
910
|
-
( this.cs) =
|
916
|
+
( this.cs) = 79;
|
911
917
|
}}
|
912
918
|
break;
|
913
919
|
case 44:
|
@@ -924,7 +930,7 @@ case 3:
|
|
924
930
|
|
925
931
|
if ( html_p )
|
926
932
|
{
|
927
|
-
( this.cs) =
|
933
|
+
( this.cs) = 77;
|
928
934
|
}
|
929
935
|
/* XML doesn't support unquoted attribute values */
|
930
936
|
else
|
@@ -959,7 +965,7 @@ case 3:
|
|
959
965
|
{te = p+1;{
|
960
966
|
callback_simple(id_on_string_squote);
|
961
967
|
|
962
|
-
( this.cs) =
|
968
|
+
( this.cs) = 49;
|
963
969
|
}}
|
964
970
|
break;
|
965
971
|
case 49:
|
@@ -967,7 +973,7 @@ case 3:
|
|
967
973
|
{te = p+1;{
|
968
974
|
callback_simple(id_on_string_dquote);
|
969
975
|
|
970
|
-
( this.cs) =
|
976
|
+
( this.cs) = 51;
|
971
977
|
}}
|
972
978
|
break;
|
973
979
|
case 50:
|
@@ -992,7 +998,7 @@ case 3:
|
|
992
998
|
case 53:
|
993
999
|
// line 525 "ext/ragel/base_lexer.rl"
|
994
1000
|
{te = p+1;{
|
995
|
-
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) =
|
1001
|
+
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 75; _goto_targ = 2; if (true) continue _goto;}
|
996
1002
|
}}
|
997
1003
|
break;
|
998
1004
|
case 54:
|
@@ -1000,14 +1006,14 @@ case 3:
|
|
1000
1006
|
{te = p+1;{
|
1001
1007
|
callback_simple(id_on_element_open_end);
|
1002
1008
|
|
1003
|
-
( this.cs) =
|
1009
|
+
( this.cs) = 33;
|
1004
1010
|
}}
|
1005
1011
|
break;
|
1006
1012
|
case 55:
|
1007
1013
|
// line 546 "ext/ragel/base_lexer.rl"
|
1008
1014
|
{te = p+1;{
|
1009
1015
|
callback_simple(id_on_element_end);
|
1010
|
-
( this.cs) =
|
1016
|
+
( this.cs) = 33;
|
1011
1017
|
}}
|
1012
1018
|
break;
|
1013
1019
|
case 56:
|
@@ -1039,7 +1045,7 @@ case 3:
|
|
1039
1045
|
case 61:
|
1040
1046
|
// line 525 "ext/ragel/base_lexer.rl"
|
1041
1047
|
{te = p+1;{
|
1042
|
-
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) =
|
1048
|
+
{( this.stack)[( this.top)++] = ( this.cs); ( this.cs) = 75; _goto_targ = 2; if (true) continue _goto;}
|
1043
1049
|
}}
|
1044
1050
|
break;
|
1045
1051
|
case 62:
|
@@ -1049,15 +1055,15 @@ case 3:
|
|
1049
1055
|
|
1050
1056
|
if ( html_script_p() )
|
1051
1057
|
{
|
1052
|
-
( this.cs) =
|
1058
|
+
( this.cs) = 92;
|
1053
1059
|
}
|
1054
1060
|
else if ( html_style_p() )
|
1055
1061
|
{
|
1056
|
-
( this.cs) =
|
1062
|
+
( this.cs) = 96;
|
1057
1063
|
}
|
1058
1064
|
else
|
1059
1065
|
{
|
1060
|
-
( this.cs) =
|
1066
|
+
( this.cs) = 33;
|
1061
1067
|
}
|
1062
1068
|
}}
|
1063
1069
|
break;
|
@@ -1065,7 +1071,7 @@ case 3:
|
|
1065
1071
|
// line 546 "ext/ragel/base_lexer.rl"
|
1066
1072
|
{te = p+1;{
|
1067
1073
|
callback_simple(id_on_element_end);
|
1068
|
-
( this.cs) =
|
1074
|
+
( this.cs) = 33;
|
1069
1075
|
}}
|
1070
1076
|
break;
|
1071
1077
|
case 64:
|
@@ -1100,7 +1106,7 @@ case 3:
|
|
1100
1106
|
lines = 0;
|
1101
1107
|
}
|
1102
1108
|
|
1103
|
-
( this.cs) =
|
1109
|
+
( this.cs) = 33;
|
1104
1110
|
}}
|
1105
1111
|
break;
|
1106
1112
|
case 69:
|
@@ -1118,7 +1124,7 @@ case 3:
|
|
1118
1124
|
lines = 0;
|
1119
1125
|
}
|
1120
1126
|
|
1121
|
-
( this.cs) =
|
1127
|
+
( this.cs) = 33;
|
1122
1128
|
}}
|
1123
1129
|
break;
|
1124
1130
|
case 70:
|
@@ -1133,7 +1139,7 @@ case 3:
|
|
1133
1139
|
lines = 0;
|
1134
1140
|
}
|
1135
1141
|
|
1136
|
-
( this.cs) =
|
1142
|
+
( this.cs) = 33;
|
1137
1143
|
}}
|
1138
1144
|
break;
|
1139
1145
|
case 71:
|
@@ -1141,7 +1147,7 @@ case 3:
|
|
1141
1147
|
{te = p+1;{
|
1142
1148
|
callback_simple(id_on_element_end);
|
1143
1149
|
|
1144
|
-
( this.cs) =
|
1150
|
+
( this.cs) = 33;
|
1145
1151
|
}}
|
1146
1152
|
break;
|
1147
1153
|
case 72:
|
@@ -1175,7 +1181,7 @@ case 3:
|
|
1175
1181
|
{te = p+1;{
|
1176
1182
|
callback_simple(id_on_element_end);
|
1177
1183
|
|
1178
|
-
( this.cs) =
|
1184
|
+
( this.cs) = 33;
|
1179
1185
|
}}
|
1180
1186
|
break;
|
1181
1187
|
case 75:
|
@@ -1217,7 +1223,7 @@ case 3:
|
|
1217
1223
|
{te = p+1;{
|
1218
1224
|
callback_simple(id_on_comment_start);
|
1219
1225
|
|
1220
|
-
( this.cs) =
|
1226
|
+
( this.cs) = 40;
|
1221
1227
|
}}
|
1222
1228
|
break;
|
1223
1229
|
case 80:
|
@@ -1225,27 +1231,27 @@ case 3:
|
|
1225
1231
|
{te = p+1;{
|
1226
1232
|
callback_simple(id_on_cdata_start);
|
1227
1233
|
|
1228
|
-
( this.cs) =
|
1234
|
+
( this.cs) = 43;
|
1229
1235
|
}}
|
1230
1236
|
break;
|
1231
1237
|
case 81:
|
1232
1238
|
// line 371 "ext/ragel/base_lexer.rl"
|
1233
1239
|
{te = p+1;{
|
1234
1240
|
p--;
|
1235
|
-
( this.cs) =
|
1241
|
+
( this.cs) = 71;
|
1236
1242
|
}}
|
1237
1243
|
break;
|
1238
1244
|
case 82:
|
1239
1245
|
// line 376 "ext/ragel/base_lexer.rl"
|
1240
1246
|
{te = p+1;{
|
1241
|
-
( this.cs) =
|
1247
|
+
( this.cs) = 73;
|
1242
1248
|
}}
|
1243
1249
|
break;
|
1244
1250
|
case 83:
|
1245
1251
|
// line 618 "ext/ragel/base_lexer.rl"
|
1246
1252
|
{te = p+1;{
|
1247
1253
|
p--;
|
1248
|
-
( this.cs) =
|
1254
|
+
( this.cs) = 88;
|
1249
1255
|
}}
|
1250
1256
|
break;
|
1251
1257
|
case 84:
|
@@ -1260,7 +1266,7 @@ case 3:
|
|
1260
1266
|
lines = 0;
|
1261
1267
|
}
|
1262
1268
|
|
1263
|
-
( this.cs) =
|
1269
|
+
( this.cs) = 55;
|
1264
1270
|
}}
|
1265
1271
|
break;
|
1266
1272
|
case 85:
|
@@ -1269,21 +1275,21 @@ case 3:
|
|
1269
1275
|
callback_simple(id_on_proc_ins_start);
|
1270
1276
|
callback(id_on_proc_ins_name, data, encoding, ts + 2, te);
|
1271
1277
|
|
1272
|
-
( this.cs) =
|
1278
|
+
( this.cs) = 46;
|
1273
1279
|
}}
|
1274
1280
|
break;
|
1275
1281
|
case 86:
|
1276
1282
|
// line 618 "ext/ragel/base_lexer.rl"
|
1277
1283
|
{te = p;p--;{
|
1278
1284
|
p--;
|
1279
|
-
( this.cs) =
|
1285
|
+
( this.cs) = 88;
|
1280
1286
|
}}
|
1281
1287
|
break;
|
1282
1288
|
case 87:
|
1283
1289
|
// line 618 "ext/ragel/base_lexer.rl"
|
1284
1290
|
{{p = ((te))-1;}{
|
1285
1291
|
p--;
|
1286
|
-
( this.cs) =
|
1292
|
+
( this.cs) = 88;
|
1287
1293
|
}}
|
1288
1294
|
break;
|
1289
1295
|
case 88:
|
@@ -1292,7 +1298,7 @@ case 3:
|
|
1292
1298
|
case 60:
|
1293
1299
|
{{p = ((te))-1;}
|
1294
1300
|
callback_simple(id_on_xml_decl_start);
|
1295
|
-
( this.cs) =
|
1301
|
+
( this.cs) = 68;
|
1296
1302
|
}
|
1297
1303
|
break;
|
1298
1304
|
case 63:
|
@@ -1300,13 +1306,13 @@ case 3:
|
|
1300
1306
|
callback_simple(id_on_proc_ins_start);
|
1301
1307
|
callback(id_on_proc_ins_name, data, encoding, ts + 2, te);
|
1302
1308
|
|
1303
|
-
( this.cs) =
|
1309
|
+
( this.cs) = 46;
|
1304
1310
|
}
|
1305
1311
|
break;
|
1306
1312
|
}
|
1307
1313
|
}
|
1308
1314
|
break;
|
1309
|
-
// line
|
1315
|
+
// line 1316 "ext/java/org/liboga/xml/Lexer.java"
|
1310
1316
|
}
|
1311
1317
|
}
|
1312
1318
|
}
|
@@ -1320,7 +1326,7 @@ case 2:
|
|
1320
1326
|
// line 1 "NONE"
|
1321
1327
|
{ts = -1;}
|
1322
1328
|
break;
|
1323
|
-
// line
|
1329
|
+
// line 1330 "ext/java/org/liboga/xml/Lexer.java"
|
1324
1330
|
}
|
1325
1331
|
}
|
1326
1332
|
|