nokogiri 1.8.5 → 1.13.9

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 (353) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -21
  3. data/LICENSE-DEPENDENCIES.md +1159 -868
  4. data/LICENSE.md +5 -28
  5. data/README.md +196 -90
  6. data/bin/nokogiri +63 -50
  7. data/dependencies.yml +13 -59
  8. data/ext/nokogiri/depend +38 -358
  9. data/ext/nokogiri/extconf.rb +765 -420
  10. data/ext/nokogiri/gumbo.c +584 -0
  11. data/ext/nokogiri/html4_document.c +166 -0
  12. data/ext/nokogiri/html4_element_description.c +294 -0
  13. data/ext/nokogiri/html4_entity_lookup.c +37 -0
  14. data/ext/nokogiri/html4_sax_parser_context.c +119 -0
  15. data/ext/nokogiri/html4_sax_push_parser.c +95 -0
  16. data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
  17. data/ext/nokogiri/nokogiri.c +228 -91
  18. data/ext/nokogiri/nokogiri.h +199 -88
  19. data/ext/nokogiri/test_global_handlers.c +40 -0
  20. data/ext/nokogiri/xml_attr.c +42 -37
  21. data/ext/nokogiri/xml_attribute_decl.c +21 -21
  22. data/ext/nokogiri/xml_cdata.c +14 -19
  23. data/ext/nokogiri/xml_comment.c +19 -26
  24. data/ext/nokogiri/xml_document.c +296 -217
  25. data/ext/nokogiri/xml_document_fragment.c +12 -16
  26. data/ext/nokogiri/xml_dtd.c +64 -58
  27. data/ext/nokogiri/xml_element_content.c +31 -26
  28. data/ext/nokogiri/xml_element_decl.c +25 -25
  29. data/ext/nokogiri/xml_encoding_handler.c +43 -18
  30. data/ext/nokogiri/xml_entity_decl.c +37 -35
  31. data/ext/nokogiri/xml_entity_reference.c +16 -18
  32. data/ext/nokogiri/xml_namespace.c +99 -54
  33. data/ext/nokogiri/xml_node.c +1107 -658
  34. data/ext/nokogiri/xml_node_set.c +178 -166
  35. data/ext/nokogiri/xml_processing_instruction.c +17 -19
  36. data/ext/nokogiri/xml_reader.c +277 -175
  37. data/ext/nokogiri/xml_relax_ng.c +52 -28
  38. data/ext/nokogiri/xml_sax_parser.c +112 -112
  39. data/ext/nokogiri/xml_sax_parser_context.c +112 -86
  40. data/ext/nokogiri/xml_sax_push_parser.c +36 -27
  41. data/ext/nokogiri/xml_schema.c +114 -35
  42. data/ext/nokogiri/xml_syntax_error.c +42 -21
  43. data/ext/nokogiri/xml_text.c +14 -18
  44. data/ext/nokogiri/xml_xpath_context.c +226 -115
  45. data/ext/nokogiri/xslt_stylesheet.c +265 -173
  46. data/gumbo-parser/CHANGES.md +63 -0
  47. data/gumbo-parser/Makefile +101 -0
  48. data/gumbo-parser/THANKS +27 -0
  49. data/gumbo-parser/src/Makefile +34 -0
  50. data/gumbo-parser/src/README.md +41 -0
  51. data/gumbo-parser/src/ascii.c +75 -0
  52. data/gumbo-parser/src/ascii.h +115 -0
  53. data/gumbo-parser/src/attribute.c +42 -0
  54. data/gumbo-parser/src/attribute.h +17 -0
  55. data/gumbo-parser/src/char_ref.c +22225 -0
  56. data/gumbo-parser/src/char_ref.h +29 -0
  57. data/gumbo-parser/src/char_ref.rl +2154 -0
  58. data/gumbo-parser/src/error.c +626 -0
  59. data/gumbo-parser/src/error.h +148 -0
  60. data/gumbo-parser/src/foreign_attrs.c +104 -0
  61. data/gumbo-parser/src/foreign_attrs.gperf +27 -0
  62. data/gumbo-parser/src/gumbo.h +943 -0
  63. data/gumbo-parser/src/insertion_mode.h +33 -0
  64. data/gumbo-parser/src/macros.h +91 -0
  65. data/gumbo-parser/src/parser.c +4875 -0
  66. data/gumbo-parser/src/parser.h +41 -0
  67. data/gumbo-parser/src/replacement.h +33 -0
  68. data/gumbo-parser/src/string_buffer.c +103 -0
  69. data/gumbo-parser/src/string_buffer.h +68 -0
  70. data/gumbo-parser/src/string_piece.c +48 -0
  71. data/gumbo-parser/src/svg_attrs.c +174 -0
  72. data/gumbo-parser/src/svg_attrs.gperf +77 -0
  73. data/gumbo-parser/src/svg_tags.c +137 -0
  74. data/gumbo-parser/src/svg_tags.gperf +55 -0
  75. data/gumbo-parser/src/tag.c +222 -0
  76. data/gumbo-parser/src/tag_lookup.c +382 -0
  77. data/gumbo-parser/src/tag_lookup.gperf +169 -0
  78. data/gumbo-parser/src/tag_lookup.h +13 -0
  79. data/gumbo-parser/src/token_buffer.c +79 -0
  80. data/gumbo-parser/src/token_buffer.h +71 -0
  81. data/gumbo-parser/src/token_type.h +17 -0
  82. data/gumbo-parser/src/tokenizer.c +3463 -0
  83. data/gumbo-parser/src/tokenizer.h +112 -0
  84. data/gumbo-parser/src/tokenizer_states.h +339 -0
  85. data/gumbo-parser/src/utf8.c +245 -0
  86. data/gumbo-parser/src/utf8.h +164 -0
  87. data/gumbo-parser/src/util.c +68 -0
  88. data/gumbo-parser/src/util.h +30 -0
  89. data/gumbo-parser/src/vector.c +111 -0
  90. data/gumbo-parser/src/vector.h +45 -0
  91. data/lib/nokogiri/class_resolver.rb +67 -0
  92. data/lib/nokogiri/css/node.rb +10 -8
  93. data/lib/nokogiri/css/parser.rb +397 -377
  94. data/lib/nokogiri/css/parser.y +250 -245
  95. data/lib/nokogiri/css/parser_extras.rb +54 -49
  96. data/lib/nokogiri/css/syntax_error.rb +3 -1
  97. data/lib/nokogiri/css/tokenizer.rb +107 -104
  98. data/lib/nokogiri/css/tokenizer.rex +3 -2
  99. data/lib/nokogiri/css/xpath_visitor.rb +218 -91
  100. data/lib/nokogiri/css.rb +50 -17
  101. data/lib/nokogiri/decorators/slop.rb +9 -7
  102. data/lib/nokogiri/extension.rb +31 -0
  103. data/lib/nokogiri/gumbo.rb +15 -0
  104. data/lib/nokogiri/html.rb +38 -27
  105. data/lib/nokogiri/{html → html4}/builder.rb +4 -2
  106. data/lib/nokogiri/{html → html4}/document.rb +103 -105
  107. data/lib/nokogiri/html4/document_fragment.rb +54 -0
  108. data/lib/nokogiri/{html → html4}/element_description.rb +3 -1
  109. data/lib/nokogiri/html4/element_description_defaults.rb +578 -0
  110. data/lib/nokogiri/{html → html4}/entity_lookup.rb +4 -2
  111. data/lib/nokogiri/{html → html4}/sax/parser.rb +17 -16
  112. data/lib/nokogiri/html4/sax/parser_context.rb +20 -0
  113. data/lib/nokogiri/{html → html4}/sax/push_parser.rb +12 -11
  114. data/lib/nokogiri/html4.rb +46 -0
  115. data/lib/nokogiri/html5/document.rb +91 -0
  116. data/lib/nokogiri/html5/document_fragment.rb +83 -0
  117. data/lib/nokogiri/html5/node.rb +100 -0
  118. data/lib/nokogiri/html5.rb +478 -0
  119. data/lib/nokogiri/jruby/dependencies.rb +21 -0
  120. data/lib/nokogiri/syntax_error.rb +2 -0
  121. data/lib/nokogiri/version/constant.rb +6 -0
  122. data/lib/nokogiri/version/info.rb +222 -0
  123. data/lib/nokogiri/version.rb +3 -108
  124. data/lib/nokogiri/xml/attr.rb +6 -3
  125. data/lib/nokogiri/xml/attribute_decl.rb +3 -1
  126. data/lib/nokogiri/xml/builder.rb +97 -53
  127. data/lib/nokogiri/xml/cdata.rb +3 -1
  128. data/lib/nokogiri/xml/character_data.rb +2 -0
  129. data/lib/nokogiri/xml/document.rb +224 -86
  130. data/lib/nokogiri/xml/document_fragment.rb +57 -44
  131. data/lib/nokogiri/xml/dtd.rb +4 -2
  132. data/lib/nokogiri/xml/element_content.rb +2 -0
  133. data/lib/nokogiri/xml/element_decl.rb +3 -1
  134. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  135. data/lib/nokogiri/xml/entity_reference.rb +2 -0
  136. data/lib/nokogiri/xml/namespace.rb +3 -0
  137. data/lib/nokogiri/xml/node/save_options.rb +10 -5
  138. data/lib/nokogiri/xml/node.rb +895 -377
  139. data/lib/nokogiri/xml/node_set.rb +92 -65
  140. data/lib/nokogiri/xml/notation.rb +13 -0
  141. data/lib/nokogiri/xml/parse_options.rb +22 -8
  142. data/lib/nokogiri/xml/pp/character_data.rb +9 -6
  143. data/lib/nokogiri/xml/pp/node.rb +25 -26
  144. data/lib/nokogiri/xml/pp.rb +4 -2
  145. data/lib/nokogiri/xml/processing_instruction.rb +3 -1
  146. data/lib/nokogiri/xml/reader.rb +21 -28
  147. data/lib/nokogiri/xml/relax_ng.rb +8 -2
  148. data/lib/nokogiri/xml/sax/document.rb +45 -49
  149. data/lib/nokogiri/xml/sax/parser.rb +38 -34
  150. data/lib/nokogiri/xml/sax/parser_context.rb +8 -3
  151. data/lib/nokogiri/xml/sax/push_parser.rb +6 -5
  152. data/lib/nokogiri/xml/sax.rb +6 -4
  153. data/lib/nokogiri/xml/schema.rb +19 -9
  154. data/lib/nokogiri/xml/searchable.rb +112 -72
  155. data/lib/nokogiri/xml/syntax_error.rb +6 -4
  156. data/lib/nokogiri/xml/text.rb +2 -0
  157. data/lib/nokogiri/xml/xpath/syntax_error.rb +4 -2
  158. data/lib/nokogiri/xml/xpath.rb +15 -4
  159. data/lib/nokogiri/xml/xpath_context.rb +3 -3
  160. data/lib/nokogiri/xml.rb +38 -37
  161. data/lib/nokogiri/xslt/stylesheet.rb +3 -1
  162. data/lib/nokogiri/xslt.rb +29 -20
  163. data/lib/nokogiri.rb +49 -65
  164. data/lib/xsd/xmlparser/nokogiri.rb +26 -24
  165. data/patches/libxml2/0001-Remove-script-macro-support.patch +40 -0
  166. data/patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch +44 -0
  167. data/patches/libxml2/0003-libxml2.la-is-in-top_builddir.patch +25 -0
  168. data/patches/libxml2/0005-avoid-isnan-isinf.patch +81 -0
  169. data/patches/libxml2/0009-allow-wildcard-namespaces.patch +77 -0
  170. data/patches/libxslt/0001-update-automake-files-for-arm64.patch +3037 -0
  171. data/ports/archives/libxml2-2.10.3.tar.xz +0 -0
  172. data/ports/archives/libxslt-1.1.37.tar.xz +0 -0
  173. metadata +211 -266
  174. data/.autotest +0 -22
  175. data/.cross_rubies +0 -8
  176. data/.editorconfig +0 -17
  177. data/.gemtest +0 -0
  178. data/.travis.yml +0 -63
  179. data/CHANGELOG.md +0 -1368
  180. data/CONTRIBUTING.md +0 -42
  181. data/C_CODING_STYLE.rdoc +0 -33
  182. data/Gemfile-libxml-ruby +0 -3
  183. data/Manifest.txt +0 -370
  184. data/ROADMAP.md +0 -111
  185. data/Rakefile +0 -348
  186. data/SECURITY.md +0 -19
  187. data/STANDARD_RESPONSES.md +0 -47
  188. data/Y_U_NO_GEMSPEC.md +0 -155
  189. data/appveyor.yml +0 -29
  190. data/build_all +0 -44
  191. data/ext/nokogiri/html_document.c +0 -170
  192. data/ext/nokogiri/html_document.h +0 -10
  193. data/ext/nokogiri/html_element_description.c +0 -279
  194. data/ext/nokogiri/html_element_description.h +0 -10
  195. data/ext/nokogiri/html_entity_lookup.c +0 -32
  196. data/ext/nokogiri/html_entity_lookup.h +0 -8
  197. data/ext/nokogiri/html_sax_parser_context.c +0 -116
  198. data/ext/nokogiri/html_sax_parser_context.h +0 -11
  199. data/ext/nokogiri/html_sax_push_parser.c +0 -87
  200. data/ext/nokogiri/html_sax_push_parser.h +0 -9
  201. data/ext/nokogiri/xml_attr.h +0 -9
  202. data/ext/nokogiri/xml_attribute_decl.h +0 -9
  203. data/ext/nokogiri/xml_cdata.h +0 -9
  204. data/ext/nokogiri/xml_comment.h +0 -9
  205. data/ext/nokogiri/xml_document.h +0 -23
  206. data/ext/nokogiri/xml_document_fragment.h +0 -10
  207. data/ext/nokogiri/xml_dtd.h +0 -10
  208. data/ext/nokogiri/xml_element_content.h +0 -10
  209. data/ext/nokogiri/xml_element_decl.h +0 -9
  210. data/ext/nokogiri/xml_encoding_handler.h +0 -8
  211. data/ext/nokogiri/xml_entity_decl.h +0 -10
  212. data/ext/nokogiri/xml_entity_reference.h +0 -9
  213. data/ext/nokogiri/xml_io.c +0 -61
  214. data/ext/nokogiri/xml_io.h +0 -11
  215. data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  216. data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  217. data/ext/nokogiri/xml_namespace.h +0 -15
  218. data/ext/nokogiri/xml_node.h +0 -13
  219. data/ext/nokogiri/xml_node_set.h +0 -12
  220. data/ext/nokogiri/xml_processing_instruction.h +0 -9
  221. data/ext/nokogiri/xml_reader.h +0 -10
  222. data/ext/nokogiri/xml_relax_ng.h +0 -9
  223. data/ext/nokogiri/xml_sax_parser.h +0 -39
  224. data/ext/nokogiri/xml_sax_parser_context.h +0 -10
  225. data/ext/nokogiri/xml_sax_push_parser.h +0 -9
  226. data/ext/nokogiri/xml_schema.h +0 -9
  227. data/ext/nokogiri/xml_syntax_error.h +0 -13
  228. data/ext/nokogiri/xml_text.h +0 -9
  229. data/ext/nokogiri/xml_xpath_context.h +0 -10
  230. data/ext/nokogiri/xslt_stylesheet.h +0 -14
  231. data/lib/nokogiri/html/document_fragment.rb +0 -49
  232. data/lib/nokogiri/html/element_description_defaults.rb +0 -671
  233. data/lib/nokogiri/html/sax/parser_context.rb +0 -16
  234. data/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch +0 -78
  235. data/patches/libxml2/0002-Fix-nullptr-deref-with-XPath-logic-ops.patch +0 -54
  236. data/patches/libxml2/0003-Fix-infinite-loop-in-LZMA-decompression.patch +0 -50
  237. data/patches/sort-patches-by-date +0 -25
  238. data/ports/archives/libxml2-2.9.8.tar.gz +0 -0
  239. data/ports/archives/libxslt-1.1.32.tar.gz +0 -0
  240. data/suppressions/README.txt +0 -1
  241. data/suppressions/nokogiri_ruby-2.supp +0 -10
  242. data/tasks/test.rb +0 -100
  243. data/test/css/test_nthiness.rb +0 -226
  244. data/test/css/test_parser.rb +0 -386
  245. data/test/css/test_tokenizer.rb +0 -215
  246. data/test/css/test_xpath_visitor.rb +0 -96
  247. data/test/decorators/test_slop.rb +0 -23
  248. data/test/files/2ch.html +0 -108
  249. data/test/files/GH_1042.html +0 -18
  250. data/test/files/address_book.rlx +0 -12
  251. data/test/files/address_book.xml +0 -10
  252. data/test/files/atom.xml +0 -344
  253. data/test/files/bar/bar.xsd +0 -4
  254. data/test/files/bogus.xml +0 -0
  255. data/test/files/dont_hurt_em_why.xml +0 -422
  256. data/test/files/encoding.html +0 -82
  257. data/test/files/encoding.xhtml +0 -84
  258. data/test/files/exslt.xml +0 -8
  259. data/test/files/exslt.xslt +0 -35
  260. data/test/files/foo/foo.xsd +0 -4
  261. data/test/files/metacharset.html +0 -10
  262. data/test/files/namespace_pressure_test.xml +0 -1684
  263. data/test/files/noencoding.html +0 -47
  264. data/test/files/po.xml +0 -32
  265. data/test/files/po.xsd +0 -66
  266. data/test/files/saml/saml20assertion_schema.xsd +0 -283
  267. data/test/files/saml/saml20protocol_schema.xsd +0 -302
  268. data/test/files/saml/xenc_schema.xsd +0 -146
  269. data/test/files/saml/xmldsig_schema.xsd +0 -318
  270. data/test/files/shift_jis.html +0 -10
  271. data/test/files/shift_jis.xml +0 -5
  272. data/test/files/shift_jis_no_charset.html +0 -9
  273. data/test/files/slow-xpath.xml +0 -25509
  274. data/test/files/snuggles.xml +0 -3
  275. data/test/files/staff.dtd +0 -10
  276. data/test/files/staff.xml +0 -59
  277. data/test/files/staff.xslt +0 -32
  278. data/test/files/test_document_url/bar.xml +0 -2
  279. data/test/files/test_document_url/document.dtd +0 -4
  280. data/test/files/test_document_url/document.xml +0 -6
  281. data/test/files/tlm.html +0 -851
  282. data/test/files/to_be_xincluded.xml +0 -2
  283. data/test/files/valid_bar.xml +0 -2
  284. data/test/files/xinclude.xml +0 -4
  285. data/test/helper.rb +0 -271
  286. data/test/html/sax/test_parser.rb +0 -168
  287. data/test/html/sax/test_parser_context.rb +0 -46
  288. data/test/html/sax/test_parser_text.rb +0 -163
  289. data/test/html/sax/test_push_parser.rb +0 -87
  290. data/test/html/test_attributes.rb +0 -85
  291. data/test/html/test_builder.rb +0 -164
  292. data/test/html/test_document.rb +0 -712
  293. data/test/html/test_document_encoding.rb +0 -143
  294. data/test/html/test_document_fragment.rb +0 -310
  295. data/test/html/test_element_description.rb +0 -105
  296. data/test/html/test_named_characters.rb +0 -14
  297. data/test/html/test_node.rb +0 -212
  298. data/test/html/test_node_encoding.rb +0 -91
  299. data/test/namespaces/test_additional_namespaces_in_builder_doc.rb +0 -14
  300. data/test/namespaces/test_namespaces_aliased_default.rb +0 -24
  301. data/test/namespaces/test_namespaces_in_builder_doc.rb +0 -75
  302. data/test/namespaces/test_namespaces_in_cloned_doc.rb +0 -31
  303. data/test/namespaces/test_namespaces_in_created_doc.rb +0 -75
  304. data/test/namespaces/test_namespaces_in_parsed_doc.rb +0 -80
  305. data/test/namespaces/test_namespaces_preservation.rb +0 -31
  306. data/test/test_convert_xpath.rb +0 -135
  307. data/test/test_css_cache.rb +0 -47
  308. data/test/test_encoding_handler.rb +0 -48
  309. data/test/test_memory_leak.rb +0 -156
  310. data/test/test_nokogiri.rb +0 -138
  311. data/test/test_soap4r_sax.rb +0 -52
  312. data/test/test_xslt_transforms.rb +0 -314
  313. data/test/xml/node/test_save_options.rb +0 -28
  314. data/test/xml/node/test_subclass.rb +0 -44
  315. data/test/xml/sax/test_parser.rb +0 -402
  316. data/test/xml/sax/test_parser_context.rb +0 -115
  317. data/test/xml/sax/test_parser_text.rb +0 -202
  318. data/test/xml/sax/test_push_parser.rb +0 -265
  319. data/test/xml/test_attr.rb +0 -74
  320. data/test/xml/test_attribute_decl.rb +0 -86
  321. data/test/xml/test_builder.rb +0 -341
  322. data/test/xml/test_c14n.rb +0 -180
  323. data/test/xml/test_cdata.rb +0 -54
  324. data/test/xml/test_comment.rb +0 -40
  325. data/test/xml/test_document.rb +0 -982
  326. data/test/xml/test_document_encoding.rb +0 -31
  327. data/test/xml/test_document_fragment.rb +0 -298
  328. data/test/xml/test_dtd.rb +0 -187
  329. data/test/xml/test_dtd_encoding.rb +0 -31
  330. data/test/xml/test_element_content.rb +0 -56
  331. data/test/xml/test_element_decl.rb +0 -73
  332. data/test/xml/test_entity_decl.rb +0 -122
  333. data/test/xml/test_entity_reference.rb +0 -262
  334. data/test/xml/test_namespace.rb +0 -96
  335. data/test/xml/test_node.rb +0 -1325
  336. data/test/xml/test_node_attributes.rb +0 -115
  337. data/test/xml/test_node_encoding.rb +0 -75
  338. data/test/xml/test_node_inheritance.rb +0 -32
  339. data/test/xml/test_node_reparenting.rb +0 -592
  340. data/test/xml/test_node_set.rb +0 -809
  341. data/test/xml/test_parse_options.rb +0 -64
  342. data/test/xml/test_processing_instruction.rb +0 -30
  343. data/test/xml/test_reader.rb +0 -620
  344. data/test/xml/test_reader_encoding.rb +0 -134
  345. data/test/xml/test_relax_ng.rb +0 -60
  346. data/test/xml/test_schema.rb +0 -142
  347. data/test/xml/test_syntax_error.rb +0 -36
  348. data/test/xml/test_text.rb +0 -60
  349. data/test/xml/test_unparented_node.rb +0 -483
  350. data/test/xml/test_xinclude.rb +0 -83
  351. data/test/xml/test_xpath.rb +0 -470
  352. data/test/xslt/test_custom_functions.rb +0 -133
  353. data/test/xslt/test_exception_handling.rb +0 -37
@@ -1,250 +1,122 @@
1
- Nokogiri ships with some third party dependencies, which are listed
2
- here along with their licenses.
1
+ # Vendored Dependency Licenses
3
2
 
4
- Note that this document is broken into three sections, each of which
5
- will apply to different platform releases of Nokogiri:
3
+ Nokogiri ships with some third party dependencies, which are listed here along with their licenses.
6
4
 
7
- 1. default platform release
8
- 2. `java` platform release
9
- 3. binary windows platform releases (`x86-mingw32` and `x64-mingw32`)
5
+ Note that this document is broken into multiple sections, each of which describes the dependencies of a different "platform release" of Nokogiri.
10
6
 
11
- It's encouraged for anyone consuming this file via license-tracking
12
- software to understand which dependencies are used by your particular
13
- software, so as not to misinterpret the contents of this file.
7
+ <!-- regenerate TOC with `markdown-toc -i` -->
14
8
 
15
- In particular, I'm sure somebody's lawyer, somewhere, is going to
16
- freak out that the LGPL appears in this file; and so I'd like to take
17
- special note that the dependency covered by LGPL, `libiconv`, is only
18
- being redistributed in the binary Windows platform release. It's not
19
- present in any non-Windows releases.
9
+ <!-- toc -->
20
10
 
21
- -----
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
- # default platform release
31
+ <!-- tocstop -->
24
32
 
25
- ## libxml2
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
- MIT
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
- http://xmlsoft.org/
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
- Except where otherwise noted in the source code (e.g. the files hash.c,
32
- list.c and the trio files, which are covered by a similar licence but
33
- with different Copyright notices) all the files are:
34
-
35
- Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
36
-
37
- Permission is hereby granted, free of charge, to any person obtaining a copy
38
- of this software and associated documentation files (the "Software"), to deal
39
- in the Software without restriction, including without limitation the rights
40
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41
- copies of the Software, and to permit persons to whom the Software is fur-
42
- nished to do so, subject to the following conditions:
43
-
44
- The above copyright notice and this permission notice shall be included in
45
- all copies or substantial portions of the Software.
46
-
47
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
49
- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
53
- THE SOFTWARE.
54
-
55
39
 
56
- ## libxslt
40
+ ## Platform Releases
57
41
 
58
- MIT
42
+ ### Default platform release ("ruby")
59
43
 
60
- http://xmlsoft.org/libxslt/
44
+ The default platform release distributes the following dependencies in source form:
61
45
 
62
- Licence for libxslt except libexslt
63
- ----------------------------------------------------------------------
64
- Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved.
65
-
66
- Permission is hereby granted, free of charge, to any person obtaining a copy
67
- of this software and associated documentation files (the "Software"), to deal
68
- in the Software without restriction, including without limitation the rights
69
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
70
- copies of the Software, and to permit persons to whom the Software is fur-
71
- nished to do so, subject to the following conditions:
72
-
73
- The above copyright notice and this permission notice shall be included in
74
- all copies or substantial portions of the Software.
75
-
76
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
77
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
78
- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
79
- DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
80
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
81
- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
82
-
83
- Except as contained in this notice, the name of Daniel Veillard shall not
84
- be used in advertising or otherwise to promote the sale, use or other deal-
85
- ings in this Software without prior written authorization from him.
86
-
87
- ----------------------------------------------------------------------
88
-
89
- Licence for libexslt
90
- ----------------------------------------------------------------------
91
- Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
92
- All Rights Reserved.
93
-
94
- Permission is hereby granted, free of charge, to any person obtaining a copy
95
- of this software and associated documentation files (the "Software"), to deal
96
- in the Software without restriction, including without limitation the rights
97
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
98
- copies of the Software, and to permit persons to whom the Software is fur-
99
- nished to do so, subject to the following conditions:
100
-
101
- The above copyright notice and this permission notice shall be included in
102
- all copies or substantial portions of the Software.
103
-
104
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
105
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
106
- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
107
- AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
108
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
109
- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
110
-
111
- Except as contained in this notice, the name of the authors shall not
112
- be used in advertising or otherwise to promote the sale, use or other deal-
113
- ings in this Software without prior written authorization from him.
114
- ----------------------------------------------------------------------
115
-
116
- # `java` platform release
46
+ - [libxml2](#libxml2)
47
+ - [libxslt](#libxslt)
48
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
117
49
 
118
- ## isorelax
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
- MIT
121
52
 
122
- http://iso-relax.sourceforge.net/
53
+ ### Native LinuxⓇ platform releases ("x86_64-linux" and "arm64-linux")
123
54
 
124
- Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
125
- Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
126
-
127
- Permission is hereby granted, free of charge, to any person obtaining
128
- a copy of this software and associated documentation files (the
129
- "Software"), to deal in the Software without restriction, including
130
- without limitation the rights to use, copy, modify, merge, publish,
131
- distribute, sublicense, and/or sell copies of the Software, and to
132
- permit persons to whom the Software is furnished to do so, subject to
133
- the following conditions:
134
-
135
- The above copyright notice and this permission notice shall be
136
- included in all copies or substantial portions of the Software.
137
-
138
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
139
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
140
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
141
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
142
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
143
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
144
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
55
+ The native LinuxⓇ platform release distributes the following dependencies in source form:
145
56
 
57
+ - [libxml2](#libxml2)
58
+ - [libxslt](#libxslt)
59
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
60
+ - [zlib](#zlib)
146
61
 
147
- ## jing
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
- BSD-3-Clause
150
64
 
151
- http://www.thaiopensource.com/relaxng/jing.html
65
+ ### Native Darwin (macOSⓇ) platform releases ("x86_64-darwin" and "arm64-darwin")
152
66
 
153
- Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
154
- All rights reserved.
155
-
156
- Redistribution and use in source and binary forms, with or without
157
- modification, are permitted provided that the following conditions
158
- are met:
159
-
160
- * Redistributions of source code must retain the above copyright
161
- notice, this list of conditions and the following disclaimer.
162
-
163
- * Redistributions in binary form must reproduce the above
164
- copyright notice, this list of conditions and the following
165
- disclaimer in the documentation and/or other materials provided
166
- with the distribution.
167
-
168
- * Neither the name of the Thai Open Source Software Center Ltd nor
169
- the names of its contributors may be used to endorse or promote
170
- products derived from this software without specific prior
171
- written permission.
172
-
173
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
174
- CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
175
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
176
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
177
- DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
178
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
179
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
180
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
181
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
182
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
183
- TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
184
- THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
185
- SUCH DAMAGE.
67
+ The native Darwin platform release distributes the following dependencies in source form:
186
68
 
187
-
188
- ## nekodtd
69
+ - [libxml2](#libxml2)
70
+ - [libxslt](#libxslt)
71
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
72
+ - [zlib](#zlib)
73
+ - [libiconv](#libiconv)
189
74
 
190
- Apache 1.0-derived
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
- https://people.apache.org/~andyc/neko/doc/dtd/
193
77
 
194
- The CyberNeko Software License, Version 1.0
195
-
196
- (C) Copyright 2002-2005, Andy Clark. All rights reserved.
197
-
198
- Redistribution and use in source and binary forms, with or without
199
- modification, are permitted provided that the following conditions
200
- are met:
201
-
202
- 1. Redistributions of source code must retain the above copyright
203
- notice, this list of conditions and the following disclaimer.
204
-
205
- 2. Redistributions in binary form must reproduce the above copyright
206
- notice, this list of conditions and the following disclaimer in
207
- the documentation and/or other materials provided with the
208
- distribution.
209
-
210
- 3. The end-user documentation included with the redistribution,
211
- if any, must include the following acknowledgment:
212
- "This product includes software developed by Andy Clark."
213
- Alternately, this acknowledgment may appear in the software itself,
214
- if and wherever such third-party acknowledgments normally appear.
215
-
216
- 4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
217
- or promote products derived from this software without prior
218
- written permission. For written permission, please contact
219
- andyc@cyberneko.net.
220
-
221
- 5. Products derived from this software may not be called "CyberNeko",
222
- nor may "CyberNeko" appear in their name, without prior written
223
- permission of the author.
224
-
225
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
226
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
227
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
228
- DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS
229
- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
230
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
231
- OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
232
- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
233
- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
234
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
235
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
236
-
237
- ====================================================================
238
-
239
- This license is based on the Apache Software License, version 1.1.
78
+ ### Native WindowsⓇ platform releases ("x86-mingw32" and "x64-mingw32")
79
+
80
+ The native WindowsⓇ platform release distributes the following dependencies in source form:
81
+
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.
240
89
 
241
- ## nekohtml
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
242
114
 
243
115
  Apache 2.0
244
116
 
245
- http://nekohtml.sourceforge.net/
117
+ https://github.com/rubys/nokogumbo/blob/f6a7412/LICENSE.txt
118
+
246
119
 
247
-
248
120
  Apache License
249
121
  Version 2.0, January 2004
250
122
  http://www.apache.org/licenses/
@@ -446,223 +318,746 @@ http://nekohtml.sourceforge.net/
446
318
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
447
319
  See the License for the specific language governing permissions and
448
320
  limitations under the License.
321
+
449
322
 
450
- ## xalan
451
-
452
- Apache 2.0
323
+ ### libxml2
453
324
 
454
- https://xml.apache.org/xalan-j/
325
+ MIT
455
326
 
456
- covers xalan.jar and serializer.jar
327
+ http://xmlsoft.org/
457
328
 
458
- Apache License
459
- Version 2.0, January 2004
460
- http://www.apache.org/licenses/
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:
461
332
 
462
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
333
+ Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
463
334
 
464
- 1. Definitions.
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:
465
341
 
466
- "License" shall mean the terms and conditions for use, reproduction,
467
- and distribution as defined by Sections 1 through 9 of this document.
342
+ The above copyright notice and this permission notice shall be included in
343
+ all copies or substantial portions of the Software.
468
344
 
469
- "Licensor" shall mean the copyright owner or entity authorized by
470
- the copyright owner that is granting the License.
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.
471
352
 
472
- "Legal Entity" shall mean the union of the acting entity and all
473
- other entities that control, are controlled by, or are under common
474
- control with that entity. For the purposes of this definition,
475
- "control" means (i) the power, direct or indirect, to cause the
476
- direction or management of such entity, whether by contract or
477
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
478
- outstanding shares, or (iii) beneficial ownership of such entity.
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.
479
363
 
480
- "You" (or "Your") shall mean an individual or Legal Entity
481
- exercising permissions granted by this License.
482
-
483
- "Source" form shall mean the preferred form for making modifications,
484
- including but not limited to software source code, documentation
485
- source, and configuration files.
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:
486
370
 
487
- "Object" form shall mean any form resulting from mechanical
488
- transformation or translation of a Source form, including but
489
- not limited to compiled object code, generated documentation,
490
- and conversions to other media types.
371
+ The above copyright notice and this permission notice shall be included in
372
+ all copies or substantial portions of the Software.
491
373
 
492
- "Work" shall mean the work of authorship, whether in Source or
493
- Object form, made available under the License, as indicated by a
494
- copyright notice that is included in or attached to the work
495
- (an example is provided in the Appendix below).
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.
496
380
 
497
- "Derivative Works" shall mean any work, whether in Source or Object
498
- form, that is based on (or derived from) the Work and for which the
499
- editorial revisions, annotations, elaborations, or other modifications
500
- represent, as a whole, an original work of authorship. For the purposes
501
- of this License, Derivative Works shall not include works that remain
502
- separable from, or merely link (or bind by name) to the interfaces of,
503
- the Work and Derivative Works thereof.
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.
504
384
 
505
- "Contribution" shall mean any work of authorship, including
506
- the original version of the Work and any modifications or additions
507
- to that Work or Derivative Works thereof, that is intentionally
508
- submitted to Licensor for inclusion in the Work by the copyright owner
509
- or by an individual or Legal Entity authorized to submit on behalf of
510
- the copyright owner. For the purposes of this definition, "submitted"
511
- means any form of electronic, verbal, or written communication sent
512
- to the Licensor or its representatives, including but not limited to
513
- communication on electronic mailing lists, source code control systems,
514
- and issue tracking systems that are managed by, or on behalf of, the
515
- Licensor for the purpose of discussing and improving the Work, but
516
- excluding communication that is conspicuously marked or otherwise
517
- designated in writing by the copyright owner as "Not a Contribution."
385
+ ----------------------------------------------------------------------
518
386
 
519
- "Contributor" shall mean Licensor and any individual or Legal Entity
520
- on behalf of whom a Contribution has been received by Licensor and
521
- subsequently incorporated within the Work.
387
+ Licence for libexslt
388
+ ----------------------------------------------------------------------
389
+ Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
390
+ All Rights Reserved.
522
391
 
523
- 2. Grant of Copyright License. Subject to the terms and conditions of
524
- this License, each Contributor hereby grants to You a perpetual,
525
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
526
- copyright license to reproduce, prepare Derivative Works of,
527
- publicly display, publicly perform, sublicense, and distribute the
528
- Work and such Derivative Works in Source or Object form.
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:
529
398
 
530
- 3. Grant of Patent License. Subject to the terms and conditions of
531
- this License, each Contributor hereby grants to You a perpetual,
532
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
533
- (except as stated in this section) patent license to make, have made,
534
- use, offer to sell, sell, import, and otherwise transfer the Work,
535
- where such license applies only to those patent claims licensable
536
- by such Contributor that are necessarily infringed by their
537
- Contribution(s) alone or by combination of their Contribution(s)
538
- with the Work to which such Contribution(s) was submitted. If You
539
- institute patent litigation against any entity (including a
540
- cross-claim or counterclaim in a lawsuit) alleging that the Work
541
- or a Contribution incorporated within the Work constitutes direct
542
- or contributory patent infringement, then any patent licenses
543
- granted to You under this License for that Work shall terminate
544
- as of the date such litigation is filed.
399
+ The above copyright notice and this permission notice shall be included in
400
+ all copies or substantial portions of the Software.
545
401
 
546
- 4. Redistribution. You may reproduce and distribute copies of the
547
- Work or Derivative Works thereof in any medium, with or without
548
- modifications, and in Source or Object form, provided that You
549
- meet the following conditions:
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.
550
408
 
551
- (a) You must give any other recipients of the Work or
552
- Derivative Works a copy of this License; and
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
+ ----------------------------------------------------------------------
553
413
 
554
- (b) You must cause any modified files to carry prominent notices
555
- stating that You changed the files; and
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
556
422
 
557
- (c) You must retain, in the Source form of any Derivative Works
558
- that You distribute, all copyright, patent, trademark, and
559
- attribution notices from the Source form of the Work,
560
- excluding those notices that do not pertain to any part of
561
- the Derivative Works; and
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.
562
426
 
563
- (d) If the Work includes a "NOTICE" text file as part of its
564
- distribution, then any Derivative Works that You distribute must
565
- include a readable copy of the attribution notices contained
566
- within such NOTICE file, excluding those notices that do not
567
- pertain to any part of the Derivative Works, in at least one
568
- of the following places: within a NOTICE text file distributed
569
- as part of the Derivative Works; within the Source form or
570
- documentation, if provided along with the Derivative Works; or,
571
- within a display generated by the Derivative Works, if and
572
- wherever such third-party notices normally appear. The contents
573
- of the NOTICE file are for informational purposes only and
574
- do not modify the License. You may add Your own attribution
575
- notices within Derivative Works that You distribute, alongside
576
- or as an addendum to the NOTICE text from the Work, provided
577
- that such additional attribution notices cannot be construed
578
- as modifying the License.
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:
579
430
 
580
- You may add Your own copyright statement to Your modifications and
581
- may provide additional or different license terms and conditions
582
- for use, reproduction, or distribution of Your modifications, or
583
- for any such Derivative Works as a whole, provided Your use,
584
- reproduction, and distribution of the Work otherwise complies with
585
- the conditions stated in this License.
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.
586
438
 
587
- 5. Submission of Contributions. Unless You explicitly state otherwise,
588
- any Contribution intentionally submitted for inclusion in the Work
589
- by You to the Licensor shall be under the terms and conditions of
590
- this License, without any additional terms or conditions.
591
- Notwithstanding the above, nothing herein shall supersede or modify
592
- the terms of any separate license agreement you may have executed
593
- with Licensor regarding such Contributions.
439
+ Jean-loup Gailly Mark Adler
440
+ jloup@gzip.org madler@alumni.caltech.edu
594
441
 
595
- 6. Trademarks. This License does not grant permission to use the trade
596
- names, trademarks, service marks, or product names of the Licensor,
597
- except as required for reasonable and customary use in describing the
598
- origin of the Work and reproducing the content of the NOTICE file.
442
+
443
+ ### libiconv
444
+
445
+ LGPL
446
+
447
+ https://www.gnu.org/software/libiconv/
448
+
449
+ GNU LIBRARY GENERAL PUBLIC LICENSE
450
+ Version 2, June 1991
599
451
 
600
- 7. Disclaimer of Warranty. Unless required by applicable law or
601
- agreed to in writing, Licensor provides the Work (and each
602
- Contributor provides its Contributions) on an "AS IS" BASIS,
603
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
604
- implied, including, without limitation, any warranties or conditions
605
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
606
- PARTICULAR PURPOSE. You are solely responsible for determining the
607
- appropriateness of using or redistributing the Work and assume any
608
- risks associated with Your exercise of permissions under this License.
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.
609
456
 
610
- 8. Limitation of Liability. In no event and under no legal theory,
611
- whether in tort (including negligence), contract, or otherwise,
612
- unless required by applicable law (such as deliberate and grossly
613
- negligent acts) or agreed to in writing, shall any Contributor be
614
- liable to You for damages, including any direct, indirect, special,
615
- incidental, or consequential damages of any character arising as a
616
- result of this License or out of the use or inability to use the
617
- Work (including but not limited to damages for loss of goodwill,
618
- work stoppage, computer failure or malfunction, or any and all
619
- other commercial damages or losses), even if such Contributor
620
- has been advised of the possibility of such damages.
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.]
621
459
 
622
- 9. Accepting Warranty or Additional Liability. While redistributing
623
- the Work or Derivative Works thereof, You may choose to offer,
624
- and charge a fee for, acceptance of support, warranty, indemnity,
625
- or other liability obligations and/or rights consistent with this
626
- License. However, in accepting such obligations, You may act only
627
- on Your own behalf and on Your sole responsibility, not on behalf
628
- of any other Contributor, and only if You agree to indemnify,
629
- defend, and hold each Contributor harmless for any liability
630
- incurred by, or claims asserted against, such Contributor by reason
631
- of your accepting any such warranty or additional liability.
460
+ Preamble
632
461
 
633
- END OF TERMS AND CONDITIONS
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.
634
466
 
635
- APPENDIX: How to apply the Apache License to your work.
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.
636
471
 
637
- To apply the Apache License to your work, attach the following
638
- boilerplate notice, with the fields enclosed by brackets "[]"
639
- replaced with your own identifying information. (Don't include
640
- the brackets!) The text should be enclosed in the appropriate
641
- comment syntax for the file format. We also recommend that a
642
- file or class name and description of purpose be included on the
643
- same "printed page" as the copyright notice for easier
644
- identification within third-party archives.
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.
645
478
 
646
- Copyright [yyyy] [name of copyright owner]
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.
647
483
 
648
- Licensed under the Apache License, Version 2.0 (the "License");
649
- you may not use this file except in compliance with the License.
650
- You may obtain a copy of the License at
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.
651
491
 
652
- http://www.apache.org/licenses/LICENSE-2.0
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.
653
495
 
654
- Unless required by applicable law or agreed to in writing, software
655
- distributed under the License is distributed on an "AS IS" BASIS,
656
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
657
- See the License for the specific language governing permissions and
658
- limitations under the License.
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.
659
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.
660
1055
 
661
- ## xerces
1056
+ ### nekohtml
662
1057
 
663
1058
  Apache 2.0
664
1059
 
665
- https://xerces.apache.org/xerces2-j/
1060
+ http://nekohtml.sourceforge.net/
666
1061
 
667
1062
 
668
1063
  Apache License
@@ -866,26 +1261,16 @@ https://xerces.apache.org/xerces2-j/
866
1261
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
867
1262
  See the License for the specific language governing permissions and
868
1263
  limitations under the License.
869
-
870
1264
 
871
- ## xml-apis
1265
+ ### xalan
872
1266
 
873
1267
  Apache 2.0
874
1268
 
875
- https://xerces.apache.org/xml-commons/
1269
+ https://xml.apache.org/xalan-j/
876
1270
 
877
- Unless otherwise noted all files in XML Commons are covered under the
878
- Apache License Version 2.0. Please read the LICENSE and NOTICE files.
879
-
880
- XML Commons contains some software and documentation that is covered
881
- under a number of different licenses. This applies particularly to the
882
- xml-commons/java/external/ directory. Most files under
883
- xml-commons/java/external/ are covered under their respective
884
- LICENSE.*.txt files; see the matching README.*.txt files for
885
- descriptions.
1271
+ covers xalan.jar and serializer.jar
886
1272
 
887
-
888
- Apache License
1273
+ Apache License
889
1274
  Version 2.0, January 2004
890
1275
  http://www.apache.org/licenses/
891
1276
 
@@ -1079,534 +1464,440 @@ https://xerces.apache.org/xml-commons/
1079
1464
  you may not use this file except in compliance with the License.
1080
1465
  You may obtain a copy of the License at
1081
1466
 
1082
- http://www.apache.org/licenses/LICENSE-2.0
1083
-
1084
- Unless required by applicable law or agreed to in writing, software
1085
- distributed under the License is distributed on an "AS IS" BASIS,
1086
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1087
- See the License for the specific language governing permissions and
1088
- limitations under the License.
1089
-
1090
-
1091
- # binary windows release
1092
-
1093
- NOTE: these libraries are redistributed ONLY with the binary
1094
- cross-compiled Windows platform version of Nokogiri, both x86-mingw32
1095
- and x64-mingw32.
1096
-
1097
- ## zlib
1098
-
1099
- zlib license
1100
-
1101
- http://www.zlib.net/zlib_license.html
1102
-
1103
- Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
1104
-
1105
- This software is provided 'as-is', without any express or implied
1106
- warranty. In no event will the authors be held liable for any damages
1107
- arising from the use of this software.
1108
-
1109
- Permission is granted to anyone to use this software for any purpose,
1110
- including commercial applications, and to alter it and redistribute it
1111
- freely, subject to the following restrictions:
1112
-
1113
- 1. The origin of this software must not be misrepresented; you must not
1114
- claim that you wrote the original software. If you use this software
1115
- in a product, an acknowledgment in the product documentation would be
1116
- appreciated but is not required.
1117
- 2. Altered source versions must be plainly marked as such, and must not be
1118
- misrepresented as being the original software.
1119
- 3. This notice may not be removed or altered from any source distribution.
1120
-
1121
- Jean-loup Gailly Mark Adler
1122
- jloup@gzip.org madler@alumni.caltech.edu
1123
-
1124
-
1125
- ## libiconv
1126
-
1127
- LGPL
1128
-
1129
- https://www.gnu.org/software/libiconv/
1130
-
1131
- GNU LIBRARY GENERAL PUBLIC LICENSE
1132
- Version 2, June 1991
1133
-
1134
- Copyright (C) 1991 Free Software Foundation, Inc.
1135
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
1136
- Everyone is permitted to copy and distribute verbatim copies
1137
- of this license document, but changing it is not allowed.
1138
-
1139
- [This is the first released version of the library GPL. It is
1140
- numbered 2 because it goes with version 2 of the ordinary GPL.]
1141
-
1142
- Preamble
1467
+ http://www.apache.org/licenses/LICENSE-2.0
1143
1468
 
1144
- The licenses for most software are designed to take away your
1145
- freedom to share and change it. By contrast, the GNU General Public
1146
- Licenses are intended to guarantee your freedom to share and change
1147
- free software--to make sure the software is free for all its users.
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.
1148
1474
 
1149
- This license, the Library General Public License, applies to some
1150
- specially designated Free Software Foundation software, and to any
1151
- other libraries whose authors decide to use it. You can use it for
1152
- your libraries, too.
1475
+
1476
+ ### xerces
1477
+
1478
+ Apache 2.0
1479
+
1480
+ https://xerces.apache.org/xerces2-j/
1481
+
1153
1482
 
1154
- When we speak of free software, we are referring to freedom, not
1155
- price. Our General Public Licenses are designed to make sure that you
1156
- have the freedom to distribute copies of free software (and charge for
1157
- this service if you wish), that you receive source code or can get it
1158
- if you want it, that you can change the software or use pieces of it
1159
- in new free programs; and that you know you can do these things.
1483
+ Apache License
1484
+ Version 2.0, January 2004
1485
+ http://www.apache.org/licenses/
1160
1486
 
1161
- To protect your rights, we need to make restrictions that forbid
1162
- anyone to deny you these rights or to ask you to surrender the rights.
1163
- These restrictions translate to certain responsibilities for you if
1164
- you distribute copies of the library, or if you modify it.
1487
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1165
1488
 
1166
- For example, if you distribute copies of the library, whether gratis
1167
- or for a fee, you must give the recipients all the rights that we gave
1168
- you. You must make sure that they, too, receive or can get the source
1169
- code. If you link a program with the library, you must provide
1170
- complete object files to the recipients so that they can relink them
1171
- with the library, after making changes to the library and recompiling
1172
- it. And you must show them these terms so they know their rights.
1489
+ 1. Definitions.
1173
1490
 
1174
- Our method of protecting your rights has two steps: (1) copyright
1175
- the library, and (2) offer you this license which gives you legal
1176
- permission to copy, distribute and/or modify the library.
1491
+ "License" shall mean the terms and conditions for use, reproduction,
1492
+ and distribution as defined by Sections 1 through 9 of this document.
1177
1493
 
1178
- Also, for each distributor's protection, we want to make certain
1179
- that everyone understands that there is no warranty for this free
1180
- library. If the library is modified by someone else and passed on, we
1181
- want its recipients to know that what they have is not the original
1182
- version, so that any problems introduced by others will not reflect on
1183
- the original authors' reputations.
1184
-
1185
- Finally, any free program is threatened constantly by software
1186
- patents. We wish to avoid the danger that companies distributing free
1187
- software will individually obtain patent licenses, thus in effect
1188
- transforming the program into proprietary software. To prevent this,
1189
- we have made it clear that any patent must be licensed for everyone's
1190
- free use or not licensed at all.
1494
+ "Licensor" shall mean the copyright owner or entity authorized by
1495
+ the copyright owner that is granting the License.
1191
1496
 
1192
- Most GNU software, including some libraries, is covered by the ordinary
1193
- GNU General Public License, which was designed for utility programs. This
1194
- license, the GNU Library General Public License, applies to certain
1195
- designated libraries. This license is quite different from the ordinary
1196
- one; be sure to read it in full, and don't assume that anything in it is
1197
- the same as in the ordinary license.
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.
1198
1504
 
1199
- The reason we have a separate public license for some libraries is that
1200
- they blur the distinction we usually make between modifying or adding to a
1201
- program and simply using it. Linking a program with a library, without
1202
- changing the library, is in some sense simply using the library, and is
1203
- analogous to running a utility program or application program. However, in
1204
- a textual and legal sense, the linked executable is a combined work, a
1205
- derivative of the original library, and the ordinary General Public License
1206
- treats it as such.
1505
+ "You" (or "Your") shall mean an individual or Legal Entity
1506
+ exercising permissions granted by this License.
1207
1507
 
1208
- Because of this blurred distinction, using the ordinary General
1209
- Public License for libraries did not effectively promote software
1210
- sharing, because most developers did not use the libraries. We
1211
- concluded that weaker conditions might promote sharing better.
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.
1212
1511
 
1213
- However, unrestricted linking of non-free programs would deprive the
1214
- users of those programs of all benefit from the free status of the
1215
- libraries themselves. This Library General Public License is intended to
1216
- permit developers of non-free programs to use free libraries, while
1217
- preserving your freedom as a user of such programs to change the free
1218
- libraries that are incorporated in them. (We have not seen how to achieve
1219
- this as regards changes in header files, but we have achieved it as regards
1220
- changes in the actual functions of the Library.) The hope is that this
1221
- will lead to faster development of free libraries.
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.
1222
1516
 
1223
- The precise terms and conditions for copying, distribution and
1224
- modification follow. Pay close attention to the difference between a
1225
- "work based on the library" and a "work that uses the library". The
1226
- former contains code derived from the library, while the latter only
1227
- works together with the library.
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).
1228
1521
 
1229
- Note that it is possible for a library to be covered by the ordinary
1230
- General Public License rather than by this special one.
1231
-
1232
- GNU LIBRARY GENERAL PUBLIC LICENSE
1233
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
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.
1234
1529
 
1235
- 0. This License Agreement applies to any software library which
1236
- contains a notice placed by the copyright holder or other authorized
1237
- party saying it may be distributed under the terms of this Library
1238
- General Public License (also called "this License"). Each licensee is
1239
- addressed as "you".
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."
1240
1543
 
1241
- A "library" means a collection of software functions and/or data
1242
- prepared so as to be conveniently linked with application programs
1243
- (which use some of those functions and data) to form executables.
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.
1244
1547
 
1245
- The "Library", below, refers to any such software library or work
1246
- which has been distributed under these terms. A "work based on the
1247
- Library" means either the Library or any derivative work under
1248
- copyright law: that is to say, a work containing the Library or a
1249
- portion of it, either verbatim or with modifications and/or translated
1250
- straightforwardly into another language. (Hereinafter, translation is
1251
- included without limitation in the term "modification".)
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.
1252
1554
 
1253
- "Source code" for a work means the preferred form of the work for
1254
- making modifications to it. For a library, complete source code means
1255
- all the source code for all modules it contains, plus any associated
1256
- interface definition files, plus the scripts used to control compilation
1257
- and installation of the library.
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.
1258
1570
 
1259
- Activities other than copying, distribution and modification are not
1260
- covered by this License; they are outside its scope. The act of
1261
- running a program using the Library is not restricted, and output from
1262
- such a program is covered only if its contents constitute a work based
1263
- on the Library (independent of the use of the Library in a tool for
1264
- writing it). Whether that is true depends on what the Library does
1265
- and what the program that uses the Library does.
1266
-
1267
- 1. You may copy and distribute verbatim copies of the Library's
1268
- complete source code as you receive it, in any medium, provided that
1269
- you conspicuously and appropriately publish on each copy an
1270
- appropriate copyright notice and disclaimer of warranty; keep intact
1271
- all the notices that refer to this License and to the absence of any
1272
- warranty; and distribute a copy of this License along with the
1273
- Library.
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:
1274
1575
 
1275
- You may charge a fee for the physical act of transferring a copy,
1276
- and you may at your option offer warranty protection in exchange for a
1277
- fee.
1278
-
1279
- 2. You may modify your copy or copies of the Library or any portion
1280
- of it, thus forming a work based on the Library, and copy and
1281
- distribute such modifications or work under the terms of Section 1
1282
- above, provided that you also meet all of these conditions:
1576
+ (a) You must give any other recipients of the Work or
1577
+ Derivative Works a copy of this License; and
1283
1578
 
1284
- a) The modified work must itself be a software library.
1579
+ (b) You must cause any modified files to carry prominent notices
1580
+ stating that You changed the files; and
1285
1581
 
1286
- b) You must cause the files modified to carry prominent notices
1287
- stating that you changed the files and the date of any change.
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
1288
1587
 
1289
- c) You must cause the whole of the work to be licensed at no
1290
- charge to all third parties under the terms of this License.
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.
1291
1604
 
1292
- d) If a facility in the modified Library refers to a function or a
1293
- table of data to be supplied by an application program that uses
1294
- the facility, other than as an argument passed when the facility
1295
- is invoked, then you must make a good faith effort to ensure that,
1296
- in the event an application does not supply such function or
1297
- table, the facility still operates, and performs whatever part of
1298
- its purpose remains meaningful.
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.
1611
+
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.
1299
1619
 
1300
- (For example, a function in a library to compute square roots has
1301
- a purpose that is entirely well-defined independent of the
1302
- application. Therefore, Subsection 2d requires that any
1303
- application-supplied function or table used by this function must
1304
- be optional: if the application does not supply it, the square
1305
- root function must still compute square roots.)
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.
1306
1624
 
1307
- These requirements apply to the modified work as a whole. If
1308
- identifiable sections of that work are not derived from the Library,
1309
- and can be reasonably considered independent and separate works in
1310
- themselves, then this License, and its terms, do not apply to those
1311
- sections when you distribute them as separate works. But when you
1312
- distribute the same sections as part of a whole which is a work based
1313
- on the Library, the distribution of the whole must be on the terms of
1314
- this License, whose permissions for other licensees extend to the
1315
- entire whole, and thus to each and every part regardless of who wrote
1316
- it.
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.
1317
1634
 
1318
- Thus, it is not the intent of this section to claim rights or contest
1319
- your rights to work written entirely by you; rather, the intent is to
1320
- exercise the right to control the distribution of derivative or
1321
- collective works based on the Library.
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.
1322
1646
 
1323
- In addition, mere aggregation of another work not based on the Library
1324
- with the Library (or with a work based on the Library) on a volume of
1325
- a storage or distribution medium does not bring the other work under
1326
- the scope of this License.
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.
1327
1657
 
1328
- 3. You may opt to apply the terms of the ordinary GNU General Public
1329
- License instead of this License to a given copy of the Library. To do
1330
- this, you must alter all the notices that refer to this License, so
1331
- that they refer to the ordinary GNU General Public License, version 2,
1332
- instead of to this License. (If a newer version than version 2 of the
1333
- ordinary GNU General Public License has appeared, then you can specify
1334
- that version instead if you wish.) Do not make any other change in
1335
- these notices.
1336
-
1337
- Once this change is made in a given copy, it is irreversible for
1338
- that copy, so the ordinary GNU General Public License applies to all
1339
- subsequent copies and derivative works made from that copy.
1658
+ END OF TERMS AND CONDITIONS
1340
1659
 
1341
- This option is useful when you wish to copy part of the code of
1342
- the Library into a program that is not a library.
1660
+ APPENDIX: How to apply the Apache License to your work.
1343
1661
 
1344
- 4. You may copy and distribute the Library (or a portion or
1345
- derivative of it, under Section 2) in object code or executable form
1346
- under the terms of Sections 1 and 2 above provided that you accompany
1347
- it with the complete corresponding machine-readable source code, which
1348
- must be distributed under the terms of Sections 1 and 2 above on a
1349
- medium customarily used for software interchange.
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.
1350
1670
 
1351
- If distribution of object code is made by offering access to copy
1352
- from a designated place, then offering equivalent access to copy the
1353
- source code from the same place satisfies the requirement to
1354
- distribute the source code, even though third parties are not
1355
- compelled to copy the source along with the object code.
1671
+ Copyright [yyyy] [name of copyright owner]
1356
1672
 
1357
- 5. A program that contains no derivative of any portion of the
1358
- Library, but is designed to work with the Library by being compiled or
1359
- linked with it, is called a "work that uses the Library". Such a
1360
- work, in isolation, is not a derivative work of the Library, and
1361
- therefore falls outside the scope of this License.
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
1362
1676
 
1363
- However, linking a "work that uses the Library" with the Library
1364
- creates an executable that is a derivative of the Library (because it
1365
- contains portions of the Library), rather than a "work that uses the
1366
- library". The executable is therefore covered by this License.
1367
- Section 6 states terms for distribution of such executables.
1677
+ http://www.apache.org/licenses/LICENSE-2.0
1368
1678
 
1369
- When a "work that uses the Library" uses material from a header file
1370
- that is part of the Library, the object code for the work may be a
1371
- derivative work of the Library even though the source code is not.
1372
- Whether this is true is especially significant if the work can be
1373
- linked without the Library, or if the work is itself a library. The
1374
- threshold for this to be true is not precisely defined by law.
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.
1375
1684
 
1376
- If such an object file uses only numerical parameters, data
1377
- structure layouts and accessors, and small macros and small inline
1378
- functions (ten lines or less in length), then the use of the object
1379
- file is unrestricted, regardless of whether it is legally a derivative
1380
- work. (Executables containing this object code plus portions of the
1381
- Library will still fall under Section 6.)
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.
1382
1694
 
1383
- Otherwise, if the work is a derivative of the Library, you may
1384
- distribute the object code for the work under the terms of Section 6.
1385
- Any executables containing that work also fall under Section 6,
1386
- whether or not they are linked directly with the Library itself.
1387
-
1388
- 6. As an exception to the Sections above, you may also compile or
1389
- link a "work that uses the Library" with the Library to produce a
1390
- work containing portions of the Library, and distribute that work
1391
- under terms of your choice, provided that the terms permit
1392
- modification of the work for the customer's own use and reverse
1393
- engineering for debugging such modifications.
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
+
1394
1702
 
1395
- You must give prominent notice with each copy of the work that the
1396
- Library is used in it and that the Library and its use are covered by
1397
- this License. You must supply a copy of this License. If the work
1398
- during execution displays copyright notices, you must include the
1399
- copyright notice for the Library among them, as well as a reference
1400
- directing the user to the copy of this License. Also, you must do one
1401
- of these things:
1703
+ Apache License
1704
+ Version 2.0, January 2004
1705
+ http://www.apache.org/licenses/
1402
1706
 
1403
- a) Accompany the work with the complete corresponding
1404
- machine-readable source code for the Library including whatever
1405
- changes were used in the work (which must be distributed under
1406
- Sections 1 and 2 above); and, if the work is an executable linked
1407
- with the Library, with the complete machine-readable "work that
1408
- uses the Library", as object code and/or source code, so that the
1409
- user can modify the Library and then relink to produce a modified
1410
- executable containing the modified Library. (It is understood
1411
- that the user who changes the contents of definitions files in the
1412
- Library will not necessarily be able to recompile the application
1413
- to use the modified definitions.)
1707
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1414
1708
 
1415
- b) Accompany the work with a written offer, valid for at
1416
- least three years, to give the same user the materials
1417
- specified in Subsection 6a, above, for a charge no more
1418
- than the cost of performing this distribution.
1709
+ 1. Definitions.
1419
1710
 
1420
- c) If distribution of the work is made by offering access to copy
1421
- from a designated place, offer equivalent access to copy the above
1422
- specified materials from the same place.
1711
+ "License" shall mean the terms and conditions for use, reproduction,
1712
+ and distribution as defined by Sections 1 through 9 of this document.
1423
1713
 
1424
- d) Verify that the user has already received a copy of these
1425
- materials or that you have already sent this user a copy.
1714
+ "Licensor" shall mean the copyright owner or entity authorized by
1715
+ the copyright owner that is granting the License.
1426
1716
 
1427
- For an executable, the required form of the "work that uses the
1428
- Library" must include any data and utility programs needed for
1429
- reproducing the executable from it. However, as a special exception,
1430
- the source code distributed need not include anything that is normally
1431
- distributed (in either source or binary form) with the major
1432
- components (compiler, kernel, and so on) of the operating system on
1433
- which the executable runs, unless that component itself accompanies
1434
- the executable.
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.
1435
1724
 
1436
- It may happen that this requirement contradicts the license
1437
- restrictions of other proprietary libraries that do not normally
1438
- accompany the operating system. Such a contradiction means you cannot
1439
- use both them and the Library together in an executable that you
1440
- distribute.
1441
-
1442
- 7. You may place library facilities that are a work based on the
1443
- Library side-by-side in a single library together with other library
1444
- facilities not covered by this License, and distribute such a combined
1445
- library, provided that the separate distribution of the work based on
1446
- the Library and of the other library facilities is otherwise
1447
- permitted, and provided that you do these two things:
1725
+ "You" (or "Your") shall mean an individual or Legal Entity
1726
+ exercising permissions granted by this License.
1448
1727
 
1449
- a) Accompany the combined library with a copy of the same work
1450
- based on the Library, uncombined with any other library
1451
- facilities. This must be distributed under the terms of the
1452
- Sections above.
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.
1453
1731
 
1454
- b) Give prominent notice with the combined library of the fact
1455
- that part of it is a work based on the Library, and explaining
1456
- where to find the accompanying uncombined form of the same work.
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.
1457
1736
 
1458
- 8. You may not copy, modify, sublicense, link with, or distribute
1459
- the Library except as expressly provided under this License. Any
1460
- attempt otherwise to copy, modify, sublicense, link with, or
1461
- distribute the Library is void, and will automatically terminate your
1462
- rights under this License. However, parties who have received copies,
1463
- or rights, from you under this License will not have their licenses
1464
- terminated so long as such parties remain in full compliance.
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).
1465
1741
 
1466
- 9. You are not required to accept this License, since you have not
1467
- signed it. However, nothing else grants you permission to modify or
1468
- distribute the Library or its derivative works. These actions are
1469
- prohibited by law if you do not accept this License. Therefore, by
1470
- modifying or distributing the Library (or any work based on the
1471
- Library), you indicate your acceptance of this License to do so, and
1472
- all its terms and conditions for copying, distributing or modifying
1473
- the Library or works based on it.
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.
1474
1749
 
