issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
262k
⌀
issue_title
stringlengths
1
1.02k
issue_comments_url
stringlengths
53
116
issue_comments_count
int64
0
2.49k
issue_created_at
stringdate
1999-03-17 02:06:42
2025-06-23 11:41:49
issue_updated_at
stringdate
2000-02-10 06:43:57
2025-06-23 11:43:00
issue_html_url
stringlengths
34
97
issue_github_id
int64
132
3.17B
issue_number
int64
1
215k
[ "sparklemotion", "nokogiri" ]
Is there anyway to add a parent by using code like add_child?
Should be able to add a parent to a Document fragment
https://api.github.com/repos/sparklemotion/nokogiri/issues/1495/comments
1
2016-06-22T18:23:33Z
2016-06-22T18:46:40Z
https://github.com/sparklemotion/nokogiri/issues/1495
161,752,340
1,495
[ "sparklemotion", "nokogiri" ]
I have an old app running ruby 1.9.3 and are dependent on gems depending on Nokogiri 1.5.11. There are compability issues on Nokogiri 1.5.x and libxml 2.9.x, as pointed out here #829. After moving to a new server (Ubuntu 16.04 LTS) this has no older version of libxml available other than 2.9.x. It seems that a downgrad...
Build and compile libxml2 2.7.8 with xslt manually for Ubuntu 16.04 and Nokogiri 1.5.x
https://api.github.com/repos/sparklemotion/nokogiri/issues/1494/comments
2
2016-06-21T05:39:33Z
2016-10-03T05:51:00Z
https://github.com/sparklemotion/nokogiri/issues/1494
161,353,486
1,494
[ "sparklemotion", "nokogiri" ]
(reported on nokogiri-talk by @justinthec) I haven't had time to look into this, but wanted to capture it so that it wouldn't get forgotten. --- > Hello, > > Preface/libxml2 > > I've come across a bug that popped up once before in libxml2 back in 2008 where XML_TEXT_NODEs would always return 0 as their line number...
line numbers not working as expected
https://api.github.com/repos/sparklemotion/nokogiri/issues/1493/comments
3
2016-06-20T23:25:12Z
2021-08-14T17:01:39Z
https://github.com/sparklemotion/nokogiri/issues/1493
161,318,188
1,493
[ "sparklemotion", "nokogiri" ]
Sorry, I don't yet have a minimal test case (the setup that reveals this issue is quite large), but after some manipulation of the DOM, I'm seeing an element that looks like this: ``` #(Element:0x21da { name = "annotation-end", namespace = #(Namespace:0x20fa { prefix = "office", href = "urn:oasis:names:tc:opendocu...
Attribute names sometimes have namespace prepended under jruby
https://api.github.com/repos/sparklemotion/nokogiri/issues/1492/comments
3
2016-06-20T00:40:01Z
2021-02-16T17:05:51Z
https://github.com/sparklemotion/nokogiri/issues/1492
161,100,349
1,492
[ "sparklemotion", "nokogiri" ]
``` ruby doc = Nokogiri::HTML(open("http://www.threescompany.com/")) extraction = doc.css('example') extraction.each do |content| extraction.delete(content) end ``` Throw this error: `node must be a Nokogiri::XML::Node or Nokogiri::XML::Namespace (ArgumentError)`
NodeSet.delete throw exception with its NodeSet.each
https://api.github.com/repos/sparklemotion/nokogiri/issues/1491/comments
1
2016-06-19T23:32:33Z
2016-10-03T05:54:25Z
https://github.com/sparklemotion/nokogiri/issues/1491
161,097,835
1,491
[ "sparklemotion", "nokogiri" ]
I have an XML like: ``` <ns2:doc> <field> ... </field> </ns2:doc> ``` How can I address it in a single line query? I tried: ``` context.search("doc field") # => [] context.search("ns2:doc field") # => exception context.xpath("//ns2:doc/:field") # => [] context.css("doc field") # => [] context.css("ns2:d...
Mix XML with filled and empty namespaces
https://api.github.com/repos/sparklemotion/nokogiri/issues/1490/comments
3
2016-06-16T11:28:41Z
2016-10-07T00:25:02Z
https://github.com/sparklemotion/nokogiri/issues/1490
160,639,226
1,490
[ "sparklemotion", "nokogiri" ]
I have a need to install Nokogiri on a custom build of ruby 2.3.0, which has DevKit installed. I am following instructions on [this page](http://www.mlte.de/ruby-win7) to install nokogiri, but always failed because of nokogiri cannot locate the needed libs such `libiconv`. I am suspecting that the `--with-*-dir` optio...
Build nokogiri on Windows 7
https://api.github.com/repos/sparklemotion/nokogiri/issues/1489/comments
2
2016-06-16T05:30:12Z
2016-07-11T11:28:08Z
https://github.com/sparklemotion/nokogiri/issues/1489
160,580,621
1,489
[ "sparklemotion", "nokogiri" ]
In closing issue #1417, you have added the pkg-config gem which is LGPL-2.1. Certainly this should be an optional gem for those who cannot have the LGPL license in their projects.
Nokogiri LGPL-2.1?
https://api.github.com/repos/sparklemotion/nokogiri/issues/1488/comments
17
2016-06-13T14:30:46Z
2016-12-15T23:09:56Z
https://github.com/sparklemotion/nokogiri/issues/1488
159,964,120
1,488
[ "sparklemotion", "nokogiri" ]
Nokogiri fails to install on alpine linux. Can be testing using the DockerFile below: ``` FROM alpine:3.4 RUN apk upgrade --update \ && apk add libatomic readline readline-dev \ libxml2 libxml2-dev libxml2-utils \ ncurses-terminfo-base ncurses-terminfo \ libxslt libxslt-dev zlib-dev zlib r...
gem install nokogiri -v 1.6.8 fails on alpine linux
https://api.github.com/repos/sparklemotion/nokogiri/issues/1487/comments
13
2016-06-13T01:45:40Z
2021-02-16T17:04:13Z
https://github.com/sparklemotion/nokogiri/issues/1487
159,860,315
1,487
[ "sparklemotion", "nokogiri" ]
I see a bunch of related issues and I can't tell if this is duplicating them or not but so as to document the workaround I've been able to get my builds green again by adding this to my `Gemfile`: ``` gem 'nokogiri', '< 1.6.8' ```
gem install nokogiri -v 1.6.8 fails also on Mac OS X
https://api.github.com/repos/sparklemotion/nokogiri/issues/1486/comments
31
2016-06-12T05:13:46Z
2018-01-05T02:54:54Z
https://github.com/sparklemotion/nokogiri/issues/1486
159,808,525
1,486
[ "sparklemotion", "nokogiri" ]
my os: ``` roroco@roroco ~/Dropbox/jvs/ro-adr $ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 17.3 Rosa Release: 17.3 Codename: rosa ``` my ruby version: ``` roroco@roroco ~/Dropbox/jvs/ro-adr $ ruby -v ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux...
gem install nokogiri -v 1.6.8 failed on ubuntu
https://api.github.com/repos/sparklemotion/nokogiri/issues/1485/comments
1
2016-06-10T03:48:46Z
2016-10-03T05:57:57Z
https://github.com/sparklemotion/nokogiri/issues/1485
159,553,903
1,485
[ "sparklemotion", "nokogiri" ]
This is related to #1200 I have a reproducer here: https://gist.github.com/akostadinov/f450c1282cd10e2045befc70db9c506a Basically duplicating an element under same parent does not work unless the element is `element.dup` before adding it as a second child.
adding duplicate child element broken
https://api.github.com/repos/sparklemotion/nokogiri/issues/1484/comments
3
2016-06-09T10:40:35Z
2017-02-13T06:33:36Z
https://github.com/sparklemotion/nokogiri/issues/1484
159,377,661
1,484
[ "sparklemotion", "nokogiri" ]
Action: ``` sh brew install xz gem install nokogiri -v 1.6.8 ``` Expected: Nokogiri 1.6.8 installs correctly. Actual: ``` Restoring gems to pristine condition... Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Ext::BuildError) ERROR: Failed to build gem native exte...
Nokogiri 1.6.8 Install Fails on Mac OS X with xz installed from Homebrew
https://api.github.com/repos/sparklemotion/nokogiri/issues/1483/comments
51
2016-06-07T19:38:28Z
2016-11-25T15:13:37Z
https://github.com/sparklemotion/nokogiri/issues/1483
159,006,584
1,483
[ "sparklemotion", "nokogiri" ]
Cross-compiled windows gem contains misleading and incorrect library paths in `VersionInfo`: ``` C:\Users\admin>nokogiri -v # Nokogiri (1.6.8) --- warnings: [] nokogiri: 1.6.8 ruby: version: 2.2.4 platform: x64-mingw32 description: ruby 2.2.4p230 (2015-12-16 revision 53155) [x64-mingw...
Installed gems using vendored libraries report inappropriate library paths in `nokogiri -v`
https://api.github.com/repos/sparklemotion/nokogiri/issues/1482/comments
4
2016-06-06T23:26:03Z
2020-01-11T21:15:40Z
https://github.com/sparklemotion/nokogiri/issues/1482
158,797,866
1,482
[ "sparklemotion", "nokogiri" ]
Still seeing segfaults once in a while due to libxml-ruby conflicts ... Running Nokogiri 1.6.8.rc3 with libxml-ruby 2.8.0: ``` $ bundle exec rake test:libxml-ruby install -c tmp/x86_64-linux/nokogiri/2.3.0/nokogiri.so lib/nokogiri/nokogiri.so cp tmp/x86_64-linux/nokogiri/2.3.0/nokogiri.so tmp/x86_64-linux/stage/lib/...
infrequent libxml-ruby segfault
https://api.github.com/repos/sparklemotion/nokogiri/issues/1481/comments
1
2016-06-06T22:48:34Z
2020-02-02T18:51:06Z
https://github.com/sparklemotion/nokogiri/issues/1481
158,793,065
1,481
[ "sparklemotion", "nokogiri" ]
Already doing this manually before release.
Travis should run at least one test suite with libxml-ruby loaded
https://api.github.com/repos/sparklemotion/nokogiri/issues/1480/comments
1
2016-06-06T21:54:39Z
2017-03-17T01:06:09Z
https://github.com/sparklemotion/nokogiri/issues/1480
158,784,390
1,480
[ "sparklemotion", "nokogiri" ]
Already doing this manually before release.
Travis should run at least one test suite under Valgrind
https://api.github.com/repos/sparklemotion/nokogiri/issues/1479/comments
1
2016-06-06T21:54:24Z
2017-01-27T21:55:50Z
https://github.com/sparklemotion/nokogiri/issues/1479
158,784,336
1,479
[ "sparklemotion", "nokogiri" ]
I understand that the code below is wrong, as Attr constructor expects a document instead of an element, but it should not crash the MRI itself and should be handled correctly (maybe throw an exception). ``` ruby document = Nokogiri::XML::Document.new element = Nokogiri::XML::Element.new('use', document) attr = Nokogi...
SIGSEGV on ruby 2.1.8 with reproducible code
https://api.github.com/repos/sparklemotion/nokogiri/issues/1477/comments
1
2016-06-01T22:25:50Z
2017-01-13T13:29:33Z
https://github.com/sparklemotion/nokogiri/issues/1477
158,020,853
1,477
[ "sparklemotion", "nokogiri" ]
Hi. I'm trying to parse [this](http://www.pro-medic.ru/index.php?ht=246&perpage=all) page. But unfortunately I can't get all items from page. My simple test code is as following ``` require 'open-uri' require 'nokogiri' html = Nokogiri::HTML open('http://www.pro-medic.ru/index.php?ht=246&perpage=all') p html.css('u...
problem with parsing large HTML files
https://api.github.com/repos/sparklemotion/nokogiri/issues/1476/comments
1
2016-05-31T09:31:25Z
2016-05-31T10:43:18Z
https://github.com/sparklemotion/nokogiri/issues/1476
157,628,315
1,476
[ "sparklemotion", "nokogiri" ]
We do a variety of stupid things including - using RbConfig::CONFIG['target_os'] and RUBY_PLATFORM and RUBY_ENGINE and RCD_HOST_RUBY_PLATFORM - subtly varying things to match on windows: mswin, mingw, mingw32, cygwin
clean up platform detection in extconf.rb
https://api.github.com/repos/sparklemotion/nokogiri/issues/1475/comments
4
2016-05-31T07:24:42Z
2024-07-02T19:38:25Z
https://github.com/sparklemotion/nokogiri/issues/1475
157,605,943
1,475
[ "sparklemotion", "nokogiri" ]
See https://github.com/MacRuby/MacRuby/commit/f76b9d6e99c18236db617e8aceb12c27d593a483
deprecate macruby support
https://api.github.com/repos/sparklemotion/nokogiri/issues/1474/comments
0
2016-05-31T07:19:15Z
2016-12-27T00:36:26Z
https://github.com/sparklemotion/nokogiri/issues/1474
157,605,172
1,474
[ "sparklemotion", "nokogiri" ]
both of which contain security fixes.
upgrade to libxml2 2.9.4 and libxslt 1.1.29
https://api.github.com/repos/sparklemotion/nokogiri/issues/1473/comments
5
2016-05-31T05:58:44Z
2016-06-11T13:05:31Z
https://github.com/sparklemotion/nokogiri/issues/1473
157,595,478
1,473
[ "sparklemotion", "nokogiri" ]
Can not install nokogiri on a fresh installation of Mac OS X. > sw_vers > ProductName: Mac OS X > ProductVersion: 10.11.5 > BuildVersion: 15F34 > > gcc --version > Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 7.3.0 (clang-7...
Mac OS X: Failed to build gem native extension
https://api.github.com/repos/sparklemotion/nokogiri/issues/1472/comments
2
2016-05-25T07:14:32Z
2016-10-03T06:01:38Z
https://github.com/sparklemotion/nokogiri/issues/1472
156,678,967
1,472
[ "sparklemotion", "nokogiri" ]
hey guys it seems like somebody messed up because gemspec is missing instead I found a file called y_u_no_gemspec.md. This is not a gemspec file. It appears to be somebody's rant that belongs on a personal blog post or a drive by HN comment. I find it highly unprofessional that somebody took the time to include that bu...
gemspec is missing
https://api.github.com/repos/sparklemotion/nokogiri/issues/1471/comments
5
2016-05-24T02:46:30Z
2016-07-11T11:59:14Z
https://github.com/sparklemotion/nokogiri/issues/1471
156,408,730
1,471
[ "sparklemotion", "nokogiri" ]
This is with JRuby 9.1.1.0, and Nokogiri 1.6.7.2: ``` ruby require 'nokogiri' p Nokogiri.XML('<foo></foo>').css('a:hover img') ``` MRI: ``` # /usr/local/bin/ruby.mri test.rb [] ``` JRuby: ``` # ruby test.rb Nokogiri::XML::XPath::SyntaxError: //a[hover(.)]//img evaluate at nokogiri/XmlXpathContext.java:169 ...
JRuby: Nokogiri::XML::XPath::SyntaxError when querying with pseudoclass
https://api.github.com/repos/sparklemotion/nokogiri/issues/1470/comments
2
2016-05-20T03:01:32Z
2024-07-02T19:36:27Z
https://github.com/sparklemotion/nokogiri/issues/1470
155,877,922
1,470
[ "sparklemotion", "nokogiri" ]
I'm having a bit of a problem, I may be overlooking something quite obvious, but here is the gist of my problem https://gist.github.com/IceDragon200/873139e6c7d395dfcd9793949f9b2246 What's happening here, I've created an element with a namespace and then child elements without a namespace, expecting the children to be...
Should namespaces be passed down to child elements?
https://api.github.com/repos/sparklemotion/nokogiri/issues/1469/comments
6
2016-05-17T13:42:46Z
2022-01-16T19:29:54Z
https://github.com/sparklemotion/nokogiri/issues/1469
155,262,723
1,469
[ "sparklemotion", "nokogiri" ]
I'm having an XML and a corresponding XSD. I use the XSD to validate uploaded XMLs by Rails. My problem is that the XSD defines required attributes for the XML and the validation passes even when the attributes are not present. Tried a basic XML and XSD in Rails console and all is working correctly. The XSD part is ...
XSD validation skips use="required" in atrribute only in xs:entension
https://api.github.com/repos/sparklemotion/nokogiri/issues/1468/comments
4
2016-05-15T18:15:22Z
2021-02-16T17:04:12Z
https://github.com/sparklemotion/nokogiri/issues/1468
154,921,878
1,468
[ "sparklemotion", "nokogiri" ]
close
close
https://api.github.com/repos/sparklemotion/nokogiri/issues/1467/comments
0
2016-05-15T04:33:37Z
2016-05-15T05:27:24Z
https://github.com/sparklemotion/nokogiri/issues/1467
154,889,803
1,467
[ "sparklemotion", "nokogiri" ]
``` C:\>gem install mechanize ERROR: Error installing mechanize: nokogiri requires Ruby version < 2.3, >= 1.9.2. ``` However!!!!! ``` C:\>nokogiri -v # Nokogiri (1.6.8.rc3) --- warnings: [] nokogiri: 1.6.8.rc3 ruby: version: 2.3.0 platform: i386-mingw32 description: ruby 2.3...
Unable to install mechanize
https://api.github.com/repos/sparklemotion/nokogiri/issues/1466/comments
1
2016-05-15T04:32:25Z
2016-05-15T17:03:43Z
https://github.com/sparklemotion/nokogiri/issues/1466
154,889,760
1,466
[ "sparklemotion", "nokogiri" ]
## Summary I found that the output of read_memory method for below environment were different for each other, using read_memory testing script. Could you tell me that it is bug or not? - nokogiri: v1.6.7.2 - libxml2: 2.9.2 - nokogiri: latest master branch, commit fe57e9080a8f1c238c706f0599d5fcfaeea33f8c - libxml2...
The output of read_memory method with libxml 2.9.3 is different from the one with libxml 2.9.2
https://api.github.com/repos/sparklemotion/nokogiri/issues/1465/comments
2
2016-05-14T23:33:23Z
2016-05-16T11:18:02Z
https://github.com/sparklemotion/nokogiri/issues/1465
154,881,083
1,465
[ "sparklemotion", "nokogiri" ]
jruby: ``` jruby-9.0.4.0 :026 > Nokogiri::HTML::Document.parse("<html><head><ins></ins><title>Foo</title></head><body><p>Bar</p></body></html>").css('body').to_s => "<body><ins></ins><title>Foo</title><p>Bar</p></body>" ``` Note both the ins and the title are in the body, even though they are in the head in the doc...
Nokogiri includes <head> content in <body> after <ins> tag jruby, 1.6.7.2
https://api.github.com/repos/sparklemotion/nokogiri/issues/1464/comments
2
2016-05-04T00:25:07Z
2017-02-13T06:35:11Z
https://github.com/sparklemotion/nokogiri/issues/1464
152,904,378
1,464
[ "sparklemotion", "nokogiri" ]
I'm trying to run my Rails API application on a new Ubuntu 16.04 server. Bundle installed all the gems without error, but I'm getting an error when attempting to start the application: `Message from application: incompatible library version - /home/deploy/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/nokogiri...
Incompatible library version on Ubuntu 16.04
https://api.github.com/repos/sparklemotion/nokogiri/issues/1463/comments
18
2016-05-03T23:13:57Z
2016-11-22T15:58:14Z
https://github.com/sparklemotion/nokogiri/issues/1463
152,895,409
1,463
[ "sparklemotion", "nokogiri" ]
The installation guide at http://www.nokogiri.org/tutorials/installing_nokogiri.html doesn't work for OSX El Capitan anymore. Would you please update it? You can find relevant discussions at http://stackoverflow.com/a/23584954/912645
please update OSX Installation guide
https://api.github.com/repos/sparklemotion/nokogiri/issues/1462/comments
2
2016-04-22T03:22:08Z
2021-02-16T17:04:12Z
https://github.com/sparklemotion/nokogiri/issues/1462
150,254,039
1,462
[ "sparklemotion", "nokogiri" ]
Created a reproducer; this was occurring while trying to rearrange a site with an embedded SVG. ``` jruby-9.0.4.0 :001 > require 'nokogiri' => true jruby-9.0.4.0 :002 > puts Nokogiri::VERSION 1.6.7.2 => nil jruby-9.0.4.0 :003 > Nokogiri::HTML::DocumentFragment.parse('<svg version="1.1" viewbox="0 0 1024 1024" x="0px...
Crash on embedded SVGs in jruby, 1.6.7.2
https://api.github.com/repos/sparklemotion/nokogiri/issues/1461/comments
4
2016-04-21T19:42:35Z
2018-03-21T05:39:22Z
https://github.com/sparklemotion/nokogiri/issues/1461
150,172,226
1,461
[ "sparklemotion", "nokogiri" ]
Hi @flavorjones, @larskanis, @jvshahid, Would you accept a PR adding in the `NodeSet#unshift` method? I noticed that `NodeSet` has `push`, `pop`, and `shift`, but no `unshift`. Maybe there is a practical reason why not, or maybe this was just simply forgotten, in any case thought I would ask before making a PR. Thank...
NodeSet#unshift does not exist
https://api.github.com/repos/sparklemotion/nokogiri/issues/1459/comments
1
2016-04-07T15:24:22Z
2016-10-03T06:05:17Z
https://github.com/sparklemotion/nokogiri/issues/1459
146,658,074
1,459
[ "sparklemotion", "nokogiri" ]
We are receiving regular StackOverflowErrors that are crashing our server when parsing websites using Nokogiri 1.6.7.2-java (the latest) and running a multi-threaded puma rails environment. The stack trace is always the same - lots of stabilzeAttrValue lines and then a lot of xerces isNormalized lines before it eventu...
StackOverflowError using 1.6.7.2-java
https://api.github.com/repos/sparklemotion/nokogiri/issues/1458/comments
2
2016-04-06T14:18:16Z
2016-04-06T14:59:13Z
https://github.com/sparklemotion/nokogiri/issues/1458
146,327,924
1,458
[ "sparklemotion", "nokogiri" ]
Unknown encoding name - utf8
https://api.github.com/repos/sparklemotion/nokogiri/issues/1457/comments
2
2016-04-05T07:54:21Z
2020-03-10T19:57:41Z
https://github.com/sparklemotion/nokogiri/issues/1457
145,919,579
1,457
[ "sparklemotion", "nokogiri" ]
`gem install rails` on nokogiri install fail with error: 'nokogiri requires Ruby version < 2.3, >= 1.9.2.' `gem install nokogiri -v '1.6.5'` solve problem of installation but `gem update` again fails
Fail install on Ruby 2.3 for Windows
https://api.github.com/repos/sparklemotion/nokogiri/issues/1456/comments
17
2016-04-05T07:27:21Z
2016-04-27T22:41:17Z
https://github.com/sparklemotion/nokogiri/issues/1456
145,913,019
1,456
[ "sparklemotion", "nokogiri" ]
sudo gem install jazzy Building native extensions. This could take a while... ERROR: Error installing jazzy: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb creating Makefile make "DESTDIR=" make: **\* No rule to make target `"/Appli...
Installation problem - (OSX version - 10.11.3 (15D21) , Xcode Version - 7.3 (7D175))
https://api.github.com/repos/sparklemotion/nokogiri/issues/1455/comments
2
2016-04-04T11:53:38Z
2016-04-05T05:58:59Z
https://github.com/sparklemotion/nokogiri/issues/1455
145,662,329
1,455
[ "sparklemotion", "nokogiri" ]
Hi, I just upgraded nokogiri and now the gem fails to install. I narrowed down the breaking change between 1.6.7.rc3 and 1.6.7.rc4. This is on OSX 10.10.5. Here is the log output from configure: `/Users/coen-hyde/.dotfiles/link/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.7.rc4/ext/nokogiri/tmp/x86_6...
Failed to build native extensions
https://api.github.com/repos/sparklemotion/nokogiri/issues/1454/comments
5
2016-03-29T20:02:39Z
2016-10-03T06:07:50Z
https://github.com/sparklemotion/nokogiri/issues/1454
144,371,195
1,454
[ "sparklemotion", "nokogiri" ]
Hi everyone, So when I create a new rails application I get the following message: > _`rails new testing > create > create README.rdoc > create Rakefile > create config.ru > create .gitignore > create Gemfile > create app > create app/assets/javascripts/applic...
Unable to create new Rails application without "extconf.rb failed" error
https://api.github.com/repos/sparklemotion/nokogiri/issues/1453/comments
2
2016-03-29T18:42:28Z
2016-03-31T21:45:34Z
https://github.com/sparklemotion/nokogiri/issues/1453
144,351,306
1,453
[ "sparklemotion", "nokogiri" ]
I recently updated my Rails application from Rails 3 to Rails 4 and updated Ruby from 1.9 to 2.3. (I later tried 2.2 and 2.1 with the same results). This issue only happens with Nokogiri 1.6.x (tried 1.6.0-1.6.7), 1.5.x does not have this issue. I'm using Passenger with NGINX. The application runs fine for the most p...
Random segmentation faults with Rails
https://api.github.com/repos/sparklemotion/nokogiri/issues/1452/comments
2
2016-03-28T20:42:16Z
2020-02-02T18:51:06Z
https://github.com/sparklemotion/nokogiri/issues/1452
144,077,992
1,452
[ "sparklemotion", "nokogiri" ]
When I look at https://rubygems.org/gems/nokogiri, in the description of Nokogiri it reads: ' XML is like violence - if it doesn’t solve your problems, you are not using enough of it.' Obviously, this is humorous. But maybe it is also bad taste. At least it is not useful in the description of this gem. Please consid...
Do not glorify violence
https://api.github.com/repos/sparklemotion/nokogiri/issues/1450/comments
2
2016-03-24T12:41:03Z
2017-12-21T15:35:33Z
https://github.com/sparklemotion/nokogiri/issues/1450
143,234,097
1,450
[ "sparklemotion", "nokogiri" ]
Hi all. Perhaps this is a well known easy fix, but I am having trouble on Ubuntu 14.04 when using nokogiri for a Jekyll plugin. I tried ``` $ gem install nokogiri Fetching: mini_portile2-2.0.0.gem (100%) ...
install issue on ubuntu 14.04
https://api.github.com/repos/sparklemotion/nokogiri/issues/1449/comments
2
2016-03-24T09:36:22Z
2016-03-24T15:18:58Z
https://github.com/sparklemotion/nokogiri/issues/1449
143,198,239
1,449
[ "sparklemotion", "nokogiri" ]
When an empty document gets returned, would it be possible to throw a more specific error? The current code (https://github.com/sparklemotion/nokogiri/blob/master/ext/java/nokogiri/XmlSaxParserContext.java#L263-L264) throws a `RuntimeError`. Could you return something like `EmptyDocumentError < RuntimeError`? We a...
Throw a more specific error for an empty document
https://api.github.com/repos/sparklemotion/nokogiri/issues/1448/comments
3
2016-03-23T22:24:43Z
2016-10-03T06:09:44Z
https://github.com/sparklemotion/nokogiri/issues/1448
143,095,816
1,448
[ "sparklemotion", "nokogiri" ]
I'm making verification xml against xsd and every regular expressions in xsd works well, except from one: Element '{http://www.mf.gov.pl/xsd/ECS/IE515_v1-0.xsd}IE515', attribute 'EmailPodmiotu': [facet 'pattern'] The value 'testecs@huzar.pl' is not accepted by the pattern '[A-Za-z0-9]+((.|-|_)[A-Za-z0-9]+)*(@[A-Za-z0-9...
Regular expression error
https://api.github.com/repos/sparklemotion/nokogiri/issues/1446/comments
4
2016-03-21T09:51:28Z
2016-03-23T10:17:39Z
https://github.com/sparklemotion/nokogiri/issues/1446
142,299,630
1,446
[ "sparklemotion", "nokogiri" ]
- OS X version: 10.11.3 - ruby version: `ruby 2.3` installed with `ruby-install` to `~/.rubies`, and activated with `chruby` - nokogiri version: `1.6.8.rc3` Build error: ``` xmlIO.c:1450:52: error: use of undeclared identifier 'LZMA_OK' ret = (__libxml2_xzclose((xzFile) context) == LZMA_OK ) ? 0 : -1; ...
nokogiri 1.6.8.rc3 fails to build in a fresh install of ruby 2.3 on OS X
https://api.github.com/repos/sparklemotion/nokogiri/issues/1445/comments
33
2016-03-10T18:35:55Z
2017-02-06T16:54:24Z
https://github.com/sparklemotion/nokogiri/issues/1445
139,974,844
1,445
[ "sparklemotion", "nokogiri" ]
See related original PR #431 and related bug report #1442 See code submitted with #1442 for an example of fragment parsing that doesn't obey the HUGE option when parsing deeply-nested trees. I suspect we're not passing parser options on to the libxml2 parsing context properly. Definitely need to investigate.
Nokogiri::XML::ParseOptions::HUGE doesn't seem to do anything on fragment parsing
https://api.github.com/repos/sparklemotion/nokogiri/issues/1443/comments
1
2016-03-06T21:29:21Z
2021-12-24T22:48:10Z
https://github.com/sparklemotion/nokogiri/issues/1443
138,840,809
1,443
[ "sparklemotion", "nokogiri" ]
Given `Nokogiri::HTML` document `A` (a large HTML document with many nested tags) and `Nokogiri::HTML` document `B` (which can be a simple document: `<html><body></body></html>`), when trying to replace a node in `A` with the string contents of `B`, this error is thrown: ``` RuntimeError: error parsing fragment (1) fr...
Possible regression in node.replace(X) when X is a huge string of markup ("error parsing fragment (1)")
https://api.github.com/repos/sparklemotion/nokogiri/issues/1442/comments
12
2016-03-04T15:46:25Z
2021-12-24T22:48:49Z
https://github.com/sparklemotion/nokogiri/issues/1442
138,506,731
1,442
[ "sparklemotion", "nokogiri" ]
``` ruby res = "<?xml version=\"1.0\" encoding=\"gb2312\"? >\r\n<property>\r\n<returncode>200</returncode>\r\n<returnmsg><![CDATA[ok ]]></returnmsg>\r\n<info>\r\n<record>\r\n<allow>\xBE\xDE\x8C\xC5.cn</allow>\r\n<registered></registered>\r\n<error></error>\r\n</record>\r\n</info>\r\n</property>" doc = Nokogiri::XM...
some gb2312 charset not support
https://api.github.com/repos/sparklemotion/nokogiri/issues/1441/comments
1
2016-03-04T10:26:40Z
2022-01-10T19:33:20Z
https://github.com/sparklemotion/nokogiri/issues/1441
138,438,749
1,441
[ "sparklemotion", "nokogiri" ]
Hi have a problem similar issue #1281 ,but i can reproduce the error whit this snippet: ``` require 'nokogiri' html_fragment=<<-eos <img width="16" height="16" src="/icons/graycol.gif" border="0" alt="Inactive hide details for &quot;User&quot; ---19/05/2015 12:55:29---Provvediamo subito nell&#8217;integrare"> eos d...
Runtime error when calling to_html
https://api.github.com/repos/sparklemotion/nokogiri/issues/1440/comments
4
2016-03-03T21:00:05Z
2017-02-10T07:26:45Z
https://github.com/sparklemotion/nokogiri/issues/1440
138,295,789
1,440
[ "sparklemotion", "nokogiri" ]
In the following session I'd expect three text nodes" ``` ruby [1] pry(main)> require 'nokogiri' => true [2] pry(main)> Nokogiri::VERSION => "1.6.7.2" [3] pry(main)> doc = Nokogiri::HTML.fragment 'some text <p>more text</p> excess text' => #(DocumentFragment:0x2acb9d91fc60 { name = "#document-fragment", children =...
xpath searching in fragments is inconsistent
https://api.github.com/repos/sparklemotion/nokogiri/issues/1438/comments
2
2016-03-01T20:07:00Z
2017-02-10T09:42:34Z
https://github.com/sparklemotion/nokogiri/issues/1438
137,673,445
1,438
[ "sparklemotion", "nokogiri" ]
``` $ gem fetch nokogiri Fetching: nokogiri-1.6.7.2.gem (100%) Downloaded nokogiri-1.6.7.2 $ gem compile nokogiri-1.6.7.2.gem Unpacking gem: 'nokogiri-1.6.7.2' in temporary directory... Building native extensions. This could take a while... WARNING: See http://guides.rubygems.org/specification-reference/ for help ER...
gem-compiler fails to run on nokogiri
https://api.github.com/repos/sparklemotion/nokogiri/issues/1436/comments
2
2016-02-29T13:30:31Z
2019-01-31T06:44:24Z
https://github.com/sparklemotion/nokogiri/issues/1436
137,254,864
1,436
[ "sparklemotion", "nokogiri" ]
If I try to read the text content of a XML node, I get the the text content of all child elements as well. Check for example: `<text> A additional note: <content ID="ap1">This is a generated Text, just for demo purposes (section 2: Active Problems) </content> </text>` where the .content or .text message o...
Nokogiri::XML Node content returns content of child elements as well
https://api.github.com/repos/sparklemotion/nokogiri/issues/1435/comments
1
2016-02-27T19:45:16Z
2016-02-28T20:29:59Z
https://github.com/sparklemotion/nokogiri/issues/1435
136,959,987
1,435
[ "sparklemotion", "nokogiri" ]
Preface: I'm using ruby 1.8.7, I know it's not supported but I'm also using a version of nokogiri that worked just fine before. So when I add `'gem 'nokogiri', '~> 1.3', '>= 1.3.1'"` to my Gemfile I get this error: ``` ruby Gem::InstallError: mini_portile2 requires Ruby version >= 1.9.2. An error occurred while instal...
Nokogiri and mini_portile2, on old nokogiri version
https://api.github.com/repos/sparklemotion/nokogiri/issues/1434/comments
2
2016-02-24T22:22:40Z
2016-02-29T13:34:07Z
https://github.com/sparklemotion/nokogiri/issues/1434
136,205,142
1,434
[ "sparklemotion", "nokogiri" ]
I'm trying to parse a document which uses some of the new HTML5 tags, among them `<article>`. For some reason, `ng.css('div')` works just fine and returns dozens of elements, but `ng.css('article')` contains none, even though plenty are in the HTML. Is this not supported, am I doing something wrong or have I hit a bug?...
Can't select <article>?
https://api.github.com/repos/sparklemotion/nokogiri/issues/1433/comments
2
2016-02-23T19:41:46Z
2016-03-01T19:01:15Z
https://github.com/sparklemotion/nokogiri/issues/1433
135,842,293
1,433
[ "sparklemotion", "nokogiri" ]
Had this issue: ``` bash Gem files will remain installed in /Users/WREAdmin/.rvm/gems/ruby-head/gems/nokogiri-1.6.7.2 for inspection. Results logged to /Users/WREAdmin/.rvm/gems/ruby-head/extensions/x86_64-darwin-14/2.2.0/nokogiri-1.6.7.2/gem_make.out An error occurred while installing nokogiri (1.6.7.2), and Bundler ...
An error occurred while installing nokogiri (1.6.7.2), and Bundler cannot continue.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1432/comments
5
2016-02-23T17:18:23Z
2016-10-06T21:48:05Z
https://github.com/sparklemotion/nokogiri/issues/1432
135,801,929
1,432
[ "sparklemotion", "nokogiri" ]
Using the following code: ``` ruby input_xml = <<-EOS <?xml version="1.0" encoding="utf-8"?> <report> <title>My Report</title> </report> EOS input_xsl = <<-EOS <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html>...
JRuby nokogiri incorrectly include xml declaration for html transformation
https://api.github.com/repos/sparklemotion/nokogiri/issues/1430/comments
4
2016-02-17T23:17:43Z
2024-07-02T19:25:08Z
https://github.com/sparklemotion/nokogiri/issues/1430
134,430,703
1,430
[ "sparklemotion", "nokogiri" ]
Hello, Is there a reason why null bytes aren't encoded as `&#0;` instead of raising an exception? For example, the following: ``` ruby Nokogiri::XML( "<blah>stuff</blah>" ).css( 'blah' ).first.content = "\0" ``` results in: ``` /home/zapotek/.rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.rc2/lib/nokogiri/xml/node.rb:416...
Handling of null bytes
https://api.github.com/repos/sparklemotion/nokogiri/issues/1429/comments
8
2016-02-17T05:58:28Z
2021-02-16T17:04:12Z
https://github.com/sparklemotion/nokogiri/issues/1429
134,187,567
1,429
[ "sparklemotion", "nokogiri" ]
Running `rake test_deps` reveals: ``` Dependency Issues: test/html/test_document.rb Dependency Issues: test/html/test_document_fragment.rb Dependency Issues: test/test_reader.rb ``` Investigate and fix.
Investigate three failing test files when run in isolation
https://api.github.com/repos/sparklemotion/nokogiri/issues/1428/comments
1
2016-02-17T02:35:44Z
2016-02-17T15:48:55Z
https://github.com/sparklemotion/nokogiri/issues/1428
134,159,223
1,428
[ "sparklemotion", "nokogiri" ]
I'm not using the system default Ruby and am using rvm, so it's possible that those have had some effect, but renaming my Xcode so that the path no longer contains a space appears to resolve the issue. The relevant bit is, I believe: ``` /Applications/Xcode 7.2.app/Contents/Developer/usr/bin/make all-recursive make:...
Gem Installation fails on OS X when Xcode path contains a space
https://api.github.com/repos/sparklemotion/nokogiri/issues/1427/comments
5
2016-02-16T23:49:57Z
2020-10-12T13:20:41Z
https://github.com/sparklemotion/nokogiri/issues/1427
134,130,483
1,427
[ "sparklemotion", "nokogiri" ]
We have been experiencing memory corruption in our Rails application which depends on nokogiri (1.6.7.2) and libxml-ruby (2.8.0). This memory corruption manifested itself in seemingly random segmentation faults with stack traces to nearly every part of code in our application and its dependencies. After upgrading o...
Segmentation faults and memory corruption from using nokogiri with libxml-ruby
https://api.github.com/repos/sparklemotion/nokogiri/issues/1426/comments
19
2016-02-16T01:25:04Z
2020-02-02T18:51:05Z
https://github.com/sparklemotion/nokogiri/issues/1426
133,857,145
1,426
[ "sparklemotion", "nokogiri" ]
its related to nokogiri
Everytime my app randomly fails in production
https://api.github.com/repos/sparklemotion/nokogiri/issues/1425/comments
0
2016-02-13T03:53:07Z
2016-02-13T03:55:02Z
https://github.com/sparklemotion/nokogiri/issues/1425
133,394,832
1,425
[ "sparklemotion", "nokogiri" ]
HI I am using ruby-2.3.0 and trying to install nokogiri. I am getting following error: Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. ``` current directory: /home/account/.rvm/gems/ruby-2.3.0@latest/gems/nokogiri-1.6.7.2/ext/n...
install nokogiri-1.6.7.2 + ruby-2.3.0
https://api.github.com/repos/sparklemotion/nokogiri/issues/1424/comments
2
2016-02-08T09:58:43Z
2021-06-04T06:20:20Z
https://github.com/sparklemotion/nokogiri/issues/1424
132,096,884
1,424
[ "sparklemotion", "nokogiri" ]
On @zenspider's request I'm summarizing my problems with building nokogiri (which might or might not be related to the initial report in #1334; it also looks to me as if some people commenting on #1206 might have experienced the same problem). I'm using 10.7. ``` > which ruby /Users/me/.rbenv/shims/ruby > ruby --vers...
Nokogiri doesn't add -liconv to LDFLAGS and mistakenly reports a failure to find libxml when building libxslt
https://api.github.com/repos/sparklemotion/nokogiri/issues/1423/comments
6
2016-02-05T00:59:54Z
2016-10-03T06:17:13Z
https://github.com/sparklemotion/nokogiri/issues/1423
131,521,900
1,423
[ "sparklemotion", "nokogiri" ]
OK. I need someone to give me a clear reproducible counterexample to the following: ``` $ port install libxml2 ... $ rbenv install 2.2.4 ... $ rbenv shell 2.2.4 ... $ gem update --system ... $ rm -rf xxx; gem i -i xxx nokogiri -- --with-xml2-include=/opt/local/include/libxml2 --with-xml2-lib=/opt/local/lib Fetching: m...
Prove me wrong: MacPorts works FINE
https://api.github.com/repos/sparklemotion/nokogiri/issues/1422/comments
5
2016-02-05T00:47:25Z
2016-10-03T06:18:46Z
https://github.com/sparklemotion/nokogiri/issues/1422
131,520,160
1,422
[ "sparklemotion", "nokogiri" ]
Here's a barebone example (it would still give the wrong parsing if you expand `noscript` and `a` tags) ``` jruby-9.0.4.0 :044 > puts Nokogiri::HTML('<a><noscript/></a>').to_s <html><head></head><body><a></a><noscript><a></a></noscript></body></html> ``` Same command in CRuby gives the correct parsing: `<html><body>...
JRuby: <a href> links are duplicated inside <noscript> tags
https://api.github.com/repos/sparklemotion/nokogiri/issues/1421/comments
1
2016-02-03T20:45:46Z
2016-02-17T06:22:09Z
https://github.com/sparklemotion/nokogiri/issues/1421
131,147,281
1,421
[ "sparklemotion", "nokogiri" ]
When using MRI, serializing an `XML::Document` results in a terminating newline character (LF). When using JRuby, the newline isn't present. Really minor issue, but cost us a bit of time when porting an app to JRuby! **ruby 2.2.2p95** ``` ruby irb(main):001:0> Nokogiri::XML("<foo/>").to_xml => "<?xml version=\"1.0\"...
Serialization inconsistency between jruby and mri implementations
https://api.github.com/repos/sparklemotion/nokogiri/issues/1420/comments
2
2016-02-03T14:58:59Z
2016-02-03T15:48:22Z
https://github.com/sparklemotion/nokogiri/issues/1420
131,049,708
1,420
[ "sparklemotion", "nokogiri" ]
Why HTML::Document.parse("one < two") returns: ``` html <html><body><p>one </p></body></html>' ``` ? This method cuts off the part of a text that goes after '<' sign. Because of this, the Ruby on Rails's #simple_format method works the same way: simple_format("text_before < text_after") => "text_before "
Problem with 'parse' method
https://api.github.com/repos/sparklemotion/nokogiri/issues/1419/comments
6
2016-01-25T09:32:14Z
2016-07-11T11:59:47Z
https://github.com/sparklemotion/nokogiri/issues/1419
128,495,560
1,419
[ "sparklemotion", "nokogiri" ]
Hey everyone, Firstly, I am COMPLETELY new to programming and trying to install Ruby for the first time on Windows. What looks like should be a fairly seemless process, has become a nightmare (note: for me, as a total novice). Would really appreciate your help to get this fixed, so I can start programming, So, I hav...
Ruby version 2.2.3 for Windows - 'config.yml' problem
https://api.github.com/repos/sparklemotion/nokogiri/issues/1418/comments
1
2016-01-24T21:41:48Z
2016-01-24T22:31:24Z
https://github.com/sparklemotion/nokogiri/issues/1418
128,427,111
1,418
[ "sparklemotion", "nokogiri" ]
test.xml ``` <link> <actor>Carrie Fisher</actor> <movie>Under the Rainbow (1981)</movie> <actor>Chevy Chase</actor> <movie>Doogal (2006)</movie> <actor>Ian McKellen</actor> </link> ``` test.rb ``` require 'nokogiri' xml = File.read 'test.xml' doc = Nokogiri::XML(xml) children1 = doc.xpath('link/*') child...
Whitespace Treated
https://api.github.com/repos/sparklemotion/nokogiri/issues/1415/comments
2
2016-01-21T20:04:07Z
2016-02-17T06:15:19Z
https://github.com/sparklemotion/nokogiri/issues/1415
128,008,062
1,415
[ "sparklemotion", "nokogiri" ]
Hello, Just a question, I was not able to find an answer by looking in the doc. I have a case where #xpath is returning a boolean instead of an array, it's a bit confusing, is this normal ? I mean when I do: ``` ruby Nokogiri::HTML.fragment('<p>Hello dear</p><p class="orange">Yataaa</p>').xpath(".orange") => tru...
A bit confusing xpath behaviour
https://api.github.com/repos/sparklemotion/nokogiri/issues/1414/comments
1
2016-01-21T14:56:15Z
2016-01-26T16:49:29Z
https://github.com/sparklemotion/nokogiri/issues/1414
127,942,470
1,414
[ "sparklemotion", "nokogiri" ]
I'm currently trying to upgrade our rails app to run on ruby 2.2.4. All seems to be well when run in development but I started experiencing a segfault when released to our QA environment. The strange part is that this only occurs on process exit. I'm not entirely sure if this is a nokogiri issue or ruby, or me. Any he...
Segmentation fault on exit
https://api.github.com/repos/sparklemotion/nokogiri/issues/1410/comments
14
2016-01-12T20:57:47Z
2020-02-02T18:51:05Z
https://github.com/sparklemotion/nokogiri/issues/1410
126,273,954
1,410
[ "sparklemotion", "nokogiri" ]
I use nokogiri via [link_thumbnailer](https://github.com/gottfrois/link_thumbnailer) to parse title&description of html documents, with an incoming stream of urls. Is there any way to get nokogiri to limit the downloaded amount, and/or to define which HTTP Response Header Content-Type is accepted and/or at which Conte...
limit download amount or filter by Content-Type
https://api.github.com/repos/sparklemotion/nokogiri/issues/1408/comments
1
2016-01-09T21:36:13Z
2016-01-09T21:50:13Z
https://github.com/sparklemotion/nokogiri/issues/1408
125,782,940
1,408
[ "sparklemotion", "nokogiri" ]
Building this on Cygwin using ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-cygwin]. Note the user directory contains a space: "Space Space" Below is the full output, but the issue is that quotes are no longer around the path when libtool is called: ``` /bin/sh ./libtool --mode=install /usr/bin/install -c l...
Installation fails at calling libtool when install dir contains space
https://api.github.com/repos/sparklemotion/nokogiri/issues/1407/comments
3
2016-01-09T02:28:03Z
2021-02-16T17:04:11Z
https://github.com/sparklemotion/nokogiri/issues/1407
125,731,739
1,407
[ "sparklemotion", "nokogiri" ]
I am in a situation where I am consuming xml data via a Net HTTP stream. First, I am writing this stream to a file as it comes in. The response body is in the following form: ``` <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2...
SAX parser with escaped characters
https://api.github.com/repos/sparklemotion/nokogiri/issues/1406/comments
6
2016-01-07T23:59:53Z
2016-01-12T18:33:16Z
https://github.com/sparklemotion/nokogiri/issues/1406
125,512,400
1,406
[ "sparklemotion", "nokogiri" ]
I got error after running: ``` gem install nokogiri ``` Here is the error gist file: [https://gist.github.com/wongzigii/9915fb60a46596e8e7b7](https://gist.github.com/wongzigii/9915fb60a46596e8e7b7) Googled a lot but no luck. I noticed that ``` configure: error: cannot guess build type; you must specify one ``` H...
ERROR: Failed to build gem native extension
https://api.github.com/repos/sparklemotion/nokogiri/issues/1404/comments
1
2016-01-05T08:20:07Z
2016-01-05T10:51:10Z
https://github.com/sparklemotion/nokogiri/issues/1404
124,917,657
1,404
[ "sparklemotion", "nokogiri" ]
First, I didn't include full info, logs. Because ... lots of reasons. (But I'll include error output for search engines to lead people here). #### Problem `gem install nokogiri -v '1.6.7.1'` fails on Ubuntu. #### Reason Syntax error in config.guess. #### Cause The EOF isn't recognized as correctly ending the heredoc...
config.guess (packaged xslt) broken on Ubuntu + FIX
https://api.github.com/repos/sparklemotion/nokogiri/issues/1402/comments
7
2016-01-03T17:26:02Z
2016-01-07T04:21:47Z
https://github.com/sparklemotion/nokogiri/issues/1402
124,659,974
1,402
[ "sparklemotion", "nokogiri" ]
libxml 2.9.3 was released on 2015-11-20, let's start vendoring it instead of 2.9.2 + backported patches.
Upgrade to vendor libxml 2.9.3
https://api.github.com/repos/sparklemotion/nokogiri/issues/1396/comments
1
2015-12-17T03:59:57Z
2015-12-17T06:51:31Z
https://github.com/sparklemotion/nokogiri/issues/1396
122,656,655
1,396
[ "sparklemotion", "nokogiri" ]
#1212 has introduced new java libraries in nokogiri. It would be nice if we can include their versions in the output of `nokogiri -v`: 1. [xalan-j](http://xalan.apache.org/xalan-j/apidocs/org/apache/xalan/Version.html) 2. [serializer.jar](http://xalan.apache.org/xalan-j/apidocs/org/apache/xml/serializer/Version.html) 3...
Update `nokogiri -v` to include versions of new libraries
https://api.github.com/repos/sparklemotion/nokogiri/issues/1395/comments
5
2015-12-11T17:20:50Z
2022-05-10T21:44:53Z
https://github.com/sparklemotion/nokogiri/issues/1395
121,754,331
1,395
[ "sparklemotion", "nokogiri" ]
Hello, I tried to install nokogiri 1.6.7 in Ubuntu 15.10 (rbenv MRI 2.2.3) and CentOS 7 (rbenv MRI 2.1.7). But, I got following build errors in both environments. So I tried to install nokogiri with specific version 1.6.7.rc4 and 1.6.7.rc3. 1.6.7.rc4 had occurred same build errors, 1.6.7.rc3 was installed successfull...
Build error with git configured core.autocrlf=true
https://api.github.com/repos/sparklemotion/nokogiri/issues/1394/comments
2
2015-12-10T10:16:13Z
2016-03-29T21:43:30Z
https://github.com/sparklemotion/nokogiri/issues/1394
121,449,640
1,394
[ "sparklemotion", "nokogiri" ]
Hi. Having the same issues with installing nokogiri 1.6.7. Have tried everything being told in other issues. Mac Os the latest. Have tried --with-system-libraries with or without paths - nothing worked. My situation is: ``` sudo gem install nokogiri -- --with-xml2-include=/opt/local/include/libxml2 --with-xml2-lib...
ld: symbol(s) not found for architecture i386
https://api.github.com/repos/sparklemotion/nokogiri/issues/1391/comments
10
2015-12-07T20:21:41Z
2019-11-25T14:41:42Z
https://github.com/sparklemotion/nokogiri/issues/1391
120,859,064
1,391
[ "sparklemotion", "nokogiri" ]
@jvshahid Unfortunately with Nokogiri 1.6.7 release I am seeing a loaderror issue resurfacing (first reported in #1114). org.jruby.exceptions.RaiseException: (LoadError) load error: nokogiri/nokogiri -- java.lang.NoClassDefFoundError: com/sun/org/apache/xpath/internal/VariableStack Environment: JRuby 1.7.19 Redhat en...
LoadError when deploying to JRuby - Nokogiri 1.6.7
https://api.github.com/repos/sparklemotion/nokogiri/issues/1390/comments
1
2015-12-04T17:21:54Z
2015-12-09T12:28:14Z
https://github.com/sparklemotion/nokogiri/issues/1390
120,447,266
1,390
[ "sparklemotion", "nokogiri" ]
Hi, there is a problem with the _spec.required_ruby_version_ in the nokogiri gem for mingw: ``` Invalid gemspec in [C:/Ruby193/lib/ruby/gems/1.9.1/specifications/nokogiri-1.6.7-x86-mingw32.gemspec]: Illformed requirement ["< 2.3, >= 1.9.2"] ``` The _nokogiri-1.6.7-x86-mingw32.gemspec_ file shows ``` ruby s.required...
Invalid gemspec in [C:/Ruby193/lib/ruby/gems/1.9.1/specifications/nokogiri-1.6.7-x86-mingw32.gemspec]: Illformed requirement ["< 2.3, >= 1.9.2"]
https://api.github.com/repos/sparklemotion/nokogiri/issues/1389/comments
4
2015-12-03T11:14:04Z
2015-12-04T07:54:31Z
https://github.com/sparklemotion/nokogiri/issues/1389
120,147,620
1,389
[ "sparklemotion", "nokogiri" ]
Given the following program: ``` ruby require 'nokogiri' class TestParser < Nokogiri::XML::SAX::Document def start_element(name, attrs = []) puts "Element: #{name}" end def characters(str) puts "Content: #{str}" end def end_element(name) puts "/#{name}" end end xml = "<?xml version='1.0'?><...
JRuby SAX Parser fires incorrect events with mixed content
https://api.github.com/repos/sparklemotion/nokogiri/issues/1388/comments
2
2015-12-01T23:05:06Z
2021-12-14T21:22:23Z
https://github.com/sparklemotion/nokogiri/issues/1388
119,828,976
1,388
[ "sparklemotion", "nokogiri" ]
see comment on commit https://github.com/sparklemotion/nokogiri/commit/895c84936faa33ae29ac80af6aec49f08f2034b5 for background
on master, some encoding tests fail on Windows
https://api.github.com/repos/sparklemotion/nokogiri/issues/1387/comments
2
2015-11-30T17:49:21Z
2016-01-04T15:08:24Z
https://github.com/sparklemotion/nokogiri/issues/1387
119,544,298
1,387
[ "sparklemotion", "nokogiri" ]
See this build: https://travis-ci.org/sparklemotion/nokogiri/jobs/93868440 ``` 1) Error: test_slice_waaaaaay_off_the_end(Nokogiri::XML::TestNodeSet): ArgumentError: Data object has already been freed /home/travis/build/sparklemotion/nokogiri/lib/nokogiri/xml/document.rb:82:in `create_element' /home/travis/bu...
investigate odd rubinius memory management error
https://api.github.com/repos/sparklemotion/nokogiri/issues/1386/comments
3
2015-11-30T04:59:38Z
2017-02-26T02:26:45Z
https://github.com/sparklemotion/nokogiri/issues/1386
119,418,937
1,386
[ "sparklemotion", "nokogiri" ]
Opening at the request of @jvshahid as per comment in #1114 : I get the following error when trying to build the gem: 1. ERROR in ext/java/nokogiri/HtmlSaxPushParser.java (at line 181) public Thread newThread(Runnable r) { ^^^^^^^^^^^^^^^^^^^^^ The method newThread(Runnable) of type new ThreadFactory(){} must...
Error when building nokogiri with java 1.7.0_60
https://api.github.com/repos/sparklemotion/nokogiri/issues/1384/comments
4
2015-11-27T15:41:00Z
2021-02-16T17:05:51Z
https://github.com/sparklemotion/nokogiri/issues/1384
119,214,696
1,384
[ "sparklemotion", "nokogiri" ]
Both localhost and server are using the same nokogiri version: ``` Nokogiri::VERSION => "1.6.6.2" ``` I have the raw HTML on the response variable on both env's: On the server: ``` Nokogiri.parse(response).to_s.length => 6970 ``` On localhost: ``` Nokogiri.parse(response).to_s.length => 129840 ``` After reading...
Nokogiri parsing different on server versus localhost
https://api.github.com/repos/sparklemotion/nokogiri/issues/1383/comments
4
2015-11-27T13:32:17Z
2021-02-16T17:04:10Z
https://github.com/sparklemotion/nokogiri/issues/1383
119,196,912
1,383
[ "sparklemotion", "nokogiri" ]
Hi! When using JRuby to parse, modify, and output an HTML document with double quotes in an attribute, the double quote is URL-escaped as `%22`. I believe this is wrong behaviour. The double quote should be left alone as it is when using MRI. ``` $ rvm use jruby-1.7.22 Using ~/.rvm/gems/jruby-1.7.22 $ irb jruby-1.7...
Double quotes URL-escaped in attribute when using JRuby
https://api.github.com/repos/sparklemotion/nokogiri/issues/1382/comments
12
2015-11-24T13:56:59Z
2017-01-15T20:55:58Z
https://github.com/sparklemotion/nokogiri/issues/1382
118,613,898
1,382
[ "sparklemotion", "nokogiri" ]
Already tried to install it via gem install nokogiri and via local installation either way: ![2015-11-20](https://cloud.githubusercontent.com/assets/6035220/11312378/836f81ce-8fcd-11e5-8396-95fb7b9f3031.png)
Nokogiri cannot load such file
https://api.github.com/repos/sparklemotion/nokogiri/issues/1379/comments
2
2015-11-20T21:27:43Z
2015-11-20T21:46:21Z
https://github.com/sparklemotion/nokogiri/issues/1379
118,129,441
1,379
[ "sparklemotion", "nokogiri" ]
Context: > http://www.ubuntu.com/usn/usn-2812-1 The relevant commits are: - https://git.gnome.org/browse/libxml2/commit/?id=213f1fe0d76d30eaed6e5853057defc43e6df2c9 - https://git.gnome.org/browse/libxml2/commit/?id=a7dfab7411cbf545f359dd3157e5df1eb0e7ce31 - https://git.gnome.org/browse/libxml2/commit/?id=9b8512337d14...
Update vendored libxml2 to include latest USN addressed by Canonical in USN-2812-1
https://api.github.com/repos/sparklemotion/nokogiri/issues/1374/comments
11
2015-11-16T19:23:22Z
2015-11-17T00:16:11Z
https://github.com/sparklemotion/nokogiri/issues/1374
117,198,733
1,374
[ "sparklemotion", "nokogiri" ]
Here is the console log: ``` buildServicedeMac-mini:usr buildservice$ sudo gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib Building native extensions with: '--use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib' This ...
Can't write /usr/bin/nokogiri while Installing on Mac OS EI Capitan
https://api.github.com/repos/sparklemotion/nokogiri/issues/1372/comments
2
2015-11-09T07:08:26Z
2016-05-20T10:53:23Z
https://github.com/sparklemotion/nokogiri/issues/1372
115,816,723
1,372
[ "sparklemotion", "nokogiri" ]
Hi, Fedora 23 has ben realeased this week. So I got a fresh instalation of fedora 23 and tried to install Rails, but got troubles installing nokogiri. the problem was this: `gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: File or directory doesn't exists`. Remember that last time I installed rails on a fresh (no...
Installing on Fedora
https://api.github.com/repos/sparklemotion/nokogiri/issues/1371/comments
5
2015-11-07T01:43:07Z
2016-03-11T12:45:53Z
https://github.com/sparklemotion/nokogiri/issues/1371
115,623,562
1,371
[ "sparklemotion", "nokogiri" ]
Hello, The following command: `docker pull ruby:2.2.3 && docker run -t -i ruby:2.2.3 gem install nokogiri -v '1.6.6.2'` results in an error. That was not the case a few days ago, so I suspect [this commit](https://github.com/docker-library/ruby/commit/74ee8aec9c17ea2134db8a8ef199cf092c829576) fro two days ago on the b...
Nokogiri fails to build with latest ruby:2.2.3 docker image
https://api.github.com/repos/sparklemotion/nokogiri/issues/1370/comments
35
2015-11-06T14:45:03Z
2016-06-02T01:54:23Z
https://github.com/sparklemotion/nokogiri/issues/1370
115,517,894
1,370
[ "sparklemotion", "nokogiri" ]
I try install Redmine executing: ``` bundle exec rake db:migrate ``` ``` /home/hallison/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/version.rb:3: warning: already initialized constant Nokogiri::VERSION /home/hallison/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/...
Error to match LIBXML_PARSER_VERSION
https://api.github.com/repos/sparklemotion/nokogiri/issues/1368/comments
2
2015-10-22T20:28:00Z
2021-02-16T17:04:10Z
https://github.com/sparklemotion/nokogiri/issues/1368
112,884,926
1,368
[ "sparklemotion", "nokogiri" ]
After upgrading from Yosemite to El Capitan, the Rails server is not starting, as it is giving the following error: > Could not find nokogiri-1.6.6.2 in any of the sources > Run `bundle install` to install missing gems. After running `bundle install` it is giving the following error: > -bash: bundle: command not fo...
Could not find nokogiri-1.6.6.2 in any of the sources
https://api.github.com/repos/sparklemotion/nokogiri/issues/1367/comments
2
2015-10-20T10:07:54Z
2015-10-28T17:48:17Z
https://github.com/sparklemotion/nokogiri/issues/1367
112,331,952
1,367
[ "sparklemotion", "nokogiri" ]
The nokogiri site is down because of a pending icann verification.
nokogiri.org ICANN verification
https://api.github.com/repos/sparklemotion/nokogiri/issues/1366/comments
3
2015-10-18T09:14:28Z
2015-10-18T19:15:35Z
https://github.com/sparklemotion/nokogiri/issues/1366
112,009,427
1,366
[ "sparklemotion", "nokogiri" ]
Hi, I'm having this kind of crash for a job in a ruby on rails project. I have never seen it when I launch it from a "normal" ruby process (irb or webrick) It always happens when I launch it from Sidekiq. I have upgraded to latest versions with rvm, and I have seen same behaviour. Basically, what my source code is...
Segmentation fault when using libxml-ruby & nokogiri in the same project.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1364/comments
5
2015-10-09T19:25:27Z
2016-02-17T03:48:04Z
https://github.com/sparklemotion/nokogiri/issues/1364
110,721,636
1,364
[ "sparklemotion", "nokogiri" ]
When using Nokogiri to parse a piece of HTML, single and double quotes that are already escaped are being reverted back to their non escaped form. For example: ``` ruby Nokogiri::HTML.fragment("<p>&#39; &#x27;</p>").to_html => "<p>' '</p>" Nokogiri::HTML.fragment("<p>&#34; &#x22; &quot;</p>").to_html => "<p>\" \" \"<...
Nokogiri unescapes already escaped single/double quotes
https://api.github.com/repos/sparklemotion/nokogiri/issues/1363/comments
4
2015-10-08T10:11:07Z
2015-10-29T04:30:41Z
https://github.com/sparklemotion/nokogiri/issues/1363
110,415,184
1,363