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" ]
after bundle install ruby 2.0.0 ./siteconf20191208-743-6s5n6b.rb extconf.rb --use-system-libraries checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no Building nokogiri using system libraries. libxml2 version 2.6.21 ...
OS Catalina I get an error
https://api.github.com/repos/sparklemotion/nokogiri/issues/1955/comments
5
2019-12-08T07:30:06Z
2021-02-16T17:03:53Z
https://github.com/sparklemotion/nokogiri/issues/1955
534,504,062
1,955
[ "sparklemotion", "nokogiri" ]
Hello, we're having trouble to install `1.10.6` in `ruby:2.6.5-slim` docker image I see an issue when new patch is applied. Some paths were changed in 1.10.6 ``` root@0f9e302639b8:/app# cat /usr/local/bundle/gems/nokogiri-1.10.6/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.10/patch.log patching fil...
[1.10.6] Error occurred while installing nokogiri
https://api.github.com/repos/sparklemotion/nokogiri/issues/1954/comments
5
2019-12-04T09:43:31Z
2019-12-04T14:04:23Z
https://github.com/sparklemotion/nokogiri/issues/1954
532,563,431
1,954
[ "sparklemotion", "nokogiri" ]
**Describe the bug** ``` /home/ahorek/.rvm/gems/ruby-head/gems/nokogiri-1.10.5/lib/nokogiri/xml/node_set.rb:238: [BUG] Segmentation fault at 0x000000000a296680 ruby 2.7.0dev (2019-11-28T14:49:28Z trunk b5fbefbf2c) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0011 ...
segfault in node_set.rb
https://api.github.com/repos/sparklemotion/nokogiri/issues/1952/comments
17
2019-12-02T23:51:32Z
2024-08-29T19:45:03Z
https://github.com/sparklemotion/nokogiri/issues/1952
531,615,105
1,952
[ "sparklemotion", "nokogiri" ]
my goodness,i just want change my phone to Aiden's one current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.6.0/gems/nokogiri-1.10.5/ext/nokogiri /data/data/com.termux/files/usr/bin/ruby -I /data/data/com.termux/files/usr/lib/ruby/site_ruby/2.6.0 -r ./siteconf20191202-31542-1e27xgm.rb extconf....
error in install TermUX
https://api.github.com/repos/sparklemotion/nokogiri/issues/1951/comments
6
2019-12-02T14:32:47Z
2019-12-03T19:05:16Z
https://github.com/sparklemotion/nokogiri/issues/1951
531,166,617
1,951
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Nokogiri does not extract attributes of an HTML fragment. **To Reproduce** ```ruby #! ~/.rvm/rubies/ruby-2.6.3/bin/ruby require 'nokogiri' fragment = Nokogiri::HTML.fragment('<a href="www.example.com">Foo</a>') puts fragment.to_html puts fragment.has_attribute? 'href' puts fragme...
Nokogiri does not extract attributes of an HTML fragment.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1950/comments
2
2019-12-01T09:36:22Z
2021-02-16T17:03:53Z
https://github.com/sparklemotion/nokogiri/issues/1950
530,701,903
1,950
[ "sparklemotion", "nokogiri" ]
Is there an online tool like jsfiddle for nokogiri? It would be helpful to test the project's API via a website. In my case, it's not super easy for me to test the project I'm working on.
Nokogiri online testing
https://api.github.com/repos/sparklemotion/nokogiri/issues/1947/comments
6
2019-11-28T22:36:23Z
2019-11-29T21:49:24Z
https://github.com/sparklemotion/nokogiri/issues/1947
530,091,836
1,947
[ "sparklemotion", "nokogiri" ]
Hi everyone, I am creating a scrapper to analyse the consumer reviews of the following website: influenster https://www.influenster.com/reviews/toblerone-swiss-milk-chocolate Following this tutorial: https://www.youtube.com/watch?v=b3CLEUBdWwQ (I already did a scraper for rentalcar following this method that was wo...
Nokogiri empty brackets while parsing
https://api.github.com/repos/sparklemotion/nokogiri/issues/1946/comments
1
2019-11-27T15:37:18Z
2019-11-27T16:48:25Z
https://github.com/sparklemotion/nokogiri/issues/1946
529,423,546
1,946
[ "sparklemotion", "nokogiri" ]
I am parsing a 100MB XML document. I was using the following approach which was resulting in the process using massive amount of memory (~3GB) ```ruby xml_content = open(url) elements = Nokogiri::XML(xml_content).xpath('//my/x-path') elements.each do |element| xml_doc = element.to_xml(indent: 1) end ``` ...
Nokogiri::XML::Reader parsing error
https://api.github.com/repos/sparklemotion/nokogiri/issues/1945/comments
12
2019-11-26T17:09:15Z
2021-02-16T17:05:38Z
https://github.com/sparklemotion/nokogiri/issues/1945
528,860,497
1,945
[ "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`?** ``` ~/java$ sudo jruby -S gem install nokogiri WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective ...
jgem fails to install nokogiri 1.10.5 (LICENSE-DEPENDENCIES.md not found)
https://api.github.com/repos/sparklemotion/nokogiri/issues/1944/comments
4
2019-11-23T10:32:27Z
2021-02-16T17:03:52Z
https://github.com/sparklemotion/nokogiri/issues/1944
527,540,441
1,944
[ "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/4164-1/ * https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-13117.html * https://people.canonical.com/...
Investigate libxslt vulnerabilities patched in USN-4164-1
https://api.github.com/repos/sparklemotion/nokogiri/issues/1943/comments
4
2019-11-17T17:57:50Z
2019-11-17T18:25:26Z
https://github.com/sparklemotion/nokogiri/issues/1943
524,020,251
1,943
[ "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`?** ``` % gem install nokogiri -v '=1.10.5' Building native extensions. This could take a while... ERROR: Error installing nokogiri: E...
Cannot build on FreeBSD 12
https://api.github.com/repos/sparklemotion/nokogiri/issues/1941/comments
12
2019-11-10T05:20:18Z
2024-06-13T02:24:36Z
https://github.com/sparklemotion/nokogiri/issues/1941
520,556,113
1,941
[ "sparklemotion", "nokogiri" ]
The content in CDATA isn't affected by `disable-output-escaping` Two files shared below don't produce the same output with xsltproc and nokogiri. ### FILES `test.xsl` ```xsl <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" omit-xm...
parse XSLT::Stylesheet using the libxslt-preferred options
https://api.github.com/repos/sparklemotion/nokogiri/issues/1940/comments
2
2019-11-07T12:17:58Z
2021-04-21T12:41:31Z
https://github.com/sparklemotion/nokogiri/issues/1940
519,231,832
1,940
[ "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`?** ``` current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.6.0/gems/nokogiri-1.10.4/ext/nokogiri /data/data/com.termux/files/u...
Installing difficulties - help me
https://api.github.com/repos/sparklemotion/nokogiri/issues/1939/comments
3
2019-11-06T05:01:08Z
2021-02-16T17:05:38Z
https://github.com/sparklemotion/nokogiri/issues/1939
518,238,806
1,939
[ "sparklemotion", "nokogiri" ]
Suppress Ruby 2.7 valgrind errors. See https://ci.nokogiri.org/teams/nokogiri-core/pipelines/nokogiri/jobs/ruby-2.7-rc-valgrind/builds/1 for examples. We've had to do this for previous versions of Ruby as well, see the `/suppressions` subdirectory.
suppress ruby 2.7 valgrind errors
https://api.github.com/repos/sparklemotion/nokogiri/issues/1938/comments
2
2019-10-29T12:59:45Z
2020-02-02T18:53:00Z
https://github.com/sparklemotion/nokogiri/issues/1938
513,899,646
1,938
[ "sparklemotion", "nokogiri" ]
libxml 2.9.10-rc1 has been released, and the team is targetting a final release later this week, according to [this email thread](https://mail.gnome.org/archives/xml/2019-October/msg00001.html). this issue is to: 1. run the CI pipeline against this version of libxml2 2. cut a release depending on the final libxm...
test against, and upgrade to, libxml-2.9.10 and libxslt-1.1.34
https://api.github.com/repos/sparklemotion/nokogiri/issues/1937/comments
2
2019-10-28T16:31:52Z
2019-10-31T19:30:45Z
https://github.com/sparklemotion/nokogiri/issues/1937
513,417,398
1,937
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Using `Nokogiri::XML string` when string starts with `\r\n` then text elements lose any &amp; s **To Reproduce** Running on Windows: ```ruby require 'nokogiri' require 'minitest/autorun' class Test < MiniTest::Spec describe "Node#css" do it "should correctly handle &amp;" do ...
&amp; vanishes when XML prefixed with newline
https://api.github.com/repos/sparklemotion/nokogiri/issues/1936/comments
2
2019-10-24T15:20:56Z
2020-10-12T13:13:46Z
https://github.com/sparklemotion/nokogiri/issues/1936
512,015,635
1,936
[ "sparklemotion", "nokogiri" ]
``` #!/usr/bin/env ruby require 'nokogiri' parser = Nokogiri::CSS::Parser.new puts Nokogiri::CSS::Parser.cache_on? threads = [] threads << Thread.new do Nokogiri::CSS::Parser.without_cache do sleep 1 end end threads << Thread.new do sleep 0.1 Nokogiri::CSS::Parser.without_cache do s...
Race condition in Nokogiri::CSS::Parser
https://api.github.com/repos/sparklemotion/nokogiri/issues/1935/comments
5
2019-10-23T06:58:09Z
2020-02-15T22:40:27Z
https://github.com/sparklemotion/nokogiri/issues/1935
511,117,428
1,935
[ "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`?** ``` $ gem install nokogiri Building native extensions. This could take a while... Successfully installed nokogiri-1.10.4 Parsing docum...
Nokogiri is not working/installing properly on Mac OS X 10.15 Catalina
https://api.github.com/repos/sparklemotion/nokogiri/issues/1933/comments
5
2019-10-14T12:51:11Z
2021-02-16T17:05:38Z
https://github.com/sparklemotion/nokogiri/issues/1933
506,633,676
1,933
[ "sparklemotion", "nokogiri" ]
On macOS 10.14.6, nokogiri failed to install even after: ``` gem update --system xcode-select --install ``` The error was: ``` current directory: /Users/paul/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/nokogiri-1.10.4/ext/nokogiri /Users/paul/.rbenv/versions/2.5.1/bin/ruby -I /Users/paul/.rbenv/version...
Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/1932/comments
2
2019-10-13T14:50:12Z
2020-01-27T14:13:52Z
https://github.com/sparklemotion/nokogiri/issues/1932
506,335,298
1,932
[ "sparklemotion", "nokogiri" ]
Hi! Apologies if this has been submitted already. It looks like Nokogiri's CSS parser can't handle pseudo-elements (as opposed to pseudo-classes). As far as I can tell it's valid CSS3. To reproduce: ``` Nokogiri::CSS::Parser.new.parse('input::placeholder { color: red; }') ``` Result: ``` root@dev:~/wg...
support CSS pseudo-element selectors
https://api.github.com/repos/sparklemotion/nokogiri/issues/1931/comments
6
2019-10-09T03:56:39Z
2021-11-06T16:59:32Z
https://github.com/sparklemotion/nokogiri/issues/1931
504,397,134
1,931
[ "sparklemotion", "nokogiri" ]
Nokogiri is failing for XML documents that have these characters - `&`, `<` and `>` `Nokogiri::XML::SyntaxError -- 231:574: FATAL: StartTag: invalid element name` Is there a fix for this?
XML parsing fails for special charatcters
https://api.github.com/repos/sparklemotion/nokogiri/issues/1929/comments
2
2019-09-30T06:43:08Z
2021-02-16T17:03:52Z
https://github.com/sparklemotion/nokogiri/issues/1929
500,082,600
1,929
[ "sparklemotion", "nokogiri" ]
I can no longer build nokogiri which has destroyed my copy of Metasploit. It used to work, but then nokogiri was updated, and now it doesn't. The requested output is very lengthy so I have uploaded it to https://github.com/Trenix25/Termux/tree/master/Metasploit/nokogiri/ for inspection. gcc has no trouble finding C ...
Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/1928/comments
3
2019-09-24T21:26:17Z
2021-02-16T17:05:37Z
https://github.com/sparklemotion/nokogiri/issues/1928
497,932,600
1,928
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Some content of html is removed after parsing **To Reproduce** Run following script: ``` require 'nokogiri' before = '<p class="header__lede">Affecting <strong > <a class="breadcrumbs__list-item__link" href="/vuln/npm:saml2-js">saml2-js</a> </strong> package, versions <strong > <&nb...
MIssing content after parsing html
https://api.github.com/repos/sparklemotion/nokogiri/issues/1927/comments
1
2019-09-24T08:00:54Z
2019-09-27T13:21:34Z
https://github.com/sparklemotion/nokogiri/issues/1927
497,523,640
1,927
[ "sparklemotion", "nokogiri" ]
**Describe the bug** When an XML document contains non-predefined entities—even if the document defines those entities up-front—it will error when parsing with nokogiri's SAX parser. Note that this warning from libxml2's [docs](http://xmlsoft.org/entities.html) seem to hint that getting this right is hard: > *...
SAX::Parser errors when it encounters non-predefined entities.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1926/comments
16
2019-09-22T03:40:55Z
2024-07-02T02:40:51Z
https://github.com/sparklemotion/nokogiri/issues/1926
496,729,492
1,926
[ "sparklemotion", "nokogiri" ]
Hi I'm trying to install nokogiri on OS X Mojave 10.14.5. I have XCode version 10.3 If I run `gem install nokogiri` I get the following output: ``` Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. current directory...
Installation difficulties
https://api.github.com/repos/sparklemotion/nokogiri/issues/1923/comments
15
2019-09-07T05:51:00Z
2021-02-16T17:05:37Z
https://github.com/sparklemotion/nokogiri/issues/1923
490,596,004
1,923
[ "sparklemotion", "nokogiri" ]
**Describe the bug** I'm trying to generate a link like to an URL with an accent, `<a href="#Éducation">`. This is valid markup, and is different from `<a href="#%C3%89ducation">`. This doesn't seem to be possible with Nokogiri! **To Reproduce** ```ruby #! /usr/bin/env ruby require "nokogiri" d = Nokogiri...
HTML Builder escapes too much
https://api.github.com/repos/sparklemotion/nokogiri/issues/1920/comments
2
2019-08-22T12:04:47Z
2019-08-22T14:57:18Z
https://github.com/sparklemotion/nokogiri/issues/1920
483,953,451
1,920
[ "sparklemotion", "nokogiri" ]
The CI job `gem-test-java` is failing. Here is a link to the log: https://ci.nokogiri.org/teams/nokogiri-core/pipelines/nokogiri/jobs/gem-test-java/builds/26 This issue is to investigate and take any actions necessary to make this test more robust. Please note two distinct issues that I see: 1. the test sui...
[ci] gem-test-java failing
https://api.github.com/repos/sparklemotion/nokogiri/issues/1919/comments
1
2019-08-20T23:21:09Z
2019-11-26T12:44:21Z
https://github.com/sparklemotion/nokogiri/issues/1919
483,126,395
1,919
[ "sparklemotion", "nokogiri" ]
# CVE-2019-5477 - Nokogiri Command Injection Vulnerability This issue has been created for public disclosure of a Command Injection vulnerability that was responsibly reported by @kyoshidajp (Katsuhiko YOSHIDA). I'd like to thank [HackerOne](https://hackerone.com/loofah) for providing a secure, responsible mechan...
CVE-2019-5477 - Nokogiri Command Injection Vulnerability
https://api.github.com/repos/sparklemotion/nokogiri/issues/1915/comments
4
2019-07-20T19:40:01Z
2019-08-15T17:47:58Z
https://github.com/sparklemotion/nokogiri/issues/1915
470,707,803
1,915
[ "sparklemotion", "nokogiri" ]
Too many nested elements in the XML cause the indentation string to get truncated during output. **To Reproduce** ```ruby #! /usr/bin/env ruby require 'nokogiri' xml = Nokogiri::XML("<root><l1><l2><l3><l4><l5><l6><l7><l8><l9><l10><l11></l11></l10></l9></l8></l7></l6></l5></l4></l3></l2></l1></root>") do |c...
Too many nested elements in the XML cause the indentation string to get truncated during output
https://api.github.com/repos/sparklemotion/nokogiri/issues/1914/comments
3
2019-07-15T12:09:25Z
2019-07-15T20:45:52Z
https://github.com/sparklemotion/nokogiri/issues/1914
468,091,227
1,914
[ "sparklemotion", "nokogiri" ]
See https://github.com/fullstaq-labs/fullstaq-ruby-server-edition/blob/master/README.md#why-was-fullstaq-ruby-created for what first called my attention to people's desire to use alternative malloc implementations. It might be interesting (and cheap) to run valgrind against these implementations, to increase confide...
CI: consider testing valgrind against Ruby using `jemalloc` and `malloc_trim`
https://api.github.com/repos/sparklemotion/nokogiri/issues/1913/comments
1
2019-07-07T20:14:25Z
2021-11-15T19:00:50Z
https://github.com/sparklemotion/nokogiri/issues/1913
464,988,644
1,913
[ "sparklemotion", "nokogiri" ]
**Describe the bug** If you(stupidly) try to replace a child node of a parent node with the parent node itself, nokogiri just hangs forever. I traced the issue into `xml_node.c` I believe it's the `reparent_node_with` function that hangs, but I'm not a C dev so didn't dig deeper. `ctrl-c` also doesn't work, you n...
Hangs forever when trying to replace a child node with the parent node
https://api.github.com/repos/sparklemotion/nokogiri/issues/1912/comments
5
2019-07-05T14:50:14Z
2021-12-24T16:44:45Z
https://github.com/sparklemotion/nokogiri/issues/1912
464,674,225
1,912
[ "sparklemotion", "nokogiri" ]
I'm trying to parse a large xml file using SAX parser. When the parser reaches a node which is empty, the characters method doesn't fire. Here is an example... Here is the sample xml document. <?xml version="1.0" encoding="UTF-8"?> <root> <ISA type="array"> <ISA> <I02> <name...
SAX doesn't fire the `characters` method when a node is empty
https://api.github.com/repos/sparklemotion/nokogiri/issues/1910/comments
6
2019-06-25T04:24:52Z
2020-04-24T10:13:47Z
https://github.com/sparklemotion/nokogiri/issues/1910
460,201,937
1,910
[ "sparklemotion", "nokogiri" ]
I am using AMP HTML and some of my attributes are being stripped. In the following example I am using the [amp-list](https://amp.dev/documentation/components/amp-list) tag with the *[src]* attribute, this is also the attribute being stripped (it seems that the square brackets are the culprit): ```ruby #! /usr/bin/e...
Attributes are being stripped
https://api.github.com/repos/sparklemotion/nokogiri/issues/1909/comments
4
2019-06-23T20:06:56Z
2020-10-12T13:14:38Z
https://github.com/sparklemotion/nokogiri/issues/1909
459,612,454
1,909
[ "sparklemotion", "nokogiri" ]
Compilation finishes on AIX 7.2 via Ruby gems (both 2.5.0 and 2.6.0) and GCC 8.1.0 Execution of the compiled gem however fails on AIX 7.2 ``` bash-5.0# /usr/local/bin/gem install nokogiri-1.10.3.gem Building native extensions. This could take a while... Successfully installed nokogiri-1.10.3 Parsing documenta...
AIX 7.2 missing vasprintf()
https://api.github.com/repos/sparklemotion/nokogiri/issues/1908/comments
4
2019-06-22T08:00:25Z
2020-02-15T13:33:32Z
https://github.com/sparklemotion/nokogiri/issues/1908
459,449,692
1,908
[ "sparklemotion", "nokogiri" ]
Ruby 2.6.3p62 I've been trying many ways to build the gem. If I run `gem install nokogiri -- --with-iconv-dir=/path/to/iconv` it fails to generate the makefile (the error shows up when building the second packaged version libxslt 1.1.3.3) and the logs show [something like this ](https://gist.github.com/androbtech...
Confusion when building native static nokogiri extension on OS X High Sierra.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1907/comments
2
2019-06-19T23:56:11Z
2021-02-16T17:03:52Z
https://github.com/sparklemotion/nokogiri/issues/1907
458,274,315
1,907
[ "sparklemotion", "nokogiri" ]
The [HTML 5 spec](https://www.w3.org/TR/html5/grouping-content.html#the-pre-element) states: > In the HTML syntax, a leading newline character immediately following the pre element start tag is stripped. Nokogiri, however, retains leading newline characters in pre elements. ```ruby Nokogiri::HTML("<!DOCTYPE h...
A leading newline character immediately following a pre element start tag should be stripped
https://api.github.com/repos/sparklemotion/nokogiri/issues/1906/comments
2
2019-06-02T19:36:12Z
2019-06-03T13:46:46Z
https://github.com/sparklemotion/nokogiri/issues/1906
451,226,466
1,906
[ "sparklemotion", "nokogiri" ]
Hello, I work to create plugins on SketchUp. Recently SketchUp launch a new version (SketchUp 2019) and Nokogiri can’t be use. When I load the bundle, an error is writing: **Error: #<LoadError: cannot load such file -- racc/parser.rb>** It happened each time I’m using the line: « require ‘nokogiri’ » SketchU...
Nokogiri on SketchUp 2019
https://api.github.com/repos/sparklemotion/nokogiri/issues/1905/comments
5
2019-05-13T07:58:12Z
2021-02-16T17:03:51Z
https://github.com/sparklemotion/nokogiri/issues/1905
443,256,659
1,905
[ "sparklemotion", "nokogiri" ]
can't install nokogiri with command `gem install nokogiri` and when i trying creating new ruby projects, throwing errors in nekogiri installing ***environment*** ``` Operating System = Ubuntu 18.04 Ruby Version = 2.5.3 Installing method = RVM ``` **error throwed in terminal** ```` Building native extension...
can't installing nokogiri
https://api.github.com/repos/sparklemotion/nokogiri/issues/1904/comments
1
2019-05-10T17:07:17Z
2019-05-12T05:30:37Z
https://github.com/sparklemotion/nokogiri/issues/1904
442,813,386
1,904
[ "sparklemotion", "nokogiri" ]
Hi, The documentation (https://nokogiri.org/rdoc/Nokogiri/XML/ParseOptions.html) reads: ```ruby Nokogiri.XML('<content>Chapter 1</content', options: Nokogiri::XML::ParseOptions.new((1 << 0) | (1 << 1))) ``` but that won't work since the declaration of XML is: ```ruby # Parse an XML document using the Nok...
Documentation is misleading
https://api.github.com/repos/sparklemotion/nokogiri/issues/1902/comments
2
2019-05-09T08:05:14Z
2019-05-13T14:48:30Z
https://github.com/sparklemotion/nokogiri/issues/1902
442,103,683
1,902
[ "sparklemotion", "nokogiri" ]
**Describe the bug** If the node set returned from `Nokogiri::XML::Node#element_children` is empty, querying it with `.css` raises an exception in JRuby. For MRI this works as expected by returning an empty node set. **To Reproduce** MRI 👍 $ RBENV_VERSION=2.5.3 ruby -I lib -r nokogiri -e "puts Nokogir...
CSS query fails for empty element_children in JRuby
https://api.github.com/repos/sparklemotion/nokogiri/issues/1901/comments
5
2019-04-30T14:08:08Z
2024-07-02T21:56:09Z
https://github.com/sparklemotion/nokogiri/issues/1901
438,797,968
1,901
[ "sparklemotion", "nokogiri" ]
**Describe the bug** I was playing around with nokogiri, and managed to segfault it by assigning `DocumentFragment.children` to `Document.root`, rather than `DocumentFragment.children[0]` **To Reproduce** ```ruby require 'nokogiri' a = Nokogiri::XML::Document.new b = Nokogiri::XML::DocumentFragment.new ...
Segfault when assigning DocumentFragment.children to Document.root
https://api.github.com/repos/sparklemotion/nokogiri/issues/1900/comments
3
2019-04-29T22:37:25Z
2021-03-23T00:54:15Z
https://github.com/sparklemotion/nokogiri/issues/1900
438,536,184
1,900
[ "sparklemotion", "nokogiri" ]
When requiring just 'nokogiri/version', the `Nokogiri::VERSION` errors, likely because the JRuby extension does not load. ``` $ jruby -e 'require "nokogiri/version"; Nokogiri::VERSION' NameError: uninitialized constant Nokogiri::XERCES_VERSION const_missing at org/jruby/RubyModule.java:3742 to_...
Requiring nokogiri/version does not fully define Nokogiri::VERSION
https://api.github.com/repos/sparklemotion/nokogiri/issues/1896/comments
4
2019-04-20T08:13:32Z
2019-04-28T21:15:43Z
https://github.com/sparklemotion/nokogiri/issues/1896
435,369,777
1,896
[ "sparklemotion", "nokogiri" ]
'li' tags are treated as tags with no content, such as 'img', 'br' etc. XHTML standard defines a list of tags with no content, described here: https://www.w3.org/TR/2009/NOTE-xhtml-media-types-20090116 under "A.2. Elements that can never have content". Correct examples: ```ruby Nokogiri::HTML('<html><body><p></p>...
'li' tags are treated as no content tags when empty
https://api.github.com/repos/sparklemotion/nokogiri/issues/1893/comments
2
2019-04-17T08:39:02Z
2019-04-17T13:40:48Z
https://github.com/sparklemotion/nokogiri/issues/1893
434,160,176
1,893
[ "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/3947-1/ * https://usn.ubuntu.com/3947-2/ * https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-11068.h...
Investigate Ubuntu libxslt patches in USN-3947-1 and USN-3947-2
https://api.github.com/repos/sparklemotion/nokogiri/issues/1892/comments
7
2019-04-16T03:39:10Z
2019-04-23T18:59:17Z
https://github.com/sparklemotion/nokogiri/issues/1892
433,569,338
1,892
[ "sparklemotion", "nokogiri" ]
**Describe the bug** Installation fails within any folder containing a space in the folder name. **To Reproduce** Gemfile: ```ruby source 'https://rubygems.org' gem 'nokogiri' ``` % bundle install --path "./Bundles Here/" **Expected behavior** nokogiri installs **Actual Behaviour** ``` ==...
Installation fails on any folder path that contains spaces in the path
https://api.github.com/repos/sparklemotion/nokogiri/issues/1891/comments
1
2019-04-15T07:50:25Z
2019-04-16T03:33:55Z
https://github.com/sparklemotion/nokogiri/issues/1891
433,141,276
1,891
[ "sparklemotion", "nokogiri" ]
Nokogiri currently does not support the [`:scope`][scope] pseudoclass in the `css` and `at_css` methods. [scope]: https://developer.mozilla.org/en-US/docs/Web/CSS/:scope
:scope pseudoclass not supported
https://api.github.com/repos/sparklemotion/nokogiri/issues/1889/comments
2
2019-04-11T08:48:22Z
2024-07-02T21:20:53Z
https://github.com/sparklemotion/nokogiri/issues/1889
431,903,035
1,889
[ "sparklemotion", "nokogiri" ]
Dear Nokogiri community, I want to parse the content of my nginx directory listing and it all works just fine with normal ruby, but with jruby I can't get nokogiri to behave the same way than on normal ruby and parse the listing. Does anyone have an idea to help me out? **To Reproduce** ```ruby #! /usr/bin/...
Need help parsing a standard nginx directory listing. Different results with ruby and jruby.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1888/comments
12
2019-04-07T09:36:55Z
2019-04-23T07:17:22Z
https://github.com/sparklemotion/nokogiri/issues/1888
430,124,321
1,888
[ "sparklemotion", "nokogiri" ]
**Describe the bug** I faced with need to change namespace but with preserving prefix in a document **To Reproduce** I have tried: ```ruby #! /usr/bin/env ruby require 'nokogiri' require 'minitest/autorun' class Test < MiniTest::Spec describe "Node namespaces tests" do it 'test namespace upd...
API for change namespace or remove single namespace prefix
https://api.github.com/repos/sparklemotion/nokogiri/issues/1887/comments
3
2019-04-06T17:44:09Z
2021-02-16T17:03:51Z
https://github.com/sparklemotion/nokogiri/issues/1887
430,058,315
1,887
[ "sparklemotion", "nokogiri" ]
As noted at https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/ upstream support for Ruby 2.3 ended on March 31, 2019. This issue is to formally remove Ruby 2.3 support from Nokogiri, including; * update README and gemspec to indicate this change * remove Ruby 2.3 from CI pipelines * rem...
Deprecate Ruby 2.3 support
https://api.github.com/repos/sparklemotion/nokogiri/issues/1886/comments
2
2019-04-04T18:51:29Z
2020-01-11T20:55:18Z
https://github.com/sparklemotion/nokogiri/issues/1886
429,430,701
1,886
[ "sparklemotion", "nokogiri" ]
Automatic installation of nokogiri fails on OpenBSD. Tested with 5.8, 6.2, 6.3, and 6.4. Even with `libiconv` installed, nokogiri fails to find it due to OpenBSD sticking the lib in `/usr/local/lib`. To reproduce, do `gem install nokogiri -v '1.10.2'` on OpenBSD. Do not specify `--with-iconv-lib`. Yes, you can make...
Nokogiri and OpenBSD
https://api.github.com/repos/sparklemotion/nokogiri/issues/1885/comments
9
2019-04-04T02:48:55Z
2022-02-27T17:17:48Z
https://github.com/sparklemotion/nokogiri/issues/1885
429,058,522
1,885
[ "sparklemotion", "nokogiri" ]
"arm-linux-androideabi-clang -o conftest -I/data/data/com.termux/files/usr/include/ruby-2.6.0/arm-linux-androideabi -I/data/data/com.termux/files/usr/include/ruby-2.6.0/ruby/backward -I/data/data/com.termux/files/usr/include/ruby-2.6.0 -I. -I/data/data/com.termux/files/usr/include -march=armv7-a -mfpu=neon -mfloat-a...
Cant install nokogiri gem. Please advice
https://api.github.com/repos/sparklemotion/nokogiri/issues/1884/comments
4
2019-03-28T22:30:29Z
2021-02-16T17:03:51Z
https://github.com/sparklemotion/nokogiri/issues/1884
426,735,456
1,884
[ "sparklemotion", "nokogiri" ]
The TruffleRuby team is maintaining some patches to Nokogiri that look like they should be pulled in. A chat with one of the maintainers indicates there are changes that are either working around bugs in Nokogiri or else are pretty trivial: - some patches related to the number of C function args - and also some swi...
import truffleruby patches
https://api.github.com/repos/sparklemotion/nokogiri/issues/1882/comments
15
2019-03-06T20:23:21Z
2021-03-12T13:17:24Z
https://github.com/sparklemotion/nokogiri/issues/1882
417,992,644
1,882
[ "sparklemotion", "nokogiri" ]
When I create .xlsx file via google docs all my integer values transforms to float(e.g. 1 -> 1.0). However when I create file locally - it's ok. What's the reason of such behavior and how to avoid it? P.S. tested with different nokogiri versions incluing fresh one.
Converts integer to float for google docs xlsx
https://api.github.com/repos/sparklemotion/nokogiri/issues/1878/comments
8
2019-03-04T10:37:23Z
2021-02-16T17:05:37Z
https://github.com/sparklemotion/nokogiri/issues/1878
416,736,671
1,878
[ "sparklemotion", "nokogiri" ]
Nokogiri parser removes child element of anchor tag and add them as a separate element. **To Reproduce** Here's an example: ``` parse_data = Nokogiri::HTML.parse "<a> <table> <tr> </tr></table> </a>" parse_data.to_html "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/...
Nokogiri parser removes child element from anchor tag and add them as a separate element.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1876/comments
1
2019-02-26T19:12:27Z
2019-02-28T13:43:29Z
https://github.com/sparklemotion/nokogiri/issues/1876
414,772,184
1,876
[ "sparklemotion", "nokogiri" ]
This is a followup to #1774. I'm sorry it took me a while to get back around to it. While a fix to #1774 was provided in #1778, the fix only works for a _default_ namespace, not one with a prefix. (It hadn't occured to me in my repro for #1774 that I should provide both, as they may be have different codepaths in ...
Jruby nokogiri 1.9.0+, rehomed elements don't keep namespaces, plus regression from 1.8
https://api.github.com/repos/sparklemotion/nokogiri/issues/1875/comments
8
2019-02-25T18:57:03Z
2021-11-15T19:11:55Z
https://github.com/sparklemotion/nokogiri/issues/1875
414,255,056
1,875
[ "sparklemotion", "nokogiri" ]
**Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. **Describe the bug** Use jruby 9....
1.10.0 - jruby 9.13.0-p0 memory leak very fast.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1873/comments
3
2019-02-22T05:15:57Z
2019-02-23T00:31:19Z
https://github.com/sparklemotion/nokogiri/issues/1873
413,247,143
1,873
[ "sparklemotion", "nokogiri" ]
![image](https://user-images.githubusercontent.com/43869312/52076979-27aefe00-254d-11e9-9faf-c141895930bd.png) ![image](https://user-images.githubusercontent.com/43869312/52077041-40b7af00-254d-11e9-9996-dd76a772a6bd.png)
Tutorials link "https://nokogiri.org/tutorials/" is 404
https://api.github.com/repos/sparklemotion/nokogiri/issues/1870/comments
5
2019-01-31T18:42:32Z
2019-02-14T15:35:33Z
https://github.com/sparklemotion/nokogiri/issues/1870
405,384,438
1,870
[ "sparklemotion", "nokogiri" ]
When attempting to find all nodes matching a particular xpath, if one of the nodes contains a CDATA tag larger than 10MB, Nokogiri will return all matching nodes up to and including the one with the large CDATA, and ignore subsequent matches. Reproduction script: ```ruby require 'nokogiri' require 'active_supp...
Problem matching nodes by xpath in XML file containing a CDATA tag larger than 10MB
https://api.github.com/repos/sparklemotion/nokogiri/issues/1869/comments
3
2019-01-30T16:31:13Z
2019-01-31T10:25:23Z
https://github.com/sparklemotion/nokogiri/issues/1869
404,855,175
1,869
[ "sparklemotion", "nokogiri" ]
I am facing `pkg-config` error during installation of nokogiri, although I have pre installed `pkg-config` using both `apt-get` and `gem install`. Below is complete installation with error. ```ahmed@ahmed-Latitude-E6330:~/test$ bundle install --path vendor/bundle Fetching gem metadata from https://rubygems.org/....
During installation error of `pkg-config` installation while `pkg-config` is pre installed on my system.
https://api.github.com/repos/sparklemotion/nokogiri/issues/1867/comments
3
2019-01-26T07:18:00Z
2021-02-16T17:03:50Z
https://github.com/sparklemotion/nokogiri/issues/1867
403,415,739
1,867
[ "sparklemotion", "nokogiri" ]
Necessary changes: - [x] create a webhook token for the new PR - [x] configure very basic integration like in the commits mentioned below
concourse: upgrade to teliaoss/github-pr-resource
https://api.github.com/repos/sparklemotion/nokogiri/issues/1866/comments
1
2019-01-26T06:38:24Z
2020-08-28T14:10:36Z
https://github.com/sparklemotion/nokogiri/issues/1866
403,413,236
1,866
[ "sparklemotion", "nokogiri" ]
Since b61a303 we've had simplecov in the test suite. Let's start reporting some of that code coverage to Code Climate and ask CC to check PRs. (With the caveat that this will only look at Ruby code, not the extension code.)
concourse: submit simplecov test coverage reports to code climate
https://api.github.com/repos/sparklemotion/nokogiri/issues/1865/comments
1
2019-01-21T17:12:22Z
2019-01-26T06:33:35Z
https://github.com/sparklemotion/nokogiri/issues/1865
401,444,460
1,865
[ "sparklemotion", "nokogiri" ]
The `concourse` gem now supports multiple pipelines. Let's put PRs into a separate pipeline, and restructure the master pipeline to be more serial (running fewer builds in parallel).
concourse: split PR group into a separate pipeline, restructure master pipeline
https://api.github.com/repos/sparklemotion/nokogiri/issues/1864/comments
3
2019-01-21T07:00:59Z
2019-01-25T06:58:44Z
https://github.com/sparklemotion/nokogiri/issues/1864
401,218,228
1,864
[ "sparklemotion", "nokogiri" ]
Currently, every task in the master and PR pipelines need to `bundle install` which is pretty wasteful. Additionally, the rubinius and valgrind builds run `apt update` and apt-install packages. Instead, let's generate a docker image for each version of ruby with the gems and apt packages pre-installed. For extra ...
concourse: build and use custom docker images
https://api.github.com/repos/sparklemotion/nokogiri/issues/1863/comments
2
2019-01-21T06:54:32Z
2019-01-22T06:31:44Z
https://github.com/sparklemotion/nokogiri/issues/1863
401,216,560
1,863
[ "sparklemotion", "nokogiri" ]
**Difference in behavior for Nokogiri::XML::Element#to_s** **To Reproduce** Nokogiri Version 1.8.1 ```ruby html = "<p><i for=\"&{<test>}\"></i></p>" document = Nokogiri::HTML::Document.new nodes = document.parse(html) nodes[0].to_s #=> "<p><i for=\"&amp;{&lt;test&gt;}\"></i></p>" ``` Nokogiri Version 1.8.5...
Changes to Nokogiri::XML::Element#to_s
https://api.github.com/repos/sparklemotion/nokogiri/issues/1862/comments
5
2019-01-20T23:50:46Z
2021-02-16T17:03:50Z
https://github.com/sparklemotion/nokogiri/issues/1862
401,153,214
1,862
[ "sparklemotion", "nokogiri" ]
**Describe the bug** We have an HTML document of about 1.5MB - mostly HTML tables, which is being styled via premailer. Fundamentally, it inlines your styles by finding nodes which styles in a stylesheet apply to. This is simple enough. However, we found that Nokogiri's xpath search gets EXCEPTIONALLY slow for each ...
Xpath search time for nodes with classes increases exponentially with document size
https://api.github.com/repos/sparklemotion/nokogiri/issues/1861/comments
15
2019-01-14T20:42:44Z
2025-01-08T16:38:32Z
https://github.com/sparklemotion/nokogiri/issues/1861
399,065,075
1,861
[ "sparklemotion", "nokogiri" ]
Originally reported on the mailing list by @MaxLustig and at #1853 which was self-closed. Failing example: ```ruby #! /usr/bin/env ruby require 'nokogiri' html = <<-EOHTML <div class="section header" id=1> <div class="subsection header">sub 1</div> <div class="subsection header">sub 2</d...
`Node#>` operator does not work in a `DocumentFragment`
https://api.github.com/repos/sparklemotion/nokogiri/issues/1857/comments
0
2019-01-08T19:15:43Z
2021-12-23T14:54:50Z
https://github.com/sparklemotion/nokogiri/issues/1857
397,047,378
1,857
[ "sparklemotion", "nokogiri" ]
I was trying to chase down a nasty issue, and came up against a bunch of google search results. Ended being caused by malformed XML that Noko was still parsing and returning on. It's because of multiple declarations. Not sure if it's a bug or what, but I would expect the parser to ignore additional declarations rather ...
Nokogiri delivers some weird parsing results with malformed XML (&gt; disappears)
https://api.github.com/repos/sparklemotion/nokogiri/issues/1856/comments
2
2019-01-08T16:21:35Z
2019-01-08T19:23:48Z
https://github.com/sparklemotion/nokogiri/issues/1856
396,981,170
1,856
[ "sparklemotion", "nokogiri" ]
Hi Until 1.8, nokogiri gem contained the spec files. It was useful for Debian (and certainly for other GNU/Linux distributions) to be able to run the test suite when building packages for their archive. Since 1.9, the spec/ subdir is not included anymore. In Debian, we thought about using the github repository as...
please ship specs in the gem
https://api.github.com/repos/sparklemotion/nokogiri/issues/1855/comments
22
2019-01-08T14:20:50Z
2021-02-16T17:05:36Z
https://github.com/sparklemotion/nokogiri/issues/1855
396,927,304
1,855
[ "sparklemotion", "nokogiri" ]
## If you're having trouble installing Nokogiri ... **Have you tried following [the installation tutorial][tutorial]?** **What is the output of `gem install`?** **What are the contents of the `mkmf.log` file?** **What operating system are you using?** win10 jruby9.1.13 ## If this isn't an installation i...
JRuby Builder throws namespace error when creating a node with a non-default namespace
https://api.github.com/repos/sparklemotion/nokogiri/issues/1854/comments
2
2019-01-08T10:46:44Z
2024-07-02T21:18:01Z
https://github.com/sparklemotion/nokogiri/issues/1854
396,849,524
1,854
[ "sparklemotion", "nokogiri" ]
**What problems are you experiencing?** Using DocumentFragment > selector produces undefined method error. **What's the output from `nokogiri -v`?** # Nokogiri (1.8.5) --- warnings: [] nokogiri: 1.8.5 ruby: version: 2.4.5 platform: x86_64-darwin17 description: ruby 2.4.5p33...
DocumentFragment > selector broken
https://api.github.com/repos/sparklemotion/nokogiri/issues/1853/comments
1
2019-01-07T18:52:30Z
2021-12-22T18:36:48Z
https://github.com/sparklemotion/nokogiri/issues/1853
396,606,017
1,853
[ "sparklemotion", "nokogiri" ]
Hi guys, it's the first time I'm opening an issue on GitHub so I hope I'm doing it correctly. I was using nokogiri version 1.8.5 without problems. Now I'm having trouble to install nokogiri in my gems since the version 1.9.1 was released. I tried to create a new app _"rails new my_app"_ and the following message ...
nokogiri 1.9.1
https://api.github.com/repos/sparklemotion/nokogiri/issues/1849/comments
4
2018-12-25T20:35:26Z
2018-12-27T03:26:54Z
https://github.com/sparklemotion/nokogiri/issues/1849
394,048,101
1,849
[ "sparklemotion", "nokogiri" ]
My hunch is that we haven't looked at the generated rdocs in a long time, and I'm spotting things like `VersionInfo` showing up despite having a `:nodoc:` declaration. Simultaneously, the `VERSION` constant doesn't show up, where I expected it to. Let's set aside some time to review https://www.rubydoc.info/github/s...
chore: go through generated rdocs and review formatting and doc strings
https://api.github.com/repos/sparklemotion/nokogiri/issues/1848/comments
2
2018-12-22T13:47:05Z
2021-10-12T05:18:23Z
https://github.com/sparklemotion/nokogiri/issues/1848
393,674,750
1,848
[ "sparklemotion", "nokogiri" ]
**What problems are you experiencing?** Created a subclass of `Nokogiri::XML::SAX::Document` that raises an exception in the `#error` method. Tried to parse a non-well-formed XML document, expecting the error to be raised, but it wasn't. **What's the output from `nokogiri -v`?** ```# Nokogiri (1.9.1) ---...
Error Handling for Nokogiri::XML::SAX::Document under jruby seems broken
https://api.github.com/repos/sparklemotion/nokogiri/issues/1847/comments
5
2018-12-20T01:14:31Z
2019-04-01T11:57:22Z
https://github.com/sparklemotion/nokogiri/issues/1847
392,845,558
1,847
[ "sparklemotion", "nokogiri" ]
In v1.9.0, `DocumentFragment#dup` started always returning an `XML::DocumentFragment` which not only breaks `HTML::DocumentFragment#dup` but also any other subclasses of `XML::DocumentFragment`, such as the Loofah gem's `Loofah::HTML::DocumentFragment` (see https://github.com/flavorjones/loofah/issues/161). Working ...
XML::DocumentFragment#dup should return an instance of the same class
https://api.github.com/repos/sparklemotion/nokogiri/issues/1846/comments
3
2018-12-18T03:48:01Z
2018-12-18T05:23:15Z
https://github.com/sparklemotion/nokogiri/issues/1846
391,985,388
1,846
[ "sparklemotion", "nokogiri" ]
The work under #1719, which modified the contents of the gemfiles, has made me realize that although we test the code pretty well, we don't have any automated test coverage on the gem installation process. I'd like to set up the following: __Release Candidate gems__ A manually-triggered pipeline with jobs to: ...
concourse: automate building gems, testing of gem installation, and `gem push`
https://api.github.com/repos/sparklemotion/nokogiri/issues/1845/comments
5
2018-12-17T14:34:48Z
2020-12-28T20:05:41Z
https://github.com/sparklemotion/nokogiri/issues/1845
391,739,445
1,845
[ "sparklemotion", "nokogiri" ]
See #1692 for the beginning of this work on HTML::DocumentFragment See #1843 for a rebase of this work onto a modern `master` See branch `1844-fragment-parse-options-overhaul` for the start of adding tests to HTML::DocumentFragment which are more thorough than the current test approach Things I'd like to do as...
ensure all DocumentFragment parse methods take ParseOptions and an options-configuration block
https://api.github.com/repos/sparklemotion/nokogiri/issues/1844/comments
3
2018-12-16T17:23:59Z
2021-12-24T22:23:26Z
https://github.com/sparklemotion/nokogiri/issues/1844
391,487,451
1,844
[ "sparklemotion", "nokogiri" ]
Placeholder story to cut a release supporting Ruby 2.6. Some prior tickets to look at to make sure we're doing everything right: * https://github.com/sparklemotion/nokogiri/issues/1256 * https://github.com/sparklemotion/nokogiri/issues/1618 * https://github.com/sparklemotion/nokogiri/issues/1706 * https://gith...
ruby 2.6 support
https://api.github.com/repos/sparklemotion/nokogiri/issues/1842/comments
3
2018-12-14T22:06:05Z
2018-12-29T03:10:04Z
https://github.com/sparklemotion/nokogiri/issues/1842
391,295,289
1,842
[ "sparklemotion", "nokogiri" ]
Ruby 2.2 reached EOL in June 2018. https://www.ruby-lang.org/en/news/2018/06/20/support-of-ruby-2-2-has-ended/ Potential actions: * remove it from the Windows gem in an upcoming release. * update the gemspec to declare this as no longer compatible * update the README
deprecate Ruby 2.2 support
https://api.github.com/repos/sparklemotion/nokogiri/issues/1841/comments
1
2018-12-14T22:04:31Z
2018-12-20T05:22:40Z
https://github.com/sparklemotion/nokogiri/issues/1841
391,294,925
1,841
[ "sparklemotion", "nokogiri" ]
RubyGems has issues with ruby version constraints and proper gem selection when pre-compiled (platform specific) gems are available. Ignoring that, the upper ruby version constraint used for `nokogiri-1.8.5-x64-mingw32.gem` is "< 2.6", which I believe will allow 'dev' and 'pre' builds to 'pass', and hence, the gem i...
precompiled gem & trunk
https://api.github.com/repos/sparklemotion/nokogiri/issues/1839/comments
4
2018-12-13T16:15:51Z
2018-12-24T15:47:39Z
https://github.com/sparklemotion/nokogiri/issues/1839
390,752,086
1,839
[ "sparklemotion", "nokogiri" ]
Was gonna PR you this with (of course) tests, but couldn't figure out why my new methods were not found and the whole `tmp` folder builds thing. And then I read [Y_U_NO_GEMSPEC](https://github.com/sparklemotion/nokogiri/blob/master/Y_U_NO_GEMSPEC.md). **Rationale:** Rubocop [bugs me](https://github.com/rubocop-hq/r...
Enhancement: Add #key? #value? predicates to Node
https://api.github.com/repos/sparklemotion/nokogiri/issues/1838/comments
5
2018-12-13T12:51:16Z
2020-01-27T13:47:50Z
https://github.com/sparklemotion/nokogiri/issues/1838
390,664,997
1,838
[ "sparklemotion", "nokogiri" ]
Following is the list or error, can I add the tags to Nokogiri so that I can parse the xhtml files with customer tags like x3d which are not recognized by the x3d. ``` [#<Nokogiri::XML::SyntaxError: 8:159: ERROR: Tag x3d invalid>, #<Nokogiri::XML::SyntaxError: 9:21: ERROR: Tag scene invalid>, #<Nokogiri::XML::Synt...
Erros while parsing my xhtml file using nokogiri
https://api.github.com/repos/sparklemotion/nokogiri/issues/1837/comments
2
2018-12-12T08:41:40Z
2019-01-05T00:56:17Z
https://github.com/sparklemotion/nokogiri/issues/1837
390,118,932
1,837
[ "sparklemotion", "nokogiri" ]
``` # Nokogiri (1.9.0.rc1) --- warnings: [] nokogiri: 1.9.0.rc1 ruby: version: 2.5.0 platform: java description: jruby 9.2.4.1 (2.5.0) 2018-11-28 f487d1e OpenJDK 64-Bit Server VM 10.0.2+13-Ubuntu-1ubuntu0.18.04.4 on 10.0.2+13-Ubuntu-1ubuntu0.18.04.4 [linux-x86_64] ...
[jruby] HTML::DocumentFragment.parse throws a NPE when namespaced attributes are used
https://api.github.com/repos/sparklemotion/nokogiri/issues/1836/comments
15
2018-12-10T07:14:08Z
2021-08-18T18:44:04Z
https://github.com/sparklemotion/nokogiri/issues/1836
389,168,519
1,836
[ "sparklemotion", "nokogiri" ]
v1.9.0 is being tracked under the milestone at https://github.com/sparklemotion/nokogiri/milestone/16
release v1.9.0
https://api.github.com/repos/sparklemotion/nokogiri/issues/1835/comments
4
2018-12-10T06:11:06Z
2018-12-17T21:10:26Z
https://github.com/sparklemotion/nokogiri/issues/1835
389,154,489
1,835
[ "sparklemotion", "nokogiri" ]
## If you're having trouble installing Nokogiri ... **Have you tried following [the installation tutorial][tutorial]?** Yes, succeeded with "install with system libraries" only. But unable to "Install with included libraries" **What is the output of `gem install`?** ``` gem install nokogiri Building native e...
Installation issue with ruby 2.6.0-rc1
https://api.github.com/repos/sparklemotion/nokogiri/issues/1833/comments
7
2018-12-10T01:36:23Z
2021-02-16T17:05:36Z
https://github.com/sparklemotion/nokogiri/issues/1833
389,097,085
1,833
[ "sparklemotion", "nokogiri" ]
See #1063 for context. MRI has an optional second argument for `Node#dup` that the JRuby implementation does not have.
JRuby: Optimize node copying to new documents
https://api.github.com/repos/sparklemotion/nokogiri/issues/1832/comments
0
2018-12-05T14:55:27Z
2024-12-08T18:21:25Z
https://github.com/sparklemotion/nokogiri/issues/1832
387,794,164
1,832
[ "sparklemotion", "nokogiri" ]
Credit for reporting this vulnerability to Nokogiri Core goes to David Moore @grajagandev who works at [Looker](https://looker.com/). Thanks, David! This issue is being opened for nokogiri core to triage this vulnerability within the context of Nokogiri. --- ## CVE-2012-0881 Resources * NVD: https://nvd.nis...
xerces 2.11.0 is vulnerable to CVE-2012-0881
https://api.github.com/repos/sparklemotion/nokogiri/issues/1831/comments
1
2018-12-04T21:49:30Z
2018-12-10T05:09:17Z
https://github.com/sparklemotion/nokogiri/issues/1831
387,494,904
1,831
[ "sparklemotion", "nokogiri" ]
See #1760 for more context. The JRuby implementation of Nokogiri uses [Xalan-J](https://xml.apache.org/xalan-j/) for XSLT support, but [this thread](https://mail-archives.apache.org/mod_mbox/xalan-dev/201810.mbox/browser) reveals that development (and likely support) has stalled on that project. A potential repla...
Explore replacements for Xalan-J
https://api.github.com/repos/sparklemotion/nokogiri/issues/1829/comments
11
2018-12-03T22:23:33Z
2024-07-02T21:01:59Z
https://github.com/sparklemotion/nokogiri/issues/1829
387,032,697
1,829
[ "sparklemotion", "nokogiri" ]
As @stevecheckoway pointed out in https://github.com/sparklemotion/nokogiri/issues/1784 we might be able to avoid the case statement in `dealloc_node_i` and let `xmlFreeNode` take care of it for us. This change would be a simplification, but I need to spend some time digging into: * why we call xmlFreePropList on...
use `xmlFreeNode` in xml_document.c to deallocate unparented nodes of all types
https://api.github.com/repos/sparklemotion/nokogiri/issues/1826/comments
4
2018-12-02T04:46:40Z
2024-11-11T01:47:27Z
https://github.com/sparklemotion/nokogiri/issues/1826
386,526,468
1,826
[ "sparklemotion", "nokogiri" ]
According to ruby convention, #each method should return self: `[1, 2].each {} # => [1, 2]` While NodeSet#each always return zero instead: `nodes.each {} # => 0` As everyone in the ruby community expects #each to always return self (I myself had a hard time debugging seemingly perfect line of code) I think it w...
NodeSet#each returns zero instead of self
https://api.github.com/repos/sparklemotion/nokogiri/issues/1822/comments
1
2018-11-30T17:24:10Z
2018-12-01T16:47:53Z
https://github.com/sparklemotion/nokogiri/issues/1822
386,279,398
1,822
[ "sparklemotion", "nokogiri" ]
## If you're having trouble installing Nokogiri ... After 3hours on debugging I'm loose :( Libs version: - libzip 1.5.1-1 - libxml2 2.9.8-6 - libxslt 1.1.32 **Have you tried following [the installation tutorial][tutorial]?** yes, the project embedded it's own updated and patched copies of libxml2 and lib...
Error on install in archlinux zlib
https://api.github.com/repos/sparklemotion/nokogiri/issues/1819/comments
3
2018-11-13T23:35:58Z
2021-02-16T17:05:36Z
https://github.com/sparklemotion/nokogiri/issues/1819
380,471,657
1,819
[ "sparklemotion", "nokogiri" ]
see https://ci.nokogiri.org/teams/nokogiri-core/pipelines/nokogiri/jobs/jruby-9.2/builds/1 ``` 1) Failure: Nokogiri::HTML::TestDocumentFragment#test_error_propagation_on_fragment_parse_in_node_context_should_not_include_preexisting_errors [/tmp/build/4d9a0f57/nokogiri/test/html/test_document_fragment.rb:279]: e...
tests failing on jruby 9.2.x
https://api.github.com/repos/sparklemotion/nokogiri/issues/1818/comments
5
2018-11-11T19:15:37Z
2018-11-16T12:22:03Z
https://github.com/sparklemotion/nokogiri/issues/1818
379,553,340
1,818
[ "sparklemotion", "nokogiri" ]
**Have you tried following [the installation tutorial][tutorial]?** yes **What is the output of `gem install`?** ``` $ gem install nokogiri -v '1.8.5' -- --use-system-libraries Building native extensions with: '--use-system-libraries' This could take a while... ERROR: Error installing nokogiri: ERROR: F...
Problem installing v.1.8.5 on ubuntu 16.04 with ruby 2.5.1 (rbenv)
https://api.github.com/repos/sparklemotion/nokogiri/issues/1817/comments
10
2018-11-06T12:21:23Z
2018-11-12T17:02:55Z
https://github.com/sparklemotion/nokogiri/issues/1817
377,822,766
1,817
[ "sparklemotion", "nokogiri" ]
[ Error While Instalaling Nokogiri 1.8.0 ] Excuse Me Hello sir greetings I have some problem can anybody help me? I want install Nokogiri 1.8.0 but cant cause have error like this > To see why this extension failed to compile, please check the mkmf.log which can be found here: >/data/data/com.termux/files...
[ Error While Install Nokogiri 1.8.0 ]
https://api.github.com/repos/sparklemotion/nokogiri/issues/1816/comments
4
2018-11-05T20:05:31Z
2021-08-18T11:01:13Z
https://github.com/sparklemotion/nokogiri/issues/1816
377,561,084
1,816
[ "sparklemotion", "nokogiri" ]
Hello, I'm using brew's Ruby: ``` $ brew info ruby ruby: stable 2.5.3 (bottled), HEAD Powerful, clean, object-oriented scripting language https://www.ruby-lang.org/ /usr/local/Cellar/ruby/2.5.3 (16,228 files, 27.6MB) * Poured from bottle on 2018-11-02 at 09:13:02 From: https://github.com/Homebrew/homebrew-c...
Nokogiri 1.8.5, macOS High Sierra and brew's binutils
https://api.github.com/repos/sparklemotion/nokogiri/issues/1812/comments
6
2018-11-02T09:52:35Z
2018-12-01T14:22:09Z
https://github.com/sparklemotion/nokogiri/issues/1812
376,740,780
1,812
[ "sparklemotion", "nokogiri" ]
**What problems are you experiencing?** Maybe related or similar to #1771. Memory leak when using `Nokogiri::XML::Builder` and namespaces. Only namespace definitions beginning with `xmlns:` cause the leak (because [Nokogiri::XML::Document#create_element](https://github.com/sparklemotion/nokogiri/blob/master/lib/nokogi...
Memory leak when using Nokogiri::XML::Builder with XML namespaces in nested elements
https://api.github.com/repos/sparklemotion/nokogiri/issues/1810/comments
14
2018-10-29T17:52:49Z
2020-02-02T18:52:59Z
https://github.com/sparklemotion/nokogiri/issues/1810
375,141,802
1,810
[ "sparklemotion", "nokogiri" ]
Unable to update it from command line. See full output below. Googled but hard to find a correct answer. Feels like everyone is suggesting something else, so not sure here: ``` └─❱❱❱ sudo gem update ...
Unable to update nokogiri on MaOS
https://api.github.com/repos/sparklemotion/nokogiri/issues/1809/comments
3
2018-10-27T23:58:40Z
2021-02-16T17:03:49Z
https://github.com/sparklemotion/nokogiri/issues/1809
374,702,003
1,809
[ "sparklemotion", "nokogiri" ]
## If you're having trouble installing Nokogiri ... **Have you tried following [the installation tutorial][tutorial]?** Yes, on https://github.com/sparklemotion/nokogiri and http://www.nokogiri.org/tutorials/installing_nokogiri.html **What is the output of `gem install`?** gem install nokogiri Building n...
Install nokogiri 1.8.5 - MacOs High Sierra
https://api.github.com/repos/sparklemotion/nokogiri/issues/1808/comments
1
2018-10-24T15:16:17Z
2018-10-24T16:03:48Z
https://github.com/sparklemotion/nokogiri/issues/1808
373,536,994
1,808
[ "sparklemotion", "nokogiri" ]
I'm using the `roo` gem to read Excel files and `roo` [finds sheets in the Excel file using `Nokogiri`](https://github.com/roo-rb/roo/blob/8d5ea7a292473dc702f16216e1fbb8bf1211ec5a/lib/roo/excelx/workbook.rb#L26). Specifically it reads a sheets name from `Nokogiri::XML::Element` using `sheet['name']` (which is normally ...
Access Nokogiri::XML::Element attributes as hash fails with Rails ActionController caching
https://api.github.com/repos/sparklemotion/nokogiri/issues/1807/comments
1
2018-10-24T13:21:02Z
2018-10-25T15:43:52Z
https://github.com/sparklemotion/nokogiri/issues/1807
373,479,665
1,807
[ "sparklemotion", "nokogiri" ]
Hey all! I want to use Nokogiri in my (rspec) tests to make sure that the HTML snippet that the `planga-ruby` gem builds, is indeed correct. While I am able to use Nokogiri successfully to check for the existence/ommission of certain tags and their attributes, I also want to check in general if the HTML snippet i...
How to validate a HTML snippet?
https://api.github.com/repos/sparklemotion/nokogiri/issues/1806/comments
2
2018-10-24T11:11:14Z
2021-02-16T17:03:49Z
https://github.com/sparklemotion/nokogiri/issues/1806
373,429,000
1,806
[ "sparklemotion", "nokogiri" ]
## If you're having trouble installing Nokogiri ... **Have you tried following [the installation tutorial][tutorial]?** yes **What is the output of `gem install`?** ``` $ gem install nokogiri -- --use-system-libraries --with-xml2-dir=/usr/include/libxml2 --with-xslt-dir=/usr/include/libxslt --with-exslt-dir=/u...
Problem installing v1.8.5
https://api.github.com/repos/sparklemotion/nokogiri/issues/1805/comments
9
2018-10-24T01:08:12Z
2018-11-06T23:43:04Z
https://github.com/sparklemotion/nokogiri/issues/1805
373,263,801
1,805