1475
- 10. Each time you redistribute the Library (or any work based on the
1476
- Library), the recipient automatically receives a license from the
1477
- original licensor to copy, distribute, link with or modify the Library
1478
- subject to these terms and conditions. You may not impose any further
1479
- restrictions on the recipients' exercise of the rights granted herein.
1480
- You are not responsible for enforcing compliance by third parties to
1481
- this License.
1482
-
1483
- 11. If, as a consequence of a court judgment or allegation of patent
1484
- infringement or for any other reason (not limited to patent issues),
1485
- conditions are imposed on you (whether by court order, agreement or
1486
- otherwise) that contradict the conditions of this License, they do not
1487
- excuse you from the conditions of this License. If you cannot
1488
- distribute so as to satisfy simultaneously your obligations under this
1489
- License and any other pertinent obligations, then as a consequence you
1490
- may not distribute the Library at all. For example, if a patent
1491
- license would not permit royalty-free redistribution of the Library by
1492
- all those who receive copies directly or indirectly through you, then
1493
- the only way you could satisfy both it and this License would be to
1494
- refrain entirely from distribution of the Library.
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."
1495
1763
 
1496
- If any portion of this section is held invalid or unenforceable under any
1497
- particular circumstance, the balance of the section is intended to apply,
1498
- and the section as a whole is intended to apply in other circumstances.
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.
1499
1767
 
