nokogiri 1.10.9 → 1.12.5

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 (216) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/LICENSE-DEPENDENCIES.md +1173 -884
  4. data/LICENSE.md +1 -1
  5. data/README.md +176 -96
  6. data/dependencies.yml +12 -12
  7. data/ext/nokogiri/depend +38 -358
  8. data/ext/nokogiri/extconf.rb +716 -414
  9. data/ext/nokogiri/gumbo.c +584 -0
  10. data/ext/nokogiri/html4_document.c +166 -0
  11. data/ext/nokogiri/html4_element_description.c +294 -0
  12. data/ext/nokogiri/html4_entity_lookup.c +37 -0
  13. data/ext/nokogiri/html4_sax_parser_context.c +120 -0
  14. data/ext/nokogiri/html4_sax_push_parser.c +95 -0
  15. data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
  16. data/ext/nokogiri/nokogiri.c +228 -91
  17. data/ext/nokogiri/nokogiri.h +191 -89
  18. data/ext/nokogiri/test_global_handlers.c +40 -0
  19. data/ext/nokogiri/xml_attr.c +15 -15
  20. data/ext/nokogiri/xml_attribute_decl.c +18 -18
  21. data/ext/nokogiri/xml_cdata.c +13 -18
  22. data/ext/nokogiri/xml_comment.c +19 -26
  23. data/ext/nokogiri/xml_document.c +267 -195
  24. data/ext/nokogiri/xml_document_fragment.c +13 -15
  25. data/ext/nokogiri/xml_dtd.c +54 -48
  26. data/ext/nokogiri/xml_element_content.c +31 -26
  27. data/ext/nokogiri/xml_element_decl.c +22 -22
  28. data/ext/nokogiri/xml_encoding_handler.c +28 -17
  29. data/ext/nokogiri/xml_entity_decl.c +32 -30
  30. data/ext/nokogiri/xml_entity_reference.c +16 -18
  31. data/ext/nokogiri/xml_namespace.c +60 -51
  32. data/ext/nokogiri/xml_node.c +493 -407
  33. data/ext/nokogiri/xml_node_set.c +174 -162
  34. data/ext/nokogiri/xml_processing_instruction.c +17 -19
  35. data/ext/nokogiri/xml_reader.c +197 -172
  36. data/ext/nokogiri/xml_relax_ng.c +52 -28
  37. data/ext/nokogiri/xml_sax_parser.c +112 -112
  38. data/ext/nokogiri/xml_sax_parser_context.c +105 -86
  39. data/ext/nokogiri/xml_sax_push_parser.c +36 -27
  40. data/ext/nokogiri/xml_schema.c +96 -46
  41. data/ext/nokogiri/xml_syntax_error.c +42 -21
  42. data/ext/nokogiri/xml_text.c +13 -17
  43. data/ext/nokogiri/xml_xpath_context.c +158 -73
  44. data/ext/nokogiri/xslt_stylesheet.c +158 -164
  45. data/gumbo-parser/CHANGES.md +63 -0
  46. data/gumbo-parser/Makefile +101 -0
  47. data/gumbo-parser/THANKS +27 -0
  48. data/gumbo-parser/src/Makefile +34 -0
  49. data/gumbo-parser/src/README.md +41 -0
  50. data/gumbo-parser/src/ascii.c +75 -0
  51. data/gumbo-parser/src/ascii.h +115 -0
  52. data/gumbo-parser/src/attribute.c +42 -0
  53. data/gumbo-parser/src/attribute.h +17 -0
  54. data/gumbo-parser/src/char_ref.c +22225 -0
  55. data/gumbo-parser/src/char_ref.h +29 -0
  56. data/gumbo-parser/src/char_ref.rl +2154 -0
  57. data/gumbo-parser/src/error.c +626 -0
  58. data/gumbo-parser/src/error.h +148 -0
  59. data/gumbo-parser/src/foreign_attrs.c +104 -0
  60. data/gumbo-parser/src/foreign_attrs.gperf +27 -0
  61. data/gumbo-parser/src/gumbo.h +943 -0
  62. data/gumbo-parser/src/insertion_mode.h +33 -0
  63. data/gumbo-parser/src/macros.h +91 -0
  64. data/gumbo-parser/src/parser.c +4886 -0
  65. data/gumbo-parser/src/parser.h +41 -0
  66. data/gumbo-parser/src/replacement.h +33 -0
  67. data/gumbo-parser/src/string_buffer.c +103 -0
  68. data/gumbo-parser/src/string_buffer.h +68 -0
  69. data/gumbo-parser/src/string_piece.c +48 -0
  70. data/gumbo-parser/src/svg_attrs.c +174 -0
  71. data/gumbo-parser/src/svg_attrs.gperf +77 -0
  72. data/gumbo-parser/src/svg_tags.c +137 -0
  73. data/gumbo-parser/src/svg_tags.gperf +55 -0
  74. data/gumbo-parser/src/tag.c +222 -0
  75. data/gumbo-parser/src/tag_lookup.c +382 -0
  76. data/gumbo-parser/src/tag_lookup.gperf +169 -0
  77. data/gumbo-parser/src/tag_lookup.h +13 -0
  78. data/gumbo-parser/src/token_buffer.c +79 -0
  79. data/gumbo-parser/src/token_buffer.h +71 -0
  80. data/gumbo-parser/src/token_type.h +17 -0
  81. data/gumbo-parser/src/tokenizer.c +3463 -0
  82. data/gumbo-parser/src/tokenizer.h +112 -0
  83. data/gumbo-parser/src/tokenizer_states.h +339 -0
  84. data/gumbo-parser/src/utf8.c +245 -0
  85. data/gumbo-parser/src/utf8.h +164 -0
  86. data/gumbo-parser/src/util.c +68 -0
  87. data/gumbo-parser/src/util.h +30 -0
  88. data/gumbo-parser/src/vector.c +111 -0
  89. data/gumbo-parser/src/vector.h +45 -0
  90. data/lib/nokogiri/css/node.rb +1 -0
  91. data/lib/nokogiri/css/parser.rb +64 -63
  92. data/lib/nokogiri/css/parser.y +3 -3
  93. data/lib/nokogiri/css/parser_extras.rb +39 -36
  94. data/lib/nokogiri/css/syntax_error.rb +2 -1
  95. data/lib/nokogiri/css/tokenizer.rb +1 -0
  96. data/lib/nokogiri/css/xpath_visitor.rb +73 -43
  97. data/lib/nokogiri/css.rb +15 -14
  98. data/lib/nokogiri/decorators/slop.rb +1 -0
  99. data/lib/nokogiri/extension.rb +31 -0
  100. data/lib/nokogiri/gumbo.rb +14 -0
  101. data/lib/nokogiri/html.rb +32 -27
  102. data/lib/nokogiri/{html → html4}/builder.rb +3 -2
  103. data/lib/nokogiri/{html → html4}/document.rb +17 -30
  104. data/lib/nokogiri/{html → html4}/document_fragment.rb +18 -17
  105. data/lib/nokogiri/{html → html4}/element_description.rb +2 -1
  106. data/lib/nokogiri/{html → html4}/element_description_defaults.rb +2 -1
  107. data/lib/nokogiri/{html → html4}/entity_lookup.rb +2 -1
  108. data/lib/nokogiri/{html → html4}/sax/parser.rb +12 -14
  109. data/lib/nokogiri/html4/sax/parser_context.rb +19 -0
  110. data/lib/nokogiri/{html → html4}/sax/push_parser.rb +6 -5
  111. data/lib/nokogiri/html4.rb +40 -0
  112. data/lib/nokogiri/html5/document.rb +74 -0
  113. data/lib/nokogiri/html5/document_fragment.rb +80 -0
  114. data/lib/nokogiri/html5/node.rb +93 -0
  115. data/lib/nokogiri/html5.rb +473 -0
  116. data/lib/nokogiri/jruby/dependencies.rb +20 -0
  117. data/lib/nokogiri/syntax_error.rb +1 -0
  118. data/lib/nokogiri/version/constant.rb +5 -0
  119. data/lib/nokogiri/version/info.rb +215 -0
  120. data/lib/nokogiri/version.rb +3 -109
  121. data/lib/nokogiri/xml/attr.rb +1 -0
  122. data/lib/nokogiri/xml/attribute_decl.rb +1 -0
  123. data/lib/nokogiri/xml/builder.rb +41 -2
  124. data/lib/nokogiri/xml/cdata.rb +1 -0
  125. data/lib/nokogiri/xml/character_data.rb +1 -0
  126. data/lib/nokogiri/xml/document.rb +138 -41
  127. data/lib/nokogiri/xml/document_fragment.rb +5 -6
  128. data/lib/nokogiri/xml/dtd.rb +1 -0
  129. data/lib/nokogiri/xml/element_content.rb +1 -0
  130. data/lib/nokogiri/xml/element_decl.rb +1 -0
  131. data/lib/nokogiri/xml/entity_decl.rb +1 -0
  132. data/lib/nokogiri/xml/entity_reference.rb +1 -0
  133. data/lib/nokogiri/xml/namespace.rb +1 -0
  134. data/lib/nokogiri/xml/node/save_options.rb +2 -1
  135. data/lib/nokogiri/xml/node.rb +629 -293
  136. data/lib/nokogiri/xml/node_set.rb +1 -0
  137. data/lib/nokogiri/xml/notation.rb +1 -0
  138. data/lib/nokogiri/xml/parse_options.rb +12 -3
  139. data/lib/nokogiri/xml/pp/character_data.rb +1 -0
  140. data/lib/nokogiri/xml/pp/node.rb +1 -0
  141. data/lib/nokogiri/xml/pp.rb +3 -2
  142. data/lib/nokogiri/xml/processing_instruction.rb +1 -0
  143. data/lib/nokogiri/xml/reader.rb +9 -12
  144. data/lib/nokogiri/xml/relax_ng.rb +7 -2
  145. data/lib/nokogiri/xml/sax/document.rb +25 -30
  146. data/lib/nokogiri/xml/sax/parser.rb +1 -0
  147. data/lib/nokogiri/xml/sax/parser_context.rb +1 -0
  148. data/lib/nokogiri/xml/sax/push_parser.rb +1 -0
  149. data/lib/nokogiri/xml/sax.rb +5 -4
  150. data/lib/nokogiri/xml/schema.rb +13 -4
  151. data/lib/nokogiri/xml/searchable.rb +25 -16
  152. data/lib/nokogiri/xml/syntax_error.rb +1 -0
  153. data/lib/nokogiri/xml/text.rb +1 -0
  154. data/lib/nokogiri/xml/xpath/syntax_error.rb +2 -1
  155. data/lib/nokogiri/xml/xpath.rb +4 -5
  156. data/lib/nokogiri/xml/xpath_context.rb +1 -0
  157. data/lib/nokogiri/xml.rb +36 -36
  158. data/lib/nokogiri/xslt/stylesheet.rb +2 -1
  159. data/lib/nokogiri/xslt.rb +17 -16
  160. data/lib/nokogiri.rb +32 -51
  161. data/lib/xsd/xmlparser/nokogiri.rb +1 -0
  162. data/patches/libxml2/{0002-Remove-script-macro-support.patch → 0001-Remove-script-macro-support.patch} +0 -0
  163. data/patches/libxml2/{0003-Update-entities-to-remove-handling-of-ssi.patch → 0002-Update-entities-to-remove-handling-of-ssi.patch} +0 -0
  164. data/patches/libxml2/{0004-libxml2.la-is-in-top_builddir.patch → 0003-libxml2.la-is-in-top_builddir.patch} +1 -1
  165. data/patches/libxml2/0004-use-glibc-strlen.patch +53 -0
  166. data/patches/libxml2/0005-avoid-isnan-isinf.patch +81 -0
  167. data/patches/libxml2/0006-update-automake-files-for-arm64.patch +2511 -0
  168. data/patches/libxml2/0007-Fix-XPath-recursion-limit.patch +31 -0
  169. data/patches/libxslt/0001-update-automake-files-for-arm64.patch +2511 -0
  170. data/patches/libxslt/0002-Fix-xml2-config-check-in-configure-script.patch +19 -0
  171. data/ports/archives/libxml2-2.9.12.tar.gz +0 -0
  172. metadata +139 -161
  173. data/ext/nokogiri/html_document.c +0 -170
  174. data/ext/nokogiri/html_document.h +0 -10
  175. data/ext/nokogiri/html_element_description.c +0 -279
  176. data/ext/nokogiri/html_element_description.h +0 -10
  177. data/ext/nokogiri/html_entity_lookup.c +0 -32
  178. data/ext/nokogiri/html_entity_lookup.h +0 -8
  179. data/ext/nokogiri/html_sax_parser_context.c +0 -116
  180. data/ext/nokogiri/html_sax_parser_context.h +0 -11
  181. data/ext/nokogiri/html_sax_push_parser.c +0 -87
  182. data/ext/nokogiri/html_sax_push_parser.h +0 -9
  183. data/ext/nokogiri/xml_attr.h +0 -9
  184. data/ext/nokogiri/xml_attribute_decl.h +0 -9
  185. data/ext/nokogiri/xml_cdata.h +0 -9
  186. data/ext/nokogiri/xml_comment.h +0 -9
  187. data/ext/nokogiri/xml_document.h +0 -23
  188. data/ext/nokogiri/xml_document_fragment.h +0 -10
  189. data/ext/nokogiri/xml_dtd.h +0 -10
  190. data/ext/nokogiri/xml_element_content.h +0 -10
  191. data/ext/nokogiri/xml_element_decl.h +0 -9
  192. data/ext/nokogiri/xml_encoding_handler.h +0 -8
  193. data/ext/nokogiri/xml_entity_decl.h +0 -10
  194. data/ext/nokogiri/xml_entity_reference.h +0 -9
  195. data/ext/nokogiri/xml_io.c +0 -61
  196. data/ext/nokogiri/xml_io.h +0 -11
  197. data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  198. data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  199. data/ext/nokogiri/xml_namespace.h +0 -14
  200. data/ext/nokogiri/xml_node.h +0 -13
  201. data/ext/nokogiri/xml_node_set.h +0 -12
  202. data/ext/nokogiri/xml_processing_instruction.h +0 -9
  203. data/ext/nokogiri/xml_reader.h +0 -10
  204. data/ext/nokogiri/xml_relax_ng.h +0 -9
  205. data/ext/nokogiri/xml_sax_parser.h +0 -39
  206. data/ext/nokogiri/xml_sax_parser_context.h +0 -10
  207. data/ext/nokogiri/xml_sax_push_parser.h +0 -9
  208. data/ext/nokogiri/xml_schema.h +0 -9
  209. data/ext/nokogiri/xml_syntax_error.h +0 -13
  210. data/ext/nokogiri/xml_text.h +0 -9
  211. data/ext/nokogiri/xml_xpath_context.h +0 -10
  212. data/ext/nokogiri/xslt_stylesheet.h +0 -14
  213. data/lib/nokogiri/html/sax/parser_context.rb +0 -16
  214. data/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +0 -78
  215. data/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch +0 -32
  216. data/ports/archives/libxml2-2.9.10.tar.gz +0 -0
