nokogiri 1.7.2 → 1.8.0
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/.cross_rubies +4 -4
- data/.travis.yml +43 -24
- data/CHANGELOG.md +54 -6
- data/Gemfile +8 -7
- data/Gemfile-libxml-ruby +3 -0
- data/LICENSE-DEPENDENCIES.md +1612 -0
- data/{LICENSE.txt → LICENSE.md} +1 -1
- data/Manifest.txt +5 -8
- data/README.md +8 -5
- data/Rakefile +15 -31
- data/appveyor.yml +2 -0
- data/dependencies.yml +12 -7
- data/ext/nokogiri/extconf.rb +12 -17
- data/ext/nokogiri/nokogiri.h +0 -10
- data/ext/nokogiri/xml_attr.c +12 -8
- data/ext/nokogiri/xml_node.c +17 -14
- data/ext/nokogiri/xml_sax_push_parser.c +56 -12
- data/lib/nokogiri/html/sax/parser.rb +10 -0
- data/lib/nokogiri/version.rb +5 -4
- data/lib/nokogiri/xml/document.rb +9 -9
- data/lib/nokogiri/xml/node.rb +7 -7
- data/lib/nokogiri/xml/node_set.rb +12 -7
- data/lib/nokogiri/xml/sax/parser.rb +6 -7
- data/lib/nokogiri/xml/searchable.rb +34 -25
- data/lib/nokogiri/xml/syntax_error.rb +24 -1
- data/test/decorators/test_slop.rb +4 -1
- data/test/helper.rb +10 -0
- data/test/html/sax/test_parser.rb +27 -0
- data/test/html/test_document.rb +12 -1
- data/test/html/test_document_encoding.rb +1 -3
- data/test/html/test_document_fragment.rb +3 -0
- data/test/xml/sax/test_push_parser.rb +48 -0
- data/test/xml/test_attr.rb +7 -0
- data/test/xml/test_document.rb +1 -1
- data/test/xml/test_document_fragment.rb +27 -0
- data/test/xml/test_entity_reference.rb +2 -2
- data/test/xml/test_node.rb +12 -15
- data/test/xml/test_node_reparenting.rb +14 -0
- data/test/xml/test_node_set.rb +8 -6
- data/test/xml/test_reader.rb +19 -0
- data/test/xml/test_syntax_error.rb +21 -15
- data/test/xml/test_unparented_node.rb +54 -11
- data/test/xml/test_xpath.rb +23 -6
- metadata +31 -19
- data/suppressions/nokogiri_ree-1.8.7.358.supp +0 -61
- data/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
- data/suppressions/nokogiri_ruby-1.9.2.320.supp +0 -28
- data/suppressions/nokogiri_ruby-1.9.3.327.supp +0 -28
- data/test_all +0 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26a2384c923e0e378063f7b522337c13affb87d0
|
4
|
+
data.tar.gz: c400091c5dd53629c00c9b33cf81945f784c2989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f28b1f4cde4884023b7cf4556bd0faf3e8ec16d2223a399f37e156d0a7ca3714499a9f58c209d2a16907f4fb815e4563cb134898c24371676f14a9ba657ec5e5
|
7
|
+
data.tar.gz: 705dd04d787ef718ff7959323e5199b0342e0aa2ab18bbaddd4fa4a8f0088f6e2470357e3cc3377e11709fff19e22bcfb300ccb56a2f490bc20ca54085fe8a70
|
data/.cross_rubies
CHANGED
data/.travis.yml
CHANGED
@@ -1,37 +1,51 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
rvm:
|
6
|
-
- 2.0
|
7
|
-
- 2.1
|
8
|
-
- 2.2.5
|
9
|
-
- 2.3.1
|
10
|
-
- 2.4.0
|
11
|
-
- jruby-1.7
|
12
|
-
- jruby
|
13
|
-
- rbx
|
14
|
-
|
15
|
-
os:
|
16
|
-
- linux
|
17
|
-
- osx
|
2
|
+
dist: trusty
|
3
|
+
group: beta
|
4
|
+
sudo: required
|
18
5
|
|
19
6
|
matrix:
|
20
|
-
|
21
|
-
|
7
|
+
include:
|
8
|
+
- os: linux
|
9
|
+
rvm: 2.0
|
22
10
|
- os: osx
|
11
|
+
rvm: 2.0
|
12
|
+
- os: linux
|
13
|
+
rvm: 2.1
|
14
|
+
- os: osx
|
15
|
+
rvm: 2.1
|
16
|
+
- os: linux
|
23
17
|
rvm: 2.2.5
|
24
18
|
- os: osx
|
25
|
-
rvm: 2.
|
19
|
+
rvm: 2.2.5
|
26
20
|
- os: linux
|
27
|
-
rvm:
|
28
|
-
exclude:
|
21
|
+
rvm: 2.3.1
|
29
22
|
- os: osx
|
30
|
-
rvm:
|
23
|
+
rvm: 2.3.1
|
24
|
+
- os: linux
|
25
|
+
rvm: 2.4.0
|
26
|
+
env:
|
27
|
+
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
|
31
28
|
- os: osx
|
32
|
-
rvm:
|
29
|
+
rvm: 2.4.0
|
30
|
+
env:
|
31
|
+
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
|
32
|
+
- os: linux
|
33
|
+
rvm: ruby-head
|
34
|
+
env:
|
35
|
+
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
|
33
36
|
- os: osx
|
34
|
-
rvm:
|
37
|
+
rvm: ruby-head
|
38
|
+
env:
|
39
|
+
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
|
40
|
+
- os: linux
|
41
|
+
rvm: jruby-1.7
|
42
|
+
- os: linux
|
43
|
+
rvm: jruby-9.1.5.0
|
44
|
+
- os: linux
|
45
|
+
rvm: rbx-3
|
46
|
+
allow_failures:
|
47
|
+
- rvm: ruby-head
|
48
|
+
fast_finish: true
|
35
49
|
|
36
50
|
notifications:
|
37
51
|
irc:
|
@@ -42,3 +56,8 @@ notifications:
|
|
42
56
|
template:
|
43
57
|
- "%{repository} (%{branch}:%{commit} by %{author}): %{message} (%{build_url})"
|
44
58
|
skip_join: true
|
59
|
+
|
60
|
+
addons:
|
61
|
+
apt:
|
62
|
+
packages:
|
63
|
+
- haveged
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,56 @@
|
|
1
|
+
# 1.8.0 / 2017-06-04
|
2
|
+
|
3
|
+
## Backwards incompatibilities
|
4
|
+
|
5
|
+
This release ends support for Ruby 2.1 on Windows in the `x86-mingw32` and `x64-mingw32` platform gems (containing pre-compiled DLLs). Official support ended for Ruby 2.1 on 2017-04-01.
|
6
|
+
|
7
|
+
Please note that this deprecation note only applies to the precompiled Windows gems. Ruby 2.1 continues to be supported (for now) in the default gem when compiled on installation.
|
8
|
+
|
9
|
+
|
10
|
+
## Dependencies
|
11
|
+
|
12
|
+
* [Windows] Upgrade iconv from 1.14 to 1.15 (unless --use-system-libraries)
|
13
|
+
* [Windows] Upgrade zlib from 1.2.8 to 1.2.11 (unless --use-system-libraries)
|
14
|
+
* [MRI] Upgrade rake-compiler dependency from 0.9.2 to 1.0.3
|
15
|
+
* [MRI] Upgrade mini-portile2 dependency from `~> 2.1.0` to `~> 2.2.0`
|
16
|
+
|
17
|
+
|
18
|
+
## Compatibility notes
|
19
|
+
|
20
|
+
* [JRuby] Removed support for `jruby --1.8` code paths. [#1607] (Thanks, @kares!)
|
21
|
+
* [MRI Windows] Retrieve zlib source from http://zlib.net/fossils to avoid deprecation issues going forward. See #1632 for details around this problem.
|
22
|
+
|
23
|
+
|
24
|
+
## Features
|
25
|
+
|
26
|
+
* NodeSet#clone is not an alias for NodeSet#dup [#1503] (Thanks, @stephankaag!)
|
27
|
+
* Allow Processing Instructions and Comments as children of a document root. [#1033] (Thanks, @windwiny!)
|
28
|
+
* [MRI] PushParser#replace_entities and #replace_entities= will control whether entities are replaced or not. [#1017] (Thanks, @spraints!)
|
29
|
+
* [MRI] SyntaxError#to_s now includes line number, column number, and log level if made available by the parser. [#1304, #1637] (Thanks, @spk and @ccarruitero!)
|
30
|
+
* [MRI] Cross-built Windows gems now support Ruby 2.4
|
31
|
+
* [MRI] Support for frozen string literals. [#1413]
|
32
|
+
* [MRI] Support for installing Nokogiri on a machine in FIPS-enabled mode [#1544]
|
33
|
+
* [MRI] Vendored libraries are verified with SHA-256 hashes (formerly some MD5 hashes were used) [#1544]
|
34
|
+
* [JRuby] (performance) remove unnecessary synchronization of class-cache [#1563] (Thanks, @kares!)
|
35
|
+
* [JRuby] (performance) remove unnecessary cloning of objects in XPath searches [#1563] (Thanks, @kares!)
|
36
|
+
* [JRuby] (performance) more performance improvements, particularly in XPath, Reader, XmlNode, and XmlNodeSet [#1597] (Thanks, @kares!)
|
37
|
+
|
38
|
+
|
39
|
+
## Bugs
|
40
|
+
|
41
|
+
* HTML::SAX::Parser#parse_io now correctly parses HTML and not XML [#1577] (Thanks for the test case, @gregors!)
|
42
|
+
* Support installation on systems with a `lib64` site config. [#1562]
|
43
|
+
* [MRI] on OpenBSD, do not require gcc if using system libraries [#1515] (Thanks, @jeremyevans!)
|
44
|
+
* [MRI] XML::Attr.new checks type of Document arg to prevent segfaults. [#1477]
|
45
|
+
* [MRI] Prefer xmlCharStrdup (and friends) to strdup (and friends), which can cause problems on some platforms. [#1517] (Thanks, @jeremy!)
|
46
|
+
* [JRuby] correctly append a text node before another text node [#1318] (Thanks, @jkraemer!)
|
47
|
+
* [JRuby] custom xpath functions returning an integer now work correctly [#1595] (Thanks, @kares!)
|
48
|
+
* [JRuby] serializing (`#to_html`, `#to_s`, et al) a document with explicit encoding now works correctly. [#1281, #1440] (Thanks, @kares!)
|
49
|
+
* [JRuby] XML::Reader now returns parse errors [#1586] (Thanks, @kares!)
|
50
|
+
* [JRuby] Empty NodeSets are now decorated properly. [#1319] (Thanks, @kares!)
|
51
|
+
* [JRuby] Merged nodes no longer results in Java exceptions during XPath queries. [#1320] (Thanks, @kares!)
|
52
|
+
|
53
|
+
|
1
54
|
# 1.7.2 / 2017-05-09
|
2
55
|
|
3
56
|
## Security Notes
|
@@ -11,7 +64,7 @@ For more information:
|
|
11
64
|
* http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-4738.html
|
12
65
|
|
13
66
|
|
14
|
-
# 1.7.1 /
|
67
|
+
# 1.7.1 / 2017-03-19
|
15
68
|
|
16
69
|
## Security Notes
|
17
70
|
|
@@ -24,11 +77,6 @@ For more information:
|
|
24
77
|
* http://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5131.html
|
25
78
|
|
26
79
|
|
27
|
-
## Dependencies
|
28
|
-
|
29
|
-
* [Windows] Upgrade zlib from 1.2.8 to 1.2.11 (unless --use-system-libraries)
|
30
|
-
|
31
|
-
|
32
80
|
# 1.7.0.1 / 2017-01-04
|
33
81
|
|
34
82
|
## Bugs
|
data/Gemfile
CHANGED
@@ -4,19 +4,20 @@
|
|
4
4
|
|
5
5
|
source "https://rubygems.org/"
|
6
6
|
|
7
|
-
gem "mini_portile2", "~>2.
|
7
|
+
gem "mini_portile2", "~>2.2.0"
|
8
8
|
|
9
|
-
gem "rdoc", "~>4.0", :group => [:development, :test]
|
10
9
|
gem "hoe-bundler", "~>1.2.0", :group => [:development, :test]
|
11
|
-
gem "hoe-debugging", "~>1.
|
10
|
+
gem "hoe-debugging", "~>1.3.0", :group => [:development, :test]
|
12
11
|
gem "hoe-gemspec", "~>1.0.0", :group => [:development, :test]
|
13
12
|
gem "hoe-git", "~>1.6.0", :group => [:development, :test]
|
14
13
|
gem "minitest", "~>5.8.4", :group => [:development, :test]
|
15
|
-
gem "rake", "~>
|
16
|
-
gem "rake-compiler", "~>0.
|
17
|
-
gem "rake-compiler-dock", "~>0.
|
14
|
+
gem "rake", "~>12.0", :group => [:development, :test]
|
15
|
+
gem "rake-compiler", "~>1.0.3", :group => [:development, :test]
|
16
|
+
gem "rake-compiler-dock", "~>0.6.0", :group => [:development, :test]
|
18
17
|
gem "racc", "~>1.4.14", :group => [:development, :test], :platform => [:ruby, :mingw, :x64_mingw]
|
19
18
|
gem "rexical", "~>1.0.5", :group => [:development, :test], :platform => [:ruby, :mingw, :x64_mingw]
|
20
|
-
gem "
|
19
|
+
gem "concourse", "~>0.11", :group => [:development, :test]
|
20
|
+
gem "rdoc", "~>4.0", :group => [:development, :test]
|
21
|
+
gem "hoe", "~>3.16", :group => [:development, :test]
|
21
22
|
|
22
23
|
# vim: syntax=ruby
|
data/Gemfile-libxml-ruby
ADDED
@@ -0,0 +1,1612 @@
|
|
1
|
+
Nokogiri ships with some third party dependencies, which are listed
|
2
|
+
here along with their licenses.
|
3
|
+
|
4
|
+
Note that this document is broken into three sections, each of which
|
5
|
+
will apply to different platform releases of Nokogiri:
|
6
|
+
|
7
|
+
1. default platform release
|
8
|
+
2. `java` platform release
|
9
|
+
3. binary windows platform releases (`x86-mingw32` and `x64-mingw32`)
|
10
|
+
|
11
|
+
It's encouraged for anyone consuming this file via license-tracking
|
12
|
+
software to understand which dependencies are used by your particular
|
13
|
+
software, so as not to misinterpret the contents of this file.
|
14
|
+
|
15
|
+
In particular, I'm sure somebody's lawyer, somewhere, is going to
|
16
|
+
freak out that the LGPL appears in this file; and so I'd like to take
|
17
|
+
special note that the dependency covered by LGPL, `libiconv`, is only
|
18
|
+
being redistributed in the binary Windows platform release. It's not
|
19
|
+
present in any non-Windows releases.
|
20
|
+
|
21
|
+
-----
|
22
|
+
|
23
|
+
# default platform release
|
24
|
+
|
25
|
+
## libxml2
|
26
|
+
|
27
|
+
MIT
|
28
|
+
|
29
|
+
http://xmlsoft.org/
|
30
|
+
|
31
|
+
Except where otherwise noted in the source code (e.g. the files hash.c,
|
32
|
+
list.c and the trio files, which are covered by a similar licence but
|
33
|
+
with different Copyright notices) all the files are:
|
34
|
+
|
35
|
+
Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
|
36
|
+
|
37
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
38
|
+
of this software and associated documentation files (the "Software"), to deal
|
39
|
+
in the Software without restriction, including without limitation the rights
|
40
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
41
|
+
copies of the Software, and to permit persons to whom the Software is fur-
|
42
|
+
nished to do so, subject to the following conditions:
|
43
|
+
|
44
|
+
The above copyright notice and this permission notice shall be included in
|
45
|
+
all copies or substantial portions of the Software.
|
46
|
+
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
48
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
|
49
|
+
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
50
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
51
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
52
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
53
|
+
THE SOFTWARE.
|
54
|
+
|
55
|
+
|
56
|
+
## libxslt
|
57
|
+
|
58
|
+
MIT
|
59
|
+
|
60
|
+
http://xmlsoft.org/libxslt/
|
61
|
+
|
62
|
+
Licence for libxslt except libexslt
|
63
|
+
----------------------------------------------------------------------
|
64
|
+
Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
|
65
|
+
|
66
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
67
|
+
of this software and associated documentation files (the "Software"), to deal
|
68
|
+
in the Software without restriction, including without limitation the rights
|
69
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
70
|
+
copies of the Software, and to permit persons to whom the Software is fur-
|
71
|
+
nished to do so, subject to the following conditions:
|
72
|
+
|
73
|
+
The above copyright notice and this permission notice shall be included in
|
74
|
+
all copies or substantial portions of the Software.
|
75
|
+
|
76
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
77
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
|
78
|
+
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
79
|
+
DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
80
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
|
81
|
+
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
82
|
+
|
83
|
+
Except as contained in this notice, the name of Daniel Veillard shall not
|
84
|
+
be used in advertising or otherwise to promote the sale, use or other deal-
|
85
|
+
ings in this Software without prior written authorization from him.
|
86
|
+
|
87
|
+
----------------------------------------------------------------------
|
88
|
+
|
89
|
+
Licence for libexslt
|
90
|
+
----------------------------------------------------------------------
|
91
|
+
Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
|
92
|
+
All Rights Reserved.
|
93
|
+
|
94
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
95
|
+
of this software and associated documentation files (the "Software"), to deal
|
96
|
+
in the Software without restriction, including without limitation the rights
|
97
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
98
|
+
copies of the Software, and to permit persons to whom the Software is fur-
|
99
|
+
nished to do so, subject to the following conditions:
|
100
|
+
|
101
|
+
The above copyright notice and this permission notice shall be included in
|
102
|
+
all copies or substantial portions of the Software.
|
103
|
+
|
104
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
105
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
|
106
|
+
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
107
|
+
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
108
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
|
109
|
+
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
110
|
+
|
111
|
+
Except as contained in this notice, the name of the authors shall not
|
112
|
+
be used in advertising or otherwise to promote the sale, use or other deal-
|
113
|
+
ings in this Software without prior written authorization from him.
|
114
|
+
----------------------------------------------------------------------
|
115
|
+
|
116
|
+
# `java` platform release
|
117
|
+
|
118
|
+
## isorelax
|
119
|
+
|
120
|
+
MIT
|
121
|
+
|
122
|
+
http://iso-relax.sourceforge.net/
|
123
|
+
|
124
|
+
Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
|
125
|
+
Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
|
126
|
+
|
127
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
128
|
+
a copy of this software and associated documentation files (the
|
129
|
+
"Software"), to deal in the Software without restriction, including
|
130
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
131
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
132
|
+
permit persons to whom the Software is furnished to do so, subject to
|
133
|
+
the following conditions:
|
134
|
+
|
135
|
+
The above copyright notice and this permission notice shall be
|
136
|
+
included in all copies or substantial portions of the Software.
|
137
|
+
|
138
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
139
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
140
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
141
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
142
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
143
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
144
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
145
|
+
|
146
|
+
|
147
|
+
## jing
|
148
|
+
|
149
|
+
BSD-3-Clause
|
150
|
+
|
151
|
+
http://www.thaiopensource.com/relaxng/jing.html
|
152
|
+
|
153
|
+
Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
|
154
|
+
All rights reserved.
|
155
|
+
|
156
|
+
Redistribution and use in source and binary forms, with or without
|
157
|
+
modification, are permitted provided that the following conditions
|
158
|
+
are met:
|
159
|
+
|
160
|
+
* Redistributions of source code must retain the above copyright
|
161
|
+
notice, this list of conditions and the following disclaimer.
|
162
|
+
|
163
|
+
* Redistributions in binary form must reproduce the above
|
164
|
+
copyright notice, this list of conditions and the following
|
165
|
+
disclaimer in the documentation and/or other materials provided
|
166
|
+
with the distribution.
|
167
|
+
|
168
|
+
* Neither the name of the Thai Open Source Software Center Ltd nor
|
169
|
+
the names of its contributors may be used to endorse or promote
|
170
|
+
products derived from this software without specific prior
|
171
|
+
written permission.
|
172
|
+
|
173
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
174
|
+
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
175
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
176
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
177
|
+
DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
178
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
179
|
+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
180
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
181
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
182
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
183
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
184
|
+
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
185
|
+
SUCH DAMAGE.
|
186
|
+
|
187
|
+
|
188
|
+
## nekodtd
|
189
|
+
|
190
|
+
Apache 1.0-derived
|
191
|
+
|
192
|
+
https://people.apache.org/~andyc/neko/doc/dtd/
|
193
|
+
|
194
|
+
The CyberNeko Software License, Version 1.0
|
195
|
+
|
196
|
+
(C) Copyright 2002-2005, Andy Clark. All rights reserved.
|
197
|
+
|
198
|
+
Redistribution and use in source and binary forms, with or without
|
199
|
+
modification, are permitted provided that the following conditions
|
200
|
+
are met:
|
201
|
+
|
202
|
+
1. Redistributions of source code must retain the above copyright
|
203
|
+
notice, this list of conditions and the following disclaimer.
|
204
|
+
|
205
|
+
2. Redistributions in binary form must reproduce the above copyright
|
206
|
+
notice, this list of conditions and the following disclaimer in
|
207
|
+
the documentation and/or other materials provided with the
|
208
|
+
distribution.
|
209
|
+
|
210
|
+
3. The end-user documentation included with the redistribution,
|
211
|
+
if any, must include the following acknowledgment:
|
212
|
+
"This product includes software developed by Andy Clark."
|
213
|
+
Alternately, this acknowledgment may appear in the software itself,
|
214
|
+
if and wherever such third-party acknowledgments normally appear.
|
215
|
+
|
216
|
+
4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
|
217
|
+
or promote products derived from this software without prior
|
218
|
+
written permission. For written permission, please contact
|
219
|
+
andyc@cyberneko.net.
|
220
|
+
|
221
|
+
5. Products derived from this software may not be called "CyberNeko",
|
222
|
+
nor may "CyberNeko" appear in their name, without prior written
|
223
|
+
permission of the author.
|
224
|
+
|
225
|
+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
226
|
+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
227
|
+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
228
|
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS
|
229
|
+
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
230
|
+
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
231
|
+
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
232
|
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
233
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
234
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
235
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
236
|
+
|
237
|
+
====================================================================
|
238
|
+
|
239
|
+
This license is based on the Apache Software License, version 1.1.
|
240
|
+
|
241
|
+
## nekohtml
|
242
|
+
|
243
|
+
Apache 2.0
|
244
|
+
|
245
|
+
http://nekohtml.sourceforge.net/
|
246
|
+
|
247
|
+
|
248
|
+
Apache License
|
249
|
+
Version 2.0, January 2004
|
250
|
+
http://www.apache.org/licenses/
|
251
|
+
|
252
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
253
|
+
|
254
|
+
1. Definitions.
|
255
|
+
|
256
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
257
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
258
|
+
|
259
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
260
|
+
the copyright owner that is granting the License.
|
261
|
+
|
262
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
263
|
+
other entities that control, are controlled by, or are under common
|
264
|
+
control with that entity. For the purposes of this definition,
|
265
|
+
"control" means (i) the power, direct or indirect, to cause the
|
266
|
+
direction or management of such entity, whether by contract or
|
267
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
268
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
269
|
+
|
270
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
271
|
+
exercising permissions granted by this License.
|
272
|
+
|
273
|
+
"Source" form shall mean the preferred form for making modifications,
|
274
|
+
including but not limited to software source code, documentation
|
275
|
+
source, and configuration files.
|
276
|
+
|
277
|
+
"Object" form shall mean any form resulting from mechanical
|
278
|
+
transformation or translation of a Source form, including but
|
279
|
+
not limited to compiled object code, generated documentation,
|
280
|
+
and conversions to other media types.
|
281
|
+
|
282
|
+
"Work" shall mean the work of authorship, whether in Source or
|
283
|
+
Object form, made available under the License, as indicated by a
|
284
|
+
copyright notice that is included in or attached to the work
|
285
|
+
(an example is provided in the Appendix below).
|
286
|
+
|
287
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
288
|
+
form, that is based on (or derived from) the Work and for which the
|
289
|
+
editorial revisions, annotations, elaborations, or other modifications
|
290
|
+
represent, as a whole, an original work of authorship. For the purposes
|
291
|
+
of this License, Derivative Works shall not include works that remain
|
292
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
293
|
+
the Work and Derivative Works thereof.
|
294
|
+
|
295
|
+
"Contribution" shall mean any work of authorship, including
|
296
|
+
the original version of the Work and any modifications or additions
|
297
|
+
to that Work or Derivative Works thereof, that is intentionally
|
298
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
299
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
300
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
301
|
+
means any form of electronic, verbal, or written communication sent
|
302
|
+
to the Licensor or its representatives, including but not limited to
|
303
|
+
communication on electronic mailing lists, source code control systems,
|
304
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
305
|
+
Licensor for the purpose of discussing and improving the Work, but
|
306
|
+
excluding communication that is conspicuously marked or otherwise
|
307
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
308
|
+
|
309
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
310
|
+
on behalf of whom a Contribution has been received by Licensor and
|
311
|
+
subsequently incorporated within the Work.
|
312
|
+
|
313
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
314
|
+
this License, each Contributor hereby grants to You a perpetual,
|
315
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
316
|
+
copyright license to reproduce, prepare Derivative Works of,
|
317
|
+
publicly display, publicly perform, sublicense, and distribute the
|
318
|
+
Work and such Derivative Works in Source or Object form.
|
319
|
+
|
320
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
321
|
+
this License, each Contributor hereby grants to You a perpetual,
|
322
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
323
|
+
(except as stated in this section) patent license to make, have made,
|
324
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
325
|
+
where such license applies only to those patent claims licensable
|
326
|
+
by such Contributor that are necessarily infringed by their
|
327
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
328
|
+
with the Work to which such Contribution(s) was submitted. If You
|
329
|
+
institute patent litigation against any entity (including a
|
330
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
331
|
+
or a Contribution incorporated within the Work constitutes direct
|
332
|
+
or contributory patent infringement, then any patent licenses
|
333
|
+
granted to You under this License for that Work shall terminate
|
334
|
+
as of the date such litigation is filed.
|
335
|
+
|
336
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
337
|
+
Work or Derivative Works thereof in any medium, with or without
|
338
|
+
modifications, and in Source or Object form, provided that You
|
339
|
+
meet the following conditions:
|
340
|
+
|
341
|
+
(a) You must give any other recipients of the Work or
|
342
|
+
Derivative Works a copy of this License; and
|
343
|
+
|
344
|
+
(b) You must cause any modified files to carry prominent notices
|
345
|
+
stating that You changed the files; and
|
346
|
+
|
347
|
+
(c) You must retain, in the Source form of any Derivative Works
|
348
|
+
that You distribute, all copyright, patent, trademark, and
|
349
|
+
attribution notices from the Source form of the Work,
|
350
|
+
excluding those notices that do not pertain to any part of
|
351
|
+
the Derivative Works; and
|
352
|
+
|
353
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
354
|
+
distribution, then any Derivative Works that You distribute must
|
355
|
+
include a readable copy of the attribution notices contained
|
356
|
+
within such NOTICE file, excluding those notices that do not
|
357
|
+
pertain to any part of the Derivative Works, in at least one
|
358
|
+
of the following places: within a NOTICE text file distributed
|
359
|
+
as part of the Derivative Works; within the Source form or
|
360
|
+
documentation, if provided along with the Derivative Works; or,
|
361
|
+
within a display generated by the Derivative Works, if and
|
362
|
+
wherever such third-party notices normally appear. The contents
|
363
|
+
of the NOTICE file are for informational purposes only and
|
364
|
+
do not modify the License. You may add Your own attribution
|
365
|
+
notices within Derivative Works that You distribute, alongside
|
366
|
+
or as an addendum to the NOTICE text from the Work, provided
|
367
|
+
that such additional attribution notices cannot be construed
|
368
|
+
as modifying the License.
|
369
|
+
|
370
|
+
You may add Your own copyright statement to Your modifications and
|
371
|
+
may provide additional or different license terms and conditions
|
372
|
+
for use, reproduction, or distribution of Your modifications, or
|
373
|
+
for any such Derivative Works as a whole, provided Your use,
|
374
|
+
reproduction, and distribution of the Work otherwise complies with
|
375
|
+
the conditions stated in this License.
|
376
|
+
|
377
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
378
|
+
any Contribution intentionally submitted for inclusion in the Work
|
379
|
+
by You to the Licensor shall be under the terms and conditions of
|
380
|
+
this License, without any additional terms or conditions.
|
381
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
382
|
+
the terms of any separate license agreement you may have executed
|
383
|
+
with Licensor regarding such Contributions.
|
384
|
+
|
385
|
+
6. Trademarks. This License does not grant permission to use the trade
|
386
|
+
names, trademarks, service marks, or product names of the Licensor,
|
387
|
+
except as required for reasonable and customary use in describing the
|
388
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
389
|
+
|
390
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
391
|
+
agreed to in writing, Licensor provides the Work (and each
|
392
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
393
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
394
|
+
implied, including, without limitation, any warranties or conditions
|
395
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
396
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
397
|
+
appropriateness of using or redistributing the Work and assume any
|
398
|
+
risks associated with Your exercise of permissions under this License.
|
399
|
+
|
400
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
401
|
+
whether in tort (including negligence), contract, or otherwise,
|
402
|
+
unless required by applicable law (such as deliberate and grossly
|
403
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
404
|
+
liable to You for damages, including any direct, indirect, special,
|
405
|
+
incidental, or consequential damages of any character arising as a
|
406
|
+
result of this License or out of the use or inability to use the
|
407
|
+
Work (including but not limited to damages for loss of goodwill,
|
408
|
+
work stoppage, computer failure or malfunction, or any and all
|
409
|
+
other commercial damages or losses), even if such Contributor
|
410
|
+
has been advised of the possibility of such damages.
|
411
|
+
|
412
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
413
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
414
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
415
|
+
or other liability obligations and/or rights consistent with this
|
416
|
+
License. However, in accepting such obligations, You may act only
|
417
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
418
|
+
of any other Contributor, and only if You agree to indemnify,
|
419
|
+
defend, and hold each Contributor harmless for any liability
|
420
|
+
incurred by, or claims asserted against, such Contributor by reason
|
421
|
+
of your accepting any such warranty or additional liability.
|
422
|
+
|
423
|
+
END OF TERMS AND CONDITIONS
|
424
|
+
|
425
|
+
APPENDIX: How to apply the Apache License to your work.
|
426
|
+
|
427
|
+
To apply the Apache License to your work, attach the following
|
428
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
429
|
+
replaced with your own identifying information. (Don't include
|
430
|
+
the brackets!) The text should be enclosed in the appropriate
|
431
|
+
comment syntax for the file format. We also recommend that a
|
432
|
+
file or class name and description of purpose be included on the
|
433
|
+
same "printed page" as the copyright notice for easier
|
434
|
+
identification within third-party archives.
|
435
|
+
|
436
|
+
Copyright [yyyy] [name of copyright owner]
|
437
|
+
|
438
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
439
|
+
you may not use this file except in compliance with the License.
|
440
|
+
You may obtain a copy of the License at
|
441
|
+
|
442
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
443
|
+
|
444
|
+
Unless required by applicable law or agreed to in writing, software
|
445
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
446
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
447
|
+
See the License for the specific language governing permissions and
|
448
|
+
limitations under the License.
|
449
|
+
|
450
|
+
## xalan
|
451
|
+
|
452
|
+
Apache 2.0
|
453
|
+
|
454
|
+
https://xml.apache.org/xalan-j/
|
455
|
+
|
456
|
+
covers xalan.jar and serializer.jar
|
457
|
+
|
458
|
+
Apache License
|
459
|
+
Version 2.0, January 2004
|
460
|
+
http://www.apache.org/licenses/
|
461
|
+
|
462
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
463
|
+
|
464
|
+
1. Definitions.
|
465
|
+
|
466
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
467
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
468
|
+
|
469
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
470
|
+
the copyright owner that is granting the License.
|
471
|
+
|
472
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
473
|
+
other entities that control, are controlled by, or are under common
|
474
|
+
control with that entity. For the purposes of this definition,
|
475
|
+
"control" means (i) the power, direct or indirect, to cause the
|
476
|
+
direction or management of such entity, whether by contract or
|
477
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
478
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
479
|
+
|
480
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
481
|
+
exercising permissions granted by this License.
|
482
|
+
|
483
|
+
"Source" form shall mean the preferred form for making modifications,
|
484
|
+
including but not limited to software source code, documentation
|
485
|
+
source, and configuration files.
|
486
|
+
|
487
|
+
"Object" form shall mean any form resulting from mechanical
|
488
|
+
transformation or translation of a Source form, including but
|
489
|
+
not limited to compiled object code, generated documentation,
|
490
|
+
and conversions to other media types.
|
491
|
+
|
492
|
+
"Work" shall mean the work of authorship, whether in Source or
|
493
|
+
Object form, made available under the License, as indicated by a
|
494
|
+
copyright notice that is included in or attached to the work
|
495
|
+
(an example is provided in the Appendix below).
|
496
|
+
|
497
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
498
|
+
form, that is based on (or derived from) the Work and for which the
|
499
|
+
editorial revisions, annotations, elaborations, or other modifications
|
500
|
+
represent, as a whole, an original work of authorship. For the purposes
|
501
|
+
of this License, Derivative Works shall not include works that remain
|
502
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
503
|
+
the Work and Derivative Works thereof.
|
504
|
+
|
505
|
+
"Contribution" shall mean any work of authorship, including
|
506
|
+
the original version of the Work and any modifications or additions
|
507
|
+
to that Work or Derivative Works thereof, that is intentionally
|
508
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
509
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
510
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
511
|
+
means any form of electronic, verbal, or written communication sent
|
512
|
+
to the Licensor or its representatives, including but not limited to
|
513
|
+
communication on electronic mailing lists, source code control systems,
|
514
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
515
|
+
Licensor for the purpose of discussing and improving the Work, but
|
516
|
+
excluding communication that is conspicuously marked or otherwise
|
517
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
518
|
+
|
519
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
520
|
+
on behalf of whom a Contribution has been received by Licensor and
|
521
|
+
subsequently incorporated within the Work.
|
522
|
+
|
523
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
524
|
+
this License, each Contributor hereby grants to You a perpetual,
|
525
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
526
|
+
copyright license to reproduce, prepare Derivative Works of,
|
527
|
+
publicly display, publicly perform, sublicense, and distribute the
|
528
|
+
Work and such Derivative Works in Source or Object form.
|
529
|
+
|
530
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
531
|
+
this License, each Contributor hereby grants to You a perpetual,
|
532
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
533
|
+
(except as stated in this section) patent license to make, have made,
|
534
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
535
|
+
where such license applies only to those patent claims licensable
|
536
|
+
by such Contributor that are necessarily infringed by their
|
537
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
538
|
+
with the Work to which such Contribution(s) was submitted. If You
|
539
|
+
institute patent litigation against any entity (including a
|
540
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
541
|
+
or a Contribution incorporated within the Work constitutes direct
|
542
|
+
or contributory patent infringement, then any patent licenses
|
543
|
+
granted to You under this License for that Work shall terminate
|
544
|
+
as of the date such litigation is filed.
|
545
|
+
|
546
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
547
|
+
Work or Derivative Works thereof in any medium, with or without
|
548
|
+
modifications, and in Source or Object form, provided that You
|
549
|
+
meet the following conditions:
|
550
|
+
|
551
|
+
(a) You must give any other recipients of the Work or
|
552
|
+
Derivative Works a copy of this License; and
|
553
|
+
|
554
|
+
(b) You must cause any modified files to carry prominent notices
|
555
|
+
stating that You changed the files; and
|
556
|
+
|
557
|
+
(c) You must retain, in the Source form of any Derivative Works
|
558
|
+
that You distribute, all copyright, patent, trademark, and
|
559
|
+
attribution notices from the Source form of the Work,
|
560
|
+
excluding those notices that do not pertain to any part of
|
561
|
+
the Derivative Works; and
|
562
|
+
|
563
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
564
|
+
distribution, then any Derivative Works that You distribute must
|
565
|
+
include a readable copy of the attribution notices contained
|
566
|
+
within such NOTICE file, excluding those notices that do not
|
567
|
+
pertain to any part of the Derivative Works, in at least one
|
568
|
+
of the following places: within a NOTICE text file distributed
|
569
|
+
as part of the Derivative Works; within the Source form or
|
570
|
+
documentation, if provided along with the Derivative Works; or,
|
571
|
+
within a display generated by the Derivative Works, if and
|
572
|
+
wherever such third-party notices normally appear. The contents
|
573
|
+
of the NOTICE file are for informational purposes only and
|
574
|
+
do not modify the License. You may add Your own attribution
|
575
|
+
notices within Derivative Works that You distribute, alongside
|
576
|
+
or as an addendum to the NOTICE text from the Work, provided
|
577
|
+
that such additional attribution notices cannot be construed
|
578
|
+
as modifying the License.
|
579
|
+
|
580
|
+
You may add Your own copyright statement to Your modifications and
|
581
|
+
may provide additional or different license terms and conditions
|
582
|
+
for use, reproduction, or distribution of Your modifications, or
|
583
|
+
for any such Derivative Works as a whole, provided Your use,
|
584
|
+
reproduction, and distribution of the Work otherwise complies with
|
585
|
+
the conditions stated in this License.
|
586
|
+
|
587
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
588
|
+
any Contribution intentionally submitted for inclusion in the Work
|
589
|
+
by You to the Licensor shall be under the terms and conditions of
|
590
|
+
this License, without any additional terms or conditions.
|
591
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
592
|
+
the terms of any separate license agreement you may have executed
|
593
|
+
with Licensor regarding such Contributions.
|
594
|
+
|
595
|
+
6. Trademarks. This License does not grant permission to use the trade
|
596
|
+
names, trademarks, service marks, or product names of the Licensor,
|
597
|
+
except as required for reasonable and customary use in describing the
|
598
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
599
|
+
|
600
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
601
|
+
agreed to in writing, Licensor provides the Work (and each
|
602
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
603
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
604
|
+
implied, including, without limitation, any warranties or conditions
|
605
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
606
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
607
|
+
appropriateness of using or redistributing the Work and assume any
|
608
|
+
risks associated with Your exercise of permissions under this License.
|
609
|
+
|
610
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
611
|
+
whether in tort (including negligence), contract, or otherwise,
|
612
|
+
unless required by applicable law (such as deliberate and grossly
|
613
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
614
|
+
liable to You for damages, including any direct, indirect, special,
|
615
|
+
incidental, or consequential damages of any character arising as a
|
616
|
+
result of this License or out of the use or inability to use the
|
617
|
+
Work (including but not limited to damages for loss of goodwill,
|
618
|
+
work stoppage, computer failure or malfunction, or any and all
|
619
|
+
other commercial damages or losses), even if such Contributor
|
620
|
+
has been advised of the possibility of such damages.
|
621
|
+
|
622
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
623
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
624
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
625
|
+
or other liability obligations and/or rights consistent with this
|
626
|
+
License. However, in accepting such obligations, You may act only
|
627
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
628
|
+
of any other Contributor, and only if You agree to indemnify,
|
629
|
+
defend, and hold each Contributor harmless for any liability
|
630
|
+
incurred by, or claims asserted against, such Contributor by reason
|
631
|
+
of your accepting any such warranty or additional liability.
|
632
|
+
|
633
|
+
END OF TERMS AND CONDITIONS
|
634
|
+
|
635
|
+
APPENDIX: How to apply the Apache License to your work.
|
636
|
+
|
637
|
+
To apply the Apache License to your work, attach the following
|
638
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
639
|
+
replaced with your own identifying information. (Don't include
|
640
|
+
the brackets!) The text should be enclosed in the appropriate
|
641
|
+
comment syntax for the file format. We also recommend that a
|
642
|
+
file or class name and description of purpose be included on the
|
643
|
+
same "printed page" as the copyright notice for easier
|
644
|
+
identification within third-party archives.
|
645
|
+
|
646
|
+
Copyright [yyyy] [name of copyright owner]
|
647
|
+
|
648
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
649
|
+
you may not use this file except in compliance with the License.
|
650
|
+
You may obtain a copy of the License at
|
651
|
+
|
652
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
653
|
+
|
654
|
+
Unless required by applicable law or agreed to in writing, software
|
655
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
656
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
657
|
+
See the License for the specific language governing permissions and
|
658
|
+
limitations under the License.
|
659
|
+
|
660
|
+
|
661
|
+
## xerces
|
662
|
+
|
663
|
+
Apache 2.0
|
664
|
+
|
665
|
+
https://xerces.apache.org/xerces2-j/
|
666
|
+
|
667
|
+
|
668
|
+
Apache License
|
669
|
+
Version 2.0, January 2004
|
670
|
+
http://www.apache.org/licenses/
|
671
|
+
|
672
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
673
|
+
|
674
|
+
1. Definitions.
|
675
|
+
|
676
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
677
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
678
|
+
|
679
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
680
|
+
the copyright owner that is granting the License.
|
681
|
+
|
682
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
683
|
+
other entities that control, are controlled by, or are under common
|
684
|
+
control with that entity. For the purposes of this definition,
|
685
|
+
"control" means (i) the power, direct or indirect, to cause the
|
686
|
+
direction or management of such entity, whether by contract or
|
687
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
688
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
689
|
+
|
690
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
691
|
+
exercising permissions granted by this License.
|
692
|
+
|
693
|
+
"Source" form shall mean the preferred form for making modifications,
|
694
|
+
including but not limited to software source code, documentation
|
695
|
+
source, and configuration files.
|
696
|
+
|
697
|
+
"Object" form shall mean any form resulting from mechanical
|
698
|
+
transformation or translation of a Source form, including but
|
699
|
+
not limited to compiled object code, generated documentation,
|
700
|
+
and conversions to other media types.
|
701
|
+
|
702
|
+
"Work" shall mean the work of authorship, whether in Source or
|
703
|
+
Object form, made available under the License, as indicated by a
|
704
|
+
copyright notice that is included in or attached to the work
|
705
|
+
(an example is provided in the Appendix below).
|
706
|
+
|
707
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
708
|
+
form, that is based on (or derived from) the Work and for which the
|
709
|
+
editorial revisions, annotations, elaborations, or other modifications
|
710
|
+
represent, as a whole, an original work of authorship. For the purposes
|
711
|
+
of this License, Derivative Works shall not include works that remain
|
712
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
713
|
+
the Work and Derivative Works thereof.
|
714
|
+
|
715
|
+
"Contribution" shall mean any work of authorship, including
|
716
|
+
the original version of the Work and any modifications or additions
|
717
|
+
to that Work or Derivative Works thereof, that is intentionally
|
718
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
719
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
720
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
721
|
+
means any form of electronic, verbal, or written communication sent
|
722
|
+
to the Licensor or its representatives, including but not limited to
|
723
|
+
communication on electronic mailing lists, source code control systems,
|
724
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
725
|
+
Licensor for the purpose of discussing and improving the Work, but
|
726
|
+
excluding communication that is conspicuously marked or otherwise
|
727
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
728
|
+
|
729
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
730
|
+
on behalf of whom a Contribution has been received by Licensor and
|
731
|
+
subsequently incorporated within the Work.
|
732
|
+
|
733
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
734
|
+
this License, each Contributor hereby grants to You a perpetual,
|
735
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
736
|
+
copyright license to reproduce, prepare Derivative Works of,
|
737
|
+
publicly display, publicly perform, sublicense, and distribute the
|
738
|
+
Work and such Derivative Works in Source or Object form.
|
739
|
+
|
740
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
741
|
+
this License, each Contributor hereby grants to You a perpetual,
|
742
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
743
|
+
(except as stated in this section) patent license to make, have made,
|
744
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
745
|
+
where such license applies only to those patent claims licensable
|
746
|
+
by such Contributor that are necessarily infringed by their
|
747
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
748
|
+
with the Work to which such Contribution(s) was submitted. If You
|
749
|
+
institute patent litigation against any entity (including a
|
750
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
751
|
+
or a Contribution incorporated within the Work constitutes direct
|
752
|
+
or contributory patent infringement, then any patent licenses
|
753
|
+
granted to You under this License for that Work shall terminate
|
754
|
+
as of the date such litigation is filed.
|
755
|
+
|
756
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
757
|
+
Work or Derivative Works thereof in any medium, with or without
|
758
|
+
modifications, and in Source or Object form, provided that You
|
759
|
+
meet the following conditions:
|
760
|
+
|
761
|
+
(a) You must give any other recipients of the Work or
|
762
|
+
Derivative Works a copy of this License; and
|
763
|
+
|
764
|
+
(b) You must cause any modified files to carry prominent notices
|
765
|
+
stating that You changed the files; and
|
766
|
+
|
767
|
+
(c) You must retain, in the Source form of any Derivative Works
|
768
|
+
that You distribute, all copyright, patent, trademark, and
|
769
|
+
attribution notices from the Source form of the Work,
|
770
|
+
excluding those notices that do not pertain to any part of
|
771
|
+
the Derivative Works; and
|
772
|
+
|
773
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
774
|
+
distribution, then any Derivative Works that You distribute must
|
775
|
+
include a readable copy of the attribution notices contained
|
776
|
+
within such NOTICE file, excluding those notices that do not
|
777
|
+
pertain to any part of the Derivative Works, in at least one
|
778
|
+
of the following places: within a NOTICE text file distributed
|
779
|
+
as part of the Derivative Works; within the Source form or
|
780
|
+
documentation, if provided along with the Derivative Works; or,
|
781
|
+
within a display generated by the Derivative Works, if and
|
782
|
+
wherever such third-party notices normally appear. The contents
|
783
|
+
of the NOTICE file are for informational purposes only and
|
784
|
+
do not modify the License. You may add Your own attribution
|
785
|
+
notices within Derivative Works that You distribute, alongside
|
786
|
+
or as an addendum to the NOTICE text from the Work, provided
|
787
|
+
that such additional attribution notices cannot be construed
|
788
|
+
as modifying the License.
|
789
|
+
|
790
|
+
You may add Your own copyright statement to Your modifications and
|
791
|
+
may provide additional or different license terms and conditions
|
792
|
+
for use, reproduction, or distribution of Your modifications, or
|
793
|
+
for any such Derivative Works as a whole, provided Your use,
|
794
|
+
reproduction, and distribution of the Work otherwise complies with
|
795
|
+
the conditions stated in this License.
|
796
|
+
|
797
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
798
|
+
any Contribution intentionally submitted for inclusion in the Work
|
799
|
+
by You to the Licensor shall be under the terms and conditions of
|
800
|
+
this License, without any additional terms or conditions.
|
801
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
802
|
+
the terms of any separate license agreement you may have executed
|
803
|
+
with Licensor regarding such Contributions.
|
804
|
+
|
805
|
+
6. Trademarks. This License does not grant permission to use the trade
|
806
|
+
names, trademarks, service marks, or product names of the Licensor,
|
807
|
+
except as required for reasonable and customary use in describing the
|
808
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
809
|
+
|
810
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
811
|
+
agreed to in writing, Licensor provides the Work (and each
|
812
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
813
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
814
|
+
implied, including, without limitation, any warranties or conditions
|
815
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
816
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
817
|
+
appropriateness of using or redistributing the Work and assume any
|
818
|
+
risks associated with Your exercise of permissions under this License.
|
819
|
+
|
820
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
821
|
+
whether in tort (including negligence), contract, or otherwise,
|
822
|
+
unless required by applicable law (such as deliberate and grossly
|
823
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
824
|
+
liable to You for damages, including any direct, indirect, special,
|
825
|
+
incidental, or consequential damages of any character arising as a
|
826
|
+
result of this License or out of the use or inability to use the
|
827
|
+
Work (including but not limited to damages for loss of goodwill,
|
828
|
+
work stoppage, computer failure or malfunction, or any and all
|
829
|
+
other commercial damages or losses), even if such Contributor
|
830
|
+
has been advised of the possibility of such damages.
|
831
|
+
|
832
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
833
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
834
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
835
|
+
or other liability obligations and/or rights consistent with this
|
836
|
+
License. However, in accepting such obligations, You may act only
|
837
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
838
|
+
of any other Contributor, and only if You agree to indemnify,
|
839
|
+
defend, and hold each Contributor harmless for any liability
|
840
|
+
incurred by, or claims asserted against, such Contributor by reason
|
841
|
+
of your accepting any such warranty or additional liability.
|
842
|
+
|
843
|
+
END OF TERMS AND CONDITIONS
|
844
|
+
|
845
|
+
APPENDIX: How to apply the Apache License to your work.
|
846
|
+
|
847
|
+
To apply the Apache License to your work, attach the following
|
848
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
849
|
+
replaced with your own identifying information. (Don't include
|
850
|
+
the brackets!) The text should be enclosed in the appropriate
|
851
|
+
comment syntax for the file format. We also recommend that a
|
852
|
+
file or class name and description of purpose be included on the
|
853
|
+
same "printed page" as the copyright notice for easier
|
854
|
+
identification within third-party archives.
|
855
|
+
|
856
|
+
Copyright [yyyy] [name of copyright owner]
|
857
|
+
|
858
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
859
|
+
you may not use this file except in compliance with the License.
|
860
|
+
You may obtain a copy of the License at
|
861
|
+
|
862
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
863
|
+
|
864
|
+
Unless required by applicable law or agreed to in writing, software
|
865
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
866
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
867
|
+
See the License for the specific language governing permissions and
|
868
|
+
limitations under the License.
|
869
|
+
|
870
|
+
|
871
|
+
## xml-apis
|
872
|
+
|
873
|
+
Apache 2.0
|
874
|
+
|
875
|
+
https://xerces.apache.org/xml-commons/
|
876
|
+
|
877
|
+
Unless otherwise noted all files in XML Commons are covered under the
|
878
|
+
Apache License Version 2.0. Please read the LICENSE and NOTICE files.
|
879
|
+
|
880
|
+
XML Commons contains some software and documentation that is covered
|
881
|
+
under a number of different licenses. This applies particularly to the
|
882
|
+
xml-commons/java/external/ directory. Most files under
|
883
|
+
xml-commons/java/external/ are covered under their respective
|
884
|
+
LICENSE.*.txt files; see the matching README.*.txt files for
|
885
|
+
descriptions.
|
886
|
+
|
887
|
+
|
888
|
+
Apache License
|
889
|
+
Version 2.0, January 2004
|
890
|
+
http://www.apache.org/licenses/
|
891
|
+
|
892
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
893
|
+
|
894
|
+
1. Definitions.
|
895
|
+
|
896
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
897
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
898
|
+
|
899
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
900
|
+
the copyright owner that is granting the License.
|
901
|
+
|
902
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
903
|
+
other entities that control, are controlled by, or are under common
|
904
|
+
control with that entity. For the purposes of this definition,
|
905
|
+
"control" means (i) the power, direct or indirect, to cause the
|
906
|
+
direction or management of such entity, whether by contract or
|
907
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
908
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
909
|
+
|
910
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
911
|
+
exercising permissions granted by this License.
|
912
|
+
|
913
|
+
"Source" form shall mean the preferred form for making modifications,
|
914
|
+
including but not limited to software source code, documentation
|
915
|
+
source, and configuration files.
|
916
|
+
|
917
|
+
"Object" form shall mean any form resulting from mechanical
|
918
|
+
transformation or translation of a Source form, including but
|
919
|
+
not limited to compiled object code, generated documentation,
|
920
|
+
and conversions to other media types.
|
921
|
+
|
922
|
+
"Work" shall mean the work of authorship, whether in Source or
|
923
|
+
Object form, made available under the License, as indicated by a
|
924
|
+
copyright notice that is included in or attached to the work
|
925
|
+
(an example is provided in the Appendix below).
|
926
|
+
|
927
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
928
|
+
form, that is based on (or derived from) the Work and for which the
|
929
|
+
editorial revisions, annotations, elaborations, or other modifications
|
930
|
+
represent, as a whole, an original work of authorship. For the purposes
|
931
|
+
of this License, Derivative Works shall not include works that remain
|
932
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
933
|
+
the Work and Derivative Works thereof.
|
934
|
+
|
935
|
+
"Contribution" shall mean any work of authorship, including
|
936
|
+
the original version of the Work and any modifications or additions
|
937
|
+
to that Work or Derivative Works thereof, that is intentionally
|
938
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
939
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
940
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
941
|
+
means any form of electronic, verbal, or written communication sent
|
942
|
+
to the Licensor or its representatives, including but not limited to
|
943
|
+
communication on electronic mailing lists, source code control systems,
|
944
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
945
|
+
Licensor for the purpose of discussing and improving the Work, but
|
946
|
+
excluding communication that is conspicuously marked or otherwise
|
947
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
948
|
+
|
949
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
950
|
+
on behalf of whom a Contribution has been received by Licensor and
|
951
|
+
subsequently incorporated within the Work.
|
952
|
+
|
953
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
954
|
+
this License, each Contributor hereby grants to You a perpetual,
|
955
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
956
|
+
copyright license to reproduce, prepare Derivative Works of,
|
957
|
+
publicly display, publicly perform, sublicense, and distribute the
|
958
|
+
Work and such Derivative Works in Source or Object form.
|
959
|
+
|
960
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
961
|
+
this License, each Contributor hereby grants to You a perpetual,
|
962
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
963
|
+
(except as stated in this section) patent license to make, have made,
|
964
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
965
|
+
where such license applies only to those patent claims licensable
|
966
|
+
by such Contributor that are necessarily infringed by their
|
967
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
968
|
+
with the Work to which such Contribution(s) was submitted. If You
|
969
|
+
institute patent litigation against any entity (including a
|
970
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
971
|
+
or a Contribution incorporated within the Work constitutes direct
|
972
|
+
or contributory patent infringement, then any patent licenses
|
973
|
+
granted to You under this License for that Work shall terminate
|
974
|
+
as of the date such litigation is filed.
|
975
|
+
|
976
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
977
|
+
Work or Derivative Works thereof in any medium, with or without
|
978
|
+
modifications, and in Source or Object form, provided that You
|
979
|
+
meet the following conditions:
|
980
|
+
|
981
|
+
(a) You must give any other recipients of the Work or
|
982
|
+
Derivative Works a copy of this License; and
|
983
|
+
|
984
|
+
(b) You must cause any modified files to carry prominent notices
|
985
|
+
stating that You changed the files; and
|
986
|
+
|
987
|
+
(c) You must retain, in the Source form of any Derivative Works
|
988
|
+
that You distribute, all copyright, patent, trademark, and
|
989
|
+
attribution notices from the Source form of the Work,
|
990
|
+
excluding those notices that do not pertain to any part of
|
991
|
+
the Derivative Works; and
|
992
|
+
|
993
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
994
|
+
distribution, then any Derivative Works that You distribute must
|
995
|
+
include a readable copy of the attribution notices contained
|
996
|
+
within such NOTICE file, excluding those notices that do not
|
997
|
+
pertain to any part of the Derivative Works, in at least one
|
998
|
+
of the following places: within a NOTICE text file distributed
|
999
|
+
as part of the Derivative Works; within the Source form or
|
1000
|
+
documentation, if provided along with the Derivative Works; or,
|
1001
|
+
within a display generated by the Derivative Works, if and
|
1002
|
+
wherever such third-party notices normally appear. The contents
|
1003
|
+
of the NOTICE file are for informational purposes only and
|
1004
|
+
do not modify the License. You may add Your own attribution
|
1005
|
+
notices within Derivative Works that You distribute, alongside
|
1006
|
+
or as an addendum to the NOTICE text from the Work, provided
|
1007
|
+
that such additional attribution notices cannot be construed
|
1008
|
+
as modifying the License.
|
1009
|
+
|
1010
|
+
You may add Your own copyright statement to Your modifications and
|
1011
|
+
may provide additional or different license terms and conditions
|
1012
|
+
for use, reproduction, or distribution of Your modifications, or
|
1013
|
+
for any such Derivative Works as a whole, provided Your use,
|
1014
|
+
reproduction, and distribution of the Work otherwise complies with
|
1015
|
+
the conditions stated in this License.
|
1016
|
+
|
1017
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
1018
|
+
any Contribution intentionally submitted for inclusion in the Work
|
1019
|
+
by You to the Licensor shall be under the terms and conditions of
|
1020
|
+
this License, without any additional terms or conditions.
|
1021
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
1022
|
+
the terms of any separate license agreement you may have executed
|
1023
|
+
with Licensor regarding such Contributions.
|
1024
|
+
|
1025
|
+
6. Trademarks. This License does not grant permission to use the trade
|
1026
|
+
names, trademarks, service marks, or product names of the Licensor,
|
1027
|
+
except as required for reasonable and customary use in describing the
|
1028
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
1029
|
+
|
1030
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
1031
|
+
agreed to in writing, Licensor provides the Work (and each
|
1032
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
1033
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
1034
|
+
implied, including, without limitation, any warranties or conditions
|
1035
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
1036
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
1037
|
+
appropriateness of using or redistributing the Work and assume any
|
1038
|
+
risks associated with Your exercise of permissions under this License.
|
1039
|
+
|
1040
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
1041
|
+
whether in tort (including negligence), contract, or otherwise,
|
1042
|
+
unless required by applicable law (such as deliberate and grossly
|
1043
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
1044
|
+
liable to You for damages, including any direct, indirect, special,
|
1045
|
+
incidental, or consequential damages of any character arising as a
|
1046
|
+
result of this License or out of the use or inability to use the
|
1047
|
+
Work (including but not limited to damages for loss of goodwill,
|
1048
|
+
work stoppage, computer failure or malfunction, or any and all
|
1049
|
+
other commercial damages or losses), even if such Contributor
|
1050
|
+
has been advised of the possibility of such damages.
|
1051
|
+
|
1052
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
1053
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
1054
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
1055
|
+
or other liability obligations and/or rights consistent with this
|
1056
|
+
License. However, in accepting such obligations, You may act only
|
1057
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
1058
|
+
of any other Contributor, and only if You agree to indemnify,
|
1059
|
+
defend, and hold each Contributor harmless for any liability
|
1060
|
+
incurred by, or claims asserted against, such Contributor by reason
|
1061
|
+
of your accepting any such warranty or additional liability.
|
1062
|
+
|
1063
|
+
END OF TERMS AND CONDITIONS
|
1064
|
+
|
1065
|
+
APPENDIX: How to apply the Apache License to your work.
|
1066
|
+
|
1067
|
+
To apply the Apache License to your work, attach the following
|
1068
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
1069
|
+
replaced with your own identifying information. (Don't include
|
1070
|
+
the brackets!) The text should be enclosed in the appropriate
|
1071
|
+
comment syntax for the file format. We also recommend that a
|
1072
|
+
file or class name and description of purpose be included on the
|
1073
|
+
same "printed page" as the copyright notice for easier
|
1074
|
+
identification within third-party archives.
|
1075
|
+
|
1076
|
+
Copyright [yyyy] [name of copyright owner]
|
1077
|
+
|
1078
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
1079
|
+
you may not use this file except in compliance with the License.
|
1080
|
+
You may obtain a copy of the License at
|
1081
|
+
|
1082
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
1083
|
+
|
1084
|
+
Unless required by applicable law or agreed to in writing, software
|
1085
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
1086
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1087
|
+
See the License for the specific language governing permissions and
|
1088
|
+
limitations under the License.
|
1089
|
+
|
1090
|
+
|
1091
|
+
# binary windows release
|
1092
|
+
|
1093
|
+
NOTE: these libraries are redistributed ONLY with the binary
|
1094
|
+
cross-compiled Windows platform version of Nokogiri, both x86-mingw32
|
1095
|
+
and x64-mingw32.
|
1096
|
+
|
1097
|
+
## zlib
|
1098
|
+
|
1099
|
+
zlib license
|
1100
|
+
|
1101
|
+
http://www.zlib.net/zlib_license.html
|
1102
|
+
|
1103
|
+
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
|
1104
|
+
|
1105
|
+
This software is provided 'as-is', without any express or implied
|
1106
|
+
warranty. In no event will the authors be held liable for any damages
|
1107
|
+
arising from the use of this software.
|
1108
|
+
|
1109
|
+
Permission is granted to anyone to use this software for any purpose,
|
1110
|
+
including commercial applications, and to alter it and redistribute it
|
1111
|
+
freely, subject to the following restrictions:
|
1112
|
+
|
1113
|
+
1. The origin of this software must not be misrepresented; you must not
|
1114
|
+
claim that you wrote the original software. If you use this software
|
1115
|
+
in a product, an acknowledgment in the product documentation would be
|
1116
|
+
appreciated but is not required.
|
1117
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
1118
|
+
misrepresented as being the original software.
|
1119
|
+
3. This notice may not be removed or altered from any source distribution.
|
1120
|
+
|
1121
|
+
Jean-loup Gailly Mark Adler
|
1122
|
+
jloup@gzip.org madler@alumni.caltech.edu
|
1123
|
+
|
1124
|
+
|
1125
|
+
## libiconv
|
1126
|
+
|
1127
|
+
LGPL
|
1128
|
+
|
1129
|
+
https://www.gnu.org/software/libiconv/
|
1130
|
+
|
1131
|
+
GNU LIBRARY GENERAL PUBLIC LICENSE
|
1132
|
+
Version 2, June 1991
|
1133
|
+
|
1134
|
+
Copyright (C) 1991 Free Software Foundation, Inc.
|
1135
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
1136
|
+
Everyone is permitted to copy and distribute verbatim copies
|
1137
|
+
of this license document, but changing it is not allowed.
|
1138
|
+
|
1139
|
+
[This is the first released version of the library GPL. It is
|
1140
|
+
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
1141
|
+
|
1142
|
+
Preamble
|
1143
|
+
|
1144
|
+
The licenses for most software are designed to take away your
|
1145
|
+
freedom to share and change it. By contrast, the GNU General Public
|
1146
|
+
Licenses are intended to guarantee your freedom to share and change
|
1147
|
+
free software--to make sure the software is free for all its users.
|
1148
|
+
|
1149
|
+
This license, the Library General Public License, applies to some
|
1150
|
+
specially designated Free Software Foundation software, and to any
|
1151
|
+
other libraries whose authors decide to use it. You can use it for
|
1152
|
+
your libraries, too.
|
1153
|
+
|
1154
|
+
When we speak of free software, we are referring to freedom, not
|
1155
|
+
price. Our General Public Licenses are designed to make sure that you
|
1156
|
+
have the freedom to distribute copies of free software (and charge for
|
1157
|
+
this service if you wish), that you receive source code or can get it
|
1158
|
+
if you want it, that you can change the software or use pieces of it
|
1159
|
+
in new free programs; and that you know you can do these things.
|
1160
|
+
|
1161
|
+
To protect your rights, we need to make restrictions that forbid
|
1162
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
1163
|
+
These restrictions translate to certain responsibilities for you if
|
1164
|
+
you distribute copies of the library, or if you modify it.
|
1165
|
+
|
1166
|
+
For example, if you distribute copies of the library, whether gratis
|
1167
|
+
or for a fee, you must give the recipients all the rights that we gave
|
1168
|
+
you. You must make sure that they, too, receive or can get the source
|
1169
|
+
code. If you link a program with the library, you must provide
|
1170
|
+
complete object files to the recipients so that they can relink them
|
1171
|
+
with the library, after making changes to the library and recompiling
|
1172
|
+
it. And you must show them these terms so they know their rights.
|
1173
|
+
|
1174
|
+
Our method of protecting your rights has two steps: (1) copyright
|
1175
|
+
the library, and (2) offer you this license which gives you legal
|
1176
|
+
permission to copy, distribute and/or modify the library.
|
1177
|
+
|
1178
|
+
Also, for each distributor's protection, we want to make certain
|
1179
|
+
that everyone understands that there is no warranty for this free
|
1180
|
+
library. If the library is modified by someone else and passed on, we
|
1181
|
+
want its recipients to know that what they have is not the original
|
1182
|
+
version, so that any problems introduced by others will not reflect on
|
1183
|
+
the original authors' reputations.
|
1184
|
+
|
1185
|
+
Finally, any free program is threatened constantly by software
|
1186
|
+
patents. We wish to avoid the danger that companies distributing free
|
1187
|
+
software will individually obtain patent licenses, thus in effect
|
1188
|
+
transforming the program into proprietary software. To prevent this,
|
1189
|
+
we have made it clear that any patent must be licensed for everyone's
|
1190
|
+
free use or not licensed at all.
|
1191
|
+
|
1192
|
+
Most GNU software, including some libraries, is covered by the ordinary
|
1193
|
+
GNU General Public License, which was designed for utility programs. This
|
1194
|
+
license, the GNU Library General Public License, applies to certain
|
1195
|
+
designated libraries. This license is quite different from the ordinary
|
1196
|
+
one; be sure to read it in full, and don't assume that anything in it is
|
1197
|
+
the same as in the ordinary license.
|
1198
|
+
|
1199
|
+
The reason we have a separate public license for some libraries is that
|
1200
|
+
they blur the distinction we usually make between modifying or adding to a
|
1201
|
+
program and simply using it. Linking a program with a library, without
|
1202
|
+
changing the library, is in some sense simply using the library, and is
|
1203
|
+
analogous to running a utility program or application program. However, in
|
1204
|
+
a textual and legal sense, the linked executable is a combined work, a
|
1205
|
+
derivative of the original library, and the ordinary General Public License
|
1206
|
+
treats it as such.
|
1207
|
+
|
1208
|
+
Because of this blurred distinction, using the ordinary General
|
1209
|
+
Public License for libraries did not effectively promote software
|
1210
|
+
sharing, because most developers did not use the libraries. We
|
1211
|
+
concluded that weaker conditions might promote sharing better.
|
1212
|
+
|
1213
|
+
However, unrestricted linking of non-free programs would deprive the
|
1214
|
+
users of those programs of all benefit from the free status of the
|
1215
|
+
libraries themselves. This Library General Public License is intended to
|
1216
|
+
permit developers of non-free programs to use free libraries, while
|
1217
|
+
preserving your freedom as a user of such programs to change the free
|
1218
|
+
libraries that are incorporated in them. (We have not seen how to achieve
|
1219
|
+
this as regards changes in header files, but we have achieved it as regards
|
1220
|
+
changes in the actual functions of the Library.) The hope is that this
|
1221
|
+
will lead to faster development of free libraries.
|
1222
|
+
|
1223
|
+
The precise terms and conditions for copying, distribution and
|
1224
|
+
modification follow. Pay close attention to the difference between a
|
1225
|
+
"work based on the library" and a "work that uses the library". The
|
1226
|
+
former contains code derived from the library, while the latter only
|
1227
|
+
works together with the library.
|
1228
|
+
|
1229
|
+
Note that it is possible for a library to be covered by the ordinary
|
1230
|
+
General Public License rather than by this special one.
|
1231
|
+
|
1232
|
+
GNU LIBRARY GENERAL PUBLIC LICENSE
|
1233
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
1234
|
+
|
1235
|
+
0. This License Agreement applies to any software library which
|
1236
|
+
contains a notice placed by the copyright holder or other authorized
|
1237
|
+
party saying it may be distributed under the terms of this Library
|
1238
|
+
General Public License (also called "this License"). Each licensee is
|
1239
|
+
addressed as "you".
|
1240
|
+
|
1241
|
+
A "library" means a collection of software functions and/or data
|
1242
|
+
prepared so as to be conveniently linked with application programs
|
1243
|
+
(which use some of those functions and data) to form executables.
|
1244
|
+
|
1245
|
+
The "Library", below, refers to any such software library or work
|
1246
|
+
which has been distributed under these terms. A "work based on the
|
1247
|
+
Library" means either the Library or any derivative work under
|
1248
|
+
copyright law: that is to say, a work containing the Library or a
|
1249
|
+
portion of it, either verbatim or with modifications and/or translated
|
1250
|
+
straightforwardly into another language. (Hereinafter, translation is
|
1251
|
+
included without limitation in the term "modification".)
|
1252
|
+
|
1253
|
+
"Source code" for a work means the preferred form of the work for
|
1254
|
+
making modifications to it. For a library, complete source code means
|
1255
|
+
all the source code for all modules it contains, plus any associated
|
1256
|
+
interface definition files, plus the scripts used to control compilation
|
1257
|
+
and installation of the library.
|
1258
|
+
|
1259
|
+
Activities other than copying, distribution and modification are not
|
1260
|
+
covered by this License; they are outside its scope. The act of
|
1261
|
+
running a program using the Library is not restricted, and output from
|
1262
|
+
such a program is covered only if its contents constitute a work based
|
1263
|
+
on the Library (independent of the use of the Library in a tool for
|
1264
|
+
writing it). Whether that is true depends on what the Library does
|
1265
|
+
and what the program that uses the Library does.
|
1266
|
+
|
1267
|
+
1. You may copy and distribute verbatim copies of the Library's
|
1268
|
+
complete source code as you receive it, in any medium, provided that
|
1269
|
+
you conspicuously and appropriately publish on each copy an
|
1270
|
+
appropriate copyright notice and disclaimer of warranty; keep intact
|
1271
|
+
all the notices that refer to this License and to the absence of any
|
1272
|
+
warranty; and distribute a copy of this License along with the
|
1273
|
+
Library.
|
1274
|
+
|
1275
|
+
You may charge a fee for the physical act of transferring a copy,
|
1276
|
+
and you may at your option offer warranty protection in exchange for a
|
1277
|
+
fee.
|
1278
|
+
|
1279
|
+
2. You may modify your copy or copies of the Library or any portion
|
1280
|
+
of it, thus forming a work based on the Library, and copy and
|
1281
|
+
distribute such modifications or work under the terms of Section 1
|
1282
|
+
above, provided that you also meet all of these conditions:
|
1283
|
+
|
1284
|
+
a) The modified work must itself be a software library.
|
1285
|
+
|
1286
|
+
b) You must cause the files modified to carry prominent notices
|
1287
|
+
stating that you changed the files and the date of any change.
|
1288
|
+
|
1289
|
+
c) You must cause the whole of the work to be licensed at no
|
1290
|
+
charge to all third parties under the terms of this License.
|
1291
|
+
|
1292
|
+
d) If a facility in the modified Library refers to a function or a
|
1293
|
+
table of data to be supplied by an application program that uses
|
1294
|
+
the facility, other than as an argument passed when the facility
|
1295
|
+
is invoked, then you must make a good faith effort to ensure that,
|
1296
|
+
in the event an application does not supply such function or
|
1297
|
+
table, the facility still operates, and performs whatever part of
|
1298
|
+
its purpose remains meaningful.
|
1299
|
+
|
1300
|
+
(For example, a function in a library to compute square roots has
|
1301
|
+
a purpose that is entirely well-defined independent of the
|
1302
|
+
application. Therefore, Subsection 2d requires that any
|
1303
|
+
application-supplied function or table used by this function must
|
1304
|
+
be optional: if the application does not supply it, the square
|
1305
|
+
root function must still compute square roots.)
|
1306
|
+
|
1307
|
+
These requirements apply to the modified work as a whole. If
|
1308
|
+
identifiable sections of that work are not derived from the Library,
|
1309
|
+
and can be reasonably considered independent and separate works in
|
1310
|
+
themselves, then this License, and its terms, do not apply to those
|
1311
|
+
sections when you distribute them as separate works. But when you
|
1312
|
+
distribute the same sections as part of a whole which is a work based
|
1313
|
+
on the Library, the distribution of the whole must be on the terms of
|
1314
|
+
this License, whose permissions for other licensees extend to the
|
1315
|
+
entire whole, and thus to each and every part regardless of who wrote
|
1316
|
+
it.
|
1317
|
+
|
1318
|
+
Thus, it is not the intent of this section to claim rights or contest
|
1319
|
+
your rights to work written entirely by you; rather, the intent is to
|
1320
|
+
exercise the right to control the distribution of derivative or
|
1321
|
+
collective works based on the Library.
|
1322
|
+
|
1323
|
+
In addition, mere aggregation of another work not based on the Library
|
1324
|
+
with the Library (or with a work based on the Library) on a volume of
|
1325
|
+
a storage or distribution medium does not bring the other work under
|
1326
|
+
the scope of this License.
|
1327
|
+
|
1328
|
+
3. You may opt to apply the terms of the ordinary GNU General Public
|
1329
|
+
License instead of this License to a given copy of the Library. To do
|
1330
|
+
this, you must alter all the notices that refer to this License, so
|
1331
|
+
that they refer to the ordinary GNU General Public License, version 2,
|
1332
|
+
instead of to this License. (If a newer version than version 2 of the
|
1333
|
+
ordinary GNU General Public License has appeared, then you can specify
|
1334
|
+
that version instead if you wish.) Do not make any other change in
|
1335
|
+
these notices.
|
1336
|
+
|
1337
|
+
Once this change is made in a given copy, it is irreversible for
|
1338
|
+
that copy, so the ordinary GNU General Public License applies to all
|
1339
|
+
subsequent copies and derivative works made from that copy.
|
1340
|
+
|
1341
|
+
This option is useful when you wish to copy part of the code of
|
1342
|
+
the Library into a program that is not a library.
|
1343
|
+
|
1344
|
+
4. You may copy and distribute the Library (or a portion or
|
1345
|
+
derivative of it, under Section 2) in object code or executable form
|
1346
|
+
under the terms of Sections 1 and 2 above provided that you accompany
|
1347
|
+
it with the complete corresponding machine-readable source code, which
|
1348
|
+
must be distributed under the terms of Sections 1 and 2 above on a
|
1349
|
+
medium customarily used for software interchange.
|
1350
|
+
|
1351
|
+
If distribution of object code is made by offering access to copy
|
1352
|
+
from a designated place, then offering equivalent access to copy the
|
1353
|
+
source code from the same place satisfies the requirement to
|
1354
|
+
distribute the source code, even though third parties are not
|
1355
|
+
compelled to copy the source along with the object code.
|
1356
|
+
|
1357
|
+
5. A program that contains no derivative of any portion of the
|
1358
|
+
Library, but is designed to work with the Library by being compiled or
|
1359
|
+
linked with it, is called a "work that uses the Library". Such a
|
1360
|
+
work, in isolation, is not a derivative work of the Library, and
|
1361
|
+
therefore falls outside the scope of this License.
|
1362
|
+
|
1363
|
+
However, linking a "work that uses the Library" with the Library
|
1364
|
+
creates an executable that is a derivative of the Library (because it
|
1365
|
+
contains portions of the Library), rather than a "work that uses the
|
1366
|
+
library". The executable is therefore covered by this License.
|
1367
|
+
Section 6 states terms for distribution of such executables.
|
1368
|
+
|
1369
|
+
When a "work that uses the Library" uses material from a header file
|
1370
|
+
that is part of the Library, the object code for the work may be a
|
1371
|
+
derivative work of the Library even though the source code is not.
|
1372
|
+
Whether this is true is especially significant if the work can be
|
1373
|
+
linked without the Library, or if the work is itself a library. The
|
1374
|
+
threshold for this to be true is not precisely defined by law.
|
1375
|
+
|
1376
|
+
If such an object file uses only numerical parameters, data
|
1377
|
+
structure layouts and accessors, and small macros and small inline
|
1378
|
+
functions (ten lines or less in length), then the use of the object
|
1379
|
+
file is unrestricted, regardless of whether it is legally a derivative
|
1380
|
+
work. (Executables containing this object code plus portions of the
|
1381
|
+
Library will still fall under Section 6.)
|
1382
|
+
|
1383
|
+
Otherwise, if the work is a derivative of the Library, you may
|
1384
|
+
distribute the object code for the work under the terms of Section 6.
|
1385
|
+
Any executables containing that work also fall under Section 6,
|
1386
|
+
whether or not they are linked directly with the Library itself.
|
1387
|
+
|
1388
|
+
6. As an exception to the Sections above, you may also compile or
|
1389
|
+
link a "work that uses the Library" with the Library to produce a
|
1390
|
+
work containing portions of the Library, and distribute that work
|
1391
|
+
under terms of your choice, provided that the terms permit
|
1392
|
+
modification of the work for the customer's own use and reverse
|
1393
|
+
engineering for debugging such modifications.
|
1394
|
+
|
1395
|
+
You must give prominent notice with each copy of the work that the
|
1396
|
+
Library is used in it and that the Library and its use are covered by
|
1397
|
+
this License. You must supply a copy of this License. If the work
|
1398
|
+
during execution displays copyright notices, you must include the
|
1399
|
+
copyright notice for the Library among them, as well as a reference
|
1400
|
+
directing the user to the copy of this License. Also, you must do one
|
1401
|
+
of these things:
|
1402
|
+
|
1403
|
+
a) Accompany the work with the complete corresponding
|
1404
|
+
machine-readable source code for the Library including whatever
|
1405
|
+
changes were used in the work (which must be distributed under
|
1406
|
+
Sections 1 and 2 above); and, if the work is an executable linked
|
1407
|
+
with the Library, with the complete machine-readable "work that
|
1408
|
+
uses the Library", as object code and/or source code, so that the
|
1409
|
+
user can modify the Library and then relink to produce a modified
|
1410
|
+
executable containing the modified Library. (It is understood
|
1411
|
+
that the user who changes the contents of definitions files in the
|
1412
|
+
Library will not necessarily be able to recompile the application
|
1413
|
+
to use the modified definitions.)
|
1414
|
+
|
1415
|
+
b) Accompany the work with a written offer, valid for at
|
1416
|
+
least three years, to give the same user the materials
|
1417
|
+
specified in Subsection 6a, above, for a charge no more
|
1418
|
+
than the cost of performing this distribution.
|
1419
|
+
|
1420
|
+
c) If distribution of the work is made by offering access to copy
|
1421
|
+
from a designated place, offer equivalent access to copy the above
|
1422
|
+
specified materials from the same place.
|
1423
|
+
|
1424
|
+
d) Verify that the user has already received a copy of these
|
1425
|
+
materials or that you have already sent this user a copy.
|
1426
|
+
|
1427
|
+
For an executable, the required form of the "work that uses the
|
1428
|
+
Library" must include any data and utility programs needed for
|
1429
|
+
reproducing the executable from it. However, as a special exception,
|
1430
|
+
the source code distributed need not include anything that is normally
|
1431
|
+
distributed (in either source or binary form) with the major
|
1432
|
+
components (compiler, kernel, and so on) of the operating system on
|
1433
|
+
which the executable runs, unless that component itself accompanies
|
1434
|
+
the executable.
|
1435
|
+
|
1436
|
+
It may happen that this requirement contradicts the license
|
1437
|
+
restrictions of other proprietary libraries that do not normally
|
1438
|
+
accompany the operating system. Such a contradiction means you cannot
|
1439
|
+
use both them and the Library together in an executable that you
|
1440
|
+
distribute.
|
1441
|
+
|
1442
|
+
7. You may place library facilities that are a work based on the
|
1443
|
+
Library side-by-side in a single library together with other library
|
1444
|
+
facilities not covered by this License, and distribute such a combined
|
1445
|
+
library, provided that the separate distribution of the work based on
|
1446
|
+
the Library and of the other library facilities is otherwise
|
1447
|
+
permitted, and provided that you do these two things:
|
1448
|
+
|
1449
|
+
a) Accompany the combined library with a copy of the same work
|
1450
|
+
based on the Library, uncombined with any other library
|
1451
|
+
facilities. This must be distributed under the terms of the
|
1452
|
+
Sections above.
|
1453
|
+
|
1454
|
+
b) Give prominent notice with the combined library of the fact
|
1455
|
+
that part of it is a work based on the Library, and explaining
|
1456
|
+
where to find the accompanying uncombined form of the same work.
|
1457
|
+
|
1458
|
+
8. You may not copy, modify, sublicense, link with, or distribute
|
1459
|
+
the Library except as expressly provided under this License. Any
|
1460
|
+
attempt otherwise to copy, modify, sublicense, link with, or
|
1461
|
+
distribute the Library is void, and will automatically terminate your
|
1462
|
+
rights under this License. However, parties who have received copies,
|
1463
|
+
or rights, from you under this License will not have their licenses
|
1464
|
+
terminated so long as such parties remain in full compliance.
|
1465
|
+
|
1466
|
+
9. You are not required to accept this License, since you have not
|
1467
|
+
signed it. However, nothing else grants you permission to modify or
|
1468
|
+
distribute the Library or its derivative works. These actions are
|
1469
|
+
prohibited by law if you do not accept this License. Therefore, by
|
1470
|
+
modifying or distributing the Library (or any work based on the
|
1471
|
+
Library), you indicate your acceptance of this License to do so, and
|
1472
|
+
all its terms and conditions for copying, distributing or modifying
|
1473
|
+
the Library or works based on it.
|
1474
|
+
|
1475
|
+
10. Each time you redistribute the Library (or any work based on the
|
1476
|
+
Library), the recipient automatically receives a license from the
|
1477
|
+
original licensor to copy, distribute, link with or modify the Library
|
1478
|
+
subject to these terms and conditions. You may not impose any further
|
1479
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
1480
|
+
You are not responsible for enforcing compliance by third parties to
|
1481
|
+
this License.
|
1482
|
+
|
1483
|
+
11. If, as a consequence of a court judgment or allegation of patent
|
1484
|
+
infringement or for any other reason (not limited to patent issues),
|
1485
|
+
conditions are imposed on you (whether by court order, agreement or
|
1486
|
+
otherwise) that contradict the conditions of this License, they do not
|
1487
|
+
excuse you from the conditions of this License. If you cannot
|
1488
|
+
distribute so as to satisfy simultaneously your obligations under this
|
1489
|
+
License and any other pertinent obligations, then as a consequence you
|
1490
|
+
may not distribute the Library at all. For example, if a patent
|
1491
|
+
license would not permit royalty-free redistribution of the Library by
|
1492
|
+
all those who receive copies directly or indirectly through you, then
|
1493
|
+
the only way you could satisfy both it and this License would be to
|
1494
|
+
refrain entirely from distribution of the Library.
|
1495
|
+
|
1496
|
+
If any portion of this section is held invalid or unenforceable under any
|
1497
|
+
particular circumstance, the balance of the section is intended to apply,
|
1498
|
+
and the section as a whole is intended to apply in other circumstances.
|
1499
|
+
|
1500
|
+
It is not the purpose of this section to induce you to infringe any
|
1501
|
+
patents or other property right claims or to contest validity of any
|
1502
|
+
such claims; this section has the sole purpose of protecting the
|
1503
|
+
integrity of the free software distribution system which is
|
1504
|
+
implemented by public license practices. Many people have made
|
1505
|
+
generous contributions to the wide range of software distributed
|
1506
|
+
through that system in reliance on consistent application of that
|
1507
|
+
system; it is up to the author/donor to decide if he or she is willing
|
1508
|
+
to distribute software through any other system and a licensee cannot
|
1509
|
+
impose that choice.
|
1510
|
+
|
1511
|
+
This section is intended to make thoroughly clear what is believed to
|
1512
|
+
be a consequence of the rest of this License.
|
1513
|
+
|
1514
|
+
12. If the distribution and/or use of the Library is restricted in
|
1515
|
+
certain countries either by patents or by copyrighted interfaces, the
|
1516
|
+
original copyright holder who places the Library under this License may add
|
1517
|
+
an explicit geographical distribution limitation excluding those countries,
|
1518
|
+
so that distribution is permitted only in or among countries not thus
|
1519
|
+
excluded. In such case, this License incorporates the limitation as if
|
1520
|
+
written in the body of this License.
|
1521
|
+
|
1522
|
+
13. The Free Software Foundation may publish revised and/or new
|
1523
|
+
versions of the Library General Public License from time to time.
|
1524
|
+
Such new versions will be similar in spirit to the present version,
|
1525
|
+
but may differ in detail to address new problems or concerns.
|
1526
|
+
|
1527
|
+
Each version is given a distinguishing version number. If the Library
|
1528
|
+
specifies a version number of this License which applies to it and
|
1529
|
+
"any later version", you have the option of following the terms and
|
1530
|
+
conditions either of that version or of any later version published by
|
1531
|
+
the Free Software Foundation. If the Library does not specify a
|
1532
|
+
license version number, you may choose any version ever published by
|
1533
|
+
the Free Software Foundation.
|
1534
|
+
|
1535
|
+
14. If you wish to incorporate parts of the Library into other free
|
1536
|
+
programs whose distribution conditions are incompatible with these,
|
1537
|
+
write to the author to ask for permission. For software which is
|
1538
|
+
copyrighted by the Free Software Foundation, write to the Free
|
1539
|
+
Software Foundation; we sometimes make exceptions for this. Our
|
1540
|
+
decision will be guided by the two goals of preserving the free status
|
1541
|
+
of all derivatives of our free software and of promoting the sharing
|
1542
|
+
and reuse of software generally.
|
1543
|
+
|
1544
|
+
NO WARRANTY
|
1545
|
+
|
1546
|
+
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
1547
|
+
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
1548
|
+
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
1549
|
+
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
1550
|
+
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
1551
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
1552
|
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
1553
|
+
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
1554
|
+
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
1555
|
+
|
1556
|
+
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
1557
|
+
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
1558
|
+
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
1559
|
+
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
1560
|
+
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
1561
|
+
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
1562
|
+
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
1563
|
+
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
1564
|
+
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
1565
|
+
DAMAGES.
|
1566
|
+
|
1567
|
+
END OF TERMS AND CONDITIONS
|
1568
|
+
|
1569
|
+
Appendix: How to Apply These Terms to Your New Libraries
|
1570
|
+
|
1571
|
+
If you develop a new library, and you want it to be of the greatest
|
1572
|
+
possible use to the public, we recommend making it free software that
|
1573
|
+
everyone can redistribute and change. You can do so by permitting
|
1574
|
+
redistribution under these terms (or, alternatively, under the terms of the
|
1575
|
+
ordinary General Public License).
|
1576
|
+
|
1577
|
+
To apply these terms, attach the following notices to the library. It is
|
1578
|
+
safest to attach them to the start of each source file to most effectively
|
1579
|
+
convey the exclusion of warranty; and each file should have at least the
|
1580
|
+
"copyright" line and a pointer to where the full notice is found.
|
1581
|
+
|
1582
|
+
<one line to give the library's name and a brief idea of what it does.>
|
1583
|
+
Copyright (C) <year> <name of author>
|
1584
|
+
|
1585
|
+
This library is free software; you can redistribute it and/or
|
1586
|
+
modify it under the terms of the GNU Library General Public
|
1587
|
+
License as published by the Free Software Foundation; either
|
1588
|
+
version 2 of the License, or (at your option) any later version.
|
1589
|
+
|
1590
|
+
This library is distributed in the hope that it will be useful,
|
1591
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
1592
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
1593
|
+
Library General Public License for more details.
|
1594
|
+
|
1595
|
+
You should have received a copy of the GNU Library General Public
|
1596
|
+
License along with this library; if not, write to the Free
|
1597
|
+
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
1598
|
+
MA 02110-1301, USA
|
1599
|
+
|
1600
|
+
Also add information on how to contact you by electronic and paper mail.
|
1601
|
+
|
1602
|
+
You should also get your employer (if you work as a programmer) or your
|
1603
|
+
school, if any, to sign a "copyright disclaimer" for the library, if
|
1604
|
+
necessary. Here is a sample; alter the names:
|
1605
|
+
|
1606
|
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
1607
|
+
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
1608
|
+
|
1609
|
+
<signature of Ty Coon>, 1 April 1990
|
1610
|
+
Ty Coon, President of Vice
|
1611
|
+
|
1612
|
+
That's all there is to it!
|