Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

special characters problem on ruby 1.9.3-p392 #37

Closed
robuye opened this issue Feb 25, 2013 · 6 comments
Closed

special characters problem on ruby 1.9.3-p392 #37

robuye opened this issue Feb 25, 2013 · 6 comments
Labels

Comments

@robuye
Copy link
Contributor

robuye commented Feb 25, 2013

The following code causes exception on Ruby 1.9.3-p392 and probably 2.0 for both nokogiri and rexml parsers.

Nori.new.parse('<root>&amp;#039;</root>')

# => NameError: uninitialized constant REXML::Text::Document
@robuye
Copy link
Contributor Author

robuye commented Feb 25, 2013

i have reported it to ruby-core mailing list aswell.

@robuye
Copy link
Contributor Author

robuye commented Feb 26, 2013

the bug report has been accepted and assigned:
https://bugs.ruby-lang.org/issues/7961#change-37017

@rubiii
Copy link
Contributor

rubiii commented Feb 26, 2013

thanks for reporting and fixing this problem. i'll release a bugfix for this.

rubiii added a commit that referenced this issue Feb 26, 2013
[Issue #37] fixes REXML bug introduced in Ruby 1.9.3-p392
@rubiii
Copy link
Contributor

rubiii commented Feb 26, 2013

released as v2.0.4. thanks again!

@rubiii rubiii closed this as completed Feb 26, 2013
@jeveloper
Copy link

Can you push the same fix to 1.X branch please?
there are plenty of rubygems dependent on it.

thanks

@rubiii
Copy link
Contributor

rubiii commented Mar 3, 2013

released v1.1.5 with your patch.

ryanlchan added a commit to ryanlchan/google-contacts that referenced this issue May 2, 2013
…p392/2.0

Specifically, we want to include the fixes from issue savonrb/nori#37 (special
characters problem on Ruby 1.9.3-p392)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants