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" ]
I'd like the next v1.11.0 release candidate gem to have support for ruby 3.0.0-preview1 (or whatever the current RC is at that time) so early adopters can kick the tires. I spiked on this a bit and a `rake-compiler/rake-compiler-dock` patch that seemed to get me somewhere looked like: ```patch diff --git a/Docke...
enable shipping native gems that support ruby 3.0.0-preview1
https://api.github.com/repos/sparklemotion/nokogiri/issues/2123/comments
2
2020-12-01T13:49:16Z
2020-12-03T20:46:17Z
https://github.com/sparklemotion/nokogiri/issues/2123
754,410,251
2,123
[ "sparklemotion", "nokogiri" ]
To reproduce: ``` $ docker run --mount=type=bind,source=$(pwd),target=/nokogiri -it flavorjones/nokogiri-test:bionic root@9fcea6b491c9:/# cd nokogiri root@9fcea6b491c9:/nokogiri# bundle install ... root@9fcea6b491c9:/nokogiri# bundle exec rake compile ... root@9fcea6b491c9:/nokogiri# ldd lib/nokogiri/nokogiri...
(on master) bionic installations using packaged libraries generate a nokogiri.so that dynamically links against system libraries
https://api.github.com/repos/sparklemotion/nokogiri/issues/2121/comments
1
2020-11-30T07:46:12Z
2020-12-01T13:57:36Z
https://github.com/sparklemotion/nokogiri/issues/2121
753,239,049
2,121
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [X] Yes! **What is the complete output of `gem install` or `bundle install`?** ``` [redmine@heplnv153 redmine]$ yum install rpm-build ruby-devel zlib-devel Loaded pl...
[install] Centos 7 installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/2117/comments
6
2020-11-29T18:07:16Z
2021-02-16T17:03:56Z
https://github.com/sparklemotion/nokogiri/issues/2117
752,972,540
2,117
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** While working on an unrelated issue with schema parsing, I noticed that there was no test coverage of `XML::RelaxNG.read_memory` and that running a simple test case causes an exception to be raised. **Help us reproduce what you're seeing** ```ruby #! /usr/bin/env ruby require ...
[bug] [jruby] RelaxNG.read_memory does not work
https://api.github.com/repos/sparklemotion/nokogiri/issues/2115/comments
0
2020-11-27T21:18:53Z
2024-06-24T21:58:09Z
https://github.com/sparklemotion/nokogiri/issues/2115
752,475,013
2,115
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** <!-- A clear and concise description of what the bug is. Please include as much context as you can about what's going on. --> When parsing a RelaxNG schema, the schema context is not freed, resulting in leaked memory. **Help us reproduce what you're seeing** ```ruby #! /usr/bi...
[bug] RelaxNG schema parsing has a small memory leak
https://api.github.com/repos/sparklemotion/nokogiri/issues/2114/comments
0
2020-11-27T18:17:51Z
2020-11-30T08:37:44Z
https://github.com/sparklemotion/nokogiri/issues/2114
752,410,054
2,114
[ "sparklemotion", "nokogiri" ]
The method `XML::RelaxNG.read_memory` is intended to be a factory method for creating a new schema from the string contents of the schema file. But ... this is exactly what `XML::Schema.new` does. And under the hood, libxml2 is still calling the same parsing code, so I would be surprised if it was any faster. Thi...
[debt] make XML::RelaxNG.read_memory an alias for XML::RelaxNG.new
https://api.github.com/repos/sparklemotion/nokogiri/issues/2113/comments
2
2020-11-23T05:21:21Z
2024-06-24T21:58:08Z
https://github.com/sparklemotion/nokogiri/issues/2113
748,475,399
2,113
[ "sparklemotion", "nokogiri" ]
I just ran into a situation where `Pathname` objects get treated as `IO` instead of a file path. The problem is that a `Pathname` object will be passed to [`io_read_callback`](https://github.com/sparklemotion/nokogiri/blob/104a3459cb00546dc06661b8c97c9109b59195a2/ext/nokogiri/xml_io.c#L14) where `read` is called on ...
Pathname objects are treated as IO and corrupt input on parse
https://api.github.com/repos/sparklemotion/nokogiri/issues/2110/comments
5
2020-11-11T15:33:47Z
2020-11-13T18:00:07Z
https://github.com/sparklemotion/nokogiri/issues/2110
740,859,291
2,110
[ "sparklemotion", "nokogiri" ]
After reading [Peter's Adventures in Ruby: Garbage Collection in Ruby - Peter Zhu](https://blog.peterzhu.ca/notes-on-ruby-gc/): __Can we use `rb_gc_mark_movable` instead of `rb_gc_mark`?__ I think we can. --- And after peeking at [Gradual Write-Barrier Insertion into a Ruby Interpreter](http://www.atdot.net...
explore: take advantage of modern CRuby GC features
https://api.github.com/repos/sparklemotion/nokogiri/issues/2107/comments
3
2020-11-01T22:07:01Z
2022-08-28T16:44:33Z
https://github.com/sparklemotion/nokogiri/issues/2107
734,073,645
2,107
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [X] Yes! **What is the complete output of `gem install` or `bundle install`?** ``` $ gem install nokogiri Fetching mini_portile2-2.4.0.gem Fetching nokogiri-1.10.10.gem Successfully i...
[install] canonicalize already defined by glibc
https://api.github.com/repos/sparklemotion/nokogiri/issues/2105/comments
3
2020-10-28T19:06:16Z
2020-10-29T18:00:01Z
https://github.com/sparklemotion/nokogiri/issues/2105
731,714,851
2,105
[ "sparklemotion", "nokogiri" ]
Currently (2020-10-19) we have a Github Action that tests the gem on MacOS, compiling the vendored libraries. However, I'd like to also have coverage for folks who compile and link against system libraries (see #1801).
add MacOS test coverage using system libraries
https://api.github.com/repos/sparklemotion/nokogiri/issues/2101/comments
1
2020-10-19T16:20:11Z
2020-11-04T14:26:41Z
https://github.com/sparklemotion/nokogiri/issues/2101
724,774,241
2,101
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** The `java` platform gems contain the C extension code. This is unnecessary and should be removed to make the gem file as small as possible. **Help us reproduce what you're seeing** ``` $ gem fetch nokogiri --platform jruby -v 1.10.10 Downloaded nokogiri-1.10.10-java $ tar -xvf ...
[bug] java gems package C extension code
https://api.github.com/repos/sparklemotion/nokogiri/issues/2099/comments
1
2020-10-14T15:08:11Z
2020-12-23T03:21:02Z
https://github.com/sparklemotion/nokogiri/issues/2099
721,544,494
2,099
[ "sparklemotion", "nokogiri" ]
[sample.xml.zip](https://github.com/sparklemotion/nokogiri/files/5377958/sample.xml.zip) **Help us reproduce what you're seeing** Extract the sample.xml file and run these two commands: ``` Nokogiri::XML::Document.read_io(File.open('sample.xml'), nil, nil, Nokogiri::XML::ParseOptions::HUGE) ``` and `...
[bug] `Nokogiri::XML.Reader` takes an hour to parse a file
https://api.github.com/repos/sparklemotion/nokogiri/issues/2098/comments
6
2020-10-14T11:54:13Z
2021-02-16T17:06:28Z
https://github.com/sparklemotion/nokogiri/issues/2098
721,392,880
2,098
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** If I'm using a [custom XPath function](https://nokogiri.org/rdoc/Nokogiri/XML/Searchable.html#xpath-instance_method) and I raise an exception within my handler, memory is leaked. **Help us reproduce what you're seeing** Run this script and watch the process's memory utilization grow...
[bug] Memory is leaked when raising an exception from a custom XPath function, or from some SAX handler callbacks
https://api.github.com/repos/sparklemotion/nokogiri/issues/2097/comments
1
2020-10-13T20:45:44Z
2024-12-16T17:21:20Z
https://github.com/sparklemotion/nokogiri/issues/2097
720,813,760
2,097
[ "sparklemotion", "nokogiri" ]
Github has introduced support for alternative default branch names. However, [Github's current guidance](https://github.com/github/renaming) is to wait until they've updated their product to better handle renaming active repositories. One example of a current functional gap is that any pull requests that are based off ...
dev: rename default git branch
https://api.github.com/repos/sparklemotion/nokogiri/issues/2094/comments
2
2020-10-12T12:40:23Z
2021-01-17T21:55:11Z
https://github.com/sparklemotion/nokogiri/issues/2094
719,348,161
2,094
[ "sparklemotion", "nokogiri" ]
Quick feedback: - On one `ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-darwin18]` Rails app, there is no regression. It is `darwin18` as pointed above, so compiling like before, but I still wanted to point out the absence of regressions :smile: - On one JRuby app (tested on both `jruby 9.2.13.0 (2.5.7) 2020-08-...
Quick feedback:
https://api.github.com/repos/sparklemotion/nokogiri/issues/2093/comments
0
2020-10-09T19:46:30Z
2020-10-10T19:46:43Z
https://github.com/sparklemotion/nokogiri/issues/2093
718,383,346
2,093
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** A fragment that is parsed "in context" and contains recoverable errors is silently parsed "out of context". The code at https://github.com/sparklemotion/nokogiri/blob/d852d97de3c4ca356aa45036cc8c77d86d86881d/lib/nokogiri/xml/node.rb#L824-L829 is responsible for this behavior, dating ba...
[bug] "in context" fragment parsing silently degrades functionality when XML errors are encountered
https://api.github.com/repos/sparklemotion/nokogiri/issues/2092/comments
4
2020-10-08T19:54:27Z
2024-06-24T12:59:22Z
https://github.com/sparklemotion/nokogiri/issues/2092
717,620,603
2,092
[ "sparklemotion", "nokogiri" ]
Hi guys, I'm not too sure where to ask for help so I'm trying my luck here. Please feel free to close this and direct me to a proper channel if there's one. Thanks! **To Reproduce** I'm trying to query the xml partial string below in the variable `text`. It's in Open XML format. When I tried to query it without add...
[help] Nokogiri xpath without root element
https://api.github.com/repos/sparklemotion/nokogiri/issues/2091/comments
4
2020-10-06T12:45:15Z
2020-10-08T20:00:57Z
https://github.com/sparklemotion/nokogiri/issues/2091
715,639,903
2,091
[ "sparklemotion", "nokogiri" ]
- [x] Create a nokogiri-test image based on Ruby 3.0 RCs (which will involve an update to concourse-gem) - [x] Add a non-release-blocking job to the CI pipelines - [x] Make sure it builds without errors (failures would be OK at this point)
ci: Introduce CI coverage for Ruby 3.0.0 release candidate
https://api.github.com/repos/sparklemotion/nokogiri/issues/2090/comments
2
2020-10-01T15:41:28Z
2020-10-12T16:57:50Z
https://github.com/sparklemotion/nokogiri/issues/2090
712,961,813
2,090
[ "sparklemotion", "nokogiri" ]
I'd like to introduce test coverage, both as a sign of solidarity with TruffleRuby and to learn a bit more about it. - [x] Build base TruffleRuby OCI images for stable and nightly - [x] Build nokogiri-test images for stable and nightly - [x] Add a non-release-blocking job to the CI pipelines (master and PR) - [x]...
ci: Introduce CI coverage for TruffleRuby
https://api.github.com/repos/sparklemotion/nokogiri/issues/2089/comments
3
2020-10-01T15:15:07Z
2020-10-01T17:25:55Z
https://github.com/sparklemotion/nokogiri/issues/2089
712,939,538
2,089
[ "sparklemotion", "nokogiri" ]
I'd like the README to be briefer but more impactful; it's the home page for both the github repo and for nokogiri.org. When necessary and appropriate it should link to lengthier nokogiri.org pages (which may need to be created) rather than include gritty details. I'd like the outline to be something like: - Desc...
Docs: Overhaul the README
https://api.github.com/repos/sparklemotion/nokogiri/issues/2086/comments
0
2020-09-28T12:27:36Z
2021-01-02T19:50:19Z
https://github.com/sparklemotion/nokogiri/issues/2086
710,221,613
2,086
[ "sparklemotion", "nokogiri" ]
(Originally mentioned at https://github.com/sparklemotion/nokogiri/issues/2075#issuecomment-689063142) On Centos6, running a version of Ruby compiled [like this](https://gitlab.com/gitlab-org/gitlab-omnibus-builder/-/blob/5523332b2cd3a14b4f4a4aa2b215465499ea3617/docker/Dockerfile_centos_6#L85), we see the following ...
Native gems: centos6 support
https://api.github.com/repos/sparklemotion/nokogiri/issues/2081/comments
5
2020-09-09T13:20:40Z
2021-01-11T07:20:28Z
https://github.com/sparklemotion/nokogiri/issues/2081
696,809,711
2,081
[ "sparklemotion", "nokogiri" ]
Nokogiri v1.11.0.rc3 only supports OSX `x86_64-darwin19` platform. At least one commented at #2075 has asked about `x86_64-darwin18`. If that's a common platform we should consider shipping that, as well. I'll be honest and say that my inability to virtualize OSX is a real challenge here. I have a work laptop tha...
Native gems: create releases for additional darwin platforms
https://api.github.com/repos/sparklemotion/nokogiri/issues/2079/comments
16
2020-09-08T14:55:07Z
2020-12-30T19:22:39Z
https://github.com/sparklemotion/nokogiri/issues/2079
695,945,380
2,079
[ "sparklemotion", "nokogiri" ]
When we ship precompiled native gems, we no longer need mini_portile2 as an install-time dependency. Previously @larskanis and I did some work on this, resulting in: - https://github.com/rake-compiler/rake-compiler/pull/171 - cebf400 (workaround) - 33e5b42 (workaround) - 94ecf99 (workaround) The workarounds a...
Native gems: ensure that mini_portile2 is not a dependency
https://api.github.com/repos/sparklemotion/nokogiri/issues/2078/comments
2
2020-09-08T14:48:40Z
2020-12-23T15:11:02Z
https://github.com/sparklemotion/nokogiri/issues/2078
695,939,080
2,078
[ "sparklemotion", "nokogiri" ]
Because the gem is precompiled, there's no need to also ship the C source and header files. Package the gem without the C code. Related to #2075.
Native gems: remove the C source code from the precompiled gem
https://api.github.com/repos/sparklemotion/nokogiri/issues/2077/comments
2
2020-09-08T14:44:38Z
2020-12-23T03:21:18Z
https://github.com/sparklemotion/nokogiri/issues/2077
695,935,668
2,077
[ "sparklemotion", "nokogiri" ]
When building a native Linux or OSX gem, we package a fifth `nokogiri.so` or `nokogiri.bundle` that appears to be generated by the "host" ruby (not "cross-compiled"). This additional shared library file should not be present. Related to #2075
Native gems: eliminate the "extra" dll
https://api.github.com/repos/sparklemotion/nokogiri/issues/2076/comments
2
2020-09-08T14:43:42Z
2020-12-23T15:11:02Z
https://github.com/sparklemotion/nokogiri/issues/2076
695,934,853
2,076
[ "sparklemotion", "nokogiri" ]
This issue exists to capture feedback and action items about the precompiled native gems for Linux and OSX that we're shipping in the Nokogiri v1.11 release candidates (prereleases). (RC4 is out! https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4) ## How do I try this out? We're only shipping n...
Feedback and final to-do items for precompiled native gems on Linux and OSX
https://api.github.com/repos/sparklemotion/nokogiri/issues/2075/comments
31
2020-09-08T12:48:09Z
2021-01-11T12:53:18Z
https://github.com/sparklemotion/nokogiri/issues/2075
695,840,714
2,075
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes, Nokogiri has been fine in my app for a while, I've recently come back to work on it and nokogiri v1.10.10 is not installing because it can't find `mini_portile2` If I install the prerelease...
Installation difficulties- `cannot load such file -- mini_portile2`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2072/comments
4
2020-09-05T11:27:06Z
2020-09-06T00:14:25Z
https://github.com/sparklemotion/nokogiri/issues/2072
694,065,512
2,072
[ "sparklemotion", "nokogiri" ]
Hi there! I googled but didn't find a way to search for a partial XPath in an XML file. I need to find everything ending with **Status** word, for example: **\<diskSizeStatus\>1\</diskSizeStatus\>**. I am using **Nokogiri::XML** and tried **xml.xpath('//@\*search', search: 'Status')** but was unsuccessful. ...
HELP | Partial Search XML by XPath
https://api.github.com/repos/sparklemotion/nokogiri/issues/2071/comments
1
2020-08-31T22:25:37Z
2020-09-01T15:04:47Z
https://github.com/sparklemotion/nokogiri/issues/2071
689,555,407
2,071
[ "sparklemotion", "nokogiri" ]
I am getting below error when deploying on Ubuntu 14 LTS (Backtrace restricted to imported tasks) cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as deploy@u2h3.yoopedia.com: bundle exit status: 5 bundle stdout: An error occurred while installing nokogiri (1.9.1), and Bundler cannot continue...
An error occurred while installing nokogiri (1.9.1), and Bundler cannot continue.
https://api.github.com/repos/sparklemotion/nokogiri/issues/2070/comments
8
2020-08-31T12:42:43Z
2021-02-16T17:03:56Z
https://github.com/sparklemotion/nokogiri/issues/2070
689,177,480
2,070
[ "sparklemotion", "nokogiri" ]
**Describe the bug** `HTML4::Document.parse`, `HTML5::Document.parse`, and `HTML5::DocumentFragment.parse` all accept IO objects. But `HTML4::DocumentFragment.parse` raises an unobvious exception when we do this. **To Reproduce** ```ruby #! /usr/bin/env ruby puts Nokogiri::HTML4::DocumentFragment.parse(St...
HTML::DocumentFragment.parse should be able to accept an IO object
https://api.github.com/repos/sparklemotion/nokogiri/issues/2069/comments
2
2020-08-29T16:11:49Z
2024-08-05T14:47:22Z
https://github.com/sparklemotion/nokogiri/issues/2069
688,560,321
2,069
[ "sparklemotion", "nokogiri" ]
## Context Today we run the test suite under Valgrind (e.g., https://ci.nokogiri.org/teams/nokogiri-core/pipelines/nokogiri/jobs/cruby-2.7/builds/9#L5f0f8e55:1) to look for illegal memory addresses. Valgrind is great in that it takes pretty much any executable code and instruments it without additional compile- or l...
explore using AddressSanitizer in CI instead of (or in addition to) Valgrind
https://api.github.com/repos/sparklemotion/nokogiri/issues/2067/comments
2
2020-08-25T15:57:06Z
2024-07-02T21:36:07Z
https://github.com/sparklemotion/nokogiri/issues/2067
685,603,331
2,067
[ "sparklemotion", "nokogiri" ]
**Describe the bug** `Nokogiri::HTML(open('https://foo.bar'))` (cf. [nokogiri docs](https://nokogiri.org/tutorials/parsing_an_html_xml_document.html#from-the-internets)) results in error message `warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open` after upgrading ruby ve...
warning: calling URI.open via Kernel#open is deprecated
https://api.github.com/repos/sparklemotion/nokogiri/issues/2066/comments
4
2020-08-24T07:54:22Z
2021-08-16T12:04:42Z
https://github.com/sparklemotion/nokogiri/issues/2066
684,452,931
2,066
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** **What is the complete output of `gem install`?** It works **What are the complete contents of the `mkmf.log` file generated during the failed installation?** ``` $ cat /home/luke/Code/design...
Installation difficulties: Installing to `vendor/bundle`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2065/comments
6
2020-08-19T10:20:27Z
2020-08-19T15:48:58Z
https://github.com/sparklemotion/nokogiri/issues/2065
681,723,181
2,065
[ "sparklemotion", "nokogiri" ]
## Background libxml2 supports parsing of HTML4. But the most popular browsers have moved on to HTML5 and exhibit different behavior than libxml2 when parsing documents, particularly when fixing up broken markup and when interpreting comments, but also for a bunch of edge cases that the WHATWG makes non-normative re...
RFC: Explore alternatives to libxml2 for HTML parsing
https://api.github.com/repos/sparklemotion/nokogiri/issues/2064/comments
21
2020-08-18T03:22:11Z
2023-11-20T02:56:10Z
https://github.com/sparklemotion/nokogiri/issues/2064
680,657,846
2,064
[ "sparklemotion", "nokogiri" ]
This is a placeholder for a future conversation (with myself?) about precompiling Darwin libraries, similarly to how we've shipped precompiled libraries for Windows since ~v1.4 and how we will hopefully [ship for Linux in v1.11.0](https://github.com/sparklemotion/nokogiri/issues/1983). cc @larskanis @tenderlove tell...
Explore precompiled binaries for Darwin (OSX)
https://api.github.com/repos/sparklemotion/nokogiri/issues/2063/comments
13
2020-08-18T03:15:19Z
2020-12-01T13:52:44Z
https://github.com/sparklemotion/nokogiri/issues/2063
680,655,382
2,063
[ "sparklemotion", "nokogiri" ]
**Describe the bug** When XCode has a space in the file path (mine was `/Applications/Xcode 11.4.1.app`) the following command fails during installation: ``` /Applications/Xcode 11.4.1.app/Contents/Developer/usr/bin/make all-recursive make: /Applications/Xcode: No such file or directory ``` **To Reproduce*...
Installation fails with space in XCode path
https://api.github.com/repos/sparklemotion/nokogiri/issues/2062/comments
2
2020-08-12T15:58:15Z
2020-08-12T17:00:43Z
https://github.com/sparklemotion/nokogiri/issues/2062
677,805,097
2,062
[ "sparklemotion", "nokogiri" ]
After migrating ruby application to centos 8, application won't start with following error : .../vendor/bundle/ruby/2.6.0/gems/nokogiri-1.10.9/lib/nokogiri.rb:32:in `require': libgcrypt.so.11: cannot open shared object file: No such file or directory - .../vendor/bundle/ruby/2.6.0/gems/nokogiri-1.10.9/lib/nokogiri/nok...
libgcrypt.so.11 required by nokogiri 1.10.9 not found for centos 8
https://api.github.com/repos/sparklemotion/nokogiri/issues/2060/comments
3
2020-08-10T14:31:03Z
2021-02-16T17:03:55Z
https://github.com/sparklemotion/nokogiri/issues/2060
676,182,175
2,060
[ "sparklemotion", "nokogiri" ]
**Describe the bug** When using libxml2 containing this commit: https://gitlab.gnome.org/GNOME/libxml2/-/commit/9fa3200cb366c726f7c8ef234282603bb9e8816d Nokogiri will segfault: ``` ==487730== Invalid read of size 8 ==487730== at 0x493A0E6: ruby_sized_xfree (gc.c:10145) ==487730== by 0x493A0E6: ruby...
Investigate xmlCleanupParser segfault with libxml2 master
https://api.github.com/repos/sparklemotion/nokogiri/issues/2059/comments
4
2020-08-04T13:52:22Z
2020-08-04T23:10:00Z
https://github.com/sparklemotion/nokogiri/issues/2059
672,809,255
2,059
[ "sparklemotion", "nokogiri" ]
I have to handle an invalid HTML document: ``` <html> <body> <p>1</p> <p> <div>2</div> </p> <p>3</p> </body> </html> ``` First I'm getting the XPath with a Javascript function like the one firebug used (https://github.com/firebug/firebug/blob/master/extension/cont...
Correcting bad HTML markup
https://api.github.com/repos/sparklemotion/nokogiri/issues/2056/comments
1
2020-07-30T23:28:06Z
2020-08-03T15:52:55Z
https://github.com/sparklemotion/nokogiri/issues/2056
669,275,542
2,056
[ "sparklemotion", "nokogiri" ]
Gem installation fails if the installation path contains a space. This may be a slightly more general problem that extends to all characters that require shell escaping. **To Reproduce** ```sh mkdir "path with space" cd "path with space" echo "source 'https://rubygems.org'\ngem 'nokogiri'" > gems.rb bundle co...
Gem installation fails if install path contains a space
https://api.github.com/repos/sparklemotion/nokogiri/issues/2054/comments
4
2020-07-16T04:54:28Z
2020-10-12T13:06:16Z
https://github.com/sparklemotion/nokogiri/issues/2054
657,848,359
2,054
[ "sparklemotion", "nokogiri" ]
Hi @inos123, Over the past few weeks you've opened several fake PRs and Issues using what appear to be automated scripts. Here's a link to a search showing this: https://github.com/sparklemotion/nokogiri/issues?q=author%3Ainos123+ and here's a screenshot of those results: ![image](https://user-images.github...
@inos123 please stop spamming this project with fake issues and PRs
https://api.github.com/repos/sparklemotion/nokogiri/issues/2052/comments
2
2020-07-13T14:34:21Z
2020-07-14T19:21:00Z
https://github.com/sparklemotion/nokogiri/issues/2052
655,900,870
2,052
[ "sparklemotion", "nokogiri" ]
**OS:** Ubuntu 20.04 **Nokogiri Version:** 1.10.10 While trying to install nokogiri, it looks for `/usr/bin/mkdir` if it's not found it fails. I was able to circumvent it using the following trick ``` $ sudo ln -s /bin/mkdir /usr/bin/mkdir ``` It would be great if nokogiri looks for `mkdir` rather than `...
Installation - RVM binary ruby assumes existence of /usr/bin/mkdir on ubuntu focal
https://api.github.com/repos/sparklemotion/nokogiri/issues/2046/comments
13
2020-07-11T04:08:01Z
2020-08-13T12:14:28Z
https://github.com/sparklemotion/nokogiri/issues/2046
655,129,299
2,046
[ "sparklemotion", "nokogiri" ]
**Describe the bug** AMP uses a lightning bolt attribute on the HTML tag, which is required for validation. This attribute is removed by Nokogiri during parsing. **To Reproduce** ```ruby #! /usr/bin/env ruby require 'nokogiri' require 'minitest/autorun' class Test < MiniTest::Spec describe "honors AMP...
Nokogiri removing AMP html attribute
https://api.github.com/repos/sparklemotion/nokogiri/issues/2045/comments
2
2020-07-06T22:50:42Z
2020-07-07T13:01:53Z
https://github.com/sparklemotion/nokogiri/issues/2045
651,864,950
2,045
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes. **What is the complete output of `gem install`?** <details> <summary>Output:</summary> ``` Building native extensions. This could take a while... ERROR: Error installing nokogiri:...
Installation difficulties (MacOS Mojave; 'make: clang: Permission denied')
https://api.github.com/repos/sparklemotion/nokogiri/issues/2040/comments
5
2020-07-06T04:10:10Z
2020-07-07T18:47:41Z
https://github.com/sparklemotion/nokogiri/issues/2040
651,232,097
2,040
[ "sparklemotion", "nokogiri" ]
window10 64x ``` ruby -v ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32] ``` I want to install **nokogiri -v '1.11.0.rc2'** ``` $ gem install nokogiri -v '1.11.0.rc2' --source 'https://rubygems.org/' Fetching nokogiri-1.11.0.rc2-x64-mingw32.gem ERROR: Error installing nokogiri: inval...
installation error: "package is corrupt, exception while verifying"
https://api.github.com/repos/sparklemotion/nokogiri/issues/2039/comments
6
2020-07-04T04:13:46Z
2021-01-03T20:08:16Z
https://github.com/sparklemotion/nokogiri/issues/2039
650,823,481
2,039
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes **What is the complete output of `gem install`?** N/A, installation was ultimately successful (see below). **What are the complete contents of the `mkmf.log` file generated during the ...
Installation difficulties/tips for macOS 10.15 (Catalina)
https://api.github.com/repos/sparklemotion/nokogiri/issues/2037/comments
8
2020-06-15T20:27:09Z
2021-05-14T02:10:02Z
https://github.com/sparklemotion/nokogiri/issues/2037
639,129,695
2,037
[ "sparklemotion", "nokogiri" ]
**Describe the bug** When using `.css(input[type=checkbox i]` Nokogiri kicks up an error: `Nokogiri::CSS::SyntaxError (unexpected ' ' after '[:equal, "checkbox"]')` **To Reproduce** ```ruby #! /usr/bin/env ruby require 'nokogiri' require 'minitest/autorun' class Test < MiniTest::Spec describe "Node#cs...
CSS case insensitive attribute selector operator
https://api.github.com/repos/sparklemotion/nokogiri/issues/2036/comments
2
2020-05-27T21:14:20Z
2024-07-02T21:27:31Z
https://github.com/sparklemotion/nokogiri/issues/2036
626,035,676
2,036
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes **What is the complete output of `gem install`?** ``` Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension...
Installation difficulties with gcc link
https://api.github.com/repos/sparklemotion/nokogiri/issues/2035/comments
7
2020-05-27T11:48:01Z
2021-02-16T17:03:55Z
https://github.com/sparklemotion/nokogiri/issues/2035
625,625,926
2,035
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes of course! **What is the complete output of `gem install`?** ``` Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem nativ...
Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/2034/comments
4
2020-05-27T11:43:09Z
2021-02-16T17:03:54Z
https://github.com/sparklemotion/nokogiri/issues/2034
625,623,005
2,034
[ "sparklemotion", "nokogiri" ]
Or is there really a good reason to use ~> here?
Convert mini_portile2 dependency to >= from ~>
https://api.github.com/repos/sparklemotion/nokogiri/issues/2033/comments
7
2020-05-14T13:49:12Z
2020-05-14T19:39:12Z
https://github.com/sparklemotion/nokogiri/issues/2033
618,247,551
2,033
[ "sparklemotion", "nokogiri" ]
hi, i install Rails by http://railsinstaller.org and version of it is 5.1 and i install with http://installrails.com/steps/ that i get error when i put "gem install rails --no-ri --no-rdoc" in git bash and show: ERROR: Error installing rails: zeitwerk requires Ruby version >= 2.4.4 and i continue unt...
An error occurred while installing sqlite3 (1.4.2), and Bundler cannot continue
https://api.github.com/repos/sparklemotion/nokogiri/issues/2030/comments
1
2020-05-06T06:52:59Z
2020-05-06T13:35:28Z
https://github.com/sparklemotion/nokogiri/issues/2030
613,091,424
2,030
[ "sparklemotion", "nokogiri" ]
hi i inexperienced with ruby and gem and when i put "gem install rails" this message show: ERROR: Error installing rails: The last version of nokogiri (>= 1.6) to support your Ruby & RubyGems was 1.10.9. Try installing it with `gem install nokogiri -v 1.10.9` and then running the current command again ...
Windows + Ruby 2.7 installation
https://api.github.com/repos/sparklemotion/nokogiri/issues/2029/comments
9
2020-05-06T02:31:04Z
2021-02-16T17:05:41Z
https://github.com/sparklemotion/nokogiri/issues/2029
613,010,154
2,029
[ "sparklemotion", "nokogiri" ]
Hi Apologies if this has been submitted already. I have problem parsing a big XML file that has ~20mb base64 encoded file attached. It seems that when parsing from IO and content has "\r\n" as line separators causes "Huge input lookup" error. Reproduced "successfully" this with 1.10.9 and older versions Thank...
Huge input lookup when parsing (SAX)
https://api.github.com/repos/sparklemotion/nokogiri/issues/2028/comments
14
2020-04-27T14:48:30Z
2020-10-16T10:11:07Z
https://github.com/sparklemotion/nokogiri/issues/2028
607,611,518
2,028
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Constant error "Ignoring nokogiri-1.10.4 because its extensions are not built. Try: gem pristine nokogiri --version 1.10.4" **Expected behavior** After I run this `gem pristine nokogiri --version 1.10.4` `Restoring gems to pristine condition... Building native extensions. This could t...
Ignoring nokogiri-1.10.4 because its extensions are not built.
https://api.github.com/repos/sparklemotion/nokogiri/issues/2026/comments
2
2020-04-24T18:12:46Z
2020-04-26T13:36:13Z
https://github.com/sparklemotion/nokogiri/issues/2026
606,495,074
2,026
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** **What is the complete output of `gem install`?** ERROR: Error installing nokogiri: ```The last version of nokogiri (= 1.10.9) to support your Ruby & RubyGems was 1.10.9. Try installin...
Please add support for versions of RUby 2.7.1.X on Windows RubyInstaller
https://api.github.com/repos/sparklemotion/nokogiri/issues/2025/comments
1
2020-04-22T20:41:45Z
2020-04-22T21:52:35Z
https://github.com/sparklemotion/nokogiri/issues/2025
605,060,445
2,025
[ "sparklemotion", "nokogiri" ]
**Mission Statement** Before anything else, I've found a fix to my nokogiri installation problems. I just wanted to submit this issue to update the documentation to help others who might run into this specific installation problem. I'm running a fresh install of Ubuntu 18.04 and was in the process of setting up my ...
Installation difficulties post retrospective. A request to update the tutorials documentation for Ubuntu.
https://api.github.com/repos/sparklemotion/nokogiri/issues/2023/comments
2
2020-04-20T00:44:23Z
2021-03-12T13:11:19Z
https://github.com/sparklemotion/nokogiri/issues/2023
602,866,808
2,023
[ "sparklemotion", "nokogiri" ]
The vendored libxml2 is being compiled with no optimization. This causes slow performance in some cases, e.g. #2020 This is caused by `CFLAGS` being set by default to `-fPIC` by `process_recipe` in `ext/nokogiri/extconf.rb`. When libxml2 is configured with any `CFLAGS` set, then it is compiled without optimization....
libxml2 should be compiled with "-O2"
https://api.github.com/repos/sparklemotion/nokogiri/issues/2022/comments
1
2020-04-18T20:56:31Z
2020-12-01T13:52:43Z
https://github.com/sparklemotion/nokogiri/issues/2022
602,549,912
2,022
[ "sparklemotion", "nokogiri" ]
'x + y' CSS selector, which means "get y next to x" doesn't work in Nokogiri. For example: ```Ruby doc = Nokogiri::HTML(open("https://docs.microsoft.com/en-us/windows/win32/api/winuser/")) puts doc.css('h2#functions + div') ``` doesn't output anything but should output a `<div class="table-scroll-wrapper">` whi...
Implement '+' CSS selector
https://api.github.com/repos/sparklemotion/nokogiri/issues/2021/comments
10
2020-04-15T21:50:45Z
2021-02-16T17:05:41Z
https://github.com/sparklemotion/nokogiri/issues/2021
600,609,428
2,021
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Hi, if I use nokogiri with big html where 90% is inline css it cause 100% cpu usage **To Reproduce** ```ruby #! /usr/bin/env ruby require 'nokogiri' require 'net/http' url = URI('https://baliaquaponics.com') html = Net::HTTP.get_response(url).body puts "html size", html.size doc...
100% Cpu usage on parse html with a lot of inline css
https://api.github.com/repos/sparklemotion/nokogiri/issues/2020/comments
7
2020-04-06T09:55:56Z
2020-10-12T13:14:40Z
https://github.com/sparklemotion/nokogiri/issues/2020
594,972,060
2,020
[ "sparklemotion", "nokogiri" ]
I am on Windows and running Ruby 2.7.0. I used RubyInstaller + Devkit 2.7.0-1 Also, everything was working fine with Ruby 2.6.5. I did uninstall it, remove it from the Path, and restart my machine before going forward with Ruby 2.7.0, however. When running gem install rails I get this error: ` ERROR: Error ...
Windows + Ruby 2.7 Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/2019/comments
6
2020-04-02T02:48:39Z
2021-02-16T17:05:40Z
https://github.com/sparklemotion/nokogiri/issues/2019
592,320,588
2,019
[ "sparklemotion", "nokogiri" ]
Error occurs when attempting to install using ```gem install nokogiri``` gem install output ``` Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. current directory: /home/colin/.gem/ruby/gems/nokogiri-1.10.9/ext/nokogiri...
Installation difficulties on Fedora 32 beta
https://api.github.com/repos/sparklemotion/nokogiri/issues/2018/comments
2
2020-04-01T22:09:09Z
2020-04-02T15:27:27Z
https://github.com/sparklemotion/nokogiri/issues/2018
592,233,161
2,018
[ "sparklemotion", "nokogiri" ]
I just installed Ruby and need to migrate my blog to gitHubPages Please see SO question [here](https://stackoverflow.com/questions/60888780/migrate-blogger-to-githubpages-jekyll) **What is the complete output of `gem install`?** ``` > gem install nokogiri ERROR: Error installing nokogiri: The last ve...
Error installing nokogiri: "The current ruby version is 2.7.0.0."
https://api.github.com/repos/sparklemotion/nokogiri/issues/2017/comments
1
2020-03-27T15:23:56Z
2020-03-29T11:48:17Z
https://github.com/sparklemotion/nokogiri/issues/2017
589,210,179
2,017
[ "sparklemotion", "nokogiri" ]
# TODO * [x] Fix C code to be C89 compliant (MSVC isn't C99 compliant): #2016 * [ ] The Vendored dependencies (zlib, libxml, lixslt) should compile out of the box * [ ] The `.cross-rubies` and `task/cross-ruby.rb` would be modified to allow MSVC gems to be packaged. **Describe the bug** I found the similar h...
MSVC support
https://api.github.com/repos/sparklemotion/nokogiri/issues/2015/comments
16
2020-03-26T11:08:08Z
2021-02-16T17:49:56Z
https://github.com/sparklemotion/nokogiri/issues/2015
588,337,361
2,015
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yeap, I called `sudo dnf install -y rubygem-nokogiri` according to [Fedora section](https://nokogiri.org/tutorials/installing_nokogiri.html) in tutorial **What is the complete output of `sudo dn...
installation fails on fedora via bundler
https://api.github.com/repos/sparklemotion/nokogiri/issues/2014/comments
7
2020-03-24T20:17:00Z
2021-02-16T17:05:40Z
https://github.com/sparklemotion/nokogiri/issues/2014
587,252,923
2,014
[ "sparklemotion", "nokogiri" ]
When we start officially distributing precompiled libraries for Linux (see #1983), I worry a bit about how people will know to trust those binary files in their production environments. I would like to think about how we might improve the trust situation. One option is to **cryptographically sign** the released gem ...
RFC: Increase the level of trust in released gem files
https://api.github.com/repos/sparklemotion/nokogiri/issues/2013/comments
3
2020-03-22T13:22:41Z
2021-11-06T16:19:25Z
https://github.com/sparklemotion/nokogiri/issues/2013
585,717,310
2,013
[ "sparklemotion", "nokogiri" ]
**Describe the bug** I have [pretty simple Docker setup for Jekyll](https://github.com/SwedbankPay/swedbank-pay-design-guide-jekyll-theme/blob/master/docker-compose.yml) that sometimes goes belly up with a segmentation fault. [The full stack trace can be found in this Gist](https://gist.github.com/asbjornu/dd28617d4...
Segmentation fault at document_fragment.rb:7:in `new`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2012/comments
14
2020-03-18T23:14:50Z
2021-02-16T17:03:54Z
https://github.com/sparklemotion/nokogiri/issues/2012
584,057,555
2,012
[ "sparklemotion", "nokogiri" ]
Don't know if there's an interest in Actions CI. See: https://github.com/MSP-Greg/nokogiri/runs/502131943 Three jobs each on Ubuntu, macOS, & Windows, total time 2:56. Re pre-compiled Windows gems, some gems ship the dependency dll's and use Fiddle to load them. This could possibly be done with any needed MSYS2 ...
GitHub Actions (three platforms), pre-compiled Windows gems
https://api.github.com/repos/sparklemotion/nokogiri/issues/2010/comments
2
2020-03-12T01:39:34Z
2021-01-04T03:03:12Z
https://github.com/sparklemotion/nokogiri/issues/2010
579,638,649
2,010
[ "sparklemotion", "nokogiri" ]
**Describe the bug** I ran bundle update to upgrade my puma dependency in the Rails project I'm working on, and saw that nokogiri-1.10.9 was also pulled in. When I tried running Rails after this through `bundle exec rails s -b 0.0.0.0` I get a stack trace which gives me this conclusion: > /home/vagrant/tallinn/vend...
Nokogiri 1.10.9 libc errors
https://api.github.com/repos/sparklemotion/nokogiri/issues/2009/comments
5
2020-03-04T10:06:17Z
2020-10-02T18:15:40Z
https://github.com/sparklemotion/nokogiri/issues/2009
575,277,901
2,009
[ "sparklemotion", "nokogiri" ]
**Nokogiri throws error on regular expression** I was given a schema definition, against which I have to validate the given XML. When I try to validate the XML even though this XML doesn't contains any regular expression of this kind, still throws below error. Portion of XSD look like this. 1: <xsd:pattern value...
Regular expression is not valid
https://api.github.com/repos/sparklemotion/nokogiri/issues/1999/comments
4
2020-02-24T10:11:48Z
2020-10-12T13:08:10Z
https://github.com/sparklemotion/nokogiri/issues/1999
569,753,924
1,999
[ "sparklemotion", "nokogiri" ]
I've got some work in progress on hoe-gemspec to enable the use of external gemspecs within Hoe: https://github.com/flavorjones/hoe-gemspec/issues/1 This would enable dependabot integration and automated updating of the gemspec ... which means we could then trigger updates to the default testing images used in th...
CI: generate testing docker images on demand when dependencies are updated
https://api.github.com/repos/sparklemotion/nokogiri/issues/1998/comments
2
2020-02-22T19:46:57Z
2021-06-16T19:14:16Z
https://github.com/sparklemotion/nokogiri/issues/1998
569,383,872
1,998
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes. **What is the complete output of `gem install`?** ``` Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native ext...
Can't install Nokogiri in MacOS 10.15 Catalina
https://api.github.com/repos/sparklemotion/nokogiri/issues/1997/comments
2
2020-02-20T21:53:10Z
2021-02-16T17:05:39Z
https://github.com/sparklemotion/nokogiri/issues/1997
568,597,941
1,997
[ "sparklemotion", "nokogiri" ]
We're already using `yard` to generate the docs at https://nokogiri.org/rdoc/index.html, but we're not taking advantage of some of yard's features (like the ability to embed mixin methods, e.g., `Searchable` in `Node` and `NodeSet`), and we're certainly not using yard syntax (e.g., all the `call-seq` annotations that w...
RFC: convert to use `yard` for documentation
https://api.github.com/repos/sparklemotion/nokogiri/issues/1996/comments
6
2020-02-16T13:04:04Z
2021-10-23T20:04:25Z
https://github.com/sparklemotion/nokogiri/issues/1996
565,901,991
1,996
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** **What is the complete output of `gem install`?** Please make sure to escape the file contents with triple-backticks. **What are the complete contents of the `mkmf.log` file generated durin...
Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/1994/comments
1
2020-02-11T20:36:54Z
2020-02-13T16:50:02Z
https://github.com/sparklemotion/nokogiri/issues/1994
563,462,034
1,994
[ "sparklemotion", "nokogiri" ]
This issue is to drive investigation and potential action around a set of upstream patches that Canonical judged valuable enough to port to their distributions. References: * https://usn.ubuntu.com/4274-1/ * https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-19956.html * https://people.canonical.co...
Investigate libxml2 vulnerabilities patched in USN-4274-1
https://api.github.com/repos/sparklemotion/nokogiri/issues/1992/comments
4
2020-02-10T15:42:05Z
2020-10-12T13:08:24Z
https://github.com/sparklemotion/nokogiri/issues/1992
562,646,499
1,992
[ "sparklemotion", "nokogiri" ]
As pointed out by @voxik in #1983, any gems that are precompiled don't need `mini_portile2` and so we should remove that as a dependency from those gemspecs.
precompiled gems should not have a runtime dependency on `mini_portile2`
https://api.github.com/repos/sparklemotion/nokogiri/issues/1991/comments
5
2020-02-09T21:53:57Z
2020-12-01T13:52:43Z
https://github.com/sparklemotion/nokogiri/issues/1991
562,246,003
1,991
[ "sparklemotion", "nokogiri" ]
Since Nokogiri depends on Racc in runtime, it would be nice if the dependency was explicitly specified. I know that Racc is part of Ruby StdLib as default gem, OTOH one day Racc will release incompatible version and Nokogiri won't be usable with certain older versions of Ruby without older gemified version of Racc.
Explicit dependency on Racc
https://api.github.com/repos/sparklemotion/nokogiri/issues/1988/comments
9
2020-02-04T10:53:36Z
2021-01-04T15:36:30Z
https://github.com/sparklemotion/nokogiri/issues/1988
559,638,751
1,988
[ "sparklemotion", "nokogiri" ]
Hi @larskanis , https://github.com/sparklemotion/nokogiri/issues/1961#issue-544187468 I'm still getting the same error after running the command "gem install nokogiri -v 1.11.0.rc1 --prerelease". However, the rc version is installed, but the error is same.
Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/1987/comments
3
2020-02-04T10:30:33Z
2020-02-04T13:52:39Z
https://github.com/sparklemotion/nokogiri/issues/1987
559,625,771
1,987
[ "sparklemotion", "nokogiri" ]
**Background** PR #1970 was opened by @ashmaroli to attempt to reduce the number of allocated empty strings created by Nokogiri. This PR was merged and released in v1.11.0.rc1. @ashmaroli repeated his profiling (I think using the `memory_profiler `gem) and [commented](https://github.com/sparklemotion/nokogiri/...
investigate #1970 - string optimization
https://api.github.com/repos/sparklemotion/nokogiri/issues/1986/comments
5
2020-02-03T13:31:52Z
2024-12-16T17:21:19Z
https://github.com/sparklemotion/nokogiri/issues/1986
559,085,776
1,986
[ "sparklemotion", "nokogiri" ]
Was tasked with fixing crash in one production application that was pointing to Nokogiri. Two day's worth of debugging resulted in following. **_My understanding of the issue_** Check relevant `# --N--` markers in dehydrated reproduction code. ### --1-- XML schema document is parsed and by Nokogiri as Libxml...
Memory access violation / Crash during GC
https://api.github.com/repos/sparklemotion/nokogiri/issues/1985/comments
15
2020-02-02T21:58:08Z
2020-10-12T13:09:38Z
https://github.com/sparklemotion/nokogiri/issues/1985
558,764,944
1,985
[ "sparklemotion", "nokogiri" ]
Currently CI uses the same docker images created for running tests, namely https://hub.docker.com/r/flavorjones/nokogiri-test/tags which are generated by the rake tasks in `tasks/docker.rb` and the Dockerfiles in `concourse/images`. Specifically for JRuby, this means we're building our test gem on an image (`flavorj...
CI should use the rake-compiler-dock docker images to build gems for testing
https://api.github.com/repos/sparklemotion/nokogiri/issues/1984/comments
5
2020-02-02T20:27:51Z
2020-11-30T05:37:25Z
https://github.com/sparklemotion/nokogiri/issues/1984
558,752,417
1,984
[ "sparklemotion", "nokogiri" ]
**Hello!** If you're arriving here to give feedback on the v1.11.0 Release Candidates, please make sure to: * tell us which linux distro you're using! * (If you can) a docker image in which we can reproduce the failure you're seeing! Thanks so much for using Nokogiri and for giving us feedback on this experiment...
Ship precompiled gems for linux
https://api.github.com/repos/sparklemotion/nokogiri/issues/1983/comments
24
2020-02-02T18:03:52Z
2020-12-01T13:52:42Z
https://github.com/sparklemotion/nokogiri/issues/1983
558,732,948
1,983
[ "sparklemotion", "nokogiri" ]
**Describe the bug** CI picked up a valgrind failure that's concerning for two reasons: * the stack walkback shows it's happening in Nokogiri code * the rest of the stack walkback is suspiciously similar to the stacks we're suppressing, which means maybe we're getting false positives **To Reproduce** Occur...
investigate valgrind failure in CI coming from Nokogiri_wrap_xml_node_set
https://api.github.com/repos/sparklemotion/nokogiri/issues/1982/comments
1
2020-02-02T08:19:32Z
2021-03-20T20:10:05Z
https://github.com/sparklemotion/nokogiri/issues/1982
558,661,851
1,982
[ "sparklemotion", "nokogiri" ]
On a pretty barebones ubuntu 18 instance running under Vagrant, I get this when installing 1.10.7 ``` tar: libxml2-2.9.10/test/relaxng/ambig_name-class2.rng: Cannot hard link to ‘libxml2-2.9.10/test/relaxng/ambig_name-class.xml’: Operation not permitted tar: libxml2-2.9.10/test/relaxng/ambig_name-class.rng: Cannot...
can't install on ubuntu 18
https://api.github.com/repos/sparklemotion/nokogiri/issues/1981/comments
3
2020-02-02T08:13:35Z
2021-02-16T17:03:54Z
https://github.com/sparklemotion/nokogiri/issues/1981
558,660,808
1,981
[ "sparklemotion", "nokogiri" ]
MakeMakefile provides helpers to add arguments to `$CFLAGS`, `$CPPFLAGS`, and `$LDFLAGS` global variables: https://www.rubydoc.info/stdlib/mkmf/2.1.0/MakeMakefile We're already using `MakeMakefile::with_cflags` (via `add_cflags`) in some places courtesy of @knu (see commits 3c3d34f and 439ab0e), which is great. W...
`extconf.rb` should use `MakeMakefile` helpers for cflags, cppflags, and ldflags
https://api.github.com/repos/sparklemotion/nokogiri/issues/1977/comments
1
2020-02-01T18:57:30Z
2020-11-30T05:15:43Z
https://github.com/sparklemotion/nokogiri/issues/1977
558,581,690
1,977
[ "sparklemotion", "nokogiri" ]
See https://keepachangelog.com/en/1.0.0/ I think this will help downstream consumers of the changelog, like Tidelift.
reformat CHANGELOG.md to adhere to keepachangelog.com guidance
https://api.github.com/repos/sparklemotion/nokogiri/issues/1976/comments
0
2020-01-30T13:05:09Z
2020-02-02T07:02:56Z
https://github.com/sparklemotion/nokogiri/issues/1976
557,480,979
1,976
[ "sparklemotion", "nokogiri" ]
**Describe the bug** As per https://meta.discourse.org/t/multi-line-strikethrough-not-covering-quotes/64808/12 raising a bug here as this is still not fixed after 2 years *over there* and I can't seem to find this bug here on this repository's issue list. **¯\\_(ツ)_/¯** As Discourse is using Nokogiri, the preview ...
Multi-line strikeout preview and post differ
https://api.github.com/repos/sparklemotion/nokogiri/issues/1975/comments
8
2020-01-28T21:25:03Z
2020-10-12T13:11:03Z
https://github.com/sparklemotion/nokogiri/issues/1975
556,477,604
1,975
[ "sparklemotion", "nokogiri" ]
See #1482 for details around removing the path to libxslt, which is the only piece of metadata that tells us what version of libxslt is being used. I'd like to see something similar for libxslt as we have for libxml2: * track the version used at compile time * know the version loaded at runtime * emit both vers...
make libxslt version info available as a first-class member of `VersionInfo`
https://api.github.com/repos/sparklemotion/nokogiri/issues/1974/comments
1
2020-01-27T13:27:03Z
2020-02-02T00:33:58Z
https://github.com/sparklemotion/nokogiri/issues/1974
555,572,729
1,974
[ "sparklemotion", "nokogiri" ]
Hi, [the docs](https://rdoc.info/gems/nokogiri/Nokogiri/HTML/Document#parse-class_method) don't say what errors this raises. I'd like to assume that means none but I gotta think an `IOError`, `SystemCallError`, `Nokogiri::SyntaxError`, something 🤷‍♂️
What Exceptions Does Nokogiri::HTML::Document.parse Raise
https://api.github.com/repos/sparklemotion/nokogiri/issues/1973/comments
5
2020-01-24T18:10:43Z
2020-01-26T00:39:16Z
https://github.com/sparklemotion/nokogiri/issues/1973
554,880,052
1,973
[ "sparklemotion", "nokogiri" ]
I have a new issue where I able to install nokogiri with: gem install nokogiri --version But when I run bundle I get the following error: ``` ArgumentError: Unmatched double quote: "\\\\'--with-xml2-include=/usr/local/Cellar/libxml2/2.8.0/include/libxml2" An error occurred while installing nokogiri (1.8.5), and...
Unmatched double quote error when trying to bundle
https://api.github.com/repos/sparklemotion/nokogiri/issues/1972/comments
1
2020-01-15T17:54:27Z
2020-01-15T18:28:27Z
https://github.com/sparklemotion/nokogiri/issues/1972
550,339,698
1,972
[ "sparklemotion", "nokogiri" ]
The gem-test-java job has never been stable, but I tried to make sure it would use the version-under-test in 1f0d41c. Since that commit, we had Hoe issues (see 6c6a8a7) and racc issues (see https://github.com/ruby/racc/issues/125). Now, we're seeing what I think is a real failure of the version-under-test changes fr...
CI: fix `gem-test-java` job
https://api.github.com/repos/sparklemotion/nokogiri/issues/1971/comments
1
2020-01-15T14:17:07Z
2020-01-27T14:03:52Z
https://github.com/sparklemotion/nokogiri/issues/1971
550,213,252
1,971
[ "sparklemotion", "nokogiri" ]
XmlNodeSet defines a `to_a` method here: https://github.com/sparklemotion/nokogiri/blob/84a554f0c7b78bf82bdd928d27ae038cf29dd0bb/ext/java/nokogiri/XmlNodeSet.java#L395 JRuby originally defined a superclass `to_a` method (in RubyBasicObject) that did not take a `ThreadContext` parameter. However in JRuby 9.2.9, we ma...
XmlNodeSet.to_s return value conflicts with JRuby 9.2.9
https://api.github.com/repos/sparklemotion/nokogiri/issues/1968/comments
2
2020-01-14T17:34:34Z
2020-01-27T14:00:17Z
https://github.com/sparklemotion/nokogiri/issues/1968
549,715,922
1,968
[ "sparklemotion", "nokogiri" ]
Sometime between Sept 8 and Sept 15, 2019, code coverage broke and is being calculated before tests are actually run.
Fix code coverage calculation
https://api.github.com/repos/sparklemotion/nokogiri/issues/1965/comments
6
2020-01-06T15:35:47Z
2020-03-29T12:57:46Z
https://github.com/sparklemotion/nokogiri/issues/1965
545,789,549
1,965
[ "sparklemotion", "nokogiri" ]
**Do not report Security Vulnerabilities here** Ok! **Describe the bug** At runtime I'm seeing the following warning in the logs: [DEPRECATION] HTTParty will no longer override `response#nil?`. This functionality will be removed in future versions. Please, add explicit check `response.body.nil? || respons...
Deprecation warning from dependent library HTTParty
https://api.github.com/repos/sparklemotion/nokogiri/issues/1964/comments
5
2020-01-05T07:44:37Z
2020-01-08T19:04:12Z
https://github.com/sparklemotion/nokogiri/issues/1964
545,385,716
1,964
[ "sparklemotion", "nokogiri" ]
**To Reproduce** ```ruby #!/usr/bin/env ruby require 'nokogiri' require 'minitest/autorun' # Test for reporting issue class Test < MiniTest::Spec describe 'document#to_xml' do it 'formats comments' do expected_xml = <<~HEREDOC <!--test comment--> <root>test xml</root> ...
Comments are formatted differently on mri and jruby
https://api.github.com/repos/sparklemotion/nokogiri/issues/1962/comments
1
2020-01-03T14:11:35Z
2020-01-06T13:32:21Z
https://github.com/sparklemotion/nokogiri/issues/1962
545,008,776
1,962
[ "sparklemotion", "nokogiri" ]
``` ERROR: Error installing nokogiri: The last version of nokogiri (>= 0) to support your Ruby & RubyGems was 1.10.7. Try installing it with `gem install nokogiri -v 1.10.7` nokogiri requires Ruby version >= 2.3, < 2.7.dev. The current ruby version is 2.7.0.dev. ``` ---- NOTE FROM THE MAINTAI...
Add support for Ruby-2.7 on Windows
https://api.github.com/repos/sparklemotion/nokogiri/issues/1961/comments
22
2019-12-31T13:18:44Z
2021-02-16T17:05:39Z
https://github.com/sparklemotion/nokogiri/issues/1961
544,187,468
1,961
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Nokogiri version 1.10.5 produces different validation errors to version 1.10.4 against the [ONIX](https://www.editeur.org/8/ONIX/) 2.1 XSD. **To reproduce** Please unzip the attached folder, `cd` into the root `test_case` directory, and run: `$ ruby -Ilib:test 1.10.4/test_case.rb` ...
From version 1.10.5, XSD validations differ
https://api.github.com/repos/sparklemotion/nokogiri/issues/1960/comments
7
2019-12-26T13:35:22Z
2020-10-12T13:11:29Z
https://github.com/sparklemotion/nokogiri/issues/1960
542,557,876
1,960
[ "sparklemotion", "nokogiri" ]
**Describe the bug** The rumor has it that `nokogiri` builds [incorrectly][1]. From what I can gather it exports (not hides) `libxml2`'s symbols. As a result, if `libxml2.so` is loaded before `nokogiri.so`, `nokogiri` is bound to use the system library, not the one embedded in the binary. And as a resullt it has to ...
nokogiri builds incorrectly (exports libxml2's symbols)
https://api.github.com/repos/sparklemotion/nokogiri/issues/1959/comments
23
2019-12-20T10:45:32Z
2024-12-05T22:49:47Z
https://github.com/sparklemotion/nokogiri/issues/1959
540,929,417
1,959
[ "sparklemotion", "nokogiri" ]
**Describe the bug** The "Tutorials" hyperlink on https://nokogiri.org/ is broken (FF and chromium on mageia linux v8).
"Tutorials" link on https://nokogiri.org/ is broken
https://api.github.com/repos/sparklemotion/nokogiri/issues/1958/comments
3
2019-12-15T11:48:35Z
2021-02-16T17:03:54Z
https://github.com/sparklemotion/nokogiri/issues/1958
538,039,888
1,958
[ "sparklemotion", "nokogiri" ]
incorrecr returning document?
https://api.github.com/repos/sparklemotion/nokogiri/issues/1957/comments
0
2019-12-13T09:26:54Z
2019-12-16T01:02:12Z
https://github.com/sparklemotion/nokogiri/issues/1957
537,439,125
1,957
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** Yes. I have tried installing different versions of Nokogiri, and have completely blown away ruby and rvm and reinstalled them. I even tried sudoing, even though I know I shouldn't, and re-reinstalled...
Installation difficulties - Nokogiri fails to install, mkmf.log is very short
https://api.github.com/repos/sparklemotion/nokogiri/issues/1956/comments
3
2019-12-12T05:18:29Z
2021-02-16T17:03:53Z
https://github.com/sparklemotion/nokogiri/issues/1956
536,762,684
1,956