1500
- It is not the purpose of this section to induce you to infringe any
1501
- patents or other property right claims or to contest validity of any
1502
- such claims; this section has the sole purpose of protecting the
1503
- integrity of the free software distribution system which is
1504
- implemented by public license practices. Many people have made
1505
- generous contributions to the wide range of software distributed
1506
- through that system in reliance on consistent application of that
1507
- system; it is up to the author/donor to decide if he or she is willing
1508
- to distribute software through any other system and a licensee cannot
1509
- impose that choice.
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.
1510
1774
 
1511
- This section is intended to make thoroughly clear what is believed to
1512
- 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.
1513
1790
 
1514
- 12. If the distribution and/or use of the Library is restricted in
1515
- certain countries either by patents or by copyrighted interfaces, the
1516
- original copyright holder who places the Library under this License may add
1517
- an explicit geographical distribution limitation excluding those countries,
1518
- so that distribution is permitted only in or among countries not thus
1519
- excluded. In such case, this License incorporates the limitation as if
1520
- written in the body of this License.
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:
1521
1795
 
1522
- 13. The Free Software Foundation may publish revised and/or new
1523
- versions of the Library General Public License from time to time.
1524
- Such new versions will be similar in spirit to the present version,
1525
- but may differ in detail to address new problems or concerns.
1796
+ (a) You must give any other recipients of the Work or
1797
+ Derivative Works a copy of this License; and
1526
1798
 
