nokogiri 1.10.10-x64-mingw32 → 1.11.0-x64-mingw32

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.

Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/LICENSE-DEPENDENCIES.md +1015 -947
  4. data/README.md +165 -91
  5. data/ext/nokogiri/depend +476 -357
  6. data/ext/nokogiri/extconf.rb +507 -357
  7. data/ext/nokogiri/html_document.c +79 -78
  8. data/ext/nokogiri/html_sax_parser_context.c +2 -2
  9. data/ext/nokogiri/include/libexslt/exslt.h +102 -0
  10. data/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
  11. data/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
  12. data/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
  13. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
  14. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
  15. data/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
  16. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
  17. data/ext/nokogiri/include/libxml2/libxml/c14n.h +126 -0
  18. data/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
  19. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
  20. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
  21. data/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
  22. data/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
  23. data/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
  24. data/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
  25. data/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
  26. data/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
  27. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
  28. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
  29. data/ext/nokogiri/include/libxml2/libxml/parser.h +1241 -0
  30. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
  31. data/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
  32. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
  33. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
  34. data/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
  35. data/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
  36. data/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
  37. data/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
  38. data/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
  39. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
  40. data/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
  41. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +366 -0
  42. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
  43. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
  44. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +153 -0
  45. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
  46. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
  47. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
  48. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
  49. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
  50. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
  51. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
  52. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
  53. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
  54. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
  55. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
  56. data/ext/nokogiri/include/libxml2/libxml/xpath.h +566 -0
  57. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
  58. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
  59. data/ext/nokogiri/include/libxslt/attributes.h +38 -0
  60. data/ext/nokogiri/include/libxslt/documents.h +93 -0
  61. data/ext/nokogiri/include/libxslt/extensions.h +262 -0
  62. data/ext/nokogiri/include/libxslt/extra.h +72 -0
  63. data/ext/nokogiri/include/libxslt/functions.h +78 -0
  64. data/ext/nokogiri/include/libxslt/imports.h +75 -0
  65. data/ext/nokogiri/include/libxslt/keys.h +53 -0
  66. data/ext/nokogiri/include/libxslt/namespaces.h +68 -0
  67. data/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
  68. data/ext/nokogiri/include/libxslt/pattern.h +84 -0
  69. data/ext/nokogiri/include/libxslt/preproc.h +43 -0
  70. data/ext/nokogiri/include/libxslt/security.h +104 -0
  71. data/ext/nokogiri/include/libxslt/templates.h +77 -0
  72. data/ext/nokogiri/include/libxslt/transform.h +207 -0
  73. data/ext/nokogiri/include/libxslt/variables.h +118 -0
  74. data/ext/nokogiri/include/libxslt/xslt.h +110 -0
  75. data/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
  76. data/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
  77. data/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
  78. data/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
  79. data/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
  80. data/ext/nokogiri/nokogiri.c +34 -40
  81. data/ext/nokogiri/nokogiri.h +26 -17
  82. data/ext/nokogiri/xml_document.c +18 -4
  83. data/ext/nokogiri/xml_io.c +8 -6
  84. data/ext/nokogiri/xml_node.c +21 -1
  85. data/ext/nokogiri/xml_node_set.c +1 -1
  86. data/ext/nokogiri/xml_reader.c +6 -17
  87. data/ext/nokogiri/xml_relax_ng.c +29 -11
  88. data/ext/nokogiri/xml_sax_parser.c +2 -7
  89. data/ext/nokogiri/xml_sax_parser_context.c +2 -2
  90. data/ext/nokogiri/xml_schema.c +55 -13
  91. data/ext/nokogiri/xml_xpath_context.c +80 -4
  92. data/ext/nokogiri/xslt_stylesheet.c +1 -8
  93. data/lib/nokogiri.rb +22 -22
  94. data/lib/nokogiri/2.5/nokogiri.so +0 -0
  95. data/lib/nokogiri/2.6/nokogiri.so +0 -0
  96. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  97. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  98. data/lib/nokogiri/css.rb +1 -0
  99. data/lib/nokogiri/css/node.rb +1 -0
  100. data/lib/nokogiri/css/parser.rb +63 -62
  101. data/lib/nokogiri/css/parser.y +2 -2
  102. data/lib/nokogiri/css/parser_extras.rb +39 -36
  103. data/lib/nokogiri/css/syntax_error.rb +1 -0
  104. data/lib/nokogiri/css/tokenizer.rb +1 -0
  105. data/lib/nokogiri/css/xpath_visitor.rb +73 -43
  106. data/lib/nokogiri/decorators/slop.rb +1 -0
  107. data/lib/nokogiri/html.rb +1 -0
  108. data/lib/nokogiri/html/builder.rb +1 -0
  109. data/lib/nokogiri/html/document.rb +13 -26
  110. data/lib/nokogiri/html/document_fragment.rb +1 -0
  111. data/lib/nokogiri/html/element_description.rb +1 -0
  112. data/lib/nokogiri/html/element_description_defaults.rb +1 -0
  113. data/lib/nokogiri/html/entity_lookup.rb +1 -0
  114. data/lib/nokogiri/html/sax/parser.rb +1 -0
  115. data/lib/nokogiri/html/sax/parser_context.rb +1 -0
  116. data/lib/nokogiri/html/sax/push_parser.rb +1 -0
  117. data/lib/nokogiri/jruby/dependencies.rb +20 -0
  118. data/lib/nokogiri/syntax_error.rb +1 -0
  119. data/lib/nokogiri/version.rb +3 -109
  120. data/lib/nokogiri/version/constant.rb +5 -0
  121. data/lib/nokogiri/version/info.rb +182 -0
  122. data/lib/nokogiri/xml.rb +1 -0
  123. data/lib/nokogiri/xml/attr.rb +1 -0
  124. data/lib/nokogiri/xml/attribute_decl.rb +1 -0
  125. data/lib/nokogiri/xml/builder.rb +3 -2
  126. data/lib/nokogiri/xml/cdata.rb +1 -0
  127. data/lib/nokogiri/xml/character_data.rb +1 -0
  128. data/lib/nokogiri/xml/document.rb +20 -15
  129. data/lib/nokogiri/xml/document_fragment.rb +5 -6
  130. data/lib/nokogiri/xml/dtd.rb +1 -0
  131. data/lib/nokogiri/xml/element_content.rb +1 -0
  132. data/lib/nokogiri/xml/element_decl.rb +1 -0
  133. data/lib/nokogiri/xml/entity_decl.rb +1 -0
  134. data/lib/nokogiri/xml/entity_reference.rb +1 -0
  135. data/lib/nokogiri/xml/namespace.rb +1 -0
  136. data/lib/nokogiri/xml/node.rb +587 -249
  137. data/lib/nokogiri/xml/node/save_options.rb +1 -0
  138. data/lib/nokogiri/xml/node_set.rb +1 -0
  139. data/lib/nokogiri/xml/notation.rb +1 -0
  140. data/lib/nokogiri/xml/parse_options.rb +10 -3
  141. data/lib/nokogiri/xml/pp.rb +1 -0
  142. data/lib/nokogiri/xml/pp/character_data.rb +1 -0
  143. data/lib/nokogiri/xml/pp/node.rb +1 -0
  144. data/lib/nokogiri/xml/processing_instruction.rb +1 -0
  145. data/lib/nokogiri/xml/reader.rb +7 -3
  146. data/lib/nokogiri/xml/relax_ng.rb +7 -2
  147. data/lib/nokogiri/xml/sax.rb +1 -0
  148. data/lib/nokogiri/xml/sax/document.rb +1 -0
  149. data/lib/nokogiri/xml/sax/parser.rb +1 -0
  150. data/lib/nokogiri/xml/sax/parser_context.rb +1 -0
  151. data/lib/nokogiri/xml/sax/push_parser.rb +1 -0
  152. data/lib/nokogiri/xml/schema.rb +13 -4
  153. data/lib/nokogiri/xml/searchable.rb +25 -16
  154. data/lib/nokogiri/xml/syntax_error.rb +1 -0
  155. data/lib/nokogiri/xml/text.rb +1 -0
  156. data/lib/nokogiri/xml/xpath.rb +1 -0
  157. data/lib/nokogiri/xml/xpath/syntax_error.rb +1 -0
  158. data/lib/nokogiri/xml/xpath_context.rb +1 -0
  159. data/lib/nokogiri/xslt.rb +1 -0
  160. data/lib/nokogiri/xslt/stylesheet.rb +1 -0
  161. data/lib/xsd/xmlparser/nokogiri.rb +1 -0
  162. metadata +148 -131
  163. data/lib/nokogiri/2.3/nokogiri.so +0 -0
  164. data/lib/nokogiri/2.4/nokogiri.so +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d60b52d7f07bfb0187de2cca88833a70498f002f463ac82f08b8359908df80b
4
- data.tar.gz: 169b48cd81195b892ddd0976956ffdf7c1be89d486cdeb78bbbf87bfeb0c4cb1
3
+ metadata.gz: 412a9aab2f8d4c00651485efa6d2bc7fe8d1c5a90ca1dd16ce8bd56802fc72de
4
+ data.tar.gz: 86eb71904c0b3e552153f210c3d2804153c3c13c3b2967e1129925279200004a
5
5
  SHA512:
6
- metadata.gz: ab637fb1527d865c3ce13130c363a3969abd7d6dfe2e5ca769956a89572990ca078cc27c06831337d2433a94a776bcad87b9a986303f4cd1955551663aedae3f
7
- data.tar.gz: 5f5009a359ef8984f3b8ba817af06efdb56c9071c9e459155a5d4b96059ac3c8e5bf19b3c8d116a1b9fa5432e6b5eb2fe59e12a9e5aa0d2b8eaa447623860ce9
6
+ metadata.gz: 7e6e788efda2110ce189489ade776d6a095cc18eba62a982dde1bca4b3a2d2a8a8a1151ed8ad826d89b3b217063631146925f6fec735af66a9d32c717db23b93
7
+ data.tar.gz: fd4e238cb747ca7a31d2870110763f8b0f4e0645eb9cc8a99fd69a9682b301586f2e38453197897fbf94fecf634ba4ffdaae2bfa342e206456d90f60345c796d
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
@@ -1,28 +1,103 @@
1
- ## Vendored Dependency Licenses
1
+ # Vendored Dependency Licenses
2
2
 
3
- Nokogiri ships with some third party dependencies, which are listed
4
- here along with their licenses.
3
+ Nokogiri ships with some third party dependencies, which are listed here along with their licenses.
5
4
 
6
- Note that this document is broken into three sections, each of which
7
- will apply to different platform releases of Nokogiri:
5
+ Note that this document is broken into multiple sections, each of which describes the dependencies of a different "platform release" of Nokogiri.
8
6
 
9
- 1. default platform release
10
- 2. `java` platform release
11
- 3. binary windows platform releases (`x86-mingw32` and `x64-mingw32`)
7
+ <!-- toc -->
12
8
 
