nokogiri 1.14.2-java → 1.14.4-java

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

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4170bfb2120b0ea0b11fb5d52e548f9e9946e8baa73c1a6d0a304236735a331
4
- data.tar.gz: 88a8f1108ec80047cf0b8be3261d696b62e30dbd0dcfcf3a34008492935207bd
3
+ metadata.gz: 2108d64c900885b6f155adcbf2a85a278b08ecc09f4b09a049c212012f33791e
4
+ data.tar.gz: 2396c851eaacb1cf581747503f7a268dc649c7492d159f2301cf1b527abc6d79
5
5
  SHA512:
6
- metadata.gz: fc4cd881aefc9f2df11915e1d06d18303b38dfe0f5d6c453506d02bd0581ab3e806e2e6faa4596e12981217a0679c404b2f84b450b5d992ebe44cf1c5b044a83
7
- data.tar.gz: 86623112c0c4f39c0cdbcc090cbd05d6f6f842ebe8b5a0580c86606cc023eca68c28755c72265880af2fe1cdf2e582bcab40e514054be9da720b75f7e6d5977f
6
+ metadata.gz: 0f4ab961c823a552598ae3e896fa1e5ab594f3ce0db84fceab9385e4c109be51cfdf452b402f9a9effe29fe67d42e347709c0c95bb6b1fcd72a9c308ad3364fa
7
+ data.tar.gz: 97b5a0a52060b35cd5e778a045063fd18dbcc1ae70a150281b700d40f3833a83fbc336b2a0aa3a4965e9ca98e86a636e30eaa038a745e2edf2c2e35ca5d745a8
data/dependencies.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  libxml2:
2
- version: "2.10.3"
3
- sha256: "5d2cc3d78bec3dbe212a9d7fa629ada25a7da928af432c93060ff5c17ee28a9c"
4
- # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.10/libxml2-2.10.3.sha256sum
2
+ version: "2.10.4"
3
+ sha256: "ed0c91c5845008f1936739e4eee2035531c1c94742c6541f44ee66d885948d45"
4
+ # sha-256 hash provided in https://download.gnome.org/sources/libxml2/2.10/libxml2-2.10.4.sha256sum
5
5
 
6
6
  libxslt:
7
7
  version: "1.1.37"
@@ -13,6 +13,7 @@ import java.util.Map;
13
13
  import java.util.regex.Matcher;
14
14
  import java.util.regex.Pattern;
15
15
 
16
+ import javax.xml.transform.OutputKeys;
16
17
  import javax.xml.transform.Templates;
17
18
  import javax.xml.transform.Transformer;
18
19
  import javax.xml.transform.TransformerConfigurationException;
@@ -184,9 +185,15 @@ public class XsltStylesheet extends RubyObject
184
185
  XmlDocument xmlDoc = (XmlDocument) doc;
185
186
  ByteArrayOutputStream writer = new ByteArrayOutputStream();
186
187
 
187
- Serializer serializer = SerializerFactory.getSerializer(this.sheet.getOutputProperties());
188
+ java.util.Properties props = this.sheet.getOutputProperties();
189
+ if (props.getProperty(OutputKeys.METHOD) == null) {
190
+ props.setProperty(OutputKeys.METHOD, org.apache.xml.serializer.Method.UNKNOWN);
191
+ }
192
+
193
+ Serializer serializer = SerializerFactory.getSerializer(props);
188
194
  serializer.setOutputStream(writer);
189
195
  ((SerializationHandler) serializer).serialize(xmlDoc.getNode());
196
+
190
197
  return context.getRuntime().newString(writer.toString());
191
198
  }
192
199
 
@@ -2,26 +2,26 @@
2
2
  begin
3
3
  require 'jar_dependencies'
4
4
  rescue LoadError
5
- require 'xalan/xalan/2.7.2/xalan-2.7.2.jar'
5
+ require 'xalan/serializer/2.7.3/serializer-2.7.3.jar'
6
6
  require 'net/sourceforge/htmlunit/neko-htmlunit/2.63.0/neko-htmlunit-2.63.0.jar'
7
7
  require 'nu/validator/jing/20200702VNU/jing-20200702VNU.jar'
8
8
  require 'xerces/xercesImpl/2.12.2/xercesImpl-2.12.2.jar'
9
9
  require 'org/nokogiri/nekodtd/0.1.11.noko1/nekodtd-0.1.11.noko1.jar'
10
10
  require 'net/sf/saxon/Saxon-HE/9.6.0-4/Saxon-HE-9.6.0-4.jar'
11
+ require 'xalan/xalan/2.7.3/xalan-2.7.3.jar'
11
12
  require 'xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar'
12
- require 'xalan/serializer/2.7.2/serializer-2.7.2.jar'
13
13
  require 'isorelax/isorelax/20030108/isorelax-20030108.jar'
14
14
  end
15
15
 