1527
- Each version is given a distinguishing version number. If the Library
1528
- specifies a version number of this License which applies to it and
1529
- "any later version", you have the option of following the terms and
1530
- conditions either of that version or of any later version published by
1531
- the Free Software Foundation. If the Library does not specify a
1532
- license version number, you may choose any version ever published by
1533
- the Free Software Foundation.
1534
-
1535
- 14. If you wish to incorporate parts of the Library into other free
1536
- programs whose distribution conditions are incompatible with these,
1537
- write to the author to ask for permission. For software which is
1538
- copyrighted by the Free Software Foundation, write to the Free
1539
- Software Foundation; we sometimes make exceptions for this. Our
1540
- decision will be guided by the two goals of preserving the free status
1541
- of all derivatives of our free software and of promoting the sharing
1542
- and reuse of software generally.
1799
+ (b) You must cause any modified files to carry prominent notices
1800
+ stating that You changed the files; and
1543
1801
 
1544
- 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
1545
1807
 
1546
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1547
- WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1548
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1549
- OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1550
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1551
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1552
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1553
- LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1554
- THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
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.
1555
1824
 
1556
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1557
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1558
- AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1559
- FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1560
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1561
- LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1562
- RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1563
- FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1564
- SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1565
- DAMAGES.
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.
1566
1831
 
1567
- END OF TERMS AND CONDITIONS
1568
-
1569
- 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.
1570
1839
 
1571
- If you develop a new library, and you want it to be of the greatest
1572
- possible use to the public, we recommend making it free software that
1573
- everyone can redistribute and change. You can do so by permitting
1574
- redistribution under these terms (or, alternatively, under the terms of the
1575
- ordinary General Public License).
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.
1576
1844
 
1577
- To apply these terms, attach the following notices to the library. It is
1578
- safest to attach them to the start of each source file to most effectively
1579
- convey the exclusion of warranty; and each file should have at least the
1580
- "copyright" line and a pointer to where the full notice is found.
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.
1581
1854
 
1582
- <one line to give the library's name and a brief idea of what it does.>
1583
- 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.
1584
1866
 
1585
- This library is free software; you can redistribute it and/or
1586
- modify it under the terms of the GNU Library General Public
1587
- License as published by the Free Software Foundation; either
1588
- version 2 of the License, or (at your option) any later version.
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.
1589
1877
 
1590
- This library is distributed in the hope that it will be useful,
1591
- but WITHOUT ANY WARRANTY; without even the implied warranty of
1592
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1593
- Library General Public License for more details.
1878
+ END OF TERMS AND CONDITIONS
1594
1879
 
1595
- You should have received a copy of the GNU Library General Public
1596
- License along with this library; if not, write to the Free
1597
- Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
1598
- MA 02110-1301, USA
1880
+ APPENDIX: How to apply the Apache License to your work.
1599
1881
 
1600
- 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.
1601
1890
 
1602
- You should also get your employer (if you work as a programmer) or your
1603
- school, if any, to sign a "copyright disclaimer" for the library, if
1604
- necessary. Here is a sample; alter the names:
1891
+ Copyright [yyyy] [name of copyright owner]
1605
1892
 
1606
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
1607
- 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
1608
1896
 
1609
- <signature of Ty Coon>, 1 April 1990
1610
- Ty Coon, President of Vice
1897
+ http://www.apache.org/licenses/LICENSE-2.0
1611
1898
 
1612
- 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.