nokogiri 1.14.3-java → 1.14.5-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 +4 -4
- data/ext/java/nokogiri/XsltStylesheet.java +8 -1
- data/lib/nokogiri/jruby/nokogiri_jars.rb +9 -9
- data/lib/nokogiri/jruby/org/nokogiri/nekodtd/0.1.11.noko2/nekodtd-0.1.11.noko2.jar +0 -0
- data/lib/nokogiri/jruby/xalan/serializer/2.7.3/serializer-2.7.3.jar +0 -0
- data/lib/nokogiri/jruby/xalan/xalan/2.7.3/xalan-2.7.3.jar +0 -0
- data/lib/nokogiri/nokogiri.jar +0 -0
- data/lib/nokogiri/version/constant.rb +1 -1
- metadata +8 -8
- data/lib/nokogiri/jruby/org/nokogiri/nekodtd/0.1.11.noko1/nekodtd-0.1.11.noko1.jar +0 -0
- data/lib/nokogiri/jruby/xalan/serializer/2.7.2/serializer-2.7.2.jar +0 -0
- data/lib/nokogiri/jruby/xalan/xalan/2.7.2/xalan-2.7.2.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 290237d5f10953257ff144b99f10352dbe522310c139d1675346af05870fda87
|
4
|
+
data.tar.gz: d2ca4a5b533de262f308a945f76e8a437cebe84670698921a330adb88a43bc23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 310d6267a0fc497095c2629ddd516bdf6cb8d192a6bfcd11470a281b75f3d66ba8a4edd8a40eaf203cb0b53e0f33db12a4191641be3318049b7738af79a0d7af
|
7
|
+
data.tar.gz: 7a383b7e0a0c2da84d83984bbebb0e5c056bd9bfe669f9ba99c269294f86c274fd97c3f2e5a71e77b66bbaf67c067514dcf528db76c0ea78deaac11a0048377e
|
@@ -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
|
-
|
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/
|
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
|
-
require 'org/nokogiri/nekodtd/0.1.11.noko1/nekodtd-0.1.11.noko1.jar'
|
10
9
|
require 'net/sf/saxon/Saxon-HE/9.6.0-4/Saxon-HE-9.6.0-4.jar'
|
10
|
+
require 'xalan/xalan/2.7.3/xalan-2.7.3.jar'
|
11
11
|
require 'xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar'
|
12
|
-
require '
|
12
|
+
require 'org/nokogiri/nekodtd/0.1.11.noko2/nekodtd-0.1.11.noko2.jar'
|
13
13
|
require 'isorelax/isorelax/20030108/isorelax-20030108.jar'
|
14
14
|
end
|
15
15
|
|
16
16
|
if defined? Jars
|
17
|
-
require_jar 'xalan', '
|
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
|
-
require_jar 'org.nokogiri', 'nekodtd', '0.1.11.noko1'
|
22
21
|
require_jar 'net.sf.saxon', 'Saxon-HE', '9.6.0-4'
|
22
|
+
require_jar 'xalan', 'xalan', '2.7.3'
|
23
23
|
require_jar 'xml-apis', 'xml-apis', '1.4.01'
|
24
|
-
require_jar '
|
24
|
+
require_jar 'org.nokogiri', 'nekodtd', '0.1.11.noko2'
|
25
25
|
require_jar 'isorelax', 'isorelax', '20030108'
|
26
26
|
end
|
27
27
|
|
@@ -32,9 +32,9 @@ module Nokogiri
|
|
32
32
|
"net.sf.saxon:Saxon-HE" => "9.6.0-4",
|
33
33
|
"net.sourceforge.htmlunit:neko-htmlunit" => "2.63.0",
|
34
34
|
"nu.validator:jing" => "20200702VNU",
|
35
|
-
"org.nokogiri:nekodtd" => "0.1.11.
|
36
|
-
"xalan:serializer" => "2.7.
|
37
|
-
"xalan:xalan" => "2.7.
|
35
|
+
"org.nokogiri:nekodtd" => "0.1.11.noko2",
|
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
|
Binary file
|
Binary file
|
data/lib/nokogiri/nokogiri.jar
CHANGED
Binary file
|
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.
|
4
|
+
version: 1.14.5
|
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-
|
23
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,9 +266,9 @@ files:
|
|
266
266
|
- lib/nokogiri/jruby/net/sourceforge/htmlunit/neko-htmlunit/2.63.0/neko-htmlunit-2.63.0.jar
|
267
267
|
- lib/nokogiri/jruby/nokogiri_jars.rb
|
268
268
|
- lib/nokogiri/jruby/nu/validator/jing/20200702VNU/jing-20200702VNU.jar
|
269
|
-
- lib/nokogiri/jruby/org/nokogiri/nekodtd/0.1.11.
|
270
|
-
- lib/nokogiri/jruby/xalan/serializer/2.7.
|
271
|
-
- lib/nokogiri/jruby/xalan/xalan/2.7.
|
269
|
+
- lib/nokogiri/jruby/org/nokogiri/nekodtd/0.1.11.noko2/nekodtd-0.1.11.noko2.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
|
272
272
|
- lib/nokogiri/jruby/xerces/xercesImpl/2.12.2/xercesImpl-2.12.2.jar
|
273
273
|
- lib/nokogiri/jruby/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar
|
274
274
|
- lib/nokogiri/nokogiri.jar
|
@@ -345,11 +345,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
345
345
|
version: '0'
|
346
346
|
requirements:
|
347
347
|
- jar isorelax, isorelax, 20030108
|
348
|
-
- jar org.nokogiri, nekodtd, 0.1.11.
|
348
|
+
- jar org.nokogiri, nekodtd, 0.1.11.noko2
|
349
349
|
- jar net.sourceforge.htmlunit, neko-htmlunit, 2.63.0
|
350
350
|
- jar nu.validator, jing, 20200702VNU
|
351
|
-
- jar xalan, serializer, 2.7.
|
352
|
-
- jar xalan, xalan, 2.7.
|
351
|
+
- jar xalan, serializer, 2.7.3
|
352
|
+
- jar xalan, xalan, 2.7.3
|
353
353
|
- jar xerces, xercesImpl, 2.12.2
|
354
354
|
- jar xml-apis, xml-apis, 1.4.01
|
355
355
|
rubygems_version: 3.3.25
|
Binary file
|
Binary file
|
Binary file
|