13
- It's encouraged for anyone consuming this file via license-tracking
14
- software to understand which dependencies are used by your particular
15
- software, so as not to misinterpret the contents of this file.
9
+ - [Default platform release ("ruby")](#default-platform-release-ruby)
10
+ - [Native LinuxⓇ platform releases ("x86_64-linux" and "arm64-linux")](#native-linux-platform-releases-x86_64-linux-and-arm64-linux)
11
+ - [Native Darwin (macOSⓇ) platform releases ("x86_64-darwin" and "arm64-darwin")](#native-darwin-macos%E2%93%A1-platform-releases-x86_64-darwin-and-arm64-darwin)
12
+ - [Native WindowsⓇ platform releases ("x86-mingw32" and "x64-mingw32")](#native-windows%E2%93%A1-platform-releases-x86-mingw32-and-x64-mingw32)
13
+ - [JavaⓇ (JRuby) platform release ("java")](#java%E2%93%A1-jruby-platform-release-java)
14
+ - [Appendix: Dependencies' License Texts](#appendix-dependencies-license-texts)
15
+ * [libxml2](#libxml2)
16
+ * [libxslt](#libxslt)
17
+ * [zlib](#zlib)
18
+ * [libiconv](#libiconv)
19
+ * [isorelax](#isorelax)
20
+ * [jing](#jing)
21
+ * [nekodtd](#nekodtd)
22
+ * [nekohtml](#nekohtml)
23
+ * [xalan](#xalan)
24
+ * [xerces](#xerces)
25
+ * [xml-apis](#xml-apis)
16
26
 
17
- In particular, I'm sure somebody's lawyer, somewhere, is going to
18
- freak out that the LGPL appears in this file; and so I'd like to take
19
- special note that the dependency covered by LGPL, `libiconv`, is only
20
- being redistributed in the binary Windows platform release. It's not
21
- present in any non-Windows releases.
27
+ <!-- tocstop -->
22
28
 
23
- -----
29
+ It's encouraged for anyone consuming this file via license-tracking software to understand which gem file you're downloading and using, so as not to misinterpret the contents of this file and the licenses of the software being distributed.
24
30
 
25
- ## default platform release
31
+ You can double-check the dependencies in your gem file by examining the output of `nokogiri -v` after installation, which will emit the complete set of libraries in use (for versions `>= 1.11.0.rc4`).
32
+
33
+ In particular, I'm sure somebody's lawyer, somewhere, is going to freak out that the LGPL appears in this file; and so I'd like to take special note that the dependency covered by LGPL, `libiconv`, is only being redistributed in the native Windows and native Darwin platform releases. It's not present in default, JavaⓇ, or native LinuxⓇ releases.
34
+
35
+
36
+ ## Default platform release ("ruby")
37
+
38
+ The default platform release distributes the following dependencies in source form:
39
+
40
+ - [libxml2](#libxml2)
41
+ - [libxslt](#libxslt)
42
+
43
+ This distribution can be identified by inspecting the included Gem::Specification, which will have the value "ruby" for its "platform" attribute.
44
+
45
+
46
+ ## Native LinuxⓇ platform releases ("x86_64-linux" and "arm64-linux")
47
+
48
+ The native LinuxⓇ platform release distributes the following dependencies in source form:
49
+
50
+ - [libxml2](#libxml2)
51
+ - [libxslt](#libxslt)
52
+ - [zlib](#zlib)
53
+
54
+ This distribution can be identified by inspecting the included Gem::Specification, which will have a value similar to "x86_64-linux" or "x86-linux" for its "platform.cpu" attribute.
55
+
56
+
57
+ ## Native Darwin (macOSⓇ) platform releases ("x86_64-darwin" and "arm64-darwin")
58
+
59
+ The native Darwin platform release distributes the following dependencies in source form:
60
+
61
+ - [libxml2](#libxml2)
62
+ - [libxslt](#libxslt)
63
+ - [zlib](#zlib)
64
+ - [libiconv](#libiconv)
65
+
66
+ This distribution can be identified by inspecting the included Gem::Specification, which will have a value similar to "x86_64-darwin" or "arm64-darwin" for its "platform.cpu" attribute. Darwin is also known more familiarly as "OSX" or "macOSⓇ" and is the operating system for many AppleⓇ computers.
67
+
68
+
69
+ ## Native WindowsⓇ platform releases ("x86-mingw32" and "x64-mingw32")
70
+
71
+ The native WindowsⓇ platform release distributes the following dependencies in source form:
72
+
73
+ - [libxml2](#libxml2)
74
+ - [libxslt](#libxslt)
75
+ - [zlib](#zlib)
76
+ - [libiconv](#libiconv)
77
+
78
+ This distribution can be identified by inspecting the included Gem::Specification, which will have a value similar to "x64-mingw32" or "x86-mingw32" for its "platform.cpu" attribute.
79
+
80
+
81
+ ## JavaⓇ (JRuby) platform release ("java")
82
+
83
+ The Java platform release distributes the following dependencies as compiled jar files:
84
+
85
+ - [isorelax](#isorelax)
86
+ - [jing](#jing)
87
+ - [nekodtd](#nekodtd)
88
+ - [nekohtml](#nekohtml)
89
+ - [xalan](#xalan)
90
+ - [xerces](#xerces)
91
+ - [xml-apis](#xml-apis)
92
+
93
+ This distribution can be identified by inspecting the included Gem::Specification, which will have the value "java" for its "platform.os" attribute.
94
+
95
+
96
+ ## Appendix: Dependencies' License Texts
97
+
98
+ This section contains a subsection for each potentially-distributed dependency, which includes the name of the license and the license text.
99
+
100
+ Please see previous sections to understand which of these potential dependencies is actually distributed in the gem file you're downloading and using.
26
101
 
27
102
  ### libxml2
28
103
 
@@ -115,556 +190,653 @@ http://xmlsoft.org/libxslt/
115
190
  ings in this Software without prior written authorization from him.
116
191
  ----------------------------------------------------------------------
117
192
 
118
- ## `java` platform release
119
193
 
120
- ### isorelax
194
+ ### zlib
121
195
 
122
- MIT
196
+ zlib license
123
197
 
124
- http://iso-relax.sourceforge.net/
198
+ http://www.zlib.net/zlib_license.html
125
199
 
126
- Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
127
- Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
200
+ Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
128
201
 
129
- Permission is hereby granted, free of charge, to any person obtaining
130
- a copy of this software and associated documentation files (the
131
- "Software"), to deal in the Software without restriction, including
132
- without limitation the rights to use, copy, modify, merge, publish,
133
- distribute, sublicense, and/or sell copies of the Software, and to
134
- permit persons to whom the Software is furnished to do so, subject to
135
- the following conditions:
202
+ This software is provided 'as-is', without any express or implied
203
+ warranty. In no event will the authors be held liable for any damages
204
+ arising from the use of this software.
136
205
 
137
- The above copyright notice and this permission notice shall be
138
- included in all copies or substantial portions of the Software.
206
+ Permission is granted to anyone to use this software for any purpose,
207
+ including commercial applications, and to alter it and redistribute it
208
+ freely, subject to the following restrictions:
209
+
210
+ 1. The origin of this software must not be misrepresented; you must not
211
+ claim that you wrote the original software. If you use this software
212
+ in a product, an acknowledgment in the product documentation would be
213
+ appreciated but is not required.
214
+ 2. Altered source versions must be plainly marked as such, and must not be
215
+ misrepresented as being the original software.
216
+ 3. This notice may not be removed or altered from any source distribution.
217
+
218
+ Jean-loup Gailly Mark Adler
219
+ jloup@gzip.org madler@alumni.caltech.edu
139
220
 
140
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
141
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
142
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
143
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
144
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
145
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
146
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
147
-
148
221
 
149
- ### jing
222
+ ### libiconv
150
223
 
151
- BSD-3-Clause
224
+ LGPL
152
225
 
153
- http://www.thaiopensource.com/relaxng/jing.html
226
+ https://www.gnu.org/software/libiconv/
154
227
 
155
- Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
156
- All rights reserved.
228
+ GNU LIBRARY GENERAL PUBLIC LICENSE
229
+ Version 2, June 1991
157
230
 
158
- Redistribution and use in source and binary forms, with or without
159
- modification, are permitted provided that the following conditions
160
- are met:
231
+ Copyright (C) 1991 Free Software Foundation, Inc.
232
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
233
+ Everyone is permitted to copy and distribute verbatim copies
234
+ of this license document, but changing it is not allowed.
161
235
 
162
- * Redistributions of source code must retain the above copyright
163
- notice, this list of conditions and the following disclaimer.
236
+ [This is the first released version of the library GPL. It is
237
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
164
238
 
165
- * Redistributions in binary form must reproduce the above
166
- copyright notice, this list of conditions and the following
167
- disclaimer in the documentation and/or other materials provided
168
- with the distribution.
239
+ Preamble
169
240
 
170
- * Neither the name of the Thai Open Source Software Center Ltd nor
171
- the names of its contributors may be used to endorse or promote
172
- products derived from this software without specific prior
173
- written permission.
241
+ The licenses for most software are designed to take away your
242
+ freedom to share and change it. By contrast, the GNU General Public
243
+ Licenses are intended to guarantee your freedom to share and change
244
+ free software--to make sure the software is free for all its users.
174
245
 
175
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
176
- CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
177
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
178
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
179
- DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
180
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
181
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
182
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
183
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
184
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
185
- TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
186
- THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
187
- SUCH DAMAGE.
188
-
246
+ This license, the Library General Public License, applies to some
247
+ specially designated Free Software Foundation software, and to any
248
+ other libraries whose authors decide to use it. You can use it for
249
+ your libraries, too.
189
250
 
190
- ### nekodtd
191
-
192
- Apache 1.0-derived
193
-
194
- https://people.apache.org/~andyc/neko/doc/dtd/
195
-
196
- The CyberNeko Software License, Version 1.0
197
-
198
- (C) Copyright 2002-2005, Andy Clark. All rights reserved.
199
-
200
- Redistribution and use in source and binary forms, with or without
201
- modification, are permitted provided that the following conditions
202
- are met:
251
+ When we speak of free software, we are referring to freedom, not
252
+ price. Our General Public Licenses are designed to make sure that you
253
+ have the freedom to distribute copies of free software (and charge for
254
+ this service if you wish), that you receive source code or can get it
255
+ if you want it, that you can change the software or use pieces of it
256
+ in new free programs; and that you know you can do these things.
203
257
 
204
- 1. Redistributions of source code must retain the above copyright
205
- notice, this list of conditions and the following disclaimer.
258
+ To protect your rights, we need to make restrictions that forbid
259
+ anyone to deny you these rights or to ask you to surrender the rights.
260
+ These restrictions translate to certain responsibilities for you if
261
+ you distribute copies of the library, or if you modify it.
206
262
 
207
- 2. Redistributions in binary form must reproduce the above copyright
208
- notice, this list of conditions and the following disclaimer in
209
- the documentation and/or other materials provided with the
210
- distribution.
263
+ For example, if you distribute copies of the library, whether gratis
264
+ or for a fee, you must give the recipients all the rights that we gave
265
+ you. You must make sure that they, too, receive or can get the source
266
+ code. If you link a program with the library, you must provide
267
+ complete object files to the recipients so that they can relink them
268
+ with the library, after making changes to the library and recompiling
269
+ it. And you must show them these terms so they know their rights.
211
270
 
212
- 3. The end-user documentation included with the redistribution,
213
- if any, must include the following acknowledgment:
214
- "This product includes software developed by Andy Clark."
215
- Alternately, this acknowledgment may appear in the software itself,
216
- if and wherever such third-party acknowledgments normally appear.
271
+ Our method of protecting your rights has two steps: (1) copyright
272
+ the library, and (2) offer you this license which gives you legal
273
+ permission to copy, distribute and/or modify the library.
217
274
 
218
- 4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
219
- or promote products derived from this software without prior
220
- written permission. For written permission, please contact
221
- andyc@cyberneko.net.
275
+ Also, for each distributor's protection, we want to make certain
276
+ that everyone understands that there is no warranty for this free
277
+ library. If the library is modified by someone else and passed on, we
278
+ want its recipients to know that what they have is not the original
279
+ version, so that any problems introduced by others will not reflect on
280
+ the original authors' reputations.
281
+
282
+ Finally, any free program is threatened constantly by software
283
+ patents. We wish to avoid the danger that companies distributing free
284
+ software will individually obtain patent licenses, thus in effect
285
+ transforming the program into proprietary software. To prevent this,
286
+ we have made it clear that any patent must be licensed for everyone's
287
+ free use or not licensed at all.
222
288
 
223
- 5. Products derived from this software may not be called "CyberNeko",
224
- nor may "CyberNeko" appear in their name, without prior written
225
- permission of the author.
289
+ Most GNU software, including some libraries, is covered by the ordinary
290
+ GNU General Public License, which was designed for utility programs. This
291
+ license, the GNU Library General Public License, applies to certain
292
+ designated libraries. This license is quite different from the ordinary
293
+ one; be sure to read it in full, and don't assume that anything in it is
294
+ the same as in the ordinary license.
226
295
 
227
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
228
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
229
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
230
- DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS
231
- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
232
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
233
- OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
234
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
235
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
236
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
237
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
296
+ The reason we have a separate public license for some libraries is that
297
+ they blur the distinction we usually make between modifying or adding to a
298
+ program and simply using it. Linking a program with a library, without
299
+ changing the library, is in some sense simply using the library, and is
300
+ analogous to running a utility program or application program. However, in
301
+ a textual and legal sense, the linked executable is a combined work, a
302
+ derivative of the original library, and the ordinary General Public License
303
+ treats it as such.
238
304
 
239
- ====================================================================
305
+ Because of this blurred distinction, using the ordinary General
306
+ Public License for libraries did not effectively promote software
307
+ sharing, because most developers did not use the libraries. We
308
+ concluded that weaker conditions might promote sharing better.
240
309
 
241
- This license is based on the Apache Software License, version 1.1.
242
-
243
- ### nekohtml
244
-
245
- Apache 2.0
246
-
247
- http://nekohtml.sourceforge.net/
248
-
310
+ However, unrestricted linking of non-free programs would deprive the
311
+ users of those programs of all benefit from the free status of the
312
+ libraries themselves. This Library General Public License is intended to
313
+ permit developers of non-free programs to use free libraries, while
314
+ preserving your freedom as a user of such programs to change the free
315
+ libraries that are incorporated in them. (We have not seen how to achieve
316
+ this as regards changes in header files, but we have achieved it as regards
317
+ changes in the actual functions of the Library.) The hope is that this
318
+ will lead to faster development of free libraries.
249
319
 
250
- Apache License
251
- Version 2.0, January 2004
252
- http://www.apache.org/licenses/
320
+ The precise terms and conditions for copying, distribution and
321
+ modification follow. Pay close attention to the difference between a
322
+ "work based on the library" and a "work that uses the library". The
323
+ former contains code derived from the library, while the latter only
324
+ works together with the library.
253
325
 
254
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
326
+ Note that it is possible for a library to be covered by the ordinary
327
+ General Public License rather than by this special one.
328
+
329
+ GNU LIBRARY GENERAL PUBLIC LICENSE
330
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
255
331
 
256
- 1. Definitions.
332
+ 0. This License Agreement applies to any software library which
333
+ contains a notice placed by the copyright holder or other authorized
334
+ party saying it may be distributed under the terms of this Library
335
+ General Public License (also called "this License"). Each licensee is
336
+ addressed as "you".
257
337
 
258
- "License" shall mean the terms and conditions for use, reproduction,
259
- and distribution as defined by Sections 1 through 9 of this document.
338
+ A "library" means a collection of software functions and/or data
339
+ prepared so as to be conveniently linked with application programs
340
+ (which use some of those functions and data) to form executables.
260
341
 
261
- "Licensor" shall mean the copyright owner or entity authorized by
262
- the copyright owner that is granting the License.
342
+ The "Library", below, refers to any such software library or work
343
+ which has been distributed under these terms. A "work based on the
344
+ Library" means either the Library or any derivative work under
345
+ copyright law: that is to say, a work containing the Library or a
346
+ portion of it, either verbatim or with modifications and/or translated
347
+ straightforwardly into another language. (Hereinafter, translation is
348
+ included without limitation in the term "modification".)
263
349
 
264
- "Legal Entity" shall mean the union of the acting entity and all
265
- other entities that control, are controlled by, or are under common
266
- control with that entity. For the purposes of this definition,
267
- "control" means (i) the power, direct or indirect, to cause the
268
- direction or management of such entity, whether by contract or
269
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
270
- outstanding shares, or (iii) beneficial ownership of such entity.
350
+ "Source code" for a work means the preferred form of the work for
351
+ making modifications to it. For a library, complete source code means
352
+ all the source code for all modules it contains, plus any associated
353
+ interface definition files, plus the scripts used to control compilation
354
+ and installation of the library.
271
355
 
272
- "You" (or "Your") shall mean an individual or Legal Entity
273
- exercising permissions granted by this License.
356
+ Activities other than copying, distribution and modification are not
357
+ covered by this License; they are outside its scope. The act of
358
+ running a program using the Library is not restricted, and output from
359
+ such a program is covered only if its contents constitute a work based
360
+ on the Library (independent of the use of the Library in a tool for
361
+ writing it). Whether that is true depends on what the Library does
362
+ and what the program that uses the Library does.
363
+
364
+ 1. You may copy and distribute verbatim copies of the Library's
365
+ complete source code as you receive it, in any medium, provided that
366
+ you conspicuously and appropriately publish on each copy an
367
+ appropriate copyright notice and disclaimer of warranty; keep intact
368
+ all the notices that refer to this License and to the absence of any
369
+ warranty; and distribute a copy of this License along with the
370
+ Library.
274
371
 
275
- "Source" form shall mean the preferred form for making modifications,
276
- including but not limited to software source code, documentation
277
- source, and configuration files.
372
+ You may charge a fee for the physical act of transferring a copy,
373
+ and you may at your option offer warranty protection in exchange for a
374
+ fee.
375
+
376
+ 2. You may modify your copy or copies of the Library or any portion
377
+ of it, thus forming a work based on the Library, and copy and
378
+ distribute such modifications or work under the terms of Section 1
379
+ above, provided that you also meet all of these conditions:
278
380
 
279
- "Object" form shall mean any form resulting from mechanical
280
- transformation or translation of a Source form, including but
281
- not limited to compiled object code, generated documentation,
282
- and conversions to other media types.
381
+ a) The modified work must itself be a software library.
283
382
 
284
- "Work" shall mean the work of authorship, whether in Source or
285
- Object form, made available under the License, as indicated by a
286
- copyright notice that is included in or attached to the work
287
- (an example is provided in the Appendix below).
383
+ b) You must cause the files modified to carry prominent notices
384
+ stating that you changed the files and the date of any change.
288
385
 
289
- "Derivative Works" shall mean any work, whether in Source or Object
290
- form, that is based on (or derived from) the Work and for which the
291
- editorial revisions, annotations, elaborations, or other modifications
292
- represent, as a whole, an original work of authorship. For the purposes
293
- of this License, Derivative Works shall not include works that remain
294
- separable from, or merely link (or bind by name) to the interfaces of,
295
- the Work and Derivative Works thereof.
386
+ c) You must cause the whole of the work to be licensed at no
387
+ charge to all third parties under the terms of this License.
296
388
 
297
- "Contribution" shall mean any work of authorship, including
298
- the original version of the Work and any modifications or additions
299
- to that Work or Derivative Works thereof, that is intentionally
300
- submitted to Licensor for inclusion in the Work by the copyright owner
301
- or by an individual or Legal Entity authorized to submit on behalf of
302
- the copyright owner. For the purposes of this definition, "submitted"
303
- means any form of electronic, verbal, or written communication sent
304
- to the Licensor or its representatives, including but not limited to
305
- communication on electronic mailing lists, source code control systems,
306
- and issue tracking systems that are managed by, or on behalf of, the
307
- Licensor for the purpose of discussing and improving the Work, but
308
- excluding communication that is conspicuously marked or otherwise
309
- designated in writing by the copyright owner as "Not a Contribution."
389
+ d) If a facility in the modified Library refers to a function or a
390
+ table of data to be supplied by an application program that uses
391
+ the facility, other than as an argument passed when the facility
392
+ is invoked, then you must make a good faith effort to ensure that,
393
+ in the event an application does not supply such function or
394
+ table, the facility still operates, and performs whatever part of
395
+ its purpose remains meaningful.
310
396
 
311
- "Contributor" shall mean Licensor and any individual or Legal Entity
312
- on behalf of whom a Contribution has been received by Licensor and
313
- subsequently incorporated within the Work.
397
+ (For example, a function in a library to compute square roots has
398
+ a purpose that is entirely well-defined independent of the
399
+ application. Therefore, Subsection 2d requires that any
400
+ application-supplied function or table used by this function must
401
+ be optional: if the application does not supply it, the square
402
+ root function must still compute square roots.)
314
403
 
315
- 2. Grant of Copyright License. Subject to the terms and conditions of
316
- this License, each Contributor hereby grants to You a perpetual,
317
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
318
- copyright license to reproduce, prepare Derivative Works of,
319
- publicly display, publicly perform, sublicense, and distribute the
320
- Work and such Derivative Works in Source or Object form.
404
+ These requirements apply to the modified work as a whole. If
405
+ identifiable sections of that work are not derived from the Library,
406
+ and can be reasonably considered independent and separate works in
407
+ themselves, then this License, and its terms, do not apply to those
408
+ sections when you distribute them as separate works. But when you
409
+ distribute the same sections as part of a whole which is a work based
410
+ on the Library, the distribution of the whole must be on the terms of
411
+ this License, whose permissions for other licensees extend to the
412
+ entire whole, and thus to each and every part regardless of who wrote
413
+ it.
321
414
 
322
- 3. Grant of Patent License. Subject to the terms and conditions of
323
- this License, each Contributor hereby grants to You a perpetual,
324
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
325
- (except as stated in this section) patent license to make, have made,
326
- use, offer to sell, sell, import, and otherwise transfer the Work,
327
- where such license applies only to those patent claims licensable
328
- by such Contributor that are necessarily infringed by their
329
- Contribution(s) alone or by combination of their Contribution(s)
330
- with the Work to which such Contribution(s) was submitted. If You
331
- institute patent litigation against any entity (including a
332
- cross-claim or counterclaim in a lawsuit) alleging that the Work
333
- or a Contribution incorporated within the Work constitutes direct
334
- or contributory patent infringement, then any patent licenses
335
- granted to You under this License for that Work shall terminate
336
- as of the date such litigation is filed.
415
+ Thus, it is not the intent of this section to claim rights or contest
416
+ your rights to work written entirely by you; rather, the intent is to
417
+ exercise the right to control the distribution of derivative or
418
+ collective works based on the Library.
337
419
 
338
- 4. Redistribution. You may reproduce and distribute copies of the
339
- Work or Derivative Works thereof in any medium, with or without
340
- modifications, and in Source or Object form, provided that You
341
- meet the following conditions:
420
+ In addition, mere aggregation of another work not based on the Library
421
+ with the Library (or with a work based on the Library) on a volume of
422
+ a storage or distribution medium does not bring the other work under
423
+ the scope of this License.
342
424
 
343
- (a) You must give any other recipients of the Work or
344
- Derivative Works a copy of this License; and
425
+ 3. You may opt to apply the terms of the ordinary GNU General Public
426
+ License instead of this License to a given copy of the Library. To do
427
+ this, you must alter all the notices that refer to this License, so
428
+ that they refer to the ordinary GNU General Public License, version 2,
429
+ instead of to this License. (If a newer version than version 2 of the
430
+ ordinary GNU General Public License has appeared, then you can specify
431
+ that version instead if you wish.) Do not make any other change in
432
+ these notices.
433
+
434
+ Once this change is made in a given copy, it is irreversible for
435
+ that copy, so the ordinary GNU General Public License applies to all
436
+ subsequent copies and derivative works made from that copy.
345
437
 
346
- (b) You must cause any modified files to carry prominent notices
347
- stating that You changed the files; and
438
+ This option is useful when you wish to copy part of the code of
439
+ the Library into a program that is not a library.
348
440
 
349
- (c) You must retain, in the Source form of any Derivative Works
350
- that You distribute, all copyright, patent, trademark, and
351
- attribution notices from the Source form of the Work,
352
- excluding those notices that do not pertain to any part of
353
- the Derivative Works; and
441
+ 4. You may copy and distribute the Library (or a portion or
442
+ derivative of it, under Section 2) in object code or executable form
443
+ under the terms of Sections 1 and 2 above provided that you accompany
444
+ it with the complete corresponding machine-readable source code, which
445
+ must be distributed under the terms of Sections 1 and 2 above on a
446
+ medium customarily used for software interchange.
354
447
 
355
- (d) If the Work includes a "NOTICE" text file as part of its
356
- distribution, then any Derivative Works that You distribute must
357
- include a readable copy of the attribution notices contained
358
- within such NOTICE file, excluding those notices that do not
359
- pertain to any part of the Derivative Works, in at least one
360
- of the following places: within a NOTICE text file distributed
361
- as part of the Derivative Works; within the Source form or
362
- documentation, if provided along with the Derivative Works; or,
363
- within a display generated by the Derivative Works, if and
364
- wherever such third-party notices normally appear. The contents
365
- of the NOTICE file are for informational purposes only and
366
- do not modify the License. You may add Your own attribution
367
- notices within Derivative Works that You distribute, alongside
368
- or as an addendum to the NOTICE text from the Work, provided
369
- that such additional attribution notices cannot be construed
370
- as modifying the License.
448
+ If distribution of object code is made by offering access to copy
449
+ from a designated place, then offering equivalent access to copy the
450
+ source code from the same place satisfies the requirement to
451
+ distribute the source code, even though third parties are not
452
+ compelled to copy the source along with the object code.
371
453
 
372
- You may add Your own copyright statement to Your modifications and
373
- may provide additional or different license terms and conditions
374
- for use, reproduction, or distribution of Your modifications, or
375
- for any such Derivative Works as a whole, provided Your use,
376
- reproduction, and distribution of the Work otherwise complies with
377
- the conditions stated in this License.
454
+ 5. A program that contains no derivative of any portion of the
455
+ Library, but is designed to work with the Library by being compiled or
456
+ linked with it, is called a "work that uses the Library". Such a
457
+ work, in isolation, is not a derivative work of the Library, and
458
+ therefore falls outside the scope of this License.
378
459
 
379
- 5. Submission of Contributions. Unless You explicitly state otherwise,
380
- any Contribution intentionally submitted for inclusion in the Work
381
- by You to the Licensor shall be under the terms and conditions of
382
- this License, without any additional terms or conditions.
383
- Notwithstanding the above, nothing herein shall supersede or modify
384
- the terms of any separate license agreement you may have executed
385
- with Licensor regarding such Contributions.
460
+ However, linking a "work that uses the Library" with the Library
461
+ creates an executable that is a derivative of the Library (because it
462
+ contains portions of the Library), rather than a "work that uses the
463
+ library". The executable is therefore covered by this License.
464
+ Section 6 states terms for distribution of such executables.
386
465
 
387
- 6. Trademarks. This License does not grant permission to use the trade
388
- names, trademarks, service marks, or product names of the Licensor,
389
- except as required for reasonable and customary use in describing the
390
- origin of the Work and reproducing the content of the NOTICE file.
466
+ When a "work that uses the Library" uses material from a header file
467
+ that is part of the Library, the object code for the work may be a
468
+ derivative work of the Library even though the source code is not.
469
+ Whether this is true is especially significant if the work can be
470
+ linked without the Library, or if the work is itself a library. The
471
+ threshold for this to be true is not precisely defined by law.
391
472
 
392
- 7. Disclaimer of Warranty. Unless required by applicable law or
393
- agreed to in writing, Licensor provides the Work (and each
394
- Contributor provides its Contributions) on an "AS IS" BASIS,
395
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
396
- implied, including, without limitation, any warranties or conditions
397
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
398
- PARTICULAR PURPOSE. You are solely responsible for determining the
399
- appropriateness of using or redistributing the Work and assume any
400
- risks associated with Your exercise of permissions under this License.
473
+ If such an object file uses only numerical parameters, data
474
+ structure layouts and accessors, and small macros and small inline
475
+ functions (ten lines or less in length), then the use of the object
476
+ file is unrestricted, regardless of whether it is legally a derivative
477
+ work. (Executables containing this object code plus portions of the
478
+ Library will still fall under Section 6.)
401
479
 
402
- 8. Limitation of Liability. In no event and under no legal theory,
403
- whether in tort (including negligence), contract, or otherwise,
404
- unless required by applicable law (such as deliberate and grossly
405
- negligent acts) or agreed to in writing, shall any Contributor be
406
- liable to You for damages, including any direct, indirect, special,
407
- incidental, or consequential damages of any character arising as a
408
- result of this License or out of the use or inability to use the
409
- Work (including but not limited to damages for loss of goodwill,
410
- work stoppage, computer failure or malfunction, or any and all
411
- other commercial damages or losses), even if such Contributor
412
- has been advised of the possibility of such damages.
480
+ Otherwise, if the work is a derivative of the Library, you may
481
+ distribute the object code for the work under the terms of Section 6.
482
+ Any executables containing that work also fall under Section 6,
483
+ whether or not they are linked directly with the Library itself.
484
+
485
+ 6. As an exception to the Sections above, you may also compile or
486
+ link a "work that uses the Library" with the Library to produce a
487
+ work containing portions of the Library, and distribute that work
488
+ under terms of your choice, provided that the terms permit
489
+ modification of the work for the customer's own use and reverse
490
+ engineering for debugging such modifications.
413
491
 
414
- 9. Accepting Warranty or Additional Liability. While redistributing
415
- the Work or Derivative Works thereof, You may choose to offer,
416
- and charge a fee for, acceptance of support, warranty, indemnity,
417
- or other liability obligations and/or rights consistent with this
418
- License. However, in accepting such obligations, You may act only
419
- on Your own behalf and on Your sole responsibility, not on behalf
420
- of any other Contributor, and only if You agree to indemnify,
421
- defend, and hold each Contributor harmless for any liability
422
- incurred by, or claims asserted against, such Contributor by reason
423
- of your accepting any such warranty or additional liability.
492
+ You must give prominent notice with each copy of the work that the
493
+ Library is used in it and that the Library and its use are covered by
494
+ this License. You must supply a copy of this License. If the work
495
+ during execution displays copyright notices, you must include the
496
+ copyright notice for the Library among them, as well as a reference
497
+ directing the user to the copy of this License. Also, you must do one
498
+ of these things:
499
+
500
+ a) Accompany the work with the complete corresponding
501
+ machine-readable source code for the Library including whatever
502
+ changes were used in the work (which must be distributed under
503
+ Sections 1 and 2 above); and, if the work is an executable linked
504
+ with the Library, with the complete machine-readable "work that
505
+ uses the Library", as object code and/or source code, so that the
506
+ user can modify the Library and then relink to produce a modified
507
+ executable containing the modified Library. (It is understood
508
+ that the user who changes the contents of definitions files in the
509
+ Library will not necessarily be able to recompile the application
510
+ to use the modified definitions.)
511
+
512
+ b) Accompany the work with a written offer, valid for at
513
+ least three years, to give the same user the materials
514
+ specified in Subsection 6a, above, for a charge no more
515
+ than the cost of performing this distribution.
516
+
517
+ c) If distribution of the work is made by offering access to copy
518
+ from a designated place, offer equivalent access to copy the above
519
+ specified materials from the same place.
520
+
521
+ d) Verify that the user has already received a copy of these
522
+ materials or that you have already sent this user a copy.
523
+
524
+ For an executable, the required form of the "work that uses the
525
+ Library" must include any data and utility programs needed for
526
+ reproducing the executable from it. However, as a special exception,
527
+ the source code distributed need not include anything that is normally
528
+ distributed (in either source or binary form) with the major
529
+ components (compiler, kernel, and so on) of the operating system on
530
+ which the executable runs, unless that component itself accompanies
531
+ the executable.
532
+
533
+ It may happen that this requirement contradicts the license
534
+ restrictions of other proprietary libraries that do not normally
535
+ accompany the operating system. Such a contradiction means you cannot
536
+ use both them and the Library together in an executable that you
537
+ distribute.
538
+
539
+ 7. You may place library facilities that are a work based on the
540
+ Library side-by-side in a single library together with other library
541
+ facilities not covered by this License, and distribute such a combined
542
+ library, provided that the separate distribution of the work based on
543
+ the Library and of the other library facilities is otherwise
544
+ permitted, and provided that you do these two things:
545
+
546
+ a) Accompany the combined library with a copy of the same work
547
+ based on the Library, uncombined with any other library
548
+ facilities. This must be distributed under the terms of the
549
+ Sections above.
550
+
551
+ b) Give prominent notice with the combined library of the fact
552
+ that part of it is a work based on the Library, and explaining
553
+ where to find the accompanying uncombined form of the same work.
554
+
555
+ 8. You may not copy, modify, sublicense, link with, or distribute
556
+ the Library except as expressly provided under this License. Any
557
+ attempt otherwise to copy, modify, sublicense, link with, or
558
+ distribute the Library is void, and will automatically terminate your
559
+ rights under this License. However, parties who have received copies,
560
+ or rights, from you under this License will not have their licenses
561
+ terminated so long as such parties remain in full compliance.
424
562
 
425
- END OF TERMS AND CONDITIONS
563
+ 9. You are not required to accept this License, since you have not
564
+ signed it. However, nothing else grants you permission to modify or
565
+ distribute the Library or its derivative works. These actions are
566
+ prohibited by law if you do not accept this License. Therefore, by
567
+ modifying or distributing the Library (or any work based on the
568
+ Library), you indicate your acceptance of this License to do so, and
569
+ all its terms and conditions for copying, distributing or modifying
570
+ the Library or works based on it.
426
571
 
427
- APPENDIX: How to apply the Apache License to your work.
572
+ 10. Each time you redistribute the Library (or any work based on the
573
+ Library), the recipient automatically receives a license from the
574
+ original licensor to copy, distribute, link with or modify the Library
575
+ subject to these terms and conditions. You may not impose any further
576
+ restrictions on the recipients' exercise of the rights granted herein.
577
+ You are not responsible for enforcing compliance by third parties to
578
+ this License.
579
+
580
+ 11. If, as a consequence of a court judgment or allegation of patent
581
+ infringement or for any other reason (not limited to patent issues),
582
+ conditions are imposed on you (whether by court order, agreement or
583
+ otherwise) that contradict the conditions of this License, they do not
584
+ excuse you from the conditions of this License. If you cannot
585
+ distribute so as to satisfy simultaneously your obligations under this
586
+ License and any other pertinent obligations, then as a consequence you
587
+ may not distribute the Library at all. For example, if a patent
588
+ license would not permit royalty-free redistribution of the Library by
589
+ all those who receive copies directly or indirectly through you, then
590
+ the only way you could satisfy both it and this License would be to
591
+ refrain entirely from distribution of the Library.
428
592
 
429
- To apply the Apache License to your work, attach the following
430
- boilerplate notice, with the fields enclosed by brackets "[]"
431
- replaced with your own identifying information. (Don't include
432
- the brackets!) The text should be enclosed in the appropriate
433
- comment syntax for the file format. We also recommend that a
434
- file or class name and description of purpose be included on the
435
- same "printed page" as the copyright notice for easier
436
- identification within third-party archives.
593
+ If any portion of this section is held invalid or unenforceable under any
594
+ particular circumstance, the balance of the section is intended to apply,
595
+ and the section as a whole is intended to apply in other circumstances.
437
596
 
438
- Copyright [yyyy] [name of copyright owner]
597
+ It is not the purpose of this section to induce you to infringe any
598
+ patents or other property right claims or to contest validity of any
599
+ such claims; this section has the sole purpose of protecting the
600
+ integrity of the free software distribution system which is
601
+ implemented by public license practices. Many people have made
602
+ generous contributions to the wide range of software distributed
603
+ through that system in reliance on consistent application of that
604
+ system; it is up to the author/donor to decide if he or she is willing
605
+ to distribute software through any other system and a licensee cannot
606
+ impose that choice.
439
607
 
440
- Licensed under the Apache License, Version 2.0 (the "License");
441
- you may not use this file except in compliance with the License.
442
- You may obtain a copy of the License at
608
+ This section is intended to make thoroughly clear what is believed to
609
+ be a consequence of the rest of this License.
443
610
 
444
- http://www.apache.org/licenses/LICENSE-2.0
611
+ 12. If the distribution and/or use of the Library is restricted in
612
+ certain countries either by patents or by copyrighted interfaces, the
613
+ original copyright holder who places the Library under this License may add
614
+ an explicit geographical distribution limitation excluding those countries,
615
+ so that distribution is permitted only in or among countries not thus
616
+ excluded. In such case, this License incorporates the limitation as if
617
+ written in the body of this License.
445
618
 
446
- Unless required by applicable law or agreed to in writing, software
447
- distributed under the License is distributed on an "AS IS" BASIS,
448
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
449
- See the License for the specific language governing permissions and
450
- limitations under the License.
451
-
452
- ### xalan
453
-
454
- Apache 2.0
455
-
456
- https://xml.apache.org/xalan-j/
457
-
458
- covers xalan.jar and serializer.jar
459
-
460
- Apache License
461
- Version 2.0, January 2004
462
- http://www.apache.org/licenses/
619
+ 13. The Free Software Foundation may publish revised and/or new
620
+ versions of the Library General Public License from time to time.
621
+ Such new versions will be similar in spirit to the present version,
622
+ but may differ in detail to address new problems or concerns.
463
623
 
464
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
624
+ Each version is given a distinguishing version number. If the Library
625
+ specifies a version number of this License which applies to it and
626
+ "any later version", you have the option of following the terms and
627
+ conditions either of that version or of any later version published by
628
+ the Free Software Foundation. If the Library does not specify a
629
+ license version number, you may choose any version ever published by
630
+ the Free Software Foundation.
631
+
632
+ 14. If you wish to incorporate parts of the Library into other free
633
+ programs whose distribution conditions are incompatible with these,
634
+ write to the author to ask for permission. For software which is
635
+ copyrighted by the Free Software Foundation, write to the Free
636
+ Software Foundation; we sometimes make exceptions for this. Our
637
+ decision will be guided by the two goals of preserving the free status
638
+ of all derivatives of our free software and of promoting the sharing
639
+ and reuse of software generally.
465
640
 
466
- 1. Definitions.
641
+ NO WARRANTY
467
642
 
468
- "License" shall mean the terms and conditions for use, reproduction,
469
- and distribution as defined by Sections 1 through 9 of this document.
643
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
644
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
645
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
646
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
647
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
648
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
649
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
650
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
651
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
470
652
 
471
- "Licensor" shall mean the copyright owner or entity authorized by
472
- the copyright owner that is granting the License.
653
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
654
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
655
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
656
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
657
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
658
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
659
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
660
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
661
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
662
+ DAMAGES.
473
663
 
474
- "Legal Entity" shall mean the union of the acting entity and all
475
- other entities that control, are controlled by, or are under common
476
- control with that entity. For the purposes of this definition,
477
- "control" means (i) the power, direct or indirect, to cause the
478
- direction or management of such entity, whether by contract or
479
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
480
- outstanding shares, or (iii) beneficial ownership of such entity.
664
+ END OF TERMS AND CONDITIONS
665
+
666
+ Appendix: How to Apply These Terms to Your New Libraries
481
667
 
482
- "You" (or "Your") shall mean an individual or Legal Entity
483
- exercising permissions granted by this License.
668
+ If you develop a new library, and you want it to be of the greatest
669
+ possible use to the public, we recommend making it free software that
670
+ everyone can redistribute and change. You can do so by permitting
671
+ redistribution under these terms (or, alternatively, under the terms of the
672
+ ordinary General Public License).
484
673
 
485
- "Source" form shall mean the preferred form for making modifications,
486
- including but not limited to software source code, documentation
487
- source, and configuration files.
674
+ To apply these terms, attach the following notices to the library. It is
675
+ safest to attach them to the start of each source file to most effectively
676
+ convey the exclusion of warranty; and each file should have at least the
677
+ "copyright" line and a pointer to where the full notice is found.
488
678
 
489
- "Object" form shall mean any form resulting from mechanical
490
- transformation or translation of a Source form, including but
491
- not limited to compiled object code, generated documentation,
492
- and conversions to other media types.
679
+ <one line to give the library's name and a brief idea of what it does.>
680
+ Copyright (C) <year> <name of author>
493
681
 
494
- "Work" shall mean the work of authorship, whether in Source or
495
- Object form, made available under the License, as indicated by a
496
- copyright notice that is included in or attached to the work
497
- (an example is provided in the Appendix below).
682
+ This library is free software; you can redistribute it and/or
683
+ modify it under the terms of the GNU Library General Public
684
+ License as published by the Free Software Foundation; either
685
+ version 2 of the License, or (at your option) any later version.
498
686
 
499
- "Derivative Works" shall mean any work, whether in Source or Object
500
- form, that is based on (or derived from) the Work and for which the
501
- editorial revisions, annotations, elaborations, or other modifications
502
- represent, as a whole, an original work of authorship. For the purposes
503
- of this License, Derivative Works shall not include works that remain
504
- separable from, or merely link (or bind by name) to the interfaces of,
505
- the Work and Derivative Works thereof.
687
+ This library is distributed in the hope that it will be useful,
688
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
689
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
690
+ Library General Public License for more details.
506
691
 
507
- "Contribution" shall mean any work of authorship, including
508
- the original version of the Work and any modifications or additions
509
- to that Work or Derivative Works thereof, that is intentionally
510
- submitted to Licensor for inclusion in the Work by the copyright owner
511
- or by an individual or Legal Entity authorized to submit on behalf of
512
- the copyright owner. For the purposes of this definition, "submitted"
513
- means any form of electronic, verbal, or written communication sent
514
- to the Licensor or its representatives, including but not limited to
515
- communication on electronic mailing lists, source code control systems,
516
- and issue tracking systems that are managed by, or on behalf of, the
517
- Licensor for the purpose of discussing and improving the Work, but
518
- excluding communication that is conspicuously marked or otherwise
519
- designated in writing by the copyright owner as "Not a Contribution."
692
+ You should have received a copy of the GNU Library General Public
693
+ License along with this library; if not, write to the Free
694
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
695
+ MA 02110-1301, USA
520
696
 
521
- "Contributor" shall mean Licensor and any individual or Legal Entity
522
- on behalf of whom a Contribution has been received by Licensor and
523
- subsequently incorporated within the Work.
697
+ Also add information on how to contact you by electronic and paper mail.
524
698
 
525
- 2. Grant of Copyright License. Subject to the terms and conditions of
526
- this License, each Contributor hereby grants to You a perpetual,
527
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
528
- copyright license to reproduce, prepare Derivative Works of,
529
- publicly display, publicly perform, sublicense, and distribute the
530
- Work and such Derivative Works in Source or Object form.
699
+ You should also get your employer (if you work as a programmer) or your
700
+ school, if any, to sign a "copyright disclaimer" for the library, if
701
+ necessary. Here is a sample; alter the names:
531
702
 
532
- 3. Grant of Patent License. Subject to the terms and conditions of
533
- this License, each Contributor hereby grants to You a perpetual,
534
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
535
- (except as stated in this section) patent license to make, have made,
536
- use, offer to sell, sell, import, and otherwise transfer the Work,
537
- where such license applies only to those patent claims licensable
538
- by such Contributor that are necessarily infringed by their
539
- Contribution(s) alone or by combination of their Contribution(s)
540
- with the Work to which such Contribution(s) was submitted. If You
541
- institute patent litigation against any entity (including a
542
- cross-claim or counterclaim in a lawsuit) alleging that the Work
543
- or a Contribution incorporated within the Work constitutes direct
544
- or contributory patent infringement, then any patent licenses
545
- granted to You under this License for that Work shall terminate
546
- as of the date such litigation is filed.
703
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
704
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
547
705
 
548
- 4. Redistribution. You may reproduce and distribute copies of the
549
- Work or Derivative Works thereof in any medium, with or without
550
- modifications, and in Source or Object form, provided that You
551
- meet the following conditions:
706
+ <signature of Ty Coon>, 1 April 1990
707
+ Ty Coon, President of Vice
552
708
 
553
- (a) You must give any other recipients of the Work or
554
- Derivative Works a copy of this License; and
709
+ That's all there is to it!
710
+
711
+
712
+ ### isorelax
713
+
714
+ MIT
715
+
716
+ http://iso-relax.sourceforge.net/
717
+
718
+ Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
719
+ Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
555
720
 
556
- (b) You must cause any modified files to carry prominent notices
557
- stating that You changed the files; and
721
+ Permission is hereby granted, free of charge, to any person obtaining
722
+ a copy of this software and associated documentation files (the
723
+ "Software"), to deal in the Software without restriction, including
724
+ without limitation the rights to use, copy, modify, merge, publish,
725
+ distribute, sublicense, and/or sell copies of the Software, and to
726
+ permit persons to whom the Software is furnished to do so, subject to
727
+ the following conditions:
558
728
 
559
- (c) You must retain, in the Source form of any Derivative Works
560
- that You distribute, all copyright, patent, trademark, and
561
- attribution notices from the Source form of the Work,
562
- excluding those notices that do not pertain to any part of
563
- the Derivative Works; and
729
+ The above copyright notice and this permission notice shall be
730
+ included in all copies or substantial portions of the Software.
564
731
 
565
- (d) If the Work includes a "NOTICE" text file as part of its
566
- distribution, then any Derivative Works that You distribute must
567
- include a readable copy of the attribution notices contained
568
- within such NOTICE file, excluding those notices that do not
569
- pertain to any part of the Derivative Works, in at least one
570
- of the following places: within a NOTICE text file distributed
571
- as part of the Derivative Works; within the Source form or
572
- documentation, if provided along with the Derivative Works; or,
573
- within a display generated by the Derivative Works, if and
574
- wherever such third-party notices normally appear. The contents
575
- of the NOTICE file are for informational purposes only and
576
- do not modify the License. You may add Your own attribution
577
- notices within Derivative Works that You distribute, alongside
578
- or as an addendum to the NOTICE text from the Work, provided
579
- that such additional attribution notices cannot be construed
580
- as modifying the License.
732
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
733
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
734
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
735
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
736
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
737
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
738
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
739
+
740
+
741
+ ### jing
742
+
743
+ BSD-3-Clause
744
+
745
+ http://www.thaiopensource.com/relaxng/jing.html
746
+
747
+ Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
748
+ All rights reserved.
581
749
 
582
- You may add Your own copyright statement to Your modifications and
583
- may provide additional or different license terms and conditions
584
- for use, reproduction, or distribution of Your modifications, or
585
- for any such Derivative Works as a whole, provided Your use,
586
- reproduction, and distribution of the Work otherwise complies with
587
- the conditions stated in this License.
750
+ Redistribution and use in source and binary forms, with or without
751
+ modification, are permitted provided that the following conditions
752
+ are met:
588
753
 
589
- 5. Submission of Contributions. Unless You explicitly state otherwise,
590
- any Contribution intentionally submitted for inclusion in the Work
591
- by You to the Licensor shall be under the terms and conditions of
592
- this License, without any additional terms or conditions.
593
- Notwithstanding the above, nothing herein shall supersede or modify
594
- the terms of any separate license agreement you may have executed
595
- with Licensor regarding such Contributions.
754
+ * Redistributions of source code must retain the above copyright
755
+ notice, this list of conditions and the following disclaimer.
596
756
 
597
- 6. Trademarks. This License does not grant permission to use the trade
598
- names, trademarks, service marks, or product names of the Licensor,
599
- except as required for reasonable and customary use in describing the
600
- origin of the Work and reproducing the content of the NOTICE file.
757
+ * Redistributions in binary form must reproduce the above
758
+ copyright notice, this list of conditions and the following
759
+ disclaimer in the documentation and/or other materials provided
760
+ with the distribution.
601
761
 
602
- 7. Disclaimer of Warranty. Unless required by applicable law or
603
- agreed to in writing, Licensor provides the Work (and each
604
- Contributor provides its Contributions) on an "AS IS" BASIS,
605
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
606
- implied, including, without limitation, any warranties or conditions
607
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
608
- PARTICULAR PURPOSE. You are solely responsible for determining the
609
- appropriateness of using or redistributing the Work and assume any
610
- risks associated with Your exercise of permissions under this License.
762
+ * Neither the name of the Thai Open Source Software Center Ltd nor
763
+ the names of its contributors may be used to endorse or promote
764
+ products derived from this software without specific prior
765
+ written permission.
611
766
 
612
- 8. Limitation of Liability. In no event and under no legal theory,
613
- whether in tort (including negligence), contract, or otherwise,
614
- unless required by applicable law (such as deliberate and grossly
615
- negligent acts) or agreed to in writing, shall any Contributor be
616
- liable to You for damages, including any direct, indirect, special,
617
- incidental, or consequential damages of any character arising as a
618
- result of this License or out of the use or inability to use the
619
- Work (including but not limited to damages for loss of goodwill,
620
- work stoppage, computer failure or malfunction, or any and all
621
- other commercial damages or losses), even if such Contributor
622
- has been advised of the possibility of such damages.
767
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
768
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
769
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
770
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
771
+ DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
772
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
773
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
774
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
775
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
776
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
777
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
778
+ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
779
+ SUCH DAMAGE.
780
+
623
781
 
624
- 9. Accepting Warranty or Additional Liability. While redistributing
625
- the Work or Derivative Works thereof, You may choose to offer,
626
- and charge a fee for, acceptance of support, warranty, indemnity,
627
- or other liability obligations and/or rights consistent with this
628
- License. However, in accepting such obligations, You may act only
629
- on Your own behalf and on Your sole responsibility, not on behalf
630
- of any other Contributor, and only if You agree to indemnify,
631
- defend, and hold each Contributor harmless for any liability
632
- incurred by, or claims asserted against, such Contributor by reason
633
- of your accepting any such warranty or additional liability.
782
+ ### nekodtd
783
+
784
+ Apache 1.0-derived
785
+
786
+ https://people.apache.org/~andyc/neko/doc/dtd/
787
+
788
+ The CyberNeko Software License, Version 1.0
789
+
790
+ (C) Copyright 2002-2005, Andy Clark. All rights reserved.
791
+
792
+ Redistribution and use in source and binary forms, with or without
793
+ modification, are permitted provided that the following conditions
794
+ are met:
634
795
 
635
- END OF TERMS AND CONDITIONS
796
+ 1. Redistributions of source code must retain the above copyright
797
+ notice, this list of conditions and the following disclaimer.
636
798
 
637
- APPENDIX: How to apply the Apache License to your work.
799
+ 2. Redistributions in binary form must reproduce the above copyright
800
+ notice, this list of conditions and the following disclaimer in
801
+ the documentation and/or other materials provided with the
802
+ distribution.
638
803
 
639
- To apply the Apache License to your work, attach the following
640
- boilerplate notice, with the fields enclosed by brackets "[]"
641
- replaced with your own identifying information. (Don't include
642
- the brackets!) The text should be enclosed in the appropriate
643
- comment syntax for the file format. We also recommend that a
644
- file or class name and description of purpose be included on the
645
- same "printed page" as the copyright notice for easier
646
- identification within third-party archives.
804
+ 3. The end-user documentation included with the redistribution,
805
+ if any, must include the following acknowledgment:
806
+ "This product includes software developed by Andy Clark."
807
+ Alternately, this acknowledgment may appear in the software itself,
808
+ if and wherever such third-party acknowledgments normally appear.
647
809
 
648
- Copyright [yyyy] [name of copyright owner]
810
+ 4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
811
+ or promote products derived from this software without prior
812
+ written permission. For written permission, please contact
813
+ andyc@cyberneko.net.
649
814
 
650
- Licensed under the Apache License, Version 2.0 (the "License");
651
- you may not use this file except in compliance with the License.
652
- You may obtain a copy of the License at
815
+ 5. Products derived from this software may not be called "CyberNeko",
816
+ nor may "CyberNeko" appear in their name, without prior written
817
+ permission of the author.
653
818
 
654
- http://www.apache.org/licenses/LICENSE-2.0
819
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
820
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
821
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
822
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS
823
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
824
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
825
+ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
826
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
827
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
828
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
829
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
655
830
 
656
- Unless required by applicable law or agreed to in writing, software
657
- distributed under the License is distributed on an "AS IS" BASIS,
658
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
659
- See the License for the specific language governing permissions and
660
- limitations under the License.
831
+ ====================================================================
661
832
 
833
+ This license is based on the Apache Software License, version 1.1.
662
834
 
663
- ### xerces
835
+ ### nekohtml
664
836
 
665
837
  Apache 2.0
666
838
 
667
- https://xerces.apache.org/xerces2-j/
839
+ http://nekohtml.sourceforge.net/
668
840
 
669
841
 
670
842
  Apache License
@@ -868,26 +1040,16 @@ https://xerces.apache.org/xerces2-j/
868
1040
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
869
1041
  See the License for the specific language governing permissions and
870
1042
  limitations under the License.
871
-
872
1043
 
873
- ### xml-apis
1044
+ ### xalan
874
1045
 
875
1046
  Apache 2.0
876
1047
 
877
- https://xerces.apache.org/xml-commons/
1048
+ https://xml.apache.org/xalan-j/
878
1049
 
879
- Unless otherwise noted all files in XML Commons are covered under the
880
- Apache License Version 2.0. Please read the LICENSE and NOTICE files.
881
-
882
- XML Commons contains some software and documentation that is covered
883
- under a number of different licenses. This applies particularly to the
884
- xml-commons/java/external/ directory. Most files under
885
- xml-commons/java/external/ are covered under their respective
886
- LICENSE.*.txt files; see the matching README.*.txt files for
887
- descriptions.
1050
+ covers xalan.jar and serializer.jar
888
1051
 
889
-
890
- Apache License
1052
+ Apache License
891
1053
  Version 2.0, January 2004
892
1054
  http://www.apache.org/licenses/
893
1055
 
@@ -1083,532 +1245,438 @@ https://xerces.apache.org/xml-commons/
1083
1245
 
1084
1246
  http://www.apache.org/licenses/LICENSE-2.0
1085
1247
 
1086
- Unless required by applicable law or agreed to in writing, software
1087
- distributed under the License is distributed on an "AS IS" BASIS,
1088
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1089
- See the License for the specific language governing permissions and
1090
- limitations under the License.
1091
-
1092
-
1093
- ## binary windows release
1094
-
1095
- NOTE: these libraries are redistributed ONLY with the binary
1096
- cross-compiled Windows platform version of Nokogiri, both x86-mingw32
1097
- and x64-mingw32.
1098
-
1099
- ### zlib
1100
-
1101
- zlib license
1102
-
1103
- http://www.zlib.net/zlib_license.html
1104
-
1105
- Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
1106
-
1107
- This software is provided 'as-is', without any express or implied
1108
- warranty. In no event will the authors be held liable for any damages
1109
- arising from the use of this software.
1110
-
1111
- Permission is granted to anyone to use this software for any purpose,
1112
- including commercial applications, and to alter it and redistribute it
1113
- freely, subject to the following restrictions:
1114
-
1115
- 1. The origin of this software must not be misrepresented; you must not
1116
- claim that you wrote the original software. If you use this software
1117
- in a product, an acknowledgment in the product documentation would be
1118
- appreciated but is not required.
1119
- 2. Altered source versions must be plainly marked as such, and must not be
1120
- misrepresented as being the original software.
1121
- 3. This notice may not be removed or altered from any source distribution.
1122
-
1123
- Jean-loup Gailly Mark Adler
1124
- jloup@gzip.org madler@alumni.caltech.edu
1125
-
1126
-
1127
- ### libiconv
1128
-
1129
- LGPL
1130
-
1131
- https://www.gnu.org/software/libiconv/
1132
-
1133
- GNU LIBRARY GENERAL PUBLIC LICENSE
1134
- Version 2, June 1991
1135
-
1136
- Copyright (C) 1991 Free Software Foundation, Inc.
1137
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
1138
- Everyone is permitted to copy and distribute verbatim copies
1139
- of this license document, but changing it is not allowed.
1140
-
1141
- [This is the first released version of the library GPL. It is
1142
- numbered 2 because it goes with version 2 of the ordinary GPL.]
1143
-
1144
- Preamble
1248
+ Unless required by applicable law or agreed to in writing, software
1249
+ distributed under the License is distributed on an "AS IS" BASIS,
1250
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1251
+ See the License for the specific language governing permissions and
1252
+ limitations under the License.
1145
1253
 
1146
- The licenses for most software are designed to take away your
1147
- freedom to share and change it. By contrast, the GNU General Public
1148
- Licenses are intended to guarantee your freedom to share and change
1149
- free software--to make sure the software is free for all its users.
1254
+
1255
+ ### xerces
1256
+
1257
+ Apache 2.0
1258
+
1259
+ https://xerces.apache.org/xerces2-j/
1260
+
1150
1261
 
1151
- This license, the Library General Public License, applies to some
1152
- specially designated Free Software Foundation software, and to any
1153
- other libraries whose authors decide to use it. You can use it for
1154
- your libraries, too.
1262
+ Apache License
1263
+ Version 2.0, January 2004
1264
+ http://www.apache.org/licenses/
1155
1265
 
1156
- When we speak of free software, we are referring to freedom, not
1157
- price. Our General Public Licenses are designed to make sure that you
1158
- have the freedom to distribute copies of free software (and charge for
1159
- this service if you wish), that you receive source code or can get it
1160
- if you want it, that you can change the software or use pieces of it
1161
- in new free programs; and that you know you can do these things.
1266
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1162
1267
 
1163
- To protect your rights, we need to make restrictions that forbid
1164
- anyone to deny you these rights or to ask you to surrender the rights.
1165
- These restrictions translate to certain responsibilities for you if
1166
- you distribute copies of the library, or if you modify it.
1268
+ 1. Definitions.
1167
1269
 
1168
- For example, if you distribute copies of the library, whether gratis
1169
- or for a fee, you must give the recipients all the rights that we gave
1170
- you. You must make sure that they, too, receive or can get the source
1171
- code. If you link a program with the library, you must provide
1172
- complete object files to the recipients so that they can relink them
1173
- with the library, after making changes to the library and recompiling
1174
- it. And you must show them these terms so they know their rights.
1270
+ "License" shall mean the terms and conditions for use, reproduction,
1271
+ and distribution as defined by Sections 1 through 9 of this document.
1175
1272
 
1176
- Our method of protecting your rights has two steps: (1) copyright
1177
- the library, and (2) offer you this license which gives you legal
1178
- permission to copy, distribute and/or modify the library.
1273
+ "Licensor" shall mean the copyright owner or entity authorized by
1274
+ the copyright owner that is granting the License.
1179
1275
 
1180
- Also, for each distributor's protection, we want to make certain
1181
- that everyone understands that there is no warranty for this free
1182
- library. If the library is modified by someone else and passed on, we
1183
- want its recipients to know that what they have is not the original
1184
- version, so that any problems introduced by others will not reflect on
1185
- the original authors' reputations.
1186
-
1187
- Finally, any free program is threatened constantly by software
1188
- patents. We wish to avoid the danger that companies distributing free
1189
- software will individually obtain patent licenses, thus in effect
1190
- transforming the program into proprietary software. To prevent this,
1191
- we have made it clear that any patent must be licensed for everyone's
1192
- free use or not licensed at all.
1276
+ "Legal Entity" shall mean the union of the acting entity and all
1277
+ other entities that control, are controlled by, or are under common
1278
+ control with that entity. For the purposes of this definition,
1279
+ "control" means (i) the power, direct or indirect, to cause the
1280
+ direction or management of such entity, whether by contract or
1281
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1282
+ outstanding shares, or (iii) beneficial ownership of such entity.
1193
1283
 
1194
- Most GNU software, including some libraries, is covered by the ordinary
1195
- GNU General Public License, which was designed for utility programs. This
1196
- license, the GNU Library General Public License, applies to certain
1197
- designated libraries. This license is quite different from the ordinary
1198
- one; be sure to read it in full, and don't assume that anything in it is
1199
- the same as in the ordinary license.
1284
+ "You" (or "Your") shall mean an individual or Legal Entity
1285
+ exercising permissions granted by this License.
1200
1286
 
1201
- The reason we have a separate public license for some libraries is that
1202
- they blur the distinction we usually make between modifying or adding to a
1203
- program and simply using it. Linking a program with a library, without
1204
- changing the library, is in some sense simply using the library, and is
1205
- analogous to running a utility program or application program. However, in
1206
- a textual and legal sense, the linked executable is a combined work, a
1207
- derivative of the original library, and the ordinary General Public License
1208
- treats it as such.
1287
+ "Source" form shall mean the preferred form for making modifications,
1288
+ including but not limited to software source code, documentation
1289
+ source, and configuration files.
1209
1290
 
1210
- Because of this blurred distinction, using the ordinary General
1211
- Public License for libraries did not effectively promote software
1212
- sharing, because most developers did not use the libraries. We
1213
- concluded that weaker conditions might promote sharing better.
1291
+ "Object" form shall mean any form resulting from mechanical
1292
+ transformation or translation of a Source form, including but
1293
+ not limited to compiled object code, generated documentation,
1294
+ and conversions to other media types.
1214
1295
 
1215
- However, unrestricted linking of non-free programs would deprive the
1216
- users of those programs of all benefit from the free status of the
1217
- libraries themselves. This Library General Public License is intended to
1218
- permit developers of non-free programs to use free libraries, while
1219
- preserving your freedom as a user of such programs to change the free
1220
- libraries that are incorporated in them. (We have not seen how to achieve
1221
- this as regards changes in header files, but we have achieved it as regards
1222
- changes in the actual functions of the Library.) The hope is that this
1223
- will lead to faster development of free libraries.
1296
+ "Work" shall mean the work of authorship, whether in Source or
1297
+ Object form, made available under the License, as indicated by a
1298
+ copyright notice that is included in or attached to the work
1299
+ (an example is provided in the Appendix below).
1224
1300
 
1225
- The precise terms and conditions for copying, distribution and
1226
- modification follow. Pay close attention to the difference between a
1227
- "work based on the library" and a "work that uses the library". The
1228
- former contains code derived from the library, while the latter only
1229
- works together with the library.
1301
+ "Derivative Works" shall mean any work, whether in Source or Object
1302
+ form, that is based on (or derived from) the Work and for which the
1303
+ editorial revisions, annotations, elaborations, or other modifications
1304
+ represent, as a whole, an original work of authorship. For the purposes
1305
+ of this License, Derivative Works shall not include works that remain
1306
+ separable from, or merely link (or bind by name) to the interfaces of,
1307
+ the Work and Derivative Works thereof.
1230
1308
 
1231
- Note that it is possible for a library to be covered by the ordinary
1232
- General Public License rather than by this special one.
1233
-
1234
- GNU LIBRARY GENERAL PUBLIC LICENSE
1235
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1309
+ "Contribution" shall mean any work of authorship, including
1310
+ the original version of the Work and any modifications or additions
1311
+ to that Work or Derivative Works thereof, that is intentionally
1312
+ submitted to Licensor for inclusion in the Work by the copyright owner
1313
+ or by an individual or Legal Entity authorized to submit on behalf of
1314
+ the copyright owner. For the purposes of this definition, "submitted"
1315
+ means any form of electronic, verbal, or written communication sent
1316
+ to the Licensor or its representatives, including but not limited to
1317
+ communication on electronic mailing lists, source code control systems,
1318
+ and issue tracking systems that are managed by, or on behalf of, the
1319
+ Licensor for the purpose of discussing and improving the Work, but
1320
+ excluding communication that is conspicuously marked or otherwise
1321
+ designated in writing by the copyright owner as "Not a Contribution."
1236
1322
 
1237
- 0. This License Agreement applies to any software library which
1238
- contains a notice placed by the copyright holder or other authorized
1239
- party saying it may be distributed under the terms of this Library
1240
- General Public License (also called "this License"). Each licensee is
1241
- addressed as "you".
1323
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1324
+ on behalf of whom a Contribution has been received by Licensor and
1325
+ subsequently incorporated within the Work.
1242
1326
 
1243
- A "library" means a collection of software functions and/or data
1244
- prepared so as to be conveniently linked with application programs
1245
- (which use some of those functions and data) to form executables.
1327
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1328
+ this License, each Contributor hereby grants to You a perpetual,
1329
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1330
+ copyright license to reproduce, prepare Derivative Works of,
1331
+ publicly display, publicly perform, sublicense, and distribute the
1332
+ Work and such Derivative Works in Source or Object form.
1246
1333
 
1247
- The "Library", below, refers to any such software library or work
1248
- which has been distributed under these terms. A "work based on the
1249
- Library" means either the Library or any derivative work under
1250
- copyright law: that is to say, a work containing the Library or a
1251
- portion of it, either verbatim or with modifications and/or translated
1252
- straightforwardly into another language. (Hereinafter, translation is
1253
- included without limitation in the term "modification".)
1334
+ 3. Grant of Patent License. Subject to the terms and conditions of
1335
+ this License, each Contributor hereby grants to You a perpetual,
1336
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1337
+ (except as stated in this section) patent license to make, have made,
1338
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1339
+ where such license applies only to those patent claims licensable
1340
+ by such Contributor that are necessarily infringed by their
1341
+ Contribution(s) alone or by combination of their Contribution(s)
1342
+ with the Work to which such Contribution(s) was submitted. If You
1343
+ institute patent litigation against any entity (including a
1344
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1345
+ or a Contribution incorporated within the Work constitutes direct
1346
+ or contributory patent infringement, then any patent licenses
1347
+ granted to You under this License for that Work shall terminate
1348
+ as of the date such litigation is filed.
1254
1349
 
1255
- "Source code" for a work means the preferred form of the work for
1256
- making modifications to it. For a library, complete source code means
1257
- all the source code for all modules it contains, plus any associated
1258
- interface definition files, plus the scripts used to control compilation
1259
- and installation of the library.
1350
+ 4. Redistribution. You may reproduce and distribute copies of the
1351
+ Work or Derivative Works thereof in any medium, with or without
1352
+ modifications, and in Source or Object form, provided that You
1353
+ meet the following conditions:
1260
1354
 
1261
- Activities other than copying, distribution and modification are not
1262
- covered by this License; they are outside its scope. The act of
1263
- running a program using the Library is not restricted, and output from
1264
- such a program is covered only if its contents constitute a work based
1265
- on the Library (independent of the use of the Library in a tool for
1266
- writing it). Whether that is true depends on what the Library does
1267
- and what the program that uses the Library does.
1268
-
1269
- 1. You may copy and distribute verbatim copies of the Library's
1270
- complete source code as you receive it, in any medium, provided that
1271
- you conspicuously and appropriately publish on each copy an
1272
- appropriate copyright notice and disclaimer of warranty; keep intact
1273
- all the notices that refer to this License and to the absence of any
1274
- warranty; and distribute a copy of this License along with the
1275
- Library.
1355
+ (a) You must give any other recipients of the Work or
1356
+ Derivative Works a copy of this License; and
1276
1357
 
1277
- You may charge a fee for the physical act of transferring a copy,
1278
- and you may at your option offer warranty protection in exchange for a
1279
- fee.
1280
-
1281
- 2. You may modify your copy or copies of the Library or any portion
1282
- of it, thus forming a work based on the Library, and copy and
1283
- distribute such modifications or work under the terms of Section 1
1284
- above, provided that you also meet all of these conditions:
1358
+ (b) You must cause any modified files to carry prominent notices
1359
+ stating that You changed the files; and
1285
1360
 
1286
- a) The modified work must itself be a software library.
1361
+ (c) You must retain, in the Source form of any Derivative Works
1362
+ that You distribute, all copyright, patent, trademark, and
1363
+ attribution notices from the Source form of the Work,
1364
+ excluding those notices that do not pertain to any part of
1365
+ the Derivative Works; and
1287
1366
 
1288
- b) You must cause the files modified to carry prominent notices
1289
- stating that you changed the files and the date of any change.
1367
+ (d) If the Work includes a "NOTICE" text file as part of its
1368
+ distribution, then any Derivative Works that You distribute must
1369
+ include a readable copy of the attribution notices contained
1370
+ within such NOTICE file, excluding those notices that do not
1371
+ pertain to any part of the Derivative Works, in at least one
1372
+ of the following places: within a NOTICE text file distributed
1373
+ as part of the Derivative Works; within the Source form or
1374
+ documentation, if provided along with the Derivative Works; or,
1375
+ within a display generated by the Derivative Works, if and
1376
+ wherever such third-party notices normally appear. The contents
1377
+ of the NOTICE file are for informational purposes only and
1378
+ do not modify the License. You may add Your own attribution
1379
+ notices within Derivative Works that You distribute, alongside
1380
+ or as an addendum to the NOTICE text from the Work, provided
1381
+ that such additional attribution notices cannot be construed
1382
+ as modifying the License.
1290
1383
 
1291
- c) You must cause the whole of the work to be licensed at no
1292
- charge to all third parties under the terms of this License.
1384
+ You may add Your own copyright statement to Your modifications and
1385
+ may provide additional or different license terms and conditions
1386
+ for use, reproduction, or distribution of Your modifications, or
1387
+ for any such Derivative Works as a whole, provided Your use,
1388
+ reproduction, and distribution of the Work otherwise complies with
1389
+ the conditions stated in this License.
1293
1390
 
1294
- d) If a facility in the modified Library refers to a function or a
1295
- table of data to be supplied by an application program that uses
1296
- the facility, other than as an argument passed when the facility
1297
- is invoked, then you must make a good faith effort to ensure that,
1298
- in the event an application does not supply such function or
1299
- table, the facility still operates, and performs whatever part of
1300
- its purpose remains meaningful.
1391
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1392
+ any Contribution intentionally submitted for inclusion in the Work
1393
+ by You to the Licensor shall be under the terms and conditions of
1394
+ this License, without any additional terms or conditions.
1395
+ Notwithstanding the above, nothing herein shall supersede or modify
1396
+ the terms of any separate license agreement you may have executed
1397
+ with Licensor regarding such Contributions.
1301
1398
 
1302
- (For example, a function in a library to compute square roots has
1303
- a purpose that is entirely well-defined independent of the
1304
- application. Therefore, Subsection 2d requires that any
1305
- application-supplied function or table used by this function must
1306
- be optional: if the application does not supply it, the square
1307
- root function must still compute square roots.)
1399
+ 6. Trademarks. This License does not grant permission to use the trade
1400
+ names, trademarks, service marks, or product names of the Licensor,
1401
+ except as required for reasonable and customary use in describing the
1402
+ origin of the Work and reproducing the content of the NOTICE file.
1308
1403
 
1309
- These requirements apply to the modified work as a whole. If
1310
- identifiable sections of that work are not derived from the Library,
1311
- and can be reasonably considered independent and separate works in
1312
- themselves, then this License, and its terms, do not apply to those
1313
- sections when you distribute them as separate works. But when you
1314
- distribute the same sections as part of a whole which is a work based
1315
- on the Library, the distribution of the whole must be on the terms of
1316
- this License, whose permissions for other licensees extend to the
1317
- entire whole, and thus to each and every part regardless of who wrote
1318
- it.
1404
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1405
+ agreed to in writing, Licensor provides the Work (and each
1406
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1407
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1408
+ implied, including, without limitation, any warranties or conditions
1409
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1410
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1411
+ appropriateness of using or redistributing the Work and assume any
1412
+ risks associated with Your exercise of permissions under this License.
1319
1413
 
1320
- Thus, it is not the intent of this section to claim rights or contest
1321
- your rights to work written entirely by you; rather, the intent is to
1322
- exercise the right to control the distribution of derivative or
1323
- collective works based on the Library.
1414
+ 8. Limitation of Liability. In no event and under no legal theory,
1415
+ whether in tort (including negligence), contract, or otherwise,
1416
+ unless required by applicable law (such as deliberate and grossly
1417
+ negligent acts) or agreed to in writing, shall any Contributor be
1418
+ liable to You for damages, including any direct, indirect, special,
1419
+ incidental, or consequential damages of any character arising as a
1420
+ result of this License or out of the use or inability to use the
1421
+ Work (including but not limited to damages for loss of goodwill,
1422
+ work stoppage, computer failure or malfunction, or any and all
1423
+ other commercial damages or losses), even if such Contributor
1424
+ has been advised of the possibility of such damages.
1324
1425
 
1325
- In addition, mere aggregation of another work not based on the Library
1326
- with the Library (or with a work based on the Library) on a volume of
1327
- a storage or distribution medium does not bring the other work under
1328
- the scope of this License.
1426
+ 9. Accepting Warranty or Additional Liability. While redistributing
1427
+ the Work or Derivative Works thereof, You may choose to offer,
1428
+ and charge a fee for, acceptance of support, warranty, indemnity,
1429
+ or other liability obligations and/or rights consistent with this
1430
+ License. However, in accepting such obligations, You may act only
1431
+ on Your own behalf and on Your sole responsibility, not on behalf
1432
+ of any other Contributor, and only if You agree to indemnify,
1433
+ defend, and hold each Contributor harmless for any liability
1434
+ incurred by, or claims asserted against, such Contributor by reason
1435
+ of your accepting any such warranty or additional liability.
1329
1436
 
1330
- 3. You may opt to apply the terms of the ordinary GNU General Public
1331
- License instead of this License to a given copy of the Library. To do
1332
- this, you must alter all the notices that refer to this License, so
1333
- that they refer to the ordinary GNU General Public License, version 2,
1334
- instead of to this License. (If a newer version than version 2 of the
1335
- ordinary GNU General Public License has appeared, then you can specify
1336
- that version instead if you wish.) Do not make any other change in
1337
- these notices.
1338
-
1339
- Once this change is made in a given copy, it is irreversible for
1340
- that copy, so the ordinary GNU General Public License applies to all
1341
- subsequent copies and derivative works made from that copy.
1437
+ END OF TERMS AND CONDITIONS
1342
1438
 
1343
- This option is useful when you wish to copy part of the code of
1344
- the Library into a program that is not a library.
1439
+ APPENDIX: How to apply the Apache License to your work.
1345
1440
 
1346
- 4. You may copy and distribute the Library (or a portion or
1347
- derivative of it, under Section 2) in object code or executable form
1348
- under the terms of Sections 1 and 2 above provided that you accompany
1349
- it with the complete corresponding machine-readable source code, which
1350
- must be distributed under the terms of Sections 1 and 2 above on a
1351
- medium customarily used for software interchange.
1441
+ To apply the Apache License to your work, attach the following
1442
+ boilerplate notice, with the fields enclosed by brackets "[]"
1443
+ replaced with your own identifying information. (Don't include
1444
+ the brackets!) The text should be enclosed in the appropriate
1445
+ comment syntax for the file format. We also recommend that a
1446
+ file or class name and description of purpose be included on the
1447
+ same "printed page" as the copyright notice for easier
1448
+ identification within third-party archives.
1352
1449
 
1353
- If distribution of object code is made by offering access to copy
1354
- from a designated place, then offering equivalent access to copy the
1355
- source code from the same place satisfies the requirement to
1356
- distribute the source code, even though third parties are not
1357
- compelled to copy the source along with the object code.
1450
+ Copyright [yyyy] [name of copyright owner]
1358
1451
 
1359
- 5. A program that contains no derivative of any portion of the
1360
- Library, but is designed to work with the Library by being compiled or
1361
- linked with it, is called a "work that uses the Library". Such a
1362
- work, in isolation, is not a derivative work of the Library, and
1363
- therefore falls outside the scope of this License.
1452
+ Licensed under the Apache License, Version 2.0 (the "License");
1453
+ you may not use this file except in compliance with the License.
1454
+ You may obtain a copy of the License at
1364
1455
 
1365
- However, linking a "work that uses the Library" with the Library
1366
- creates an executable that is a derivative of the Library (because it
1367
- contains portions of the Library), rather than a "work that uses the
1368
- library". The executable is therefore covered by this License.
1369
- Section 6 states terms for distribution of such executables.
1456
+ http://www.apache.org/licenses/LICENSE-2.0
1370
1457
 
1371
- When a "work that uses the Library" uses material from a header file
1372
- that is part of the Library, the object code for the work may be a
1373
- derivative work of the Library even though the source code is not.
1374
- Whether this is true is especially significant if the work can be
1375
- linked without the Library, or if the work is itself a library. The
1376
- threshold for this to be true is not precisely defined by law.
1458
+ Unless required by applicable law or agreed to in writing, software
1459
+ distributed under the License is distributed on an "AS IS" BASIS,
1460
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1461
+ See the License for the specific language governing permissions and
1462
+ limitations under the License.
1377
1463
 
1378
- If such an object file uses only numerical parameters, data
1379
- structure layouts and accessors, and small macros and small inline
1380
- functions (ten lines or less in length), then the use of the object
1381
- file is unrestricted, regardless of whether it is legally a derivative
1382
- work. (Executables containing this object code plus portions of the
1383
- Library will still fall under Section 6.)
1464
+
1465
+ ### xml-apis
1466
+
1467
+ Apache 2.0
1468
+
1469
+ https://xerces.apache.org/xml-commons/
1470
+
1471
+ Unless otherwise noted all files in XML Commons are covered under the
1472
+ Apache License Version 2.0. Please read the LICENSE and NOTICE files.
1384
1473
 
1385
- Otherwise, if the work is a derivative of the Library, you may
1386
- distribute the object code for the work under the terms of Section 6.
1387
- Any executables containing that work also fall under Section 6,
1388
- whether or not they are linked directly with the Library itself.
1389
-
1390
- 6. As an exception to the Sections above, you may also compile or
1391
- link a "work that uses the Library" with the Library to produce a
1392
- work containing portions of the Library, and distribute that work
1393
- under terms of your choice, provided that the terms permit
1394
- modification of the work for the customer's own use and reverse
1395
- engineering for debugging such modifications.
1474
+ XML Commons contains some software and documentation that is covered
1475
+ under a number of different licenses. This applies particularly to the
1476
+ xml-commons/java/external/ directory. Most files under
1477
+ xml-commons/java/external/ are covered under their respective
1478
+ LICENSE.*.txt files; see the matching README.*.txt files for
1479
+ descriptions.
1480
+
1396
1481
 
1397
- You must give prominent notice with each copy of the work that the
1398
- Library is used in it and that the Library and its use are covered by
1399
- this License. You must supply a copy of this License. If the work
1400
- during execution displays copyright notices, you must include the
1401
- copyright notice for the Library among them, as well as a reference
1402
- directing the user to the copy of this License. Also, you must do one
1403
- of these things:
1482
+ Apache License
1483
+ Version 2.0, January 2004
1484
+ http://www.apache.org/licenses/
1404
1485
 
1405
- a) Accompany the work with the complete corresponding
1406
- machine-readable source code for the Library including whatever
1407
- changes were used in the work (which must be distributed under
1408
- Sections 1 and 2 above); and, if the work is an executable linked
1409
- with the Library, with the complete machine-readable "work that
1410
- uses the Library", as object code and/or source code, so that the
1411
- user can modify the Library and then relink to produce a modified
1412
- executable containing the modified Library. (It is understood
1413
- that the user who changes the contents of definitions files in the
1414
- Library will not necessarily be able to recompile the application
1415
- to use the modified definitions.)
1486
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1416
1487
 
1417
- b) Accompany the work with a written offer, valid for at
1418
- least three years, to give the same user the materials
1419
- specified in Subsection 6a, above, for a charge no more
1420
- than the cost of performing this distribution.
1488
+ 1. Definitions.
1421
1489
 
1422
- c) If distribution of the work is made by offering access to copy
1423
- from a designated place, offer equivalent access to copy the above
1424
- specified materials from the same place.
1490
+ "License" shall mean the terms and conditions for use, reproduction,
1491
+ and distribution as defined by Sections 1 through 9 of this document.
1425
1492
 
1426
- d) Verify that the user has already received a copy of these
1427
- materials or that you have already sent this user a copy.
1493
+ "Licensor" shall mean the copyright owner or entity authorized by
1494
+ the copyright owner that is granting the License.
1428
1495
 
1429
- For an executable, the required form of the "work that uses the
1430
- Library" must include any data and utility programs needed for
1431
- reproducing the executable from it. However, as a special exception,
1432
- the source code distributed need not include anything that is normally
1433
- distributed (in either source or binary form) with the major
1434
- components (compiler, kernel, and so on) of the operating system on
1435
- which the executable runs, unless that component itself accompanies
1436
- the executable.
1496
+ "Legal Entity" shall mean the union of the acting entity and all
1497
+ other entities that control, are controlled by, or are under common
1498
+ control with that entity. For the purposes of this definition,
1499
+ "control" means (i) the power, direct or indirect, to cause the
1500
+ direction or management of such entity, whether by contract or
1501
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1502
+ outstanding shares, or (iii) beneficial ownership of such entity.
1437
1503
 
1438
- It may happen that this requirement contradicts the license
1439
- restrictions of other proprietary libraries that do not normally
1440
- accompany the operating system. Such a contradiction means you cannot
1441
- use both them and the Library together in an executable that you
1442
- distribute.
1443
-
1444
- 7. You may place library facilities that are a work based on the
1445
- Library side-by-side in a single library together with other library
1446
- facilities not covered by this License, and distribute such a combined
1447
- library, provided that the separate distribution of the work based on
1448
- the Library and of the other library facilities is otherwise
1449
- permitted, and provided that you do these two things:
1504
+ "You" (or "Your") shall mean an individual or Legal Entity
1505
+ exercising permissions granted by this License.
1450
1506
 
1451
- a) Accompany the combined library with a copy of the same work
1452
- based on the Library, uncombined with any other library
1453
- facilities. This must be distributed under the terms of the
1454
- Sections above.
1507
+ "Source" form shall mean the preferred form for making modifications,
1508
+ including but not limited to software source code, documentation
1509
+ source, and configuration files.
1455
1510
 
1456
- b) Give prominent notice with the combined library of the fact
1457
- that part of it is a work based on the Library, and explaining
1458
- where to find the accompanying uncombined form of the same work.
1511
+ "Object" form shall mean any form resulting from mechanical
1512
+ transformation or translation of a Source form, including but
1513
+ not limited to compiled object code, generated documentation,
1514
+ and conversions to other media types.
1459
1515
 
1460
- 8. You may not copy, modify, sublicense, link with, or distribute
1461
- the Library except as expressly provided under this License. Any
1462
- attempt otherwise to copy, modify, sublicense, link with, or
1463
- distribute the Library is void, and will automatically terminate your
1464
- rights under this License. However, parties who have received copies,
1465
- or rights, from you under this License will not have their licenses
1466
- terminated so long as such parties remain in full compliance.
1516
+ "Work" shall mean the work of authorship, whether in Source or
1517
+ Object form, made available under the License, as indicated by a
1518
+ copyright notice that is included in or attached to the work
1519
+ (an example is provided in the Appendix below).
1467
1520
 
1468
- 9. You are not required to accept this License, since you have not
1469
- signed it. However, nothing else grants you permission to modify or
1470
- distribute the Library or its derivative works. These actions are
1471
- prohibited by law if you do not accept this License. Therefore, by
1472
- modifying or distributing the Library (or any work based on the
1473
- Library), you indicate your acceptance of this License to do so, and
1474
- all its terms and conditions for copying, distributing or modifying
1475
- the Library or works based on it.
1521
+ "Derivative Works" shall mean any work, whether in Source or Object
1522
+ form, that is based on (or derived from) the Work and for which the
1523
+ editorial revisions, annotations, elaborations, or other modifications
1524
+ represent, as a whole, an original work of authorship. For the purposes
1525
+ of this License, Derivative Works shall not include works that remain
1526
+ separable from, or merely link (or bind by name) to the interfaces of,
1527
+ the Work and Derivative Works thereof.
1476
1528
 
1477
- 10. Each time you redistribute the Library (or any work based on the
1478
- Library), the recipient automatically receives a license from the
1479
- original licensor to copy, distribute, link with or modify the Library
1480
- subject to these terms and conditions. You may not impose any further
1481
- restrictions on the recipients' exercise of the rights granted herein.
1482
- You are not responsible for enforcing compliance by third parties to
1483
- this License.
1484
-
1485
- 11. If, as a consequence of a court judgment or allegation of patent
1486
- infringement or for any other reason (not limited to patent issues),
1487
- conditions are imposed on you (whether by court order, agreement or
1488
- otherwise) that contradict the conditions of this License, they do not
1489
- excuse you from the conditions of this License. If you cannot
1490
- distribute so as to satisfy simultaneously your obligations under this
1491
- License and any other pertinent obligations, then as a consequence you
1492
- may not distribute the Library at all. For example, if a patent
1493
- license would not permit royalty-free redistribution of the Library by
1494
- all those who receive copies directly or indirectly through you, then
1495
- the only way you could satisfy both it and this License would be to
1496
- refrain entirely from distribution of the Library.
1529
+ "Contribution" shall mean any work of authorship, including
1530
+ the original version of the Work and any modifications or additions
1531
+ to that Work or Derivative Works thereof, that is intentionally
1532
+ submitted to Licensor for inclusion in the Work by the copyright owner
1533
+ or by an individual or Legal Entity authorized to submit on behalf of
1534
+ the copyright owner. For the purposes of this definition, "submitted"
1535
+ means any form of electronic, verbal, or written communication sent
1536
+ to the Licensor or its representatives, including but not limited to
1537
+ communication on electronic mailing lists, source code control systems,
1538
+ and issue tracking systems that are managed by, or on behalf of, the
1539
+ Licensor for the purpose of discussing and improving the Work, but
1540
+ excluding communication that is conspicuously marked or otherwise
1541
+ designated in writing by the copyright owner as "Not a Contribution."
1497
1542
 
1498
- If any portion of this section is held invalid or unenforceable under any
1499
- particular circumstance, the balance of the section is intended to apply,
1500
- and the section as a whole is intended to apply in other circumstances.
1543
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1544
+ on behalf of whom a Contribution has been received by Licensor and
1545
+ subsequently incorporated within the Work.
1501
1546
 
1502
- It is not the purpose of this section to induce you to infringe any
1503
- patents or other property right claims or to contest validity of any
1504
- such claims; this section has the sole purpose of protecting the
1505
- integrity of the free software distribution system which is
1506
- implemented by public license practices. Many people have made
1507
- generous contributions to the wide range of software distributed
1508
- through that system in reliance on consistent application of that
1509
- system; it is up to the author/donor to decide if he or she is willing
1510
- to distribute software through any other system and a licensee cannot
1511
- impose that choice.
1547
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1548
+ this License, each Contributor hereby grants to You a perpetual,
1549
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1550
+ copyright license to reproduce, prepare Derivative Works of,
1551
+ publicly display, publicly perform, sublicense, and distribute the
1552
+ Work and such Derivative Works in Source or Object form.
1512
1553
 
1513
- This section is intended to make thoroughly clear what is believed to
1514
- be a consequence of the rest of this License.
1554
+ 3. Grant of Patent License. Subject to the terms and conditions of
1555
+ this License, each Contributor hereby grants to You a perpetual,
1556
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1557
+ (except as stated in this section) patent license to make, have made,
1558
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1559
+ where such license applies only to those patent claims licensable
1560
+ by such Contributor that are necessarily infringed by their
1561
+ Contribution(s) alone or by combination of their Contribution(s)
1562
+ with the Work to which such Contribution(s) was submitted. If You
1563
+ institute patent litigation against any entity (including a
1564
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1565
+ or a Contribution incorporated within the Work constitutes direct
1566
+ or contributory patent infringement, then any patent licenses
1567
+ granted to You under this License for that Work shall terminate
1568
+ as of the date such litigation is filed.
1515
1569
 
1516
- 12. If the distribution and/or use of the Library is restricted in
1517
- certain countries either by patents or by copyrighted interfaces, the
1518
- original copyright holder who places the Library under this License may add
1519
- an explicit geographical distribution limitation excluding those countries,
1520
- so that distribution is permitted only in or among countries not thus
1521
- excluded. In such case, this License incorporates the limitation as if
1522
- written in the body of this License.
1570
+ 4. Redistribution. You may reproduce and distribute copies of the
1571
+ Work or Derivative Works thereof in any medium, with or without
1572
+ modifications, and in Source or Object form, provided that You
1573
+ meet the following conditions:
1523
1574
 
1524
- 13. The Free Software Foundation may publish revised and/or new
1525
- versions of the Library General Public License from time to time.
1526
- Such new versions will be similar in spirit to the present version,
1527
- but may differ in detail to address new problems or concerns.
1575
+ (a) You must give any other recipients of the Work or
1576
+ Derivative Works a copy of this License; and
1528
1577
 
1529
- Each version is given a distinguishing version number. If the Library
1530
- specifies a version number of this License which applies to it and
1531
- "any later version", you have the option of following the terms and
1532
- conditions either of that version or of any later version published by
1533
- the Free Software Foundation. If the Library does not specify a
1534
- license version number, you may choose any version ever published by
1535
- the Free Software Foundation.
1536
-
1537
- 14. If you wish to incorporate parts of the Library into other free
1538
- programs whose distribution conditions are incompatible with these,
1539
- write to the author to ask for permission. For software which is
1540
- copyrighted by the Free Software Foundation, write to the Free
1541
- Software Foundation; we sometimes make exceptions for this. Our
1542
- decision will be guided by the two goals of preserving the free status
1543
- of all derivatives of our free software and of promoting the sharing
1544
- and reuse of software generally.
1578
+ (b) You must cause any modified files to carry prominent notices
1579
+ stating that You changed the files; and
1545
1580
 
1546
- NO WARRANTY
1581
+ (c) You must retain, in the Source form of any Derivative Works
1582
+ that You distribute, all copyright, patent, trademark, and
1583
+ attribution notices from the Source form of the Work,
1584
+ excluding those notices that do not pertain to any part of
1585
+ the Derivative Works; and
1547
1586
 
1548
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1549
- WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1550
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1551
- OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1552
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1553
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1554
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1555
- LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1556
- THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1587
+ (d) If the Work includes a "NOTICE" text file as part of its
1588
+ distribution, then any Derivative Works that You distribute must
1589
+ include a readable copy of the attribution notices contained
1590
+ within such NOTICE file, excluding those notices that do not
1591
+ pertain to any part of the Derivative Works, in at least one
1592
+ of the following places: within a NOTICE text file distributed
1593
+ as part of the Derivative Works; within the Source form or
1594
+ documentation, if provided along with the Derivative Works; or,
1595
+ within a display generated by the Derivative Works, if and
1596
+ wherever such third-party notices normally appear. The contents
1597
+ of the NOTICE file are for informational purposes only and
1598
+ do not modify the License. You may add Your own attribution
1599
+ notices within Derivative Works that You distribute, alongside
1600
+ or as an addendum to the NOTICE text from the Work, provided
1601
+ that such additional attribution notices cannot be construed
1602
+ as modifying the License.
1557
1603
 
1558
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1559
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1560
- AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1561
- FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1562
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1563
- LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1564
- RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1565
- FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1566
- SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1567
- DAMAGES.
1604
+ You may add Your own copyright statement to Your modifications and
1605
+ may provide additional or different license terms and conditions
1606
+ for use, reproduction, or distribution of Your modifications, or
1607
+ for any such Derivative Works as a whole, provided Your use,
1608
+ reproduction, and distribution of the Work otherwise complies with
1609
+ the conditions stated in this License.
1568
1610
 
1569
- END OF TERMS AND CONDITIONS
1570
-
1571
- Appendix: How to Apply These Terms to Your New Libraries
1611
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1612
+ any Contribution intentionally submitted for inclusion in the Work
1613
+ by You to the Licensor shall be under the terms and conditions of
1614
+ this License, without any additional terms or conditions.
1615
+ Notwithstanding the above, nothing herein shall supersede or modify
1616
+ the terms of any separate license agreement you may have executed
1617
+ with Licensor regarding such Contributions.
1572
1618
 
1573
- If you develop a new library, and you want it to be of the greatest
1574
- possible use to the public, we recommend making it free software that
1575
- everyone can redistribute and change. You can do so by permitting
1576
- redistribution under these terms (or, alternatively, under the terms of the
1577
- ordinary General Public License).
1619
+ 6. Trademarks. This License does not grant permission to use the trade
1620
+ names, trademarks, service marks, or product names of the Licensor,
1621
+ except as required for reasonable and customary use in describing the
1622
+ origin of the Work and reproducing the content of the NOTICE file.
1578
1623
 
1579
- To apply these terms, attach the following notices to the library. It is
1580
- safest to attach them to the start of each source file to most effectively
1581
- convey the exclusion of warranty; and each file should have at least the
1582
- "copyright" line and a pointer to where the full notice is found.
1624
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1625
+ agreed to in writing, Licensor provides the Work (and each
1626
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1627
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1628
+ implied, including, without limitation, any warranties or conditions
1629
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1630
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1631
+ appropriateness of using or redistributing the Work and assume any
1632
+ risks associated with Your exercise of permissions under this License.
1583
1633
 
1584
- <one line to give the library's name and a brief idea of what it does.>
1585
- Copyright (C) <year> <name of author>
1634
+ 8. Limitation of Liability. In no event and under no legal theory,
1635
+ whether in tort (including negligence), contract, or otherwise,
1636
+ unless required by applicable law (such as deliberate and grossly
1637
+ negligent acts) or agreed to in writing, shall any Contributor be
1638
+ liable to You for damages, including any direct, indirect, special,
1639
+ incidental, or consequential damages of any character arising as a
1640
+ result of this License or out of the use or inability to use the
1641
+ Work (including but not limited to damages for loss of goodwill,
1642
+ work stoppage, computer failure or malfunction, or any and all
1643
+ other commercial damages or losses), even if such Contributor
1644
+ has been advised of the possibility of such damages.
1586
1645
 
1587
- This library is free software; you can redistribute it and/or
1588
- modify it under the terms of the GNU Library General Public
1589
- License as published by the Free Software Foundation; either
1590
- version 2 of the License, or (at your option) any later version.
1646
+ 9. Accepting Warranty or Additional Liability. While redistributing
1647
+ the Work or Derivative Works thereof, You may choose to offer,
1648
+ and charge a fee for, acceptance of support, warranty, indemnity,
1649
+ or other liability obligations and/or rights consistent with this
1650
+ License. However, in accepting such obligations, You may act only
1651
+ on Your own behalf and on Your sole responsibility, not on behalf
1652
+ of any other Contributor, and only if You agree to indemnify,
1653
+ defend, and hold each Contributor harmless for any liability
1654
+ incurred by, or claims asserted against, such Contributor by reason
1655
+ of your accepting any such warranty or additional liability.
1591
1656
 
1592
- This library is distributed in the hope that it will be useful,
1593
- but WITHOUT ANY WARRANTY; without even the implied warranty of
1594
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1595
- Library General Public License for more details.
1657
+ END OF TERMS AND CONDITIONS
1596
1658
 
1597
- You should have received a copy of the GNU Library General Public
1598
- License along with this library; if not, write to the Free
1599
- Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
1600
- MA 02110-1301, USA
1659
+ APPENDIX: How to apply the Apache License to your work.
1601
1660
 
1602
- Also add information on how to contact you by electronic and paper mail.
1661
+ To apply the Apache License to your work, attach the following
1662
+ boilerplate notice, with the fields enclosed by brackets "[]"
1663
+ replaced with your own identifying information. (Don't include
1664
+ the brackets!) The text should be enclosed in the appropriate
1665
+ comment syntax for the file format. We also recommend that a
1666
+ file or class name and description of purpose be included on the
1667
+ same "printed page" as the copyright notice for easier
1668
+ identification within third-party archives.
1603
1669
 
1604
- You should also get your employer (if you work as a programmer) or your
1605
- school, if any, to sign a "copyright disclaimer" for the library, if
1606
- necessary. Here is a sample; alter the names:
1670
+ Copyright [yyyy] [name of copyright owner]
1607
1671
 
1608
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
1609
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1672
+ Licensed under the Apache License, Version 2.0 (the "License");
1673
+ you may not use this file except in compliance with the License.
1674
+ You may obtain a copy of the License at
1610
1675
 
1611
- <signature of Ty Coon>, 1 April 1990
1612
- Ty Coon, President of Vice
1676
+ http://www.apache.org/licenses/LICENSE-2.0
1613
1677
 
1614
- That's all there is to it!
1678
+ Unless required by applicable law or agreed to in writing, software
1679
+ distributed under the License is distributed on an "AS IS" BASIS,
1680
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1681
+ See the License for the specific language governing permissions and
1682
+ limitations under the License.