oga 0.1.2-java → 0.1.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/changelog.md +6 -0
- data/ext/c/lexer.c +5 -10
- data/ext/java/org/liboga/xml/Lexer.java +1 -1
- data/ext/ragel/base_lexer.rl +1 -1
- data/lib/liboga.jar +0 -0
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/attribute.rb +1 -1
- data/lib/oga/xml/element.rb +1 -2
- metadata +26 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b452189bddb29ccb085b7dd3479b4086f1b4dd79
|
4
|
+
data.tar.gz: 05618b9e871de07b9907e702706dc8da1d0b2fd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95eb00dc991fcd98a934b1dab00f00b4932708d71d53d4aed768d79627c0b80e9d8b8830cb2642dea070358c987f27e436055c40385e69bb46e6d3ba1f0a5972
|
7
|
+
data.tar.gz: a3af9ab954bd3a1ed5d6005974b25fd176a23075a82e5d63d44ea444c0ecb901f96671cdcadd4de4b48370d29023cc3939d4d960c456e2d4406306b8a189e6db
|
data/doc/changelog.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
This document contains details of the various releases and their release dates.
|
4
4
|
Dates are in the format `yyyy-mm-dd`.
|
5
5
|
|
6
|
+
## 0.1.3 - 2014-09-24
|
7
|
+
|
8
|
+
This release fixes a problem with serializing attributes using the namespace
|
9
|
+
prefix "xmlns". See <https://github.com/YorickPeterse/oga/issues/47> for more
|
10
|
+
information.
|
11
|
+
|
6
12
|
## 0.1.2 - 2014-09-23
|
7
13
|
|
8
14
|
### SAX API
|
data/ext/c/lexer.c
CHANGED
@@ -1305,19 +1305,14 @@ case 64:
|
|
1305
1305
|
#line 1306 "ext/c/lexer.c"
|
1306
1306
|
if ( (*p) == 60 )
|
1307
1307
|
goto tr95;
|
1308
|
-
goto tr94;
|
1309
|
-
tr94:
|
1310
|
-
#line 304 "ext/ragel/base_lexer.rl"
|
1311
|
-
{ mark = p; }
|
1312
1308
|
goto st65;
|
1313
1309
|
st65:
|
1314
1310
|
if ( ++p == pe )
|
1315
1311
|
goto _test_eof65;
|
1316
1312
|
case 65:
|
1317
|
-
#line 1318 "ext/c/lexer.c"
|
1318
1313
|
if ( (*p) == 60 )
|
1319
1314
|
goto tr97;
|
1320
|
-
goto
|
1315
|
+
goto st65;
|
1321
1316
|
tr97:
|
1322
1317
|
#line 304 "ext/ragel/base_lexer.rl"
|
1323
1318
|
{ mark = p; }
|
@@ -1326,7 +1321,7 @@ st66:
|
|
1326
1321
|
if ( ++p == pe )
|
1327
1322
|
goto _test_eof66;
|
1328
1323
|
case 66:
|
1329
|
-
#line
|
1324
|
+
#line 1325 "ext/c/lexer.c"
|
1330
1325
|
switch( (*p) ) {
|
1331
1326
|
case 33: goto tr98;
|
1332
1327
|
case 45: goto tr98;
|
@@ -1342,7 +1337,7 @@ case 66:
|
|
1342
1337
|
goto tr98;
|
1343
1338
|
} else
|
1344
1339
|
goto tr98;
|
1345
|
-
goto
|
1340
|
+
goto st65;
|
1346
1341
|
tr95:
|
1347
1342
|
#line 304 "ext/ragel/base_lexer.rl"
|
1348
1343
|
{ mark = p; }
|
@@ -1351,7 +1346,7 @@ st67:
|
|
1351
1346
|
if ( ++p == pe )
|
1352
1347
|
goto _test_eof67;
|
1353
1348
|
case 67:
|
1354
|
-
#line
|
1349
|
+
#line 1350 "ext/c/lexer.c"
|
1355
1350
|
switch( (*p) ) {
|
1356
1351
|
case 33: goto tr99;
|
1357
1352
|
case 45: goto tr99;
|
@@ -1367,7 +1362,7 @@ case 67:
|
|
1367
1362
|
goto tr99;
|
1368
1363
|
} else
|
1369
1364
|
goto tr99;
|
1370
|
-
goto
|
1365
|
+
goto st65;
|
1371
1366
|
}
|
1372
1367
|
_test_eof35: cs = 35; goto _test_eof;
|
1373
1368
|
_test_eof36: cs = 36; goto _test_eof;
|
@@ -216,7 +216,7 @@ private static byte[] init__java_lexer_trans_actions_0()
|
|
216
216
|
67, 0, 73, 81, 75, 0, 89, 11, 0, 13, 9, 19,
|
217
217
|
86, 21, 0, 0, 0, 25, 23, 0, 0, 0, 0, 83,
|
218
218
|
0, 0, 0, 0, 31, 7, 7, 0, 0, 35, 33, 27,
|
219
|
-
0, 41, 39, 43, 0, 0, 0, 51, 55, 47,
|
219
|
+
0, 41, 39, 43, 0, 0, 0, 51, 55, 47, 0, 1,
|
220
220
|
61, 1, 59, 57
|
221
221
|
};
|
222
222
|
}
|
data/ext/ragel/base_lexer.rl
CHANGED
data/lib/liboga.jar
CHANGED
Binary file
|
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/attribute.rb
CHANGED
data/lib/oga/xml/element.rb
CHANGED
@@ -307,8 +307,7 @@ module Oga
|
|
307
307
|
private
|
308
308
|
|
309
309
|
##
|
310
|
-
# Registers namespaces based on any "xmlns" attributes.
|
311
|
-
# has been registered the corresponding attribute is removed.
|
310
|
+
# Registers namespaces based on any "xmlns" attributes.
|
312
311
|
#
|
313
312
|
def register_namespaces_from_attributes
|
314
313
|
attributes.each do |attr|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
@@ -148,49 +148,49 @@ executables: []
|
|
148
148
|
extensions: []
|
149
149
|
extra_rdoc_files: []
|
150
150
|
files:
|
151
|
-
- doc/DCO.md
|
152
|
-
- doc/migrating_from_nokogiri.md
|
153
151
|
- doc/changelog.md
|
152
|
+
- doc/migrating_from_nokogiri.md
|
153
|
+
- doc/DCO.md
|
154
154
|
- doc/css/common.css
|
155
155
|
- lib/oga.rb
|
156
|
-
- lib/oga/oga.rb
|
157
156
|
- lib/oga/version.rb
|
158
|
-
- lib/oga/
|
159
|
-
- lib/oga/html/parser.rb
|
160
|
-
- lib/oga/xml/lexer.rb
|
157
|
+
- lib/oga/oga.rb
|
161
158
|
- lib/oga/xml/namespace.rb
|
162
|
-
- lib/oga/xml/
|
163
|
-
- lib/oga/xml/character_node.rb
|
164
|
-
- lib/oga/xml/sax_parser.rb
|
165
|
-
- lib/oga/xml/doctype.rb
|
166
|
-
- lib/oga/xml/document.rb
|
167
|
-
- lib/oga/xml/comment.rb
|
168
|
-
- lib/oga/xml/text.rb
|
159
|
+
- lib/oga/xml/lexer.rb
|
169
160
|
- lib/oga/xml/querying.rb
|
170
|
-
- lib/oga/xml/attribute.rb
|
171
|
-
- lib/oga/xml/pull_parser.rb
|
172
161
|
- lib/oga/xml/parser.rb
|
173
|
-
- lib/oga/xml/
|
162
|
+
- lib/oga/xml/traversal.rb
|
163
|
+
- lib/oga/xml/text.rb
|
174
164
|
- lib/oga/xml/node.rb
|
165
|
+
- lib/oga/xml/document.rb
|
166
|
+
- lib/oga/xml/pull_parser.rb
|
175
167
|
- lib/oga/xml/node_set.rb
|
168
|
+
- lib/oga/xml/sax_parser.rb
|
169
|
+
- lib/oga/xml/cdata.rb
|
176
170
|
- lib/oga/xml/element.rb
|
171
|
+
- lib/oga/xml/character_node.rb
|
172
|
+
- lib/oga/xml/doctype.rb
|
173
|
+
- lib/oga/xml/html_void_elements.rb
|
174
|
+
- lib/oga/xml/attribute.rb
|
177
175
|
- lib/oga/xml/xml_declaration.rb
|
178
|
-
- lib/oga/xml/
|
179
|
-
- lib/oga/xml/
|
176
|
+
- lib/oga/xml/processing_instruction.rb
|
177
|
+
- lib/oga/xml/comment.rb
|
178
|
+
- lib/oga/html/parser.rb
|
179
|
+
- lib/oga/html/sax_parser.rb
|
180
180
|
- lib/oga/xpath/lexer.rb
|
181
|
-
- lib/oga/xpath/evaluator.rb
|
182
181
|
- lib/oga/xpath/parser.rb
|
183
182
|
- lib/oga/xpath/node.rb
|
184
|
-
-
|
185
|
-
- ext/c/lexer.rl
|
186
|
-
- ext/c/lexer.h
|
187
|
-
- ext/c/liboga.c
|
188
|
-
- ext/c/extconf.rb
|
189
|
-
- ext/c/liboga.h
|
183
|
+
- lib/oga/xpath/evaluator.rb
|
190
184
|
- ext/ragel/base_lexer.rl
|
191
185
|
- ext/java/Liboga.java
|
192
186
|
- ext/java/org/liboga/xml/Lexer.java
|
193
187
|
- ext/java/org/liboga/xml/Lexer.rl
|
188
|
+
- ext/c/extconf.rb
|
189
|
+
- ext/c/lexer.rl
|
190
|
+
- ext/c/lexer.h
|
191
|
+
- ext/c/liboga.c
|
192
|
+
- ext/c/lexer.c
|
193
|
+
- ext/c/liboga.h
|
194
194
|
- README.md
|
195
195
|
- LICENSE
|
196
196
|
- oga.gemspec
|