ox 1.8.5 → 1.8.6
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.
Potentially problematic release.
This version of ox might be problematic. Click here for more details.
- data/README.md +3 -2
- data/ext/ox/sax.c +1 -4
- data/lib/ox/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -34,9 +34,10 @@ A fast XML parser and Object marshaller as a Ruby gem.
|
|
34
34
|
|
35
35
|
## <a name="release">Release Notes</a>
|
36
36
|
|
37
|
-
### Release 1.8.
|
37
|
+
### Release 1.8.6
|
38
38
|
|
39
|
-
-
|
39
|
+
- Removed broken check for matching start and end element names in SAX mode. The names are still included in the
|
40
|
+
handler callbacks so the user can perform the check is desired.
|
40
41
|
|
41
42
|
## <a name="description">Description</a>
|
42
43
|
|
data/ext/ox/sax.c
CHANGED
@@ -794,10 +794,7 @@ read_element(SaxDrive dr) {
|
|
794
794
|
if (0 != read_children(dr, 0)) {
|
795
795
|
return -1;
|
796
796
|
}
|
797
|
-
|
798
|
-
sax_drive_error(dr, "invalid format, element start and end names do not match", 1);
|
799
|
-
return -1;
|
800
|
-
}
|
797
|
+
/* no check of matching start and end as it would require coping the name */
|
801
798
|
if (0 != dr->has_end_element) {
|
802
799
|
VALUE args[1];
|
803
800
|
|
data/lib/ox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! "A fast XML parser and object serializer that uses only standard C
|
15
15
|
lib.\n \nOptimized XML (Ox), as the name implies was written to provide
|