ox 1.8.5 → 1.8.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ox might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/README.md +3 -2
  2. data/ext/ox/sax.c +1 -4
  3. data/lib/ox/version.rb +1 -1
  4. 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.5
37
+ ### Release 1.8.6
38
38
 
39
- - added encoding support for JRuby where possible when in 1.9 mode.
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
- if (0 != strcmp(dr->str, ename)) {
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
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Ox
3
3
  # Current version of the module.
4
- VERSION = '1.8.5'
4
+ VERSION = '1.8.6'
5
5
  end
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.5
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-03 00:00:00.000000000 Z
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