16
16
  if defined? Jars
17
- require_jar 'xalan', 'xalan', '2.7.2'
17
+ require_jar 'xalan', 'serializer', '2.7.3'
18
18
  require_jar 'net.sourceforge.htmlunit', 'neko-htmlunit', '2.63.0'
19
19
  require_jar 'nu.validator', 'jing', '20200702VNU'
20
20
  require_jar 'xerces', 'xercesImpl', '2.12.2'
21
21
  require_jar 'org.nokogiri', 'nekodtd', '0.1.11.noko1'
22
22
  require_jar 'net.sf.saxon', 'Saxon-HE', '9.6.0-4'
23
+ require_jar 'xalan', 'xalan', '2.7.3'
23
24
  require_jar 'xml-apis', 'xml-apis', '1.4.01'
24
- require_jar 'xalan', 'serializer', '2.7.2'
25
25
  require_jar 'isorelax', 'isorelax', '20030108'
26
26
  end
27
27
 
@@ -33,8 +33,8 @@ module Nokogiri
33
33
  "net.sourceforge.htmlunit:neko-htmlunit" => "2.63.0",
34
34
  "nu.validator:jing" => "20200702VNU",
35
35
  "org.nokogiri:nekodtd" => "0.1.11.noko1",
36
- "xalan:serializer" => "2.7.2",
37
- "xalan:xalan" => "2.7.2",
36
+ "xalan:serializer" => "2.7.3",
37
+ "xalan:xalan" => "2.7.3",
38
38
  "xerces:xercesImpl" => "2.12.2",
39
39
  "xml-apis:xml-apis" => "1.4.01",
40
40
  }.freeze
Binary file
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nokogiri
4
4
  # The version of Nokogiri you are using
5
- VERSION = "1.14.2"
5
+ VERSION = "1.14.4"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.14.4
5
5
  platform: java
6
6
  authors:
7
7
  - Mike Dalessio
@@ -20,7 +20,7 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2023-02-13 00:00:00.000000000 Z
23
+ date: 2023-05-11 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  requirement: !ruby/object:Gem::Requirement
@@ -29,22 +29,23 @@ dependencies:
29
29
  - !ruby/object:Gem::Version
30
30
  version: 0.4.1
31
31
  name: jar-dependencies
32
- prerelease: false
33
32
  type: :development
33
+ prerelease: false
34
34
  version_requirements: !ruby/object:Gem::Requirement
35
35
  requirements:
36
36
  - - '='
37
37
  - !ruby/object:Gem::Version
38
38
  version: 0.4.1
39
39
  - !ruby/object:Gem::Dependency
40
+ force_ruby_platform: false
40
41
  requirement: !ruby/object:Gem::Requirement
41
42
  requirements:
42
43
  - - "~>"
43
44
  - !ruby/object:Gem::Version
44
45
  version: '1.4'
45
46
  name: racc
46
- prerelease: false
47
47
  type: :runtime
48
+ prerelease: false
48
49
  version_requirements: !ruby/object:Gem::Requirement
49
50
  requirements:
50
51
  - - "~>"
@@ -266,8 +267,8 @@ files:
266
267
  - lib/nokogiri/jruby/nokogiri_jars.rb
267
268
  - lib/nokogiri/jruby/nu/validator/jing/20200702VNU/jing-20200702VNU.jar
268
269
  - lib/nokogiri/jruby/org/nokogiri/nekodtd/0.1.11.noko1/nekodtd-0.1.11.noko1.jar
269
- - lib/nokogiri/jruby/xalan/serializer/2.7.2/serializer-2.7.2.jar
270
- - lib/nokogiri/jruby/xalan/xalan/2.7.2/xalan-2.7.2.jar
270
+ - lib/nokogiri/jruby/xalan/serializer/2.7.3/serializer-2.7.3.jar
271
+ - lib/nokogiri/jruby/xalan/xalan/2.7.3/xalan-2.7.3.jar
271
272
  - lib/nokogiri/jruby/xerces/xercesImpl/2.12.2/xercesImpl-2.12.2.jar
272
273
  - lib/nokogiri/jruby/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar
273
274
  - lib/nokogiri/nokogiri.jar
@@ -347,8 +348,8 @@ requirements:
347
348
  - jar org.nokogiri, nekodtd, 0.1.11.noko1
348
349
  - jar net.sourceforge.htmlunit, neko-htmlunit, 2.63.0
349
350
  - jar nu.validator, jing, 20200702VNU
350
- - jar xalan, serializer, 2.7.2
351
- - jar xalan, xalan, 2.7.2
351
+ - jar xalan, serializer, 2.7.3
352
+ - jar xalan, xalan, 2.7.3
352
353
  - jar xerces, xercesImpl, 2.12.2
353
354
  - jar xml-apis, xml-apis, 1.4.01
354
355
  rubygems_version: 3.3.25