@@ -1,252 +1,122 @@
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
+ <!-- regenerate TOC with `markdown-toc -i` -->
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
+ <!-- toc -->
16
10
 
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.
11
+ - [Platform Releases](#platform-releases)
12
+ * [Default platform release ("ruby")](#default-platform-release-ruby)
13
+ * [Native LinuxⓇ platform releases ("x86_64-linux" and "arm64-linux")](#native-linux%E2%93%A1-platform-releases-x86_64-linux-and-arm64-linux)
14
+ * [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)
15
+ * [Native WindowsⓇ platform releases ("x86-mingw32" and "x64-mingw32")](#native-windows%E2%93%A1-platform-releases-x86-mingw32-and-x64-mingw32)
16
+ * [JavaⓇ (JRuby) platform release ("java")](#java%E2%93%A1-jruby-platform-release-java)
17
+ - [Appendix: Dependencies' License Texts](#appendix-dependencies-license-texts)
18
+ * [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
19
+ * [libxml2](#libxml2)
20
+ * [libxslt](#libxslt)
21
+ * [zlib](#zlib)
22
+ * [libiconv](#libiconv)
23
+ * [isorelax](#isorelax)
24
+ * [jing](#jing)
25
+ * [nekodtd](#nekodtd)
26
+ * [nekohtml](#nekohtml)
27
+ * [xalan](#xalan)
28
+ * [xerces](#xerces)
29
+ * [xml-apis](#xml-apis)
22
30
 
23
- -----
31
+ <!-- tocstop -->
24
32
 
25
- ## default platform release
33
+ Anyone consuming this file via license-tracking software should endeavor 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.
26
34
 
27
- ### libxml2
35
+ 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`).
28
36
 
29
- MIT
37
+ 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.
30
38
 
31
- http://xmlsoft.org/
32
39
 
33
- Except where otherwise noted in the source code (e.g. the files hash.c,
34
- list.c and the trio files, which are covered by a similar licence but
35
- with different Copyright notices) all the files are:
36
-
37
- Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
38
-
39
- Permission is hereby granted, free of charge, to any person obtaining a copy
40
- of this software and associated documentation files (the "Software"), to deal
41
- in the Software without restriction, including without limitation the rights
42
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
- copies of the Software, and to permit persons to whom the Software is fur-
44
- nished to do so, subject to the following conditions:
45
-
46
- The above copyright notice and this permission notice shall be included in
47
- all copies or substantial portions of the Software.
48
-
49
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
51
- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
55
- THE SOFTWARE.
56
-
40
+ ## Platform Releases
57
41
 
58
- ### libxslt
42
+ ### Default platform release ("ruby")
59
43
 
60
- MIT
44
+ The default platform release distributes the following dependencies in source form:
61
45
 
62
- http://xmlsoft.org/libxslt/
46
+ - [libxml2](#libxml2)
47
+ - [libxslt](#libxslt)
48
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
63
49
 
64
- Licence for libxslt except libexslt
65
- ----------------------------------------------------------------------
66
- Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
67
-
68
- Permission is hereby granted, free of charge, to any person obtaining a copy
69
- of this software and associated documentation files (the "Software"), to deal
70
- in the Software without restriction, including without limitation the rights
71
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
- copies of the Software, and to permit persons to whom the Software is fur-
73
- nished to do so, subject to the following conditions:
74
-
75
- The above copyright notice and this permission notice shall be included in
76
- all copies or substantial portions of the Software.
77
-
78
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
80
- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
- DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
82
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
83
- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
84
-
85
- Except as contained in this notice, the name of Daniel Veillard shall not
86
- be used in advertising or otherwise to promote the sale, use or other deal-
87
- ings in this Software without prior written authorization from him.
88
-
89
- ----------------------------------------------------------------------
90
-
91
- Licence for libexslt
92
- ----------------------------------------------------------------------
93
- Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
94
- All Rights Reserved.
95
-
96
- Permission is hereby granted, free of charge, to any person obtaining a copy
97
- of this software and associated documentation files (the "Software"), to deal
98
- in the Software without restriction, including without limitation the rights
99
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
100
- copies of the Software, and to permit persons to whom the Software is fur-
101
- nished to do so, subject to the following conditions:
102
-
103
- The above copyright notice and this permission notice shall be included in
104
- all copies or substantial portions of the Software.
105
-
106
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
107
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
108
- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
109
- AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
110
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
111
- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
112
-
113
- Except as contained in this notice, the name of the authors shall not
114
- be used in advertising or otherwise to promote the sale, use or other deal-
115
- ings in this Software without prior written authorization from him.
116
- ----------------------------------------------------------------------
117
-
118
- ## `java` platform release
50
+ This distribution can be identified by inspecting the included Gem::Specification, which will have the value "ruby" for its "platform" attribute.
119
51
 
120
- ### isorelax
121
52
 
122
- MIT
53
+ ### Native LinuxⓇ platform releases ("x86_64-linux" and "arm64-linux")
123
54
 
124
- http://iso-relax.sourceforge.net/
55
+ The native LinuxⓇ platform release distributes the following dependencies in source form:
125
56
 
126
- Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
127
- Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
128
-
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:
136
-
137
- The above copyright notice and this permission notice shall be
138
- included in all copies or substantial portions of the Software.
139
-
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.
57
+ - [libxml2](#libxml2)
58
+ - [libxslt](#libxslt)
59
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
60
+ - [zlib](#zlib)
147
61
 
62
+ 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.
148
63
 
149
- ### jing
150
64
 
151
- BSD-3-Clause
65
+ ### Native Darwin (macOSⓇ) platform releases ("x86_64-darwin" and "arm64-darwin")
152
66
 
153
- http://www.thaiopensource.com/relaxng/jing.html
67
+ The native Darwin platform release distributes the following dependencies in source form:
154
68
 
155
- Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
156
- All rights reserved.
157
-
158
- Redistribution and use in source and binary forms, with or without
159
- modification, are permitted provided that the following conditions
160
- are met:
161
-
162
- * Redistributions of source code must retain the above copyright
163
- notice, this list of conditions and the following disclaimer.
164
-
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.
169
-
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.
174
-
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.
69
+ - [libxml2](#libxml2)
70
+ - [libxslt](#libxslt)
71
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
72
+ - [zlib](#zlib)
73
+ - [libiconv](#libiconv)
188
74
 
189
-
190
- ### nekodtd
75
+ 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.
191
76
 
192
- Apache 1.0-derived
193
77
 
194
- https://people.apache.org/~andyc/neko/doc/dtd/
78
+ ### Native WindowsⓇ platform releases ("x86-mingw32" and "x64-mingw32")
195
79
 
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:
203
-
204
- 1. Redistributions of source code must retain the above copyright
205
- notice, this list of conditions and the following disclaimer.
206
-
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.
211
-
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.
217
-
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.
222
-
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.
226
-
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.
238
-
239
- ====================================================================
240
-
241
- This license is based on the Apache Software License, version 1.1.
80
+ The native WindowsⓇ platform release distributes the following dependencies in source form:
242
81
 
243
- ### nekohtml
82
+ - [libxml2](#libxml2)
83
+ - [libxslt](#libxslt)
84
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
85
+ - [zlib](#zlib)
86
+ - [libiconv](#libiconv)
87
+
88
+ 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.
89
+
90
+
91
+ ### JavaⓇ (JRuby) platform release ("java")
92
+
93
+ The Java platform release distributes the following dependencies as compiled jar files:
94
+
95
+ - [isorelax](#isorelax)
96
+ - [jing](#jing)
97
+ - [nekodtd](#nekodtd)
98
+ - [nekohtml](#nekohtml)
99
+ - [xalan](#xalan)
100
+ - [xerces](#xerces)
101
+ - [xml-apis](#xml-apis)
102
+
103
+ This distribution can be identified by inspecting the included Gem::Specification, which will have the value "java" for its "platform.os" attribute.
104
+
105
+
106
+ ## Appendix: Dependencies' License Texts
107
+
108
+ This section contains a subsection for each potentially-distributed dependency, which includes the name of the license and the license text.
109
+
110
+ Please see previous sections to understand which of these potential dependencies is actually distributed in the gem file you're downloading and using.
111
+
112
+
113
+ ### libgumbo and nokogumbo
244
114
 
245
115
  Apache 2.0
246
116
 
247
- http://nekohtml.sourceforge.net/
117
+ https://github.com/rubys/nokogumbo/blob/f6a7412/LICENSE.txt
118
+
248
119
 
249
-
250
120
  Apache License
251
121
  Version 2.0, January 2004
252
122
  http://www.apache.org/licenses/
@@ -448,232 +318,755 @@ http://nekohtml.sourceforge.net/
448
318
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
449
319
  See the License for the specific language governing permissions and
450
320
  limitations under the License.
321
+
451
322
 
452
- ### xalan
453
-
454
- Apache 2.0
323
+ ### libxml2
455
324
 
456
- https://xml.apache.org/xalan-j/
325
+ MIT
457
326
 
458
- covers xalan.jar and serializer.jar
327
+ http://xmlsoft.org/
459
328
 
460
- Apache License
461
- Version 2.0, January 2004
462
- http://www.apache.org/licenses/
463
-
464
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
329
+ Except where otherwise noted in the source code (e.g. the files hash.c,
330
+ list.c and the trio files, which are covered by a similar licence but
331
+ with different Copyright notices) all the files are:
465
332
 
466
- 1. Definitions.
333
+ Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
467
334
 
468
- "License" shall mean the terms and conditions for use, reproduction,
469
- and distribution as defined by Sections 1 through 9 of this document.
335
+ Permission is hereby granted, free of charge, to any person obtaining a copy
336
+ of this software and associated documentation files (the "Software"), to deal
337
+ in the Software without restriction, including without limitation the rights
338
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
339
+ copies of the Software, and to permit persons to whom the Software is fur-
340
+ nished to do so, subject to the following conditions:
470
341
 
471
- "Licensor" shall mean the copyright owner or entity authorized by
472
- the copyright owner that is granting the License.
342
+ The above copyright notice and this permission notice shall be included in
343
+ all copies or substantial portions of the Software.
473
344
 
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.
345
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
346
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
347
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
348
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
349
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
350
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
351
+ THE SOFTWARE.
481
352
 
482
- "You" (or "Your") shall mean an individual or Legal Entity
483
- exercising permissions granted by this License.
484
-
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.
488
-
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.
493
-
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).
498
-
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.
506
-
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."
520
-
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.
524
-
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.
531
-
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.
547
-
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:
552
-
553
- (a) You must give any other recipients of the Work or
554
- Derivative Works a copy of this License; and
555
-
556
- (b) You must cause any modified files to carry prominent notices
557
- stating that You changed the files; and
353
+
354
+ ### libxslt
355
+
356
+ MIT
357
+
358
+ http://xmlsoft.org/libxslt/
359
+
360
+ Licence for libxslt except libexslt
361
+ ----------------------------------------------------------------------
362
+ Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
558
363
 
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
364
+ Permission is hereby granted, free of charge, to any person obtaining a copy
365
+ of this software and associated documentation files (the "Software"), to deal
366
+ in the Software without restriction, including without limitation the rights
367
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
368
+ copies of the Software, and to permit persons to whom the Software is fur-
369
+ nished to do so, subject to the following conditions:
564
370
 
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.
371
+ The above copyright notice and this permission notice shall be included in
372
+ all copies or substantial portions of the Software.
581
373
 
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.
374
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
375
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
376
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
377
+ DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
378
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
379
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
588
380
 
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.
381
+ Except as contained in this notice, the name of Daniel Veillard shall not
382
+ be used in advertising or otherwise to promote the sale, use or other deal-
383
+ ings in this Software without prior written authorization from him.
596
384
 
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.
385
+ ----------------------------------------------------------------------
601
386
 
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.
387
+ Licence for libexslt
388
+ ----------------------------------------------------------------------
389
+ Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
390
+ All Rights Reserved.
611
391
 
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.
392
+ Permission is hereby granted, free of charge, to any person obtaining a copy
393
+ of this software and associated documentation files (the "Software"), to deal
394
+ in the Software without restriction, including without limitation the rights
395
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
396
+ copies of the Software, and to permit persons to whom the Software is fur-
397
+ nished to do so, subject to the following conditions:
623
398
 
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.
399
+ The above copyright notice and this permission notice shall be included in
400
+ all copies or substantial portions of the Software.
634
401
 
635
- END OF TERMS AND CONDITIONS
402
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
403
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
404
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
405
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
406
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
407
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
636
408
 
637
- APPENDIX: How to apply the Apache License to your work.
409
+ Except as contained in this notice, the name of the authors shall not
410
+ be used in advertising or otherwise to promote the sale, use or other deal-
411
+ ings in this Software without prior written authorization from him.
412
+ ----------------------------------------------------------------------
638
413
 
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.
414
+
415
+ ### zlib
416
+
417
+ zlib license
418
+
419
+ http://www.zlib.net/zlib_license.html
420
+
421
+ Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
647
422
 
648
- Copyright [yyyy] [name of copyright owner]
423
+ This software is provided 'as-is', without any express or implied
424
+ warranty. In no event will the authors be held liable for any damages
425
+ arising from the use of this software.
649
426
 
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
427
+ Permission is granted to anyone to use this software for any purpose,
428
+ including commercial applications, and to alter it and redistribute it
429
+ freely, subject to the following restrictions:
653
430
 
654
- http://www.apache.org/licenses/LICENSE-2.0
431
+ 1. The origin of this software must not be misrepresented; you must not
432
+ claim that you wrote the original software. If you use this software
433
+ in a product, an acknowledgment in the product documentation would be
434
+ appreciated but is not required.
435
+ 2. Altered source versions must be plainly marked as such, and must not be
436
+ misrepresented as being the original software.
437
+ 3. This notice may not be removed or altered from any source distribution.
655
438
 
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.
439
+ Jean-loup Gailly Mark Adler
440
+ jloup@gzip.org madler@alumni.caltech.edu
661
441
 
662
442
 
663
- ### xerces
443
+ ### libiconv
664
444
 
665
- Apache 2.0
445
+ LGPL
666
446
 
667
- https://xerces.apache.org/xerces2-j/
447
+ https://www.gnu.org/software/libiconv/
668
448
 
449
+ GNU LIBRARY GENERAL PUBLIC LICENSE
450
+ Version 2, June 1991
669
451
 
670
- Apache License
671
- Version 2.0, January 2004
672
- http://www.apache.org/licenses/
452
+ Copyright (C) 1991 Free Software Foundation, Inc.
453
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
454
+ Everyone is permitted to copy and distribute verbatim copies
455
+ of this license document, but changing it is not allowed.
673
456
 
674
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
457
+ [This is the first released version of the library GPL. It is
458
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
675
459
 
676
- 1. Definitions.
460
+ Preamble
461
+
462
+ The licenses for most software are designed to take away your
463
+ freedom to share and change it. By contrast, the GNU General Public
464
+ Licenses are intended to guarantee your freedom to share and change
465
+ free software--to make sure the software is free for all its users.
466
+
467
+ This license, the Library General Public License, applies to some
468
+ specially designated Free Software Foundation software, and to any
469
+ other libraries whose authors decide to use it. You can use it for
470
+ your libraries, too.
471
+
472
+ When we speak of free software, we are referring to freedom, not
473
+ price. Our General Public Licenses are designed to make sure that you
474
+ have the freedom to distribute copies of free software (and charge for
475
+ this service if you wish), that you receive source code or can get it
476
+ if you want it, that you can change the software or use pieces of it
477
+ in new free programs; and that you know you can do these things.
478
+
479
+ To protect your rights, we need to make restrictions that forbid
480
+ anyone to deny you these rights or to ask you to surrender the rights.
481
+ These restrictions translate to certain responsibilities for you if
482
+ you distribute copies of the library, or if you modify it.
483
+
484
+ For example, if you distribute copies of the library, whether gratis
485
+ or for a fee, you must give the recipients all the rights that we gave
486
+ you. You must make sure that they, too, receive or can get the source
487
+ code. If you link a program with the library, you must provide
488
+ complete object files to the recipients so that they can relink them
489
+ with the library, after making changes to the library and recompiling
490
+ it. And you must show them these terms so they know their rights.
491
+
492
+ Our method of protecting your rights has two steps: (1) copyright
493
+ the library, and (2) offer you this license which gives you legal
494
+ permission to copy, distribute and/or modify the library.
495
+
496
+ Also, for each distributor's protection, we want to make certain
497
+ that everyone understands that there is no warranty for this free
498
+ library. If the library is modified by someone else and passed on, we
499
+ want its recipients to know that what they have is not the original
500
+ version, so that any problems introduced by others will not reflect on
501
+ the original authors' reputations.
502
+
503
+ Finally, any free program is threatened constantly by software
504
+ patents. We wish to avoid the danger that companies distributing free
505
+ software will individually obtain patent licenses, thus in effect
506
+ transforming the program into proprietary software. To prevent this,
507
+ we have made it clear that any patent must be licensed for everyone's
508
+ free use or not licensed at all.
509
+
510
+ Most GNU software, including some libraries, is covered by the ordinary
511
+ GNU General Public License, which was designed for utility programs. This
512
+ license, the GNU Library General Public License, applies to certain
513
+ designated libraries. This license is quite different from the ordinary
514
+ one; be sure to read it in full, and don't assume that anything in it is
515
+ the same as in the ordinary license.
516
+
517
+ The reason we have a separate public license for some libraries is that
518
+ they blur the distinction we usually make between modifying or adding to a
519
+ program and simply using it. Linking a program with a library, without
520
+ changing the library, is in some sense simply using the library, and is
521
+ analogous to running a utility program or application program. However, in
522
+ a textual and legal sense, the linked executable is a combined work, a
523
+ derivative of the original library, and the ordinary General Public License
524
+ treats it as such.
525
+
526
+ Because of this blurred distinction, using the ordinary General
527
+ Public License for libraries did not effectively promote software
528
+ sharing, because most developers did not use the libraries. We
529
+ concluded that weaker conditions might promote sharing better.
530
+
531
+ However, unrestricted linking of non-free programs would deprive the
532
+ users of those programs of all benefit from the free status of the
533
+ libraries themselves. This Library General Public License is intended to
534
+ permit developers of non-free programs to use free libraries, while
535
+ preserving your freedom as a user of such programs to change the free
536
+ libraries that are incorporated in them. (We have not seen how to achieve
537
+ this as regards changes in header files, but we have achieved it as regards
538
+ changes in the actual functions of the Library.) The hope is that this
539
+ will lead to faster development of free libraries.
540
+
541
+ The precise terms and conditions for copying, distribution and
542
+ modification follow. Pay close attention to the difference between a
543
+ "work based on the library" and a "work that uses the library". The
544
+ former contains code derived from the library, while the latter only
545
+ works together with the library.
546
+
547
+ Note that it is possible for a library to be covered by the ordinary
548
+ General Public License rather than by this special one.
549
+
550
+ GNU LIBRARY GENERAL PUBLIC LICENSE
551
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
552
+
553
+ 0. This License Agreement applies to any software library which
554
+ contains a notice placed by the copyright holder or other authorized
555
+ party saying it may be distributed under the terms of this Library
556
+ General Public License (also called "this License"). Each licensee is
557
+ addressed as "you".
558
+
559
+ A "library" means a collection of software functions and/or data
560
+ prepared so as to be conveniently linked with application programs
561
+ (which use some of those functions and data) to form executables.
562
+
563
+ The "Library", below, refers to any such software library or work
564
+ which has been distributed under these terms. A "work based on the
565
+ Library" means either the Library or any derivative work under
566
+ copyright law: that is to say, a work containing the Library or a
567
+ portion of it, either verbatim or with modifications and/or translated
568
+ straightforwardly into another language. (Hereinafter, translation is
569
+ included without limitation in the term "modification".)
570
+
571
+ "Source code" for a work means the preferred form of the work for
572
+ making modifications to it. For a library, complete source code means
573
+ all the source code for all modules it contains, plus any associated
574
+ interface definition files, plus the scripts used to control compilation
575
+ and installation of the library.
576
+
577
+ Activities other than copying, distribution and modification are not
578
+ covered by this License; they are outside its scope. The act of
579
+ running a program using the Library is not restricted, and output from
580
+ such a program is covered only if its contents constitute a work based
581
+ on the Library (independent of the use of the Library in a tool for
582
+ writing it). Whether that is true depends on what the Library does
583
+ and what the program that uses the Library does.
584
+
585
+ 1. You may copy and distribute verbatim copies of the Library's
586
+ complete source code as you receive it, in any medium, provided that
587
+ you conspicuously and appropriately publish on each copy an
588
+ appropriate copyright notice and disclaimer of warranty; keep intact
589
+ all the notices that refer to this License and to the absence of any
590
+ warranty; and distribute a copy of this License along with the
591
+ Library.
592
+
593
+ You may charge a fee for the physical act of transferring a copy,
594
+ and you may at your option offer warranty protection in exchange for a
595
+ fee.
596
+
597
+ 2. You may modify your copy or copies of the Library or any portion
598
+ of it, thus forming a work based on the Library, and copy and
599
+ distribute such modifications or work under the terms of Section 1
600
+ above, provided that you also meet all of these conditions:
601
+
602
+ a) The modified work must itself be a software library.
603
+
604
+ b) You must cause the files modified to carry prominent notices
605
+ stating that you changed the files and the date of any change.
606
+
607
+ c) You must cause the whole of the work to be licensed at no
608
+ charge to all third parties under the terms of this License.
609
+
610
+ d) If a facility in the modified Library refers to a function or a
611
+ table of data to be supplied by an application program that uses
612
+ the facility, other than as an argument passed when the facility
613
+ is invoked, then you must make a good faith effort to ensure that,
614
+ in the event an application does not supply such function or
615
+ table, the facility still operates, and performs whatever part of
616
+ its purpose remains meaningful.
617
+
618
+ (For example, a function in a library to compute square roots has
619
+ a purpose that is entirely well-defined independent of the
620
+ application. Therefore, Subsection 2d requires that any
621
+ application-supplied function or table used by this function must
622
+ be optional: if the application does not supply it, the square
623
+ root function must still compute square roots.)
624
+
625
+ These requirements apply to the modified work as a whole. If
626
+ identifiable sections of that work are not derived from the Library,
627
+ and can be reasonably considered independent and separate works in
628
+ themselves, then this License, and its terms, do not apply to those
629
+ sections when you distribute them as separate works. But when you
630
+ distribute the same sections as part of a whole which is a work based
631
+ on the Library, the distribution of the whole must be on the terms of
632
+ this License, whose permissions for other licensees extend to the
633
+ entire whole, and thus to each and every part regardless of who wrote
634
+ it.
635
+
636
+ Thus, it is not the intent of this section to claim rights or contest
637
+ your rights to work written entirely by you; rather, the intent is to
638
+ exercise the right to control the distribution of derivative or
639
+ collective works based on the Library.
640
+
641
+ In addition, mere aggregation of another work not based on the Library
642
+ with the Library (or with a work based on the Library) on a volume of
643
+ a storage or distribution medium does not bring the other work under
644
+ the scope of this License.
645
+
646
+ 3. You may opt to apply the terms of the ordinary GNU General Public
647
+ License instead of this License to a given copy of the Library. To do
648
+ this, you must alter all the notices that refer to this License, so
649
+ that they refer to the ordinary GNU General Public License, version 2,
650
+ instead of to this License. (If a newer version than version 2 of the
651
+ ordinary GNU General Public License has appeared, then you can specify
652
+ that version instead if you wish.) Do not make any other change in
653
+ these notices.
654
+
655
+ Once this change is made in a given copy, it is irreversible for
656
+ that copy, so the ordinary GNU General Public License applies to all
657
+ subsequent copies and derivative works made from that copy.
658
+
659
+ This option is useful when you wish to copy part of the code of
660
+ the Library into a program that is not a library.
661
+
662
+ 4. You may copy and distribute the Library (or a portion or
663
+ derivative of it, under Section 2) in object code or executable form
664
+ under the terms of Sections 1 and 2 above provided that you accompany
665
+ it with the complete corresponding machine-readable source code, which
666
+ must be distributed under the terms of Sections 1 and 2 above on a
667
+ medium customarily used for software interchange.
668
+
669
+ If distribution of object code is made by offering access to copy
670
+ from a designated place, then offering equivalent access to copy the
671
+ source code from the same place satisfies the requirement to
672
+ distribute the source code, even though third parties are not
673
+ compelled to copy the source along with the object code.
674
+
675
+ 5. A program that contains no derivative of any portion of the
676
+ Library, but is designed to work with the Library by being compiled or
677
+ linked with it, is called a "work that uses the Library". Such a
678
+ work, in isolation, is not a derivative work of the Library, and
679
+ therefore falls outside the scope of this License.
680
+
681
+ However, linking a "work that uses the Library" with the Library
682
+ creates an executable that is a derivative of the Library (because it
683
+ contains portions of the Library), rather than a "work that uses the
684
+ library". The executable is therefore covered by this License.
685
+ Section 6 states terms for distribution of such executables.
686
+
687
+ When a "work that uses the Library" uses material from a header file
688
+ that is part of the Library, the object code for the work may be a
689
+ derivative work of the Library even though the source code is not.
690
+ Whether this is true is especially significant if the work can be
691
+ linked without the Library, or if the work is itself a library. The
692
+ threshold for this to be true is not precisely defined by law.
693
+
694
+ If such an object file uses only numerical parameters, data
695
+ structure layouts and accessors, and small macros and small inline
696
+ functions (ten lines or less in length), then the use of the object
697
+ file is unrestricted, regardless of whether it is legally a derivative
698
+ work. (Executables containing this object code plus portions of the
699
+ Library will still fall under Section 6.)
700
+
701
+ Otherwise, if the work is a derivative of the Library, you may
702
+ distribute the object code for the work under the terms of Section 6.
703
+ Any executables containing that work also fall under Section 6,
704
+ whether or not they are linked directly with the Library itself.
705
+
706
+ 6. As an exception to the Sections above, you may also compile or
707
+ link a "work that uses the Library" with the Library to produce a
708
+ work containing portions of the Library, and distribute that work
709
+ under terms of your choice, provided that the terms permit
710
+ modification of the work for the customer's own use and reverse
711
+ engineering for debugging such modifications.
712
+
713
+ You must give prominent notice with each copy of the work that the
714
+ Library is used in it and that the Library and its use are covered by
715
+ this License. You must supply a copy of this License. If the work
716
+ during execution displays copyright notices, you must include the
717
+ copyright notice for the Library among them, as well as a reference
718
+ directing the user to the copy of this License. Also, you must do one
719
+ of these things:
720
+
721
+ a) Accompany the work with the complete corresponding
722
+ machine-readable source code for the Library including whatever
723
+ changes were used in the work (which must be distributed under
724
+ Sections 1 and 2 above); and, if the work is an executable linked
725
+ with the Library, with the complete machine-readable "work that
726
+ uses the Library", as object code and/or source code, so that the
727
+ user can modify the Library and then relink to produce a modified
728
+ executable containing the modified Library. (It is understood
729
+ that the user who changes the contents of definitions files in the
730
+ Library will not necessarily be able to recompile the application
731
+ to use the modified definitions.)
732
+
733
+ b) Accompany the work with a written offer, valid for at
734
+ least three years, to give the same user the materials
735
+ specified in Subsection 6a, above, for a charge no more
736
+ than the cost of performing this distribution.
737
+
738
+ c) If distribution of the work is made by offering access to copy
739
+ from a designated place, offer equivalent access to copy the above
740
+ specified materials from the same place.
741
+
742
+ d) Verify that the user has already received a copy of these
743
+ materials or that you have already sent this user a copy.
744
+
745
+ For an executable, the required form of the "work that uses the
746
+ Library" must include any data and utility programs needed for
747
+ reproducing the executable from it. However, as a special exception,
748
+ the source code distributed need not include anything that is normally
749
+ distributed (in either source or binary form) with the major
750
+ components (compiler, kernel, and so on) of the operating system on
751
+ which the executable runs, unless that component itself accompanies
752
+ the executable.
753
+
754
+ It may happen that this requirement contradicts the license
755
+ restrictions of other proprietary libraries that do not normally
756
+ accompany the operating system. Such a contradiction means you cannot
757
+ use both them and the Library together in an executable that you
758
+ distribute.
759
+
760
+ 7. You may place library facilities that are a work based on the
761
+ Library side-by-side in a single library together with other library
762
+ facilities not covered by this License, and distribute such a combined
763
+ library, provided that the separate distribution of the work based on
764
+ the Library and of the other library facilities is otherwise
765
+ permitted, and provided that you do these two things:
766
+
767
+ a) Accompany the combined library with a copy of the same work
768
+ based on the Library, uncombined with any other library
769
+ facilities. This must be distributed under the terms of the
770
+ Sections above.
771
+
772
+ b) Give prominent notice with the combined library of the fact
773
+ that part of it is a work based on the Library, and explaining
774
+ where to find the accompanying uncombined form of the same work.
775
+
776
+ 8. You may not copy, modify, sublicense, link with, or distribute
777
+ the Library except as expressly provided under this License. Any
778
+ attempt otherwise to copy, modify, sublicense, link with, or
779
+ distribute the Library is void, and will automatically terminate your
780
+ rights under this License. However, parties who have received copies,
781
+ or rights, from you under this License will not have their licenses
782
+ terminated so long as such parties remain in full compliance.
783
+
784
+ 9. You are not required to accept this License, since you have not
785
+ signed it. However, nothing else grants you permission to modify or
786
+ distribute the Library or its derivative works. These actions are
787
+ prohibited by law if you do not accept this License. Therefore, by
788
+ modifying or distributing the Library (or any work based on the
789
+ Library), you indicate your acceptance of this License to do so, and
790
+ all its terms and conditions for copying, distributing or modifying
791
+ the Library or works based on it.
792
+
793
+ 10. Each time you redistribute the Library (or any work based on the
794
+ Library), the recipient automatically receives a license from the
795
+ original licensor to copy, distribute, link with or modify the Library
796
+ subject to these terms and conditions. You may not impose any further
797
+ restrictions on the recipients' exercise of the rights granted herein.
798
+ You are not responsible for enforcing compliance by third parties to
799
+ this License.
800
+
801
+ 11. If, as a consequence of a court judgment or allegation of patent
802
+ infringement or for any other reason (not limited to patent issues),
803
+ conditions are imposed on you (whether by court order, agreement or
804
+ otherwise) that contradict the conditions of this License, they do not
805
+ excuse you from the conditions of this License. If you cannot
806
+ distribute so as to satisfy simultaneously your obligations under this
807
+ License and any other pertinent obligations, then as a consequence you
808
+ may not distribute the Library at all. For example, if a patent
809
+ license would not permit royalty-free redistribution of the Library by
810
+ all those who receive copies directly or indirectly through you, then
811
+ the only way you could satisfy both it and this License would be to
812
+ refrain entirely from distribution of the Library.
813
+
814
+ If any portion of this section is held invalid or unenforceable under any
815
+ particular circumstance, the balance of the section is intended to apply,
816
+ and the section as a whole is intended to apply in other circumstances.
817
+
818
+ It is not the purpose of this section to induce you to infringe any
819
+ patents or other property right claims or to contest validity of any
820
+ such claims; this section has the sole purpose of protecting the
821
+ integrity of the free software distribution system which is
822
+ implemented by public license practices. Many people have made
823
+ generous contributions to the wide range of software distributed
824
+ through that system in reliance on consistent application of that
825
+ system; it is up to the author/donor to decide if he or she is willing
826
+ to distribute software through any other system and a licensee cannot
827
+ impose that choice.
828
+
829
+ This section is intended to make thoroughly clear what is believed to
830
+ be a consequence of the rest of this License.
831
+
832
+ 12. If the distribution and/or use of the Library is restricted in
833
+ certain countries either by patents or by copyrighted interfaces, the
834
+ original copyright holder who places the Library under this License may add
835
+ an explicit geographical distribution limitation excluding those countries,
836
+ so that distribution is permitted only in or among countries not thus
837
+ excluded. In such case, this License incorporates the limitation as if
838
+ written in the body of this License.
839
+
840
+ 13. The Free Software Foundation may publish revised and/or new
841
+ versions of the Library General Public License from time to time.
842
+ Such new versions will be similar in spirit to the present version,
843
+ but may differ in detail to address new problems or concerns.
844
+
845
+ Each version is given a distinguishing version number. If the Library
846
+ specifies a version number of this License which applies to it and
847
+ "any later version", you have the option of following the terms and
848
+ conditions either of that version or of any later version published by
849
+ the Free Software Foundation. If the Library does not specify a
850
+ license version number, you may choose any version ever published by
851
+ the Free Software Foundation.
852
+
853
+ 14. If you wish to incorporate parts of the Library into other free
854
+ programs whose distribution conditions are incompatible with these,
855
+ write to the author to ask for permission. For software which is
856
+ copyrighted by the Free Software Foundation, write to the Free
857
+ Software Foundation; we sometimes make exceptions for this. Our
858
+ decision will be guided by the two goals of preserving the free status
859
+ of all derivatives of our free software and of promoting the sharing
860
+ and reuse of software generally.
861
+
862
+ NO WARRANTY
863
+
864
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
865
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
866
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
867
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
868
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
869
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
870
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
871
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
872
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
873
+
874
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
875
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
876
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
877
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
878
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
879
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
880
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
881
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
882
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
883
+ DAMAGES.
884
+
885
+ END OF TERMS AND CONDITIONS
886
+
887
+ Appendix: How to Apply These Terms to Your New Libraries
888
+
889
+ If you develop a new library, and you want it to be of the greatest
890
+ possible use to the public, we recommend making it free software that
891
+ everyone can redistribute and change. You can do so by permitting
892
+ redistribution under these terms (or, alternatively, under the terms of the
893
+ ordinary General Public License).
894
+
895
+ To apply these terms, attach the following notices to the library. It is
896
+ safest to attach them to the start of each source file to most effectively
897
+ convey the exclusion of warranty; and each file should have at least the
898
+ "copyright" line and a pointer to where the full notice is found.
899
+
900
+ <one line to give the library's name and a brief idea of what it does.>
901
+ Copyright (C) <year> <name of author>
902
+
903
+ This library is free software; you can redistribute it and/or
904
+ modify it under the terms of the GNU Library General Public
905
+ License as published by the Free Software Foundation; either
906
+ version 2 of the License, or (at your option) any later version.
907
+
908
+ This library is distributed in the hope that it will be useful,
909
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
910
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
911
+ Library General Public License for more details.
912
+
913
+ You should have received a copy of the GNU Library General Public
914
+ License along with this library; if not, write to the Free
915
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
916
+ MA 02110-1301, USA
917
+
918
+ Also add information on how to contact you by electronic and paper mail.
919
+
920
+ You should also get your employer (if you work as a programmer) or your
921
+ school, if any, to sign a "copyright disclaimer" for the library, if
922
+ necessary. Here is a sample; alter the names:
923
+
924
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
925
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
926
+
927
+ <signature of Ty Coon>, 1 April 1990
928
+ Ty Coon, President of Vice
929
+
930
+ That's all there is to it!
931
+
932
+
933
+ ### isorelax
934
+
935
+ MIT
936
+
937
+ http://iso-relax.sourceforge.net/
938
+
939
+ Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
940
+ Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
941
+
942
+ Permission is hereby granted, free of charge, to any person obtaining
943
+ a copy of this software and associated documentation files (the
944
+ "Software"), to deal in the Software without restriction, including
945
+ without limitation the rights to use, copy, modify, merge, publish,
946
+ distribute, sublicense, and/or sell copies of the Software, and to
947
+ permit persons to whom the Software is furnished to do so, subject to
948
+ the following conditions:
949
+
950
+ The above copyright notice and this permission notice shall be
951
+ included in all copies or substantial portions of the Software.
952
+
953
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
954
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
955
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
956
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
957
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
958
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
959
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
960
+
961
+
962
+ ### jing
963
+
964
+ BSD-3-Clause
965
+
966
+ http://www.thaiopensource.com/relaxng/jing.html
967
+
968
+ Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
969
+ All rights reserved.
970
+
971
+ Redistribution and use in source and binary forms, with or without
972
+ modification, are permitted provided that the following conditions
973
+ are met:
974
+
975
+ * Redistributions of source code must retain the above copyright
976
+ notice, this list of conditions and the following disclaimer.
977
+
978
+ * Redistributions in binary form must reproduce the above
979
+ copyright notice, this list of conditions and the following
980
+ disclaimer in the documentation and/or other materials provided
981
+ with the distribution.
982
+
983
+ * Neither the name of the Thai Open Source Software Center Ltd nor
984
+ the names of its contributors may be used to endorse or promote
985
+ products derived from this software without specific prior
986
+ written permission.
987
+
988
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
989
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
990
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
991
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
992
+ DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
993
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
994
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
995
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
996
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
997
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
998
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
999
+ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1000
+ SUCH DAMAGE.
1001
+
1002
+
1003
+ ### nekodtd
1004
+
1005
+ Apache 1.0-derived
1006
+
1007
+ https://people.apache.org/~andyc/neko/doc/dtd/
1008
+
1009
+ The CyberNeko Software License, Version 1.0
1010
+
1011
+ (C) Copyright 2002-2005, Andy Clark. All rights reserved.
1012
+
1013
+ Redistribution and use in source and binary forms, with or without
1014
+ modification, are permitted provided that the following conditions
1015
+ are met:
1016
+
1017
+ 1. Redistributions of source code must retain the above copyright
1018
+ notice, this list of conditions and the following disclaimer.
1019
+
1020
+ 2. Redistributions in binary form must reproduce the above copyright
1021
+ notice, this list of conditions and the following disclaimer in
1022
+ the documentation and/or other materials provided with the
1023
+ distribution.
1024
+
1025
+ 3. The end-user documentation included with the redistribution,
1026
+ if any, must include the following acknowledgment:
1027
+ "This product includes software developed by Andy Clark."
1028
+ Alternately, this acknowledgment may appear in the software itself,
1029
+ if and wherever such third-party acknowledgments normally appear.
1030
+
1031
+ 4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
1032
+ or promote products derived from this software without prior
1033
+ written permission. For written permission, please contact
1034
+ andyc@cyberneko.net.
1035
+
1036
+ 5. Products derived from this software may not be called "CyberNeko",
1037
+ nor may "CyberNeko" appear in their name, without prior written
1038
+ permission of the author.
1039
+
1040
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
1041
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1042
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1043
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS
1044
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
1045
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
1046
+ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1047
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1048
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
1049
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
1050
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1051
+
1052
+ ====================================================================
1053
+
1054
+ This license is based on the Apache Software License, version 1.1.
1055
+
1056
+ ### nekohtml
1057
+
1058
+ Apache 2.0
1059
+
1060
+ http://nekohtml.sourceforge.net/
1061
+
1062
+
1063
+ Apache License
1064
+ Version 2.0, January 2004
1065
+ http://www.apache.org/licenses/
1066
+
1067
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1068
+
1069
+ 1. Definitions.
677
1070
 
678
1071
  "License" shall mean the terms and conditions for use, reproduction,
679
1072
  and distribution as defined by Sections 1 through 9 of this document.
@@ -868,26 +1261,16 @@ https://xerces.apache.org/xerces2-j/
868
1261
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
869
1262
  See the License for the specific language governing permissions and
870
1263
  limitations under the License.
871
-
872
1264
 
873
- ### xml-apis
1265
+ ### xalan
874
1266
 
875
1267
  Apache 2.0
876
1268
 
877
- https://xerces.apache.org/xml-commons/
1269
+ https://xml.apache.org/xalan-j/
878
1270
 
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.
1271
+ covers xalan.jar and serializer.jar
888
1272
 
889
-
890
- Apache License
1273
+ Apache License
891
1274
  Version 2.0, January 2004
892
1275
  http://www.apache.org/licenses/
893
1276
 
@@ -1083,532 +1466,438 @@ https://xerces.apache.org/xml-commons/
1083
1466
 
1084
1467
  http://www.apache.org/licenses/LICENSE-2.0
1085
1468
 
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
1469
+ Unless required by applicable law or agreed to in writing, software
1470
+ distributed under the License is distributed on an "AS IS" BASIS,
1471
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1472
+ See the License for the specific language governing permissions and
1473
+ limitations under the License.
1145
1474
 
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.
1475
+
1476
+ ### xerces
1477
+
1478
+ Apache 2.0
1479
+
1480
+ https://xerces.apache.org/xerces2-j/
1481
+
1150
1482
 
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.
1483
+ Apache License
1484
+ Version 2.0, January 2004
1485
+ http://www.apache.org/licenses/
1155
1486
 
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.
1487
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1162
1488
 
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.
1489
+ 1. Definitions.
1167
1490
 
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.
1491
+ "License" shall mean the terms and conditions for use, reproduction,
1492
+ and distribution as defined by Sections 1 through 9 of this document.
1175
1493
 
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.
1494
+ "Licensor" shall mean the copyright owner or entity authorized by
1495
+ the copyright owner that is granting the License.
1179
1496
 
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.
1497
+ "Legal Entity" shall mean the union of the acting entity and all
1498
+ other entities that control, are controlled by, or are under common
1499
+ control with that entity. For the purposes of this definition,
1500
+ "control" means (i) the power, direct or indirect, to cause the
1501
+ direction or management of such entity, whether by contract or
1502
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1503
+ outstanding shares, or (iii) beneficial ownership of such entity.
1193
1504
 
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.
1505
+ "You" (or "Your") shall mean an individual or Legal Entity
1506
+ exercising permissions granted by this License.
1200
1507
 
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.
1508
+ "Source" form shall mean the preferred form for making modifications,
1509
+ including but not limited to software source code, documentation
1510
+ source, and configuration files.
1209
1511
 
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.
1512
+ "Object" form shall mean any form resulting from mechanical
1513
+ transformation or translation of a Source form, including but
1514
+ not limited to compiled object code, generated documentation,
1515
+ and conversions to other media types.
1214
1516
 
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.
1517
+ "Work" shall mean the work of authorship, whether in Source or
1518
+ Object form, made available under the License, as indicated by a
1519
+ copyright notice that is included in or attached to the work
1520
+ (an example is provided in the Appendix below).
1224
1521
 
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.
1522
+ "Derivative Works" shall mean any work, whether in Source or Object
1523
+ form, that is based on (or derived from) the Work and for which the
1524
+ editorial revisions, annotations, elaborations, or other modifications
1525
+ represent, as a whole, an original work of authorship. For the purposes
1526
+ of this License, Derivative Works shall not include works that remain
1527
+ separable from, or merely link (or bind by name) to the interfaces of,
1528
+ the Work and Derivative Works thereof.
1230
1529
 
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
1530
+ "Contribution" shall mean any work of authorship, including
1531
+ the original version of the Work and any modifications or additions
1532
+ to that Work or Derivative Works thereof, that is intentionally
1533
+ submitted to Licensor for inclusion in the Work by the copyright owner
1534
+ or by an individual or Legal Entity authorized to submit on behalf of
1535
+ the copyright owner. For the purposes of this definition, "submitted"
1536
+ means any form of electronic, verbal, or written communication sent
1537
+ to the Licensor or its representatives, including but not limited to
1538
+ communication on electronic mailing lists, source code control systems,
1539
+ and issue tracking systems that are managed by, or on behalf of, the
1540
+ Licensor for the purpose of discussing and improving the Work, but
1541
+ excluding communication that is conspicuously marked or otherwise
1542
+ designated in writing by the copyright owner as "Not a Contribution."
1236
1543
 
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".
1544
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1545
+ on behalf of whom a Contribution has been received by Licensor and
1546
+ subsequently incorporated within the Work.
1242
1547
 
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.
1548
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1549
+ this License, each Contributor hereby grants to You a perpetual,
1550
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1551
+ copyright license to reproduce, prepare Derivative Works of,
1552
+ publicly display, publicly perform, sublicense, and distribute the
1553
+ Work and such Derivative Works in Source or Object form.
1246
1554
 
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".)
1555
+ 3. Grant of Patent License. Subject to the terms and conditions of
1556
+ this License, each Contributor hereby grants to You a perpetual,
1557
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1558
+ (except as stated in this section) patent license to make, have made,
1559
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1560
+ where such license applies only to those patent claims licensable
1561
+ by such Contributor that are necessarily infringed by their
1562
+ Contribution(s) alone or by combination of their Contribution(s)
1563
+ with the Work to which such Contribution(s) was submitted. If You
1564
+ institute patent litigation against any entity (including a
1565
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1566
+ or a Contribution incorporated within the Work constitutes direct
1567
+ or contributory patent infringement, then any patent licenses
1568
+ granted to You under this License for that Work shall terminate
1569
+ as of the date such litigation is filed.
1254
1570
 
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.
1571
+ 4. Redistribution. You may reproduce and distribute copies of the
1572
+ Work or Derivative Works thereof in any medium, with or without
1573
+ modifications, and in Source or Object form, provided that You
1574
+ meet the following conditions:
1260
1575
 
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.
1576
+ (a) You must give any other recipients of the Work or
1577
+ Derivative Works a copy of this License; and
1276
1578
 
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:
1579
+ (b) You must cause any modified files to carry prominent notices
1580
+ stating that You changed the files; and
1285
1581
 
1286
- a) The modified work must itself be a software library.
1582
+ (c) You must retain, in the Source form of any Derivative Works
1583
+ that You distribute, all copyright, patent, trademark, and
1584
+ attribution notices from the Source form of the Work,
1585
+ excluding those notices that do not pertain to any part of
1586
+ the Derivative Works; and
1287
1587
 
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.
1588
+ (d) If the Work includes a "NOTICE" text file as part of its
1589
+ distribution, then any Derivative Works that You distribute must
1590
+ include a readable copy of the attribution notices contained
1591
+ within such NOTICE file, excluding those notices that do not
1592
+ pertain to any part of the Derivative Works, in at least one
1593
+ of the following places: within a NOTICE text file distributed
1594
+ as part of the Derivative Works; within the Source form or
1595
+ documentation, if provided along with the Derivative Works; or,
1596
+ within a display generated by the Derivative Works, if and
1597
+ wherever such third-party notices normally appear. The contents
1598
+ of the NOTICE file are for informational purposes only and
1599
+ do not modify the License. You may add Your own attribution
1600
+ notices within Derivative Works that You distribute, alongside
1601
+ or as an addendum to the NOTICE text from the Work, provided
1602
+ that such additional attribution notices cannot be construed
1603
+ as modifying the License.
1290
1604
 
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.
1605
+ You may add Your own copyright statement to Your modifications and
1606
+ may provide additional or different license terms and conditions
1607
+ for use, reproduction, or distribution of Your modifications, or
1608
+ for any such Derivative Works as a whole, provided Your use,
1609
+ reproduction, and distribution of the Work otherwise complies with
1610
+ the conditions stated in this License.
1293
1611
 
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.
1612
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1613
+ any Contribution intentionally submitted for inclusion in the Work
1614
+ by You to the Licensor shall be under the terms and conditions of
1615
+ this License, without any additional terms or conditions.
1616
+ Notwithstanding the above, nothing herein shall supersede or modify
1617
+ the terms of any separate license agreement you may have executed
1618
+ with Licensor regarding such Contributions.
1301
1619
 
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.)
1620
+ 6. Trademarks. This License does not grant permission to use the trade
1621
+ names, trademarks, service marks, or product names of the Licensor,
1622
+ except as required for reasonable and customary use in describing the
1623
+ origin of the Work and reproducing the content of the NOTICE file.
1308
1624
 
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.
1625
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1626
+ agreed to in writing, Licensor provides the Work (and each
1627
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1628
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1629
+ implied, including, without limitation, any warranties or conditions
1630
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1631
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1632
+ appropriateness of using or redistributing the Work and assume any
1633
+ risks associated with Your exercise of permissions under this License.
1319
1634
 
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.
1635
+ 8. Limitation of Liability. In no event and under no legal theory,
1636
+ whether in tort (including negligence), contract, or otherwise,
1637
+ unless required by applicable law (such as deliberate and grossly
1638
+ negligent acts) or agreed to in writing, shall any Contributor be
1639
+ liable to You for damages, including any direct, indirect, special,
1640
+ incidental, or consequential damages of any character arising as a
1641
+ result of this License or out of the use or inability to use the
1642
+ Work (including but not limited to damages for loss of goodwill,
1643
+ work stoppage, computer failure or malfunction, or any and all
1644
+ other commercial damages or losses), even if such Contributor
1645
+ has been advised of the possibility of such damages.
1324
1646
 
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.
1647
+ 9. Accepting Warranty or Additional Liability. While redistributing
1648
+ the Work or Derivative Works thereof, You may choose to offer,
1649
+ and charge a fee for, acceptance of support, warranty, indemnity,
1650
+ or other liability obligations and/or rights consistent with this
1651
+ License. However, in accepting such obligations, You may act only
1652
+ on Your own behalf and on Your sole responsibility, not on behalf
1653
+ of any other Contributor, and only if You agree to indemnify,
1654
+ defend, and hold each Contributor harmless for any liability
1655
+ incurred by, or claims asserted against, such Contributor by reason
1656
+ of your accepting any such warranty or additional liability.
1329
1657
 
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.
1658
+ END OF TERMS AND CONDITIONS
1342
1659
 
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.
1660
+ APPENDIX: How to apply the Apache License to your work.
1345
1661
 
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.
1662
+ To apply the Apache License to your work, attach the following
1663
+ boilerplate notice, with the fields enclosed by brackets "[]"
1664
+ replaced with your own identifying information. (Don't include
1665
+ the brackets!) The text should be enclosed in the appropriate
1666
+ comment syntax for the file format. We also recommend that a
1667
+ file or class name and description of purpose be included on the
1668
+ same "printed page" as the copyright notice for easier
1669
+ identification within third-party archives.
1352
1670
 
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.
1671
+ Copyright [yyyy] [name of copyright owner]
1358
1672
 
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.
1673
+ Licensed under the Apache License, Version 2.0 (the "License");
1674
+ you may not use this file except in compliance with the License.
1675
+ You may obtain a copy of the License at
1364
1676
 
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.
1677
+ http://www.apache.org/licenses/LICENSE-2.0
1370
1678
 
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.
1679
+ Unless required by applicable law or agreed to in writing, software
1680
+ distributed under the License is distributed on an "AS IS" BASIS,
1681
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1682
+ See the License for the specific language governing permissions and
1683
+ limitations under the License.
1377
1684
 
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.)
1685
+
1686
+ ### xml-apis
1687
+
1688
+ Apache 2.0
1689
+
1690
+ https://xerces.apache.org/xml-commons/
1691
+
1692
+ Unless otherwise noted all files in XML Commons are covered under the
1693
+ Apache License Version 2.0. Please read the LICENSE and NOTICE files.
1384
1694
 
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.
1695
+ XML Commons contains some software and documentation that is covered
1696
+ under a number of different licenses. This applies particularly to the
1697
+ xml-commons/java/external/ directory. Most files under
1698
+ xml-commons/java/external/ are covered under their respective
1699
+ LICENSE.*.txt files; see the matching README.*.txt files for
1700
+ descriptions.
1701
+
1396
1702
 
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:
1703
+ Apache License
1704
+ Version 2.0, January 2004
1705
+ http://www.apache.org/licenses/
1404
1706
 
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.)
1707
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1416
1708
 
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.
1709
+ 1. Definitions.
1421
1710
 
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.
1711
+ "License" shall mean the terms and conditions for use, reproduction,
1712
+ and distribution as defined by Sections 1 through 9 of this document.
1425
1713
 
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.
1714
+ "Licensor" shall mean the copyright owner or entity authorized by
1715
+ the copyright owner that is granting the License.
1428
1716
 
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.
1717
+ "Legal Entity" shall mean the union of the acting entity and all
1718
+ other entities that control, are controlled by, or are under common
1719
+ control with that entity. For the purposes of this definition,
1720
+ "control" means (i) the power, direct or indirect, to cause the
1721
+ direction or management of such entity, whether by contract or
1722
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1723
+ outstanding shares, or (iii) beneficial ownership of such entity.
1437
1724
 
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:
1725
+ "You" (or "Your") shall mean an individual or Legal Entity
1726
+ exercising permissions granted by this License.
1450
1727
 
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.
1728
+ "Source" form shall mean the preferred form for making modifications,
1729
+ including but not limited to software source code, documentation
1730
+ source, and configuration files.
1455
1731
 
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.
1732
+ "Object" form shall mean any form resulting from mechanical
1733
+ transformation or translation of a Source form, including but
1734
+ not limited to compiled object code, generated documentation,
1735
+ and conversions to other media types.
1459
1736
 
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.
1737
+ "Work" shall mean the work of authorship, whether in Source or
1738
+ Object form, made available under the License, as indicated by a
1739
+ copyright notice that is included in or attached to the work
1740
+ (an example is provided in the Appendix below).
1467
1741
 
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.
1742
+ "Derivative Works" shall mean any work, whether in Source or Object
1743
+ form, that is based on (or derived from) the Work and for which the
1744
+ editorial revisions, annotations, elaborations, or other modifications
1745
+ represent, as a whole, an original work of authorship. For the purposes
1746
+ of this License, Derivative Works shall not include works that remain
1747
+ separable from, or merely link (or bind by name) to the interfaces of,
1748
+ the Work and Derivative Works thereof.
1476
1749
 
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.
1750
+ "Contribution" shall mean any work of authorship, including
1751
+ the original version of the Work and any modifications or additions
1752
+ to that Work or Derivative Works thereof, that is intentionally
1753
+ submitted to Licensor for inclusion in the Work by the copyright owner
1754
+ or by an individual or Legal Entity authorized to submit on behalf of
1755
+ the copyright owner. For the purposes of this definition, "submitted"
1756
+ means any form of electronic, verbal, or written communication sent
1757
+ to the Licensor or its representatives, including but not limited to
1758
+ communication on electronic mailing lists, source code control systems,
1759
+ and issue tracking systems that are managed by, or on behalf of, the
1760
+ Licensor for the purpose of discussing and improving the Work, but
1761
+ excluding communication that is conspicuously marked or otherwise
1762
+ designated in writing by the copyright owner as "Not a Contribution."
1497
1763
 
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.
1764
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1765
+ on behalf of whom a Contribution has been received by Licensor and
1766
+ subsequently incorporated within the Work.
1501
1767
 
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.
1768
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1769
+ this License, each Contributor hereby grants to You a perpetual,
1770
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1771
+ copyright license to reproduce, prepare Derivative Works of,
1772
+ publicly display, publicly perform, sublicense, and distribute the
1773
+ Work and such Derivative Works in Source or Object form.
1512
1774
 
1513
- This section is intended to make thoroughly clear what is believed to
1514
- be a consequence of the rest of this License.
1775
+ 3. Grant of Patent License. Subject to the terms and conditions of
1776
+ this License, each Contributor hereby grants to You a perpetual,
1777
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1778
+ (except as stated in this section) patent license to make, have made,
1779
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1780
+ where such license applies only to those patent claims licensable
1781
+ by such Contributor that are necessarily infringed by their
1782
+ Contribution(s) alone or by combination of their Contribution(s)
1783
+ with the Work to which such Contribution(s) was submitted. If You
1784
+ institute patent litigation against any entity (including a
1785
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1786
+ or a Contribution incorporated within the Work constitutes direct
1787
+ or contributory patent infringement, then any patent licenses
1788
+ granted to You under this License for that Work shall terminate
1789
+ as of the date such litigation is filed.
1515
1790
 
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.
1791
+ 4. Redistribution. You may reproduce and distribute copies of the
1792
+ Work or Derivative Works thereof in any medium, with or without
1793
+ modifications, and in Source or Object form, provided that You
1794
+ meet the following conditions:
1523
1795
 
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.
1796
+ (a) You must give any other recipients of the Work or
1797
+ Derivative Works a copy of this License; and
1528
1798
 
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.
1799
+ (b) You must cause any modified files to carry prominent notices
1800
+ stating that You changed the files; and
1545
1801
 
1546
- NO WARRANTY
1802
+ (c) You must retain, in the Source form of any Derivative Works
1803
+ that You distribute, all copyright, patent, trademark, and
1804
+ attribution notices from the Source form of the Work,
1805
+ excluding those notices that do not pertain to any part of
1806
+ the Derivative Works; and
1547
1807
 
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.
1808
+ (d) If the Work includes a "NOTICE" text file as part of its
1809
+ distribution, then any Derivative Works that You distribute must
1810
+ include a readable copy of the attribution notices contained
1811
+ within such NOTICE file, excluding those notices that do not
1812
+ pertain to any part of the Derivative Works, in at least one
1813
+ of the following places: within a NOTICE text file distributed
1814
+ as part of the Derivative Works; within the Source form or
1815
+ documentation, if provided along with the Derivative Works; or,
1816
+ within a display generated by the Derivative Works, if and
1817
+ wherever such third-party notices normally appear. The contents
1818
+ of the NOTICE file are for informational purposes only and
1819
+ do not modify the License. You may add Your own attribution
1820
+ notices within Derivative Works that You distribute, alongside
1821
+ or as an addendum to the NOTICE text from the Work, provided
1822
+ that such additional attribution notices cannot be construed
1823
+ as modifying the License.
1557
1824
 
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.
1825
+ You may add Your own copyright statement to Your modifications and
1826
+ may provide additional or different license terms and conditions
1827
+ for use, reproduction, or distribution of Your modifications, or
1828
+ for any such Derivative Works as a whole, provided Your use,
1829
+ reproduction, and distribution of the Work otherwise complies with
1830
+ the conditions stated in this License.
1568
1831
 
1569
- END OF TERMS AND CONDITIONS
1570
-
1571
- Appendix: How to Apply These Terms to Your New Libraries
1832
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1833
+ any Contribution intentionally submitted for inclusion in the Work
1834
+ by You to the Licensor shall be under the terms and conditions of
1835
+ this License, without any additional terms or conditions.
1836
+ Notwithstanding the above, nothing herein shall supersede or modify
1837
+ the terms of any separate license agreement you may have executed
1838
+ with Licensor regarding such Contributions.
1572
1839
 
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).
1840
+ 6. Trademarks. This License does not grant permission to use the trade
1841
+ names, trademarks, service marks, or product names of the Licensor,
1842
+ except as required for reasonable and customary use in describing the
1843
+ origin of the Work and reproducing the content of the NOTICE file.
1578
1844
 
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.
1845
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1846
+ agreed to in writing, Licensor provides the Work (and each
1847
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1848
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1849
+ implied, including, without limitation, any warranties or conditions
1850
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1851
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1852
+ appropriateness of using or redistributing the Work and assume any
1853
+ risks associated with Your exercise of permissions under this License.
1583
1854
 
1584
- <one line to give the library's name and a brief idea of what it does.>
1585
- Copyright (C) <year> <name of author>
1855
+ 8. Limitation of Liability. In no event and under no legal theory,
1856
+ whether in tort (including negligence), contract, or otherwise,
1857
+ unless required by applicable law (such as deliberate and grossly
1858
+ negligent acts) or agreed to in writing, shall any Contributor be
1859
+ liable to You for damages, including any direct, indirect, special,
1860
+ incidental, or consequential damages of any character arising as a
1861
+ result of this License or out of the use or inability to use the
1862
+ Work (including but not limited to damages for loss of goodwill,
1863
+ work stoppage, computer failure or malfunction, or any and all
1864
+ other commercial damages or losses), even if such Contributor
1865
+ has been advised of the possibility of such damages.
1586
1866
 
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.
1867
+ 9. Accepting Warranty or Additional Liability. While redistributing
1868
+ the Work or Derivative Works thereof, You may choose to offer,
1869
+ and charge a fee for, acceptance of support, warranty, indemnity,
1870
+ or other liability obligations and/or rights consistent with this
1871
+ License. However, in accepting such obligations, You may act only
1872
+ on Your own behalf and on Your sole responsibility, not on behalf
1873
+ of any other Contributor, and only if You agree to indemnify,
1874
+ defend, and hold each Contributor harmless for any liability
1875
+ incurred by, or claims asserted against, such Contributor by reason
1876
+ of your accepting any such warranty or additional liability.
1591
1877
 
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.
1878
+ END OF TERMS AND CONDITIONS
1596
1879
 
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
1880
+ APPENDIX: How to apply the Apache License to your work.
1601
1881
 
1602
- Also add information on how to contact you by electronic and paper mail.
1882
+ To apply the Apache License to your work, attach the following
1883
+ boilerplate notice, with the fields enclosed by brackets "[]"
1884
+ replaced with your own identifying information. (Don't include
1885
+ the brackets!) The text should be enclosed in the appropriate
1886
+ comment syntax for the file format. We also recommend that a
1887
+ file or class name and description of purpose be included on the
1888
+ same "printed page" as the copyright notice for easier
1889
+ identification within third-party archives.
1603
1890
 
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:
1891
+ Copyright [yyyy] [name of copyright owner]
1607
1892
 
1608
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
1609
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1893
+ Licensed under the Apache License, Version 2.0 (the "License");
1894
+ you may not use this file except in compliance with the License.
1895
+ You may obtain a copy of the License at
1610
1896
 
1611
- <signature of Ty Coon>, 1 April 1990
1612
- Ty Coon, President of Vice
1897
+ http://www.apache.org/licenses/LICENSE-2.0
1613
1898
 
1614
- That's all there is to it!
1899
+ Unless required by applicable law or agreed to in writing, software
1900
+ distributed under the License is distributed on an "AS IS" BASIS,
1901
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1902
+ See the License for the specific language governing permissions and
1903
+ limitations under the License.