nokogiri 1.5.10 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

Files changed (334) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +5 -0
  3. data/LICENSE-DEPENDENCIES.md +1903 -0
  4. data/LICENSE.md +9 -0
  5. data/README.md +280 -0
  6. data/bin/nokogiri +84 -31
  7. data/dependencies.yml +73 -0
  8. data/ext/nokogiri/depend +38 -358
  9. data/ext/nokogiri/extconf.rb +956 -100
  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 +120 -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 +232 -87
  18. data/ext/nokogiri/nokogiri.h +188 -129
  19. data/ext/nokogiri/test_global_handlers.c +40 -0
  20. data/ext/nokogiri/xml_attr.c +49 -40
  21. data/ext/nokogiri/xml_attribute_decl.c +18 -18
  22. data/ext/nokogiri/xml_cdata.c +24 -23
  23. data/ext/nokogiri/xml_comment.c +29 -21
  24. data/ext/nokogiri/xml_document.c +327 -223
  25. data/ext/nokogiri/xml_document_fragment.c +12 -16
  26. data/ext/nokogiri/xml_dtd.c +56 -50
  27. data/ext/nokogiri/xml_element_content.c +31 -26
  28. data/ext/nokogiri/xml_element_decl.c +22 -22
  29. data/ext/nokogiri/xml_encoding_handler.c +45 -20
  30. data/ext/nokogiri/xml_entity_decl.c +32 -30
  31. data/ext/nokogiri/xml_entity_reference.c +16 -18
  32. data/ext/nokogiri/xml_namespace.c +74 -32
  33. data/ext/nokogiri/xml_node.c +1290 -680
  34. data/ext/nokogiri/xml_node_set.c +239 -208
  35. data/ext/nokogiri/xml_processing_instruction.c +17 -19
  36. data/ext/nokogiri/xml_reader.c +227 -189
  37. data/ext/nokogiri/xml_relax_ng.c +52 -28
  38. data/ext/nokogiri/xml_sax_parser.c +123 -125
  39. data/ext/nokogiri/xml_sax_parser_context.c +138 -79
  40. data/ext/nokogiri/xml_sax_push_parser.c +88 -35
  41. data/ext/nokogiri/xml_schema.c +112 -33
  42. data/ext/nokogiri/xml_syntax_error.c +50 -23
  43. data/ext/nokogiri/xml_text.c +14 -18
  44. data/ext/nokogiri/xml_xpath_context.c +227 -140
  45. data/ext/nokogiri/xslt_stylesheet.c +162 -168
  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 -58
  93. data/lib/nokogiri/css/parser.rb +327 -288
  94. data/lib/nokogiri/css/parser.y +67 -45
  95. data/lib/nokogiri/css/parser_extras.rb +52 -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 +7 -6
  99. data/lib/nokogiri/css/xpath_visitor.rb +263 -75
  100. data/lib/nokogiri/css.rb +50 -17
  101. data/lib/nokogiri/decorators/slop.rb +17 -8
  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/html4/document.rb +331 -0
  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 +24 -15
  112. data/lib/nokogiri/html4/sax/parser_context.rb +20 -0
  113. data/lib/nokogiri/html4/sax/push_parser.rb +37 -0
  114. data/lib/nokogiri/html4.rb +46 -0
  115. data/lib/nokogiri/html5/document.rb +88 -0
  116. data/lib/nokogiri/html5/document_fragment.rb +83 -0
  117. data/lib/nokogiri/html5/node.rb +96 -0
  118. data/lib/nokogiri/html5.rb +477 -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 +221 -0
  123. data/lib/nokogiri/version.rb +3 -90
  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 +96 -54
  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 +234 -95
  130. data/lib/nokogiri/xml/document_fragment.rb +86 -36
  131. data/lib/nokogiri/xml/dtd.rb +16 -4
  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 +20 -0
  136. data/lib/nokogiri/xml/namespace.rb +3 -0
  137. data/lib/nokogiri/xml/node/save_options.rb +8 -4
  138. data/lib/nokogiri/xml/node.rb +947 -502
  139. data/lib/nokogiri/xml/node_set.rb +168 -159
  140. data/lib/nokogiri/xml/notation.rb +13 -0
  141. data/lib/nokogiri/xml/parse_options.rb +40 -5
  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 +23 -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 +43 -41
  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 +259 -0
  155. data/lib/nokogiri/xml/syntax_error.rb +25 -1
  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 -36
  161. data/lib/nokogiri/xslt/stylesheet.rb +3 -1
  162. data/lib/nokogiri/xslt.rb +18 -16
  163. data/lib/nokogiri.rb +69 -69
  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/0004-use-glibc-strlen.patch +53 -0
  169. data/patches/libxml2/0005-avoid-isnan-isinf.patch +81 -0
  170. data/patches/libxml2/0006-update-automake-files-for-arm64.patch +2511 -0
  171. data/patches/libxml2/0007-Fix-XPath-recursion-limit.patch +31 -0
  172. data/patches/libxml2/0008-htmlParseComment-handle-abruptly-closed-comments.patch +61 -0
  173. data/patches/libxml2/0009-allow-wildcard-namespaces.patch +77 -0
  174. data/patches/libxslt/0001-update-automake-files-for-arm64.patch +2511 -0
  175. data/patches/libxslt/0002-Fix-xml2-config-check-in-configure-script.patch +19 -0
  176. data/ports/archives/libxml2-2.9.12.tar.gz +0 -0
  177. data/ports/archives/libxslt-1.1.34.tar.gz +0 -0
  178. metadata +382 -460
  179. data/.autotest +0 -26
  180. data/.gemtest +0 -0
  181. data/CHANGELOG.ja.rdoc +0 -785
  182. data/CHANGELOG.rdoc +0 -783
  183. data/C_CODING_STYLE.rdoc +0 -33
  184. data/Manifest.txt +0 -303
  185. data/README.ja.rdoc +0 -106
  186. data/README.rdoc +0 -175
  187. data/ROADMAP.md +0 -90
  188. data/Rakefile +0 -228
  189. data/STANDARD_RESPONSES.md +0 -47
  190. data/Y_U_NO_GEMSPEC.md +0 -155
  191. data/build_all +0 -105
  192. data/ext/nokogiri/html_document.c +0 -170
  193. data/ext/nokogiri/html_document.h +0 -10
  194. data/ext/nokogiri/html_element_description.c +0 -279
  195. data/ext/nokogiri/html_element_description.h +0 -10
  196. data/ext/nokogiri/html_entity_lookup.c +0 -32
  197. data/ext/nokogiri/html_entity_lookup.h +0 -8
  198. data/ext/nokogiri/html_sax_parser_context.c +0 -116
  199. data/ext/nokogiri/html_sax_parser_context.h +0 -11
  200. data/ext/nokogiri/html_sax_push_parser.c +0 -87
  201. data/ext/nokogiri/html_sax_push_parser.h +0 -9
  202. data/ext/nokogiri/xml_attr.h +0 -9
  203. data/ext/nokogiri/xml_attribute_decl.h +0 -9
  204. data/ext/nokogiri/xml_cdata.h +0 -9
  205. data/ext/nokogiri/xml_comment.h +0 -9
  206. data/ext/nokogiri/xml_document.h +0 -23
  207. data/ext/nokogiri/xml_document_fragment.h +0 -10
  208. data/ext/nokogiri/xml_dtd.h +0 -10
  209. data/ext/nokogiri/xml_element_content.h +0 -10
  210. data/ext/nokogiri/xml_element_decl.h +0 -9
  211. data/ext/nokogiri/xml_encoding_handler.h +0 -8
  212. data/ext/nokogiri/xml_entity_decl.h +0 -10
  213. data/ext/nokogiri/xml_entity_reference.h +0 -9
  214. data/ext/nokogiri/xml_io.c +0 -56
  215. data/ext/nokogiri/xml_io.h +0 -11
  216. data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
  217. data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
  218. data/ext/nokogiri/xml_namespace.h +0 -13
  219. data/ext/nokogiri/xml_node.h +0 -13
  220. data/ext/nokogiri/xml_node_set.h +0 -14
  221. data/ext/nokogiri/xml_processing_instruction.h +0 -9
  222. data/ext/nokogiri/xml_reader.h +0 -10
  223. data/ext/nokogiri/xml_relax_ng.h +0 -9
  224. data/ext/nokogiri/xml_sax_parser.h +0 -39
  225. data/ext/nokogiri/xml_sax_parser_context.h +0 -10
  226. data/ext/nokogiri/xml_sax_push_parser.h +0 -9
  227. data/ext/nokogiri/xml_schema.h +0 -9
  228. data/ext/nokogiri/xml_syntax_error.h +0 -13
  229. data/ext/nokogiri/xml_text.h +0 -9
  230. data/ext/nokogiri/xml_xpath_context.h +0 -10
  231. data/ext/nokogiri/xslt_stylesheet.h +0 -14
  232. data/lib/nokogiri/html/document.rb +0 -254
  233. data/lib/nokogiri/html/document_fragment.rb +0 -41
  234. data/lib/nokogiri/html/element_description_defaults.rb +0 -671
  235. data/lib/nokogiri/html/sax/parser_context.rb +0 -16
  236. data/lib/nokogiri/html/sax/push_parser.rb +0 -16
  237. data/tasks/cross_compile.rb +0 -150
  238. data/tasks/nokogiri.org.rb +0 -24
  239. data/tasks/test.rb +0 -95
  240. data/test/css/test_nthiness.rb +0 -159
  241. data/test/css/test_parser.rb +0 -341
  242. data/test/css/test_tokenizer.rb +0 -198
  243. data/test/css/test_xpath_visitor.rb +0 -91
  244. data/test/decorators/test_slop.rb +0 -16
  245. data/test/files/2ch.html +0 -108
  246. data/test/files/address_book.rlx +0 -12
  247. data/test/files/address_book.xml +0 -10
  248. data/test/files/bar/bar.xsd +0 -4
  249. data/test/files/dont_hurt_em_why.xml +0 -422
  250. data/test/files/encoding.html +0 -82
  251. data/test/files/encoding.xhtml +0 -84
  252. data/test/files/exslt.xml +0 -8
  253. data/test/files/exslt.xslt +0 -35
  254. data/test/files/foo/foo.xsd +0 -4
  255. data/test/files/metacharset.html +0 -10
  256. data/test/files/noencoding.html +0 -47
  257. data/test/files/po.xml +0 -32
  258. data/test/files/po.xsd +0 -66
  259. data/test/files/shift_jis.html +0 -10
  260. data/test/files/shift_jis.xml +0 -5
  261. data/test/files/snuggles.xml +0 -3
  262. data/test/files/staff.dtd +0 -10
  263. data/test/files/staff.xml +0 -59
  264. data/test/files/staff.xslt +0 -32
  265. data/test/files/test_document_url/bar.xml +0 -2
  266. data/test/files/test_document_url/document.dtd +0 -4
  267. data/test/files/test_document_url/document.xml +0 -6
  268. data/test/files/tlm.html +0 -850
  269. data/test/files/to_be_xincluded.xml +0 -2
  270. data/test/files/valid_bar.xml +0 -2
  271. data/test/files/xinclude.xml +0 -4
  272. data/test/helper.rb +0 -154
  273. data/test/html/sax/test_parser.rb +0 -141
  274. data/test/html/sax/test_parser_context.rb +0 -46
  275. data/test/html/test_builder.rb +0 -164
  276. data/test/html/test_document.rb +0 -552
  277. data/test/html/test_document_encoding.rb +0 -138
  278. data/test/html/test_document_fragment.rb +0 -261
  279. data/test/html/test_element_description.rb +0 -105
  280. data/test/html/test_named_characters.rb +0 -14
  281. data/test/html/test_node.rb +0 -196
  282. data/test/html/test_node_encoding.rb +0 -27
  283. data/test/namespaces/test_additional_namespaces_in_builder_doc.rb +0 -14
  284. data/test/namespaces/test_namespaces_in_builder_doc.rb +0 -75
  285. data/test/namespaces/test_namespaces_in_created_doc.rb +0 -75
  286. data/test/namespaces/test_namespaces_in_parsed_doc.rb +0 -66
  287. data/test/test_convert_xpath.rb +0 -135
  288. data/test/test_css_cache.rb +0 -45
  289. data/test/test_encoding_handler.rb +0 -46
  290. data/test/test_memory_leak.rb +0 -156
  291. data/test/test_nokogiri.rb +0 -132
  292. data/test/test_reader.rb +0 -555
  293. data/test/test_soap4r_sax.rb +0 -52
  294. data/test/test_xslt_transforms.rb +0 -254
  295. data/test/xml/node/test_save_options.rb +0 -28
  296. data/test/xml/node/test_subclass.rb +0 -44
  297. data/test/xml/sax/test_parser.rb +0 -366
  298. data/test/xml/sax/test_parser_context.rb +0 -106
  299. data/test/xml/sax/test_push_parser.rb +0 -157
  300. data/test/xml/test_attr.rb +0 -64
  301. data/test/xml/test_attribute_decl.rb +0 -86
  302. data/test/xml/test_builder.rb +0 -306
  303. data/test/xml/test_c14n.rb +0 -151
  304. data/test/xml/test_cdata.rb +0 -48
  305. data/test/xml/test_comment.rb +0 -29
  306. data/test/xml/test_document.rb +0 -828
  307. data/test/xml/test_document_encoding.rb +0 -28
  308. data/test/xml/test_document_fragment.rb +0 -223
  309. data/test/xml/test_dtd.rb +0 -103
  310. data/test/xml/test_dtd_encoding.rb +0 -33
  311. data/test/xml/test_element_content.rb +0 -56
  312. data/test/xml/test_element_decl.rb +0 -73
  313. data/test/xml/test_entity_decl.rb +0 -122
  314. data/test/xml/test_entity_reference.rb +0 -245
  315. data/test/xml/test_namespace.rb +0 -95
  316. data/test/xml/test_node.rb +0 -1137
  317. data/test/xml/test_node_attributes.rb +0 -96
  318. data/test/xml/test_node_encoding.rb +0 -107
  319. data/test/xml/test_node_inheritance.rb +0 -32
  320. data/test/xml/test_node_reparenting.rb +0 -374
  321. data/test/xml/test_node_set.rb +0 -755
  322. data/test/xml/test_parse_options.rb +0 -64
  323. data/test/xml/test_processing_instruction.rb +0 -30
  324. data/test/xml/test_reader_encoding.rb +0 -142
  325. data/test/xml/test_relax_ng.rb +0 -60
  326. data/test/xml/test_schema.rb +0 -103
  327. data/test/xml/test_syntax_error.rb +0 -12
  328. data/test/xml/test_text.rb +0 -45
  329. data/test/xml/test_unparented_node.rb +0 -422
  330. data/test/xml/test_xinclude.rb +0 -83
  331. data/test/xml/test_xpath.rb +0 -295
  332. data/test/xslt/test_custom_functions.rb +0 -133
  333. data/test/xslt/test_exception_handling.rb +0 -37
  334. data/test_all +0 -81
@@ -0,0 +1,1903 @@
1
+ # Vendored Dependency Licenses
2
+
3
+ Nokogiri ships with some third party dependencies, which are listed here along with their licenses.
4
+
5
+ Note that this document is broken into multiple sections, each of which describes the dependencies of a different "platform release" of Nokogiri.
6
+
7
+ <!-- regenerate TOC with `markdown-toc -i` -->
8
+
9
+ <!-- toc -->
10
+
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)
30
+
31
+ <!-- tocstop -->
32
+
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.
34
+
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`).
36
+
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.
38
+
39
+
40
+ ## Platform Releases
41
+
42
+ ### Default platform release ("ruby")
43
+
44
+ The default platform release distributes the following dependencies in source form:
45
+
46
+ - [libxml2](#libxml2)
47
+ - [libxslt](#libxslt)
48
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
49
+
50
+ This distribution can be identified by inspecting the included Gem::Specification, which will have the value "ruby" for its "platform" attribute.
51
+
52
+
53
+ ### Native LinuxⓇ platform releases ("x86_64-linux" and "arm64-linux")
54
+
55
+ The native LinuxⓇ platform release distributes the following dependencies in source form:
56
+
57
+ - [libxml2](#libxml2)
58
+ - [libxslt](#libxslt)
59
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
60
+ - [zlib](#zlib)
61
+
62
+ This distribution can be identified by inspecting the included Gem::Specification, which will have a value similar to "x86_64-linux" or "x86-linux" for its "platform.cpu" attribute.
63
+
64
+
65
+ ### Native Darwin (macOSⓇ) platform releases ("x86_64-darwin" and "arm64-darwin")
66
+
67
+ The native Darwin platform release distributes the following dependencies in source form:
68
+
69
+ - [libxml2](#libxml2)
70
+ - [libxslt](#libxslt)
71
+ - [libgumbo and nokogumbo](#libgumbo-and-nokogumbo)
72
+ - [zlib](#zlib)
73
+ - [libiconv](#libiconv)
74
+
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.
76
+
77
+
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.
89
+
90
+
91
+ ### JavaⓇ (JRuby) platform release ("java")
92
+
93
+ The Java platform release distributes the following dependencies as compiled jar files:
94
+
95
+ - [isorelax](#isorelax)
96
+ - [jing](#jing)
97
+ - [nekodtd](#nekodtd)
98
+ - [nekohtml](#nekohtml)
99
+ - [xalan](#xalan)
100
+ - [xerces](#xerces)
101
+ - [xml-apis](#xml-apis)
102
+
103
+ This distribution can be identified by inspecting the included Gem::Specification, which will have the value "java" for its "platform.os" attribute.
104
+
105
+
106
+ ## Appendix: Dependencies' License Texts
107
+
108
+ This section contains a subsection for each potentially-distributed dependency, which includes the name of the license and the license text.
109
+
110
+ Please see previous sections to understand which of these potential dependencies is actually distributed in the gem file you're downloading and using.
111
+
112
+
113
+ ### libgumbo and nokogumbo
114
+
115
+ Apache 2.0
116
+
117
+ https://github.com/rubys/nokogumbo/blob/f6a7412/LICENSE.txt
118
+
119
+
120
+ Apache License
121
+ Version 2.0, January 2004
122
+ http://www.apache.org/licenses/
123
+
124
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
125
+
126
+ 1. Definitions.
127
+
128
+ "License" shall mean the terms and conditions for use, reproduction,
129
+ and distribution as defined by Sections 1 through 9 of this document.
130
+
131
+ "Licensor" shall mean the copyright owner or entity authorized by
132
+ the copyright owner that is granting the License.
133
+
134
+ "Legal Entity" shall mean the union of the acting entity and all
135
+ other entities that control, are controlled by, or are under common
136
+ control with that entity. For the purposes of this definition,
137
+ "control" means (i) the power, direct or indirect, to cause the
138
+ direction or management of such entity, whether by contract or
139
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
140
+ outstanding shares, or (iii) beneficial ownership of such entity.
141
+
142
+ "You" (or "Your") shall mean an individual or Legal Entity
143
+ exercising permissions granted by this License.
144
+
145
+ "Source" form shall mean the preferred form for making modifications,
146
+ including but not limited to software source code, documentation
147
+ source, and configuration files.
148
+
149
+ "Object" form shall mean any form resulting from mechanical
150
+ transformation or translation of a Source form, including but
151
+ not limited to compiled object code, generated documentation,
152
+ and conversions to other media types.
153
+
154
+ "Work" shall mean the work of authorship, whether in Source or
155
+ Object form, made available under the License, as indicated by a
156
+ copyright notice that is included in or attached to the work
157
+ (an example is provided in the Appendix below).
158
+
159
+ "Derivative Works" shall mean any work, whether in Source or Object
160
+ form, that is based on (or derived from) the Work and for which the
161
+ editorial revisions, annotations, elaborations, or other modifications
162
+ represent, as a whole, an original work of authorship. For the purposes
163
+ of this License, Derivative Works shall not include works that remain
164
+ separable from, or merely link (or bind by name) to the interfaces of,
165
+ the Work and Derivative Works thereof.
166
+
167
+ "Contribution" shall mean any work of authorship, including
168
+ the original version of the Work and any modifications or additions
169
+ to that Work or Derivative Works thereof, that is intentionally
170
+ submitted to Licensor for inclusion in the Work by the copyright owner
171
+ or by an individual or Legal Entity authorized to submit on behalf of
172
+ the copyright owner. For the purposes of this definition, "submitted"
173
+ means any form of electronic, verbal, or written communication sent
174
+ to the Licensor or its representatives, including but not limited to
175
+ communication on electronic mailing lists, source code control systems,
176
+ and issue tracking systems that are managed by, or on behalf of, the
177
+ Licensor for the purpose of discussing and improving the Work, but
178
+ excluding communication that is conspicuously marked or otherwise
179
+ designated in writing by the copyright owner as "Not a Contribution."
180
+
181
+ "Contributor" shall mean Licensor and any individual or Legal Entity
182
+ on behalf of whom a Contribution has been received by Licensor and
183
+ subsequently incorporated within the Work.
184
+
185
+ 2. Grant of Copyright License. Subject to the terms and conditions of
186
+ this License, each Contributor hereby grants to You a perpetual,
187
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
188
+ copyright license to reproduce, prepare Derivative Works of,
189
+ publicly display, publicly perform, sublicense, and distribute the
190
+ Work and such Derivative Works in Source or Object form.
191
+
192
+ 3. Grant of Patent License. Subject to the terms and conditions of
193
+ this License, each Contributor hereby grants to You a perpetual,
194
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
195
+ (except as stated in this section) patent license to make, have made,
196
+ use, offer to sell, sell, import, and otherwise transfer the Work,
197
+ where such license applies only to those patent claims licensable
198
+ by such Contributor that are necessarily infringed by their
199
+ Contribution(s) alone or by combination of their Contribution(s)
200
+ with the Work to which such Contribution(s) was submitted. If You
201
+ institute patent litigation against any entity (including a
202
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
203
+ or a Contribution incorporated within the Work constitutes direct
204
+ or contributory patent infringement, then any patent licenses
205
+ granted to You under this License for that Work shall terminate
206
+ as of the date such litigation is filed.
207
+
208
+ 4. Redistribution. You may reproduce and distribute copies of the
209
+ Work or Derivative Works thereof in any medium, with or without
210
+ modifications, and in Source or Object form, provided that You
211
+ meet the following conditions:
212
+
213
+ (a) You must give any other recipients of the Work or
214
+ Derivative Works a copy of this License; and
215
+
216
+ (b) You must cause any modified files to carry prominent notices
217
+ stating that You changed the files; and
218
+
219
+ (c) You must retain, in the Source form of any Derivative Works
220
+ that You distribute, all copyright, patent, trademark, and
221
+ attribution notices from the Source form of the Work,
222
+ excluding those notices that do not pertain to any part of
223
+ the Derivative Works; and
224
+
225
+ (d) If the Work includes a "NOTICE" text file as part of its
226
+ distribution, then any Derivative Works that You distribute must
227
+ include a readable copy of the attribution notices contained
228
+ within such NOTICE file, excluding those notices that do not
229
+ pertain to any part of the Derivative Works, in at least one
230
+ of the following places: within a NOTICE text file distributed
231
+ as part of the Derivative Works; within the Source form or
232
+ documentation, if provided along with the Derivative Works; or,
233
+ within a display generated by the Derivative Works, if and
234
+ wherever such third-party notices normally appear. The contents
235
+ of the NOTICE file are for informational purposes only and
236
+ do not modify the License. You may add Your own attribution
237
+ notices within Derivative Works that You distribute, alongside
238
+ or as an addendum to the NOTICE text from the Work, provided
239
+ that such additional attribution notices cannot be construed
240
+ as modifying the License.
241
+
242
+ You may add Your own copyright statement to Your modifications and
243
+ may provide additional or different license terms and conditions
244
+ for use, reproduction, or distribution of Your modifications, or
245
+ for any such Derivative Works as a whole, provided Your use,
246
+ reproduction, and distribution of the Work otherwise complies with
247
+ the conditions stated in this License.
248
+
249
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
250
+ any Contribution intentionally submitted for inclusion in the Work
251
+ by You to the Licensor shall be under the terms and conditions of
252
+ this License, without any additional terms or conditions.
253
+ Notwithstanding the above, nothing herein shall supersede or modify
254
+ the terms of any separate license agreement you may have executed
255
+ with Licensor regarding such Contributions.
256
+
257
+ 6. Trademarks. This License does not grant permission to use the trade
258
+ names, trademarks, service marks, or product names of the Licensor,
259
+ except as required for reasonable and customary use in describing the
260
+ origin of the Work and reproducing the content of the NOTICE file.
261
+
262
+ 7. Disclaimer of Warranty. Unless required by applicable law or
263
+ agreed to in writing, Licensor provides the Work (and each
264
+ Contributor provides its Contributions) on an "AS IS" BASIS,
265
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
266
+ implied, including, without limitation, any warranties or conditions
267
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
268
+ PARTICULAR PURPOSE. You are solely responsible for determining the
269
+ appropriateness of using or redistributing the Work and assume any
270
+ risks associated with Your exercise of permissions under this License.
271
+
272
+ 8. Limitation of Liability. In no event and under no legal theory,
273
+ whether in tort (including negligence), contract, or otherwise,
274
+ unless required by applicable law (such as deliberate and grossly
275
+ negligent acts) or agreed to in writing, shall any Contributor be
276
+ liable to You for damages, including any direct, indirect, special,
277
+ incidental, or consequential damages of any character arising as a
278
+ result of this License or out of the use or inability to use the
279
+ Work (including but not limited to damages for loss of goodwill,
280
+ work stoppage, computer failure or malfunction, or any and all
281
+ other commercial damages or losses), even if such Contributor
282
+ has been advised of the possibility of such damages.
283
+
284
+ 9. Accepting Warranty or Additional Liability. While redistributing
285
+ the Work or Derivative Works thereof, You may choose to offer,
286
+ and charge a fee for, acceptance of support, warranty, indemnity,
287
+ or other liability obligations and/or rights consistent with this
288
+ License. However, in accepting such obligations, You may act only
289
+ on Your own behalf and on Your sole responsibility, not on behalf
290
+ of any other Contributor, and only if You agree to indemnify,
291
+ defend, and hold each Contributor harmless for any liability
292
+ incurred by, or claims asserted against, such Contributor by reason
293
+ of your accepting any such warranty or additional liability.
294
+
295
+ END OF TERMS AND CONDITIONS
296
+
297
+ APPENDIX: How to apply the Apache License to your work.
298
+
299
+ To apply the Apache License to your work, attach the following
300
+ boilerplate notice, with the fields enclosed by brackets "[]"
301
+ replaced with your own identifying information. (Don't include
302
+ the brackets!) The text should be enclosed in the appropriate
303
+ comment syntax for the file format. We also recommend that a
304
+ file or class name and description of purpose be included on the
305
+ same "printed page" as the copyright notice for easier
306
+ identification within third-party archives.
307
+
308
+ Copyright [yyyy] [name of copyright owner]
309
+
310
+ Licensed under the Apache License, Version 2.0 (the "License");
311
+ you may not use this file except in compliance with the License.
312
+ You may obtain a copy of the License at
313
+
314
+ http://www.apache.org/licenses/LICENSE-2.0
315
+
316
+ Unless required by applicable law or agreed to in writing, software
317
+ distributed under the License is distributed on an "AS IS" BASIS,
318
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
319
+ See the License for the specific language governing permissions and
320
+ limitations under the License.
321
+
322
+
323
+ ### libxml2
324
+
325
+ MIT
326
+
327
+ http://xmlsoft.org/
328
+
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:
332
+
333
+ Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
334
+
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:
341
+
342
+ The above copyright notice and this permission notice shall be included in
343
+ all copies or substantial portions of the Software.
344
+
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.
352
+
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.
363
+
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:
370
+
371
+ The above copyright notice and this permission notice shall be included in
372
+ all copies or substantial portions of the Software.
373
+
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.
380
+
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.
384
+
385
+ ----------------------------------------------------------------------
386
+
387
+ Licence for libexslt
388
+ ----------------------------------------------------------------------
389
+ Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard.
390
+ All Rights Reserved.
391
+
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:
398
+
399
+ The above copyright notice and this permission notice shall be included in
400
+ all copies or substantial portions of the Software.
401
+
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.
408
+
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
+ ----------------------------------------------------------------------
413
+
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
422
+
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.
426
+
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:
430
+
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.
438
+
439
+ Jean-loup Gailly Mark Adler
440
+ jloup@gzip.org madler@alumni.caltech.edu
441
+
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
451
+
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.
456
+
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.]
459
+
460
+ Preamble
461
+
462
+ The licenses for most software are designed to take away your
463
+ freedom to share and change it. By contrast, the GNU General Public
464
+ Licenses are intended to guarantee your freedom to share and change
465
+ free software--to make sure the software is free for all its users.
466
+
467
+ This license, the Library General Public License, applies to some
468
+ specially designated Free Software Foundation software, and to any
469
+ other libraries whose authors decide to use it. You can use it for
470
+ your libraries, too.
471
+
472
+ When we speak of free software, we are referring to freedom, not
473
+ price. Our General Public Licenses are designed to make sure that you
474
+ have the freedom to distribute copies of free software (and charge for
475
+ this service if you wish), that you receive source code or can get it
476
+ if you want it, that you can change the software or use pieces of it
477
+ in new free programs; and that you know you can do these things.
478
+
479
+ To protect your rights, we need to make restrictions that forbid
480
+ anyone to deny you these rights or to ask you to surrender the rights.
481
+ These restrictions translate to certain responsibilities for you if
482
+ you distribute copies of the library, or if you modify it.
483
+
484
+ For example, if you distribute copies of the library, whether gratis
485
+ or for a fee, you must give the recipients all the rights that we gave
486
+ you. You must make sure that they, too, receive or can get the source
487
+ code. If you link a program with the library, you must provide
488
+ complete object files to the recipients so that they can relink them
489
+ with the library, after making changes to the library and recompiling
490
+ it. And you must show them these terms so they know their rights.
491
+
492
+ Our method of protecting your rights has two steps: (1) copyright
493
+ the library, and (2) offer you this license which gives you legal
494
+ permission to copy, distribute and/or modify the library.
495
+
496
+ Also, for each distributor's protection, we want to make certain
497
+ that everyone understands that there is no warranty for this free
498
+ library. If the library is modified by someone else and passed on, we
499
+ want its recipients to know that what they have is not the original
500
+ version, so that any problems introduced by others will not reflect on
501
+ the original authors' reputations.
502
+
503
+ Finally, any free program is threatened constantly by software
504
+ patents. We wish to avoid the danger that companies distributing free
505
+ software will individually obtain patent licenses, thus in effect
506
+ transforming the program into proprietary software. To prevent this,
507
+ we have made it clear that any patent must be licensed for everyone's
508
+ free use or not licensed at all.
509
+
510
+ Most GNU software, including some libraries, is covered by the ordinary
511
+ GNU General Public License, which was designed for utility programs. This
512
+ license, the GNU Library General Public License, applies to certain
513
+ designated libraries. This license is quite different from the ordinary
514
+ one; be sure to read it in full, and don't assume that anything in it is
515
+ the same as in the ordinary license.
516
+
517
+ The reason we have a separate public license for some libraries is that
518
+ they blur the distinction we usually make between modifying or adding to a
519
+ program and simply using it. Linking a program with a library, without
520
+ changing the library, is in some sense simply using the library, and is
521
+ analogous to running a utility program or application program. However, in
522
+ a textual and legal sense, the linked executable is a combined work, a
523
+ derivative of the original library, and the ordinary General Public License
524
+ treats it as such.
525
+
526
+ Because of this blurred distinction, using the ordinary General
527
+ Public License for libraries did not effectively promote software
528
+ sharing, because most developers did not use the libraries. We
529
+ concluded that weaker conditions might promote sharing better.
530
+
531
+ However, unrestricted linking of non-free programs would deprive the
532
+ users of those programs of all benefit from the free status of the
533
+ libraries themselves. This Library General Public License is intended to
534
+ permit developers of non-free programs to use free libraries, while
535
+ preserving your freedom as a user of such programs to change the free
536
+ libraries that are incorporated in them. (We have not seen how to achieve
537
+ this as regards changes in header files, but we have achieved it as regards
538
+ changes in the actual functions of the Library.) The hope is that this
539
+ will lead to faster development of free libraries.
540
+
541
+ The precise terms and conditions for copying, distribution and
542
+ modification follow. Pay close attention to the difference between a
543
+ "work based on the library" and a "work that uses the library". The
544
+ former contains code derived from the library, while the latter only
545
+ works together with the library.
546
+
547
+ Note that it is possible for a library to be covered by the ordinary
548
+ General Public License rather than by this special one.
549
+
550
+ GNU LIBRARY GENERAL PUBLIC LICENSE
551
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
552
+
553
+ 0. This License Agreement applies to any software library which
554
+ contains a notice placed by the copyright holder or other authorized
555
+ party saying it may be distributed under the terms of this Library
556
+ General Public License (also called "this License"). Each licensee is
557
+ addressed as "you".
558
+
559
+ A "library" means a collection of software functions and/or data
560
+ prepared so as to be conveniently linked with application programs
561
+ (which use some of those functions and data) to form executables.
562
+
563
+ The "Library", below, refers to any such software library or work
564
+ which has been distributed under these terms. A "work based on the
565
+ Library" means either the Library or any derivative work under
566
+ copyright law: that is to say, a work containing the Library or a
567
+ portion of it, either verbatim or with modifications and/or translated
568
+ straightforwardly into another language. (Hereinafter, translation is
569
+ included without limitation in the term "modification".)
570
+
571
+ "Source code" for a work means the preferred form of the work for
572
+ making modifications to it. For a library, complete source code means
573
+ all the source code for all modules it contains, plus any associated
574
+ interface definition files, plus the scripts used to control compilation
575
+ and installation of the library.
576
+
577
+ Activities other than copying, distribution and modification are not
578
+ covered by this License; they are outside its scope. The act of
579
+ running a program using the Library is not restricted, and output from
580
+ such a program is covered only if its contents constitute a work based
581
+ on the Library (independent of the use of the Library in a tool for
582
+ writing it). Whether that is true depends on what the Library does
583
+ and what the program that uses the Library does.
584
+
585
+ 1. You may copy and distribute verbatim copies of the Library's
586
+ complete source code as you receive it, in any medium, provided that
587
+ you conspicuously and appropriately publish on each copy an
588
+ appropriate copyright notice and disclaimer of warranty; keep intact
589
+ all the notices that refer to this License and to the absence of any
590
+ warranty; and distribute a copy of this License along with the
591
+ Library.
592
+
593
+ You may charge a fee for the physical act of transferring a copy,
594
+ and you may at your option offer warranty protection in exchange for a
595
+ fee.
596
+
597
+ 2. You may modify your copy or copies of the Library or any portion
598
+ of it, thus forming a work based on the Library, and copy and
599
+ distribute such modifications or work under the terms of Section 1
600
+ above, provided that you also meet all of these conditions:
601
+
602
+ a) The modified work must itself be a software library.
603
+
604
+ b) You must cause the files modified to carry prominent notices
605
+ stating that you changed the files and the date of any change.
606
+
607
+ c) You must cause the whole of the work to be licensed at no
608
+ charge to all third parties under the terms of this License.
609
+
610
+ d) If a facility in the modified Library refers to a function or a
611
+ table of data to be supplied by an application program that uses
612
+ the facility, other than as an argument passed when the facility
613
+ is invoked, then you must make a good faith effort to ensure that,
614
+ in the event an application does not supply such function or
615
+ table, the facility still operates, and performs whatever part of
616
+ its purpose remains meaningful.
617
+
618
+ (For example, a function in a library to compute square roots has
619
+ a purpose that is entirely well-defined independent of the
620
+ application. Therefore, Subsection 2d requires that any
621
+ application-supplied function or table used by this function must
622
+ be optional: if the application does not supply it, the square
623
+ root function must still compute square roots.)
624
+
625
+ These requirements apply to the modified work as a whole. If
626
+ identifiable sections of that work are not derived from the Library,
627
+ and can be reasonably considered independent and separate works in
628
+ themselves, then this License, and its terms, do not apply to those
629
+ sections when you distribute them as separate works. But when you
630
+ distribute the same sections as part of a whole which is a work based
631
+ on the Library, the distribution of the whole must be on the terms of
632
+ this License, whose permissions for other licensees extend to the
633
+ entire whole, and thus to each and every part regardless of who wrote
634
+ it.
635
+
636
+ Thus, it is not the intent of this section to claim rights or contest
637
+ your rights to work written entirely by you; rather, the intent is to
638
+ exercise the right to control the distribution of derivative or
639
+ collective works based on the Library.
640
+
641
+ In addition, mere aggregation of another work not based on the Library
642
+ with the Library (or with a work based on the Library) on a volume of
643
+ a storage or distribution medium does not bring the other work under
644
+ the scope of this License.
645
+
646
+ 3. You may opt to apply the terms of the ordinary GNU General Public
647
+ License instead of this License to a given copy of the Library. To do
648
+ this, you must alter all the notices that refer to this License, so
649
+ that they refer to the ordinary GNU General Public License, version 2,
650
+ instead of to this License. (If a newer version than version 2 of the
651
+ ordinary GNU General Public License has appeared, then you can specify
652
+ that version instead if you wish.) Do not make any other change in
653
+ these notices.
654
+
655
+ Once this change is made in a given copy, it is irreversible for
656
+ that copy, so the ordinary GNU General Public License applies to all
657
+ subsequent copies and derivative works made from that copy.
658
+
659
+ This option is useful when you wish to copy part of the code of
660
+ the Library into a program that is not a library.
661
+
662
+ 4. You may copy and distribute the Library (or a portion or
663
+ derivative of it, under Section 2) in object code or executable form
664
+ under the terms of Sections 1 and 2 above provided that you accompany
665
+ it with the complete corresponding machine-readable source code, which
666
+ must be distributed under the terms of Sections 1 and 2 above on a
667
+ medium customarily used for software interchange.
668
+
669
+ If distribution of object code is made by offering access to copy
670
+ from a designated place, then offering equivalent access to copy the
671
+ source code from the same place satisfies the requirement to
672
+ distribute the source code, even though third parties are not
673
+ compelled to copy the source along with the object code.
674
+
675
+ 5. A program that contains no derivative of any portion of the
676
+ Library, but is designed to work with the Library by being compiled or
677
+ linked with it, is called a "work that uses the Library". Such a
678
+ work, in isolation, is not a derivative work of the Library, and
679
+ therefore falls outside the scope of this License.
680
+
681
+ However, linking a "work that uses the Library" with the Library
682
+ creates an executable that is a derivative of the Library (because it
683
+ contains portions of the Library), rather than a "work that uses the
684
+ library". The executable is therefore covered by this License.
685
+ Section 6 states terms for distribution of such executables.
686
+
687
+ When a "work that uses the Library" uses material from a header file
688
+ that is part of the Library, the object code for the work may be a
689
+ derivative work of the Library even though the source code is not.
690
+ Whether this is true is especially significant if the work can be
691
+ linked without the Library, or if the work is itself a library. The
692
+ threshold for this to be true is not precisely defined by law.
693
+
694
+ If such an object file uses only numerical parameters, data
695
+ structure layouts and accessors, and small macros and small inline
696
+ functions (ten lines or less in length), then the use of the object
697
+ file is unrestricted, regardless of whether it is legally a derivative
698
+ work. (Executables containing this object code plus portions of the
699
+ Library will still fall under Section 6.)
700
+
701
+ Otherwise, if the work is a derivative of the Library, you may
702
+ distribute the object code for the work under the terms of Section 6.
703
+ Any executables containing that work also fall under Section 6,
704
+ whether or not they are linked directly with the Library itself.
705
+
706
+ 6. As an exception to the Sections above, you may also compile or
707
+ link a "work that uses the Library" with the Library to produce a
708
+ work containing portions of the Library, and distribute that work
709
+ under terms of your choice, provided that the terms permit
710
+ modification of the work for the customer's own use and reverse
711
+ engineering for debugging such modifications.
712
+
713
+ You must give prominent notice with each copy of the work that the
714
+ Library is used in it and that the Library and its use are covered by
715
+ this License. You must supply a copy of this License. If the work
716
+ during execution displays copyright notices, you must include the
717
+ copyright notice for the Library among them, as well as a reference
718
+ directing the user to the copy of this License. Also, you must do one
719
+ of these things:
720
+
721
+ a) Accompany the work with the complete corresponding
722
+ machine-readable source code for the Library including whatever
723
+ changes were used in the work (which must be distributed under
724
+ Sections 1 and 2 above); and, if the work is an executable linked
725
+ with the Library, with the complete machine-readable "work that
726
+ uses the Library", as object code and/or source code, so that the
727
+ user can modify the Library and then relink to produce a modified
728
+ executable containing the modified Library. (It is understood
729
+ that the user who changes the contents of definitions files in the
730
+ Library will not necessarily be able to recompile the application
731
+ to use the modified definitions.)
732
+
733
+ b) Accompany the work with a written offer, valid for at
734
+ least three years, to give the same user the materials
735
+ specified in Subsection 6a, above, for a charge no more
736
+ than the cost of performing this distribution.
737
+
738
+ c) If distribution of the work is made by offering access to copy
739
+ from a designated place, offer equivalent access to copy the above
740
+ specified materials from the same place.
741
+
742
+ d) Verify that the user has already received a copy of these
743
+ materials or that you have already sent this user a copy.
744
+
745
+ For an executable, the required form of the "work that uses the
746
+ Library" must include any data and utility programs needed for
747
+ reproducing the executable from it. However, as a special exception,
748
+ the source code distributed need not include anything that is normally
749
+ distributed (in either source or binary form) with the major
750
+ components (compiler, kernel, and so on) of the operating system on
751
+ which the executable runs, unless that component itself accompanies
752
+ the executable.
753
+
754
+ It may happen that this requirement contradicts the license
755
+ restrictions of other proprietary libraries that do not normally
756
+ accompany the operating system. Such a contradiction means you cannot
757
+ use both them and the Library together in an executable that you
758
+ distribute.
759
+
760
+ 7. You may place library facilities that are a work based on the
761
+ Library side-by-side in a single library together with other library
762
+ facilities not covered by this License, and distribute such a combined
763
+ library, provided that the separate distribution of the work based on
764
+ the Library and of the other library facilities is otherwise
765
+ permitted, and provided that you do these two things:
766
+
767
+ a) Accompany the combined library with a copy of the same work
768
+ based on the Library, uncombined with any other library
769
+ facilities. This must be distributed under the terms of the
770
+ Sections above.
771
+
772
+ b) Give prominent notice with the combined library of the fact
773
+ that part of it is a work based on the Library, and explaining
774
+ where to find the accompanying uncombined form of the same work.
775
+
776
+ 8. You may not copy, modify, sublicense, link with, or distribute
777
+ the Library except as expressly provided under this License. Any
778
+ attempt otherwise to copy, modify, sublicense, link with, or
779
+ distribute the Library is void, and will automatically terminate your
780
+ rights under this License. However, parties who have received copies,
781
+ or rights, from you under this License will not have their licenses
782
+ terminated so long as such parties remain in full compliance.
783
+
784
+ 9. You are not required to accept this License, since you have not
785
+ signed it. However, nothing else grants you permission to modify or
786
+ distribute the Library or its derivative works. These actions are
787
+ prohibited by law if you do not accept this License. Therefore, by
788
+ modifying or distributing the Library (or any work based on the
789
+ Library), you indicate your acceptance of this License to do so, and
790
+ all its terms and conditions for copying, distributing or modifying
791
+ the Library or works based on it.
792
+
793
+ 10. Each time you redistribute the Library (or any work based on the
794
+ Library), the recipient automatically receives a license from the
795
+ original licensor to copy, distribute, link with or modify the Library
796
+ subject to these terms and conditions. You may not impose any further
797
+ restrictions on the recipients' exercise of the rights granted herein.
798
+ You are not responsible for enforcing compliance by third parties to
799
+ this License.
800
+
801
+ 11. If, as a consequence of a court judgment or allegation of patent
802
+ infringement or for any other reason (not limited to patent issues),
803
+ conditions are imposed on you (whether by court order, agreement or
804
+ otherwise) that contradict the conditions of this License, they do not
805
+ excuse you from the conditions of this License. If you cannot
806
+ distribute so as to satisfy simultaneously your obligations under this
807
+ License and any other pertinent obligations, then as a consequence you
808
+ may not distribute the Library at all. For example, if a patent
809
+ license would not permit royalty-free redistribution of the Library by
810
+ all those who receive copies directly or indirectly through you, then
811
+ the only way you could satisfy both it and this License would be to
812
+ refrain entirely from distribution of the Library.
813
+
814
+ If any portion of this section is held invalid or unenforceable under any
815
+ particular circumstance, the balance of the section is intended to apply,
816
+ and the section as a whole is intended to apply in other circumstances.
817
+
818
+ It is not the purpose of this section to induce you to infringe any
819
+ patents or other property right claims or to contest validity of any
820
+ such claims; this section has the sole purpose of protecting the
821
+ integrity of the free software distribution system which is
822
+ implemented by public license practices. Many people have made
823
+ generous contributions to the wide range of software distributed
824
+ through that system in reliance on consistent application of that
825
+ system; it is up to the author/donor to decide if he or she is willing
826
+ to distribute software through any other system and a licensee cannot
827
+ impose that choice.
828
+
829
+ This section is intended to make thoroughly clear what is believed to
830
+ be a consequence of the rest of this License.
831
+
832
+ 12. If the distribution and/or use of the Library is restricted in
833
+ certain countries either by patents or by copyrighted interfaces, the
834
+ original copyright holder who places the Library under this License may add
835
+ an explicit geographical distribution limitation excluding those countries,
836
+ so that distribution is permitted only in or among countries not thus
837
+ excluded. In such case, this License incorporates the limitation as if
838
+ written in the body of this License.
839
+
840
+ 13. The Free Software Foundation may publish revised and/or new
841
+ versions of the Library General Public License from time to time.
842
+ Such new versions will be similar in spirit to the present version,
843
+ but may differ in detail to address new problems or concerns.
844
+
845
+ Each version is given a distinguishing version number. If the Library
846
+ specifies a version number of this License which applies to it and
847
+ "any later version", you have the option of following the terms and
848
+ conditions either of that version or of any later version published by
849
+ the Free Software Foundation. If the Library does not specify a
850
+ license version number, you may choose any version ever published by
851
+ the Free Software Foundation.
852
+
853
+ 14. If you wish to incorporate parts of the Library into other free
854
+ programs whose distribution conditions are incompatible with these,
855
+ write to the author to ask for permission. For software which is
856
+ copyrighted by the Free Software Foundation, write to the Free
857
+ Software Foundation; we sometimes make exceptions for this. Our
858
+ decision will be guided by the two goals of preserving the free status
859
+ of all derivatives of our free software and of promoting the sharing
860
+ and reuse of software generally.
861
+
862
+ NO WARRANTY
863
+
864
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
865
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
866
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
867
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
868
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
869
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
870
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
871
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
872
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
873
+
874
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
875
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
876
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
877
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
878
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
879
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
880
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
881
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
882
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
883
+ DAMAGES.
884
+
885
+ END OF TERMS AND CONDITIONS
886
+
887
+ Appendix: How to Apply These Terms to Your New Libraries
888
+
889
+ If you develop a new library, and you want it to be of the greatest
890
+ possible use to the public, we recommend making it free software that
891
+ everyone can redistribute and change. You can do so by permitting
892
+ redistribution under these terms (or, alternatively, under the terms of the
893
+ ordinary General Public License).
894
+
895
+ To apply these terms, attach the following notices to the library. It is
896
+ safest to attach them to the start of each source file to most effectively
897
+ convey the exclusion of warranty; and each file should have at least the
898
+ "copyright" line and a pointer to where the full notice is found.
899
+
900
+ <one line to give the library's name and a brief idea of what it does.>
901
+ Copyright (C) <year> <name of author>
902
+
903
+ This library is free software; you can redistribute it and/or
904
+ modify it under the terms of the GNU Library General Public
905
+ License as published by the Free Software Foundation; either
906
+ version 2 of the License, or (at your option) any later version.
907
+
908
+ This library is distributed in the hope that it will be useful,
909
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
910
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
911
+ Library General Public License for more details.
912
+
913
+ You should have received a copy of the GNU Library General Public
914
+ License along with this library; if not, write to the Free
915
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
916
+ MA 02110-1301, USA
917
+
918
+ Also add information on how to contact you by electronic and paper mail.
919
+
920
+ You should also get your employer (if you work as a programmer) or your
921
+ school, if any, to sign a "copyright disclaimer" for the library, if
922
+ necessary. Here is a sample; alter the names:
923
+
924
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
925
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
926
+
927
+ <signature of Ty Coon>, 1 April 1990
928
+ Ty Coon, President of Vice
929
+
930
+ That's all there is to it!
931
+
932
+
933
+ ### isorelax
934
+
935
+ MIT
936
+
937
+ http://iso-relax.sourceforge.net/
938
+
939
+ Copyright (c) 2001-2002, SourceForge ISO-RELAX Project (ASAMI
940
+ Tomoharu, Daisuke Okajima, Kohsuke Kawaguchi, and MURATA Makoto)
941
+
942
+ Permission is hereby granted, free of charge, to any person obtaining
943
+ a copy of this software and associated documentation files (the
944
+ "Software"), to deal in the Software without restriction, including
945
+ without limitation the rights to use, copy, modify, merge, publish,
946
+ distribute, sublicense, and/or sell copies of the Software, and to
947
+ permit persons to whom the Software is furnished to do so, subject to
948
+ the following conditions:
949
+
950
+ The above copyright notice and this permission notice shall be
951
+ included in all copies or substantial portions of the Software.
952
+
953
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
954
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
955
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
956
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
957
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
958
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
959
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
960
+
961
+
962
+ ### jing
963
+
964
+ BSD-3-Clause
965
+
966
+ http://www.thaiopensource.com/relaxng/jing.html
967
+
968
+ Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
969
+ All rights reserved.
970
+
971
+ Redistribution and use in source and binary forms, with or without
972
+ modification, are permitted provided that the following conditions
973
+ are met:
974
+
975
+ * Redistributions of source code must retain the above copyright
976
+ notice, this list of conditions and the following disclaimer.
977
+
978
+ * Redistributions in binary form must reproduce the above
979
+ copyright notice, this list of conditions and the following
980
+ disclaimer in the documentation and/or other materials provided
981
+ with the distribution.
982
+
983
+ * Neither the name of the Thai Open Source Software Center Ltd nor
984
+ the names of its contributors may be used to endorse or promote
985
+ products derived from this software without specific prior
986
+ written permission.
987
+
988
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
989
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
990
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
991
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
992
+ DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
993
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
994
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
995
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
996
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
997
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
998
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
999
+ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1000
+ SUCH DAMAGE.
1001
+
1002
+
1003
+ ### nekodtd
1004
+
1005
+ Apache 1.0-derived
1006
+
1007
+ https://people.apache.org/~andyc/neko/doc/dtd/
1008
+
1009
+ The CyberNeko Software License, Version 1.0
1010
+
1011
+ (C) Copyright 2002-2005, Andy Clark. All rights reserved.
1012
+
1013
+ Redistribution and use in source and binary forms, with or without
1014
+ modification, are permitted provided that the following conditions
1015
+ are met:
1016
+
1017
+ 1. Redistributions of source code must retain the above copyright
1018
+ notice, this list of conditions and the following disclaimer.
1019
+
1020
+ 2. Redistributions in binary form must reproduce the above copyright
1021
+ notice, this list of conditions and the following disclaimer in
1022
+ the documentation and/or other materials provided with the
1023
+ distribution.
1024
+
1025
+ 3. The end-user documentation included with the redistribution,
1026
+ if any, must include the following acknowledgment:
1027
+ "This product includes software developed by Andy Clark."
1028
+ Alternately, this acknowledgment may appear in the software itself,
1029
+ if and wherever such third-party acknowledgments normally appear.
1030
+
1031
+ 4. The names "CyberNeko" and "NekoHTML" must not be used to endorse
1032
+ or promote products derived from this software without prior
1033
+ written permission. For written permission, please contact
1034
+ andyc@cyberneko.net.
1035
+
1036
+ 5. Products derived from this software may not be called "CyberNeko",
1037
+ nor may "CyberNeko" appear in their name, without prior written
1038
+ permission of the author.
1039
+
1040
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
1041
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1042
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1043
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS
1044
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
1045
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
1046
+ OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1047
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1048
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
1049
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
1050
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1051
+
1052
+ ====================================================================
1053
+
1054
+ This license is based on the Apache Software License, version 1.1.
1055
+
1056
+ ### nekohtml
1057
+
1058
+ Apache 2.0
1059
+
1060
+ http://nekohtml.sourceforge.net/
1061
+
1062
+
1063
+ Apache License
1064
+ Version 2.0, January 2004
1065
+ http://www.apache.org/licenses/
1066
+
1067
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1068
+
1069
+ 1. Definitions.
1070
+
1071
+ "License" shall mean the terms and conditions for use, reproduction,
1072
+ and distribution as defined by Sections 1 through 9 of this document.
1073
+
1074
+ "Licensor" shall mean the copyright owner or entity authorized by
1075
+ the copyright owner that is granting the License.
1076
+
1077
+ "Legal Entity" shall mean the union of the acting entity and all
1078
+ other entities that control, are controlled by, or are under common
1079
+ control with that entity. For the purposes of this definition,
1080
+ "control" means (i) the power, direct or indirect, to cause the
1081
+ direction or management of such entity, whether by contract or
1082
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1083
+ outstanding shares, or (iii) beneficial ownership of such entity.
1084
+
1085
+ "You" (or "Your") shall mean an individual or Legal Entity
1086
+ exercising permissions granted by this License.
1087
+
1088
+ "Source" form shall mean the preferred form for making modifications,
1089
+ including but not limited to software source code, documentation
1090
+ source, and configuration files.
1091
+
1092
+ "Object" form shall mean any form resulting from mechanical
1093
+ transformation or translation of a Source form, including but
1094
+ not limited to compiled object code, generated documentation,
1095
+ and conversions to other media types.
1096
+
1097
+ "Work" shall mean the work of authorship, whether in Source or
1098
+ Object form, made available under the License, as indicated by a
1099
+ copyright notice that is included in or attached to the work
1100
+ (an example is provided in the Appendix below).
1101
+
1102
+ "Derivative Works" shall mean any work, whether in Source or Object
1103
+ form, that is based on (or derived from) the Work and for which the
1104
+ editorial revisions, annotations, elaborations, or other modifications
1105
+ represent, as a whole, an original work of authorship. For the purposes
1106
+ of this License, Derivative Works shall not include works that remain
1107
+ separable from, or merely link (or bind by name) to the interfaces of,
1108
+ the Work and Derivative Works thereof.
1109
+
1110
+ "Contribution" shall mean any work of authorship, including
1111
+ the original version of the Work and any modifications or additions
1112
+ to that Work or Derivative Works thereof, that is intentionally
1113
+ submitted to Licensor for inclusion in the Work by the copyright owner
1114
+ or by an individual or Legal Entity authorized to submit on behalf of
1115
+ the copyright owner. For the purposes of this definition, "submitted"
1116
+ means any form of electronic, verbal, or written communication sent
1117
+ to the Licensor or its representatives, including but not limited to
1118
+ communication on electronic mailing lists, source code control systems,
1119
+ and issue tracking systems that are managed by, or on behalf of, the
1120
+ Licensor for the purpose of discussing and improving the Work, but
1121
+ excluding communication that is conspicuously marked or otherwise
1122
+ designated in writing by the copyright owner as "Not a Contribution."
1123
+
1124
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1125
+ on behalf of whom a Contribution has been received by Licensor and
1126
+ subsequently incorporated within the Work.
1127
+
1128
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1129
+ this License, each Contributor hereby grants to You a perpetual,
1130
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1131
+ copyright license to reproduce, prepare Derivative Works of,
1132
+ publicly display, publicly perform, sublicense, and distribute the
1133
+ Work and such Derivative Works in Source or Object form.
1134
+
1135
+ 3. Grant of Patent License. Subject to the terms and conditions of
1136
+ this License, each Contributor hereby grants to You a perpetual,
1137
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1138
+ (except as stated in this section) patent license to make, have made,
1139
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1140
+ where such license applies only to those patent claims licensable
1141
+ by such Contributor that are necessarily infringed by their
1142
+ Contribution(s) alone or by combination of their Contribution(s)
1143
+ with the Work to which such Contribution(s) was submitted. If You
1144
+ institute patent litigation against any entity (including a
1145
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1146
+ or a Contribution incorporated within the Work constitutes direct
1147
+ or contributory patent infringement, then any patent licenses
1148
+ granted to You under this License for that Work shall terminate
1149
+ as of the date such litigation is filed.
1150
+
1151
+ 4. Redistribution. You may reproduce and distribute copies of the
1152
+ Work or Derivative Works thereof in any medium, with or without
1153
+ modifications, and in Source or Object form, provided that You
1154
+ meet the following conditions:
1155
+
1156
+ (a) You must give any other recipients of the Work or
1157
+ Derivative Works a copy of this License; and
1158
+
1159
+ (b) You must cause any modified files to carry prominent notices
1160
+ stating that You changed the files; and
1161
+
1162
+ (c) You must retain, in the Source form of any Derivative Works
1163
+ that You distribute, all copyright, patent, trademark, and
1164
+ attribution notices from the Source form of the Work,
1165
+ excluding those notices that do not pertain to any part of
1166
+ the Derivative Works; and
1167
+
1168
+ (d) If the Work includes a "NOTICE" text file as part of its
1169
+ distribution, then any Derivative Works that You distribute must
1170
+ include a readable copy of the attribution notices contained
1171
+ within such NOTICE file, excluding those notices that do not
1172
+ pertain to any part of the Derivative Works, in at least one
1173
+ of the following places: within a NOTICE text file distributed
1174
+ as part of the Derivative Works; within the Source form or
1175
+ documentation, if provided along with the Derivative Works; or,
1176
+ within a display generated by the Derivative Works, if and
1177
+ wherever such third-party notices normally appear. The contents
1178
+ of the NOTICE file are for informational purposes only and
1179
+ do not modify the License. You may add Your own attribution
1180
+ notices within Derivative Works that You distribute, alongside
1181
+ or as an addendum to the NOTICE text from the Work, provided
1182
+ that such additional attribution notices cannot be construed
1183
+ as modifying the License.
1184
+
1185
+ You may add Your own copyright statement to Your modifications and
1186
+ may provide additional or different license terms and conditions
1187
+ for use, reproduction, or distribution of Your modifications, or
1188
+ for any such Derivative Works as a whole, provided Your use,
1189
+ reproduction, and distribution of the Work otherwise complies with
1190
+ the conditions stated in this License.
1191
+
1192
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1193
+ any Contribution intentionally submitted for inclusion in the Work
1194
+ by You to the Licensor shall be under the terms and conditions of
1195
+ this License, without any additional terms or conditions.
1196
+ Notwithstanding the above, nothing herein shall supersede or modify
1197
+ the terms of any separate license agreement you may have executed
1198
+ with Licensor regarding such Contributions.
1199
+
1200
+ 6. Trademarks. This License does not grant permission to use the trade
1201
+ names, trademarks, service marks, or product names of the Licensor,
1202
+ except as required for reasonable and customary use in describing the
1203
+ origin of the Work and reproducing the content of the NOTICE file.
1204
+
1205
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1206
+ agreed to in writing, Licensor provides the Work (and each
1207
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1208
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1209
+ implied, including, without limitation, any warranties or conditions
1210
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1211
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1212
+ appropriateness of using or redistributing the Work and assume any
1213
+ risks associated with Your exercise of permissions under this License.
1214
+
1215
+ 8. Limitation of Liability. In no event and under no legal theory,
1216
+ whether in tort (including negligence), contract, or otherwise,
1217
+ unless required by applicable law (such as deliberate and grossly
1218
+ negligent acts) or agreed to in writing, shall any Contributor be
1219
+ liable to You for damages, including any direct, indirect, special,
1220
+ incidental, or consequential damages of any character arising as a
1221
+ result of this License or out of the use or inability to use the
1222
+ Work (including but not limited to damages for loss of goodwill,
1223
+ work stoppage, computer failure or malfunction, or any and all
1224
+ other commercial damages or losses), even if such Contributor
1225
+ has been advised of the possibility of such damages.
1226
+
1227
+ 9. Accepting Warranty or Additional Liability. While redistributing
1228
+ the Work or Derivative Works thereof, You may choose to offer,
1229
+ and charge a fee for, acceptance of support, warranty, indemnity,
1230
+ or other liability obligations and/or rights consistent with this
1231
+ License. However, in accepting such obligations, You may act only
1232
+ on Your own behalf and on Your sole responsibility, not on behalf
1233
+ of any other Contributor, and only if You agree to indemnify,
1234
+ defend, and hold each Contributor harmless for any liability
1235
+ incurred by, or claims asserted against, such Contributor by reason
1236
+ of your accepting any such warranty or additional liability.
1237
+
1238
+ END OF TERMS AND CONDITIONS
1239
+
1240
+ APPENDIX: How to apply the Apache License to your work.
1241
+
1242
+ To apply the Apache License to your work, attach the following
1243
+ boilerplate notice, with the fields enclosed by brackets "[]"
1244
+ replaced with your own identifying information. (Don't include
1245
+ the brackets!) The text should be enclosed in the appropriate
1246
+ comment syntax for the file format. We also recommend that a
1247
+ file or class name and description of purpose be included on the
1248
+ same "printed page" as the copyright notice for easier
1249
+ identification within third-party archives.
1250
+
1251
+ Copyright [yyyy] [name of copyright owner]
1252
+
1253
+ Licensed under the Apache License, Version 2.0 (the "License");
1254
+ you may not use this file except in compliance with the License.
1255
+ You may obtain a copy of the License at
1256
+
1257
+ http://www.apache.org/licenses/LICENSE-2.0
1258
+
1259
+ Unless required by applicable law or agreed to in writing, software
1260
+ distributed under the License is distributed on an "AS IS" BASIS,
1261
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1262
+ See the License for the specific language governing permissions and
1263
+ limitations under the License.
1264
+
1265
+ ### xalan
1266
+
1267
+ Apache 2.0
1268
+
1269
+ https://xml.apache.org/xalan-j/
1270
+
1271
+ covers xalan.jar and serializer.jar
1272
+
1273
+ Apache License
1274
+ Version 2.0, January 2004
1275
+ http://www.apache.org/licenses/
1276
+
1277
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1278
+
1279
+ 1. Definitions.
1280
+
1281
+ "License" shall mean the terms and conditions for use, reproduction,
1282
+ and distribution as defined by Sections 1 through 9 of this document.
1283
+
1284
+ "Licensor" shall mean the copyright owner or entity authorized by
1285
+ the copyright owner that is granting the License.
1286
+
1287
+ "Legal Entity" shall mean the union of the acting entity and all
1288
+ other entities that control, are controlled by, or are under common
1289
+ control with that entity. For the purposes of this definition,
1290
+ "control" means (i) the power, direct or indirect, to cause the
1291
+ direction or management of such entity, whether by contract or
1292
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1293
+ outstanding shares, or (iii) beneficial ownership of such entity.
1294
+
1295
+ "You" (or "Your") shall mean an individual or Legal Entity
1296
+ exercising permissions granted by this License.
1297
+
1298
+ "Source" form shall mean the preferred form for making modifications,
1299
+ including but not limited to software source code, documentation
1300
+ source, and configuration files.
1301
+
1302
+ "Object" form shall mean any form resulting from mechanical
1303
+ transformation or translation of a Source form, including but
1304
+ not limited to compiled object code, generated documentation,
1305
+ and conversions to other media types.
1306
+
1307
+ "Work" shall mean the work of authorship, whether in Source or
1308
+ Object form, made available under the License, as indicated by a
1309
+ copyright notice that is included in or attached to the work
1310
+ (an example is provided in the Appendix below).
1311
+
1312
+ "Derivative Works" shall mean any work, whether in Source or Object
1313
+ form, that is based on (or derived from) the Work and for which the
1314
+ editorial revisions, annotations, elaborations, or other modifications
1315
+ represent, as a whole, an original work of authorship. For the purposes
1316
+ of this License, Derivative Works shall not include works that remain
1317
+ separable from, or merely link (or bind by name) to the interfaces of,
1318
+ the Work and Derivative Works thereof.
1319
+
1320
+ "Contribution" shall mean any work of authorship, including
1321
+ the original version of the Work and any modifications or additions
1322
+ to that Work or Derivative Works thereof, that is intentionally
1323
+ submitted to Licensor for inclusion in the Work by the copyright owner
1324
+ or by an individual or Legal Entity authorized to submit on behalf of
1325
+ the copyright owner. For the purposes of this definition, "submitted"
1326
+ means any form of electronic, verbal, or written communication sent
1327
+ to the Licensor or its representatives, including but not limited to
1328
+ communication on electronic mailing lists, source code control systems,
1329
+ and issue tracking systems that are managed by, or on behalf of, the
1330
+ Licensor for the purpose of discussing and improving the Work, but
1331
+ excluding communication that is conspicuously marked or otherwise
1332
+ designated in writing by the copyright owner as "Not a Contribution."
1333
+
1334
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1335
+ on behalf of whom a Contribution has been received by Licensor and
1336
+ subsequently incorporated within the Work.
1337
+
1338
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1339
+ this License, each Contributor hereby grants to You a perpetual,
1340
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1341
+ copyright license to reproduce, prepare Derivative Works of,
1342
+ publicly display, publicly perform, sublicense, and distribute the
1343
+ Work and such Derivative Works in Source or Object form.
1344
+
1345
+ 3. Grant of Patent License. Subject to the terms and conditions of
1346
+ this License, each Contributor hereby grants to You a perpetual,
1347
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1348
+ (except as stated in this section) patent license to make, have made,
1349
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1350
+ where such license applies only to those patent claims licensable
1351
+ by such Contributor that are necessarily infringed by their
1352
+ Contribution(s) alone or by combination of their Contribution(s)
1353
+ with the Work to which such Contribution(s) was submitted. If You
1354
+ institute patent litigation against any entity (including a
1355
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1356
+ or a Contribution incorporated within the Work constitutes direct
1357
+ or contributory patent infringement, then any patent licenses
1358
+ granted to You under this License for that Work shall terminate
1359
+ as of the date such litigation is filed.
1360
+
1361
+ 4. Redistribution. You may reproduce and distribute copies of the
1362
+ Work or Derivative Works thereof in any medium, with or without
1363
+ modifications, and in Source or Object form, provided that You
1364
+ meet the following conditions:
1365
+
1366
+ (a) You must give any other recipients of the Work or
1367
+ Derivative Works a copy of this License; and
1368
+
1369
+ (b) You must cause any modified files to carry prominent notices
1370
+ stating that You changed the files; and
1371
+
1372
+ (c) You must retain, in the Source form of any Derivative Works
1373
+ that You distribute, all copyright, patent, trademark, and
1374
+ attribution notices from the Source form of the Work,
1375
+ excluding those notices that do not pertain to any part of
1376
+ the Derivative Works; and
1377
+
1378
+ (d) If the Work includes a "NOTICE" text file as part of its
1379
+ distribution, then any Derivative Works that You distribute must
1380
+ include a readable copy of the attribution notices contained
1381
+ within such NOTICE file, excluding those notices that do not
1382
+ pertain to any part of the Derivative Works, in at least one
1383
+ of the following places: within a NOTICE text file distributed
1384
+ as part of the Derivative Works; within the Source form or
1385
+ documentation, if provided along with the Derivative Works; or,
1386
+ within a display generated by the Derivative Works, if and
1387
+ wherever such third-party notices normally appear. The contents
1388
+ of the NOTICE file are for informational purposes only and
1389
+ do not modify the License. You may add Your own attribution
1390
+ notices within Derivative Works that You distribute, alongside
1391
+ or as an addendum to the NOTICE text from the Work, provided
1392
+ that such additional attribution notices cannot be construed
1393
+ as modifying the License.
1394
+
1395
+ You may add Your own copyright statement to Your modifications and
1396
+ may provide additional or different license terms and conditions
1397
+ for use, reproduction, or distribution of Your modifications, or
1398
+ for any such Derivative Works as a whole, provided Your use,
1399
+ reproduction, and distribution of the Work otherwise complies with
1400
+ the conditions stated in this License.
1401
+
1402
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1403
+ any Contribution intentionally submitted for inclusion in the Work
1404
+ by You to the Licensor shall be under the terms and conditions of
1405
+ this License, without any additional terms or conditions.
1406
+ Notwithstanding the above, nothing herein shall supersede or modify
1407
+ the terms of any separate license agreement you may have executed
1408
+ with Licensor regarding such Contributions.
1409
+
1410
+ 6. Trademarks. This License does not grant permission to use the trade
1411
+ names, trademarks, service marks, or product names of the Licensor,
1412
+ except as required for reasonable and customary use in describing the
1413
+ origin of the Work and reproducing the content of the NOTICE file.
1414
+
1415
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1416
+ agreed to in writing, Licensor provides the Work (and each
1417
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1418
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1419
+ implied, including, without limitation, any warranties or conditions
1420
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1421
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1422
+ appropriateness of using or redistributing the Work and assume any
1423
+ risks associated with Your exercise of permissions under this License.
1424
+
1425
+ 8. Limitation of Liability. In no event and under no legal theory,
1426
+ whether in tort (including negligence), contract, or otherwise,
1427
+ unless required by applicable law (such as deliberate and grossly
1428
+ negligent acts) or agreed to in writing, shall any Contributor be
1429
+ liable to You for damages, including any direct, indirect, special,
1430
+ incidental, or consequential damages of any character arising as a
1431
+ result of this License or out of the use or inability to use the
1432
+ Work (including but not limited to damages for loss of goodwill,
1433
+ work stoppage, computer failure or malfunction, or any and all
1434
+ other commercial damages or losses), even if such Contributor
1435
+ has been advised of the possibility of such damages.
1436
+
1437
+ 9. Accepting Warranty or Additional Liability. While redistributing
1438
+ the Work or Derivative Works thereof, You may choose to offer,
1439
+ and charge a fee for, acceptance of support, warranty, indemnity,
1440
+ or other liability obligations and/or rights consistent with this
1441
+ License. However, in accepting such obligations, You may act only
1442
+ on Your own behalf and on Your sole responsibility, not on behalf
1443
+ of any other Contributor, and only if You agree to indemnify,
1444
+ defend, and hold each Contributor harmless for any liability
1445
+ incurred by, or claims asserted against, such Contributor by reason
1446
+ of your accepting any such warranty or additional liability.
1447
+
1448
+ END OF TERMS AND CONDITIONS
1449
+
1450
+ APPENDIX: How to apply the Apache License to your work.
1451
+
1452
+ To apply the Apache License to your work, attach the following
1453
+ boilerplate notice, with the fields enclosed by brackets "[]"
1454
+ replaced with your own identifying information. (Don't include
1455
+ the brackets!) The text should be enclosed in the appropriate
1456
+ comment syntax for the file format. We also recommend that a
1457
+ file or class name and description of purpose be included on the
1458
+ same "printed page" as the copyright notice for easier
1459
+ identification within third-party archives.
1460
+
1461
+ Copyright [yyyy] [name of copyright owner]
1462
+
1463
+ Licensed under the Apache License, Version 2.0 (the "License");
1464
+ you may not use this file except in compliance with the License.
1465
+ You may obtain a copy of the License at
1466
+
1467
+ http://www.apache.org/licenses/LICENSE-2.0
1468
+
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.
1474
+
1475
+
1476
+ ### xerces
1477
+
1478
+ Apache 2.0
1479
+
1480
+ https://xerces.apache.org/xerces2-j/
1481
+
1482
+
1483
+ Apache License
1484
+ Version 2.0, January 2004
1485
+ http://www.apache.org/licenses/
1486
+
1487
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1488
+
1489
+ 1. Definitions.
1490
+
1491
+ "License" shall mean the terms and conditions for use, reproduction,
1492
+ and distribution as defined by Sections 1 through 9 of this document.
1493
+
1494
+ "Licensor" shall mean the copyright owner or entity authorized by
1495
+ the copyright owner that is granting the License.
1496
+
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.
1504
+
1505
+ "You" (or "Your") shall mean an individual or Legal Entity
1506
+ exercising permissions granted by this License.
1507
+
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.
1511
+
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.
1516
+
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).
1521
+
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.
1529
+
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."
1543
+
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.
1547
+
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.
1554
+
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.
1570
+
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:
1575
+
1576
+ (a) You must give any other recipients of the Work or
1577
+ Derivative Works a copy of this License; and
1578
+
1579
+ (b) You must cause any modified files to carry prominent notices
1580
+ stating that You changed the files; and
1581
+
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
1587
+
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.
1604
+
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.
1619
+
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.
1624
+
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.
1634
+
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.
1646
+
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.
1657
+
1658
+ END OF TERMS AND CONDITIONS
1659
+
1660
+ APPENDIX: How to apply the Apache License to your work.
1661
+
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.
1670
+
1671
+ Copyright [yyyy] [name of copyright owner]
1672
+
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
1676
+
1677
+ http://www.apache.org/licenses/LICENSE-2.0
1678
+
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.
1684
+
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.
1694
+
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
+
1702
+
1703
+ Apache License
1704
+ Version 2.0, January 2004
1705
+ http://www.apache.org/licenses/
1706
+
1707
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1708
+
1709
+ 1. Definitions.
1710
+
1711
+ "License" shall mean the terms and conditions for use, reproduction,
1712
+ and distribution as defined by Sections 1 through 9 of this document.
1713
+
1714
+ "Licensor" shall mean the copyright owner or entity authorized by
1715
+ the copyright owner that is granting the License.
1716
+
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.
1724
+
1725
+ "You" (or "Your") shall mean an individual or Legal Entity
1726
+ exercising permissions granted by this License.
1727
+
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.
1731
+
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.
1736
+
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).
1741
+
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.
1749
+
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."
1763
+
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.
1767
+
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.
1774
+
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.
1790
+
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:
1795
+
1796
+ (a) You must give any other recipients of the Work or
1797
+ Derivative Works a copy of this License; and
1798
+
1799
+ (b) You must cause any modified files to carry prominent notices
1800
+ stating that You changed the files; and
1801
+
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
1807
+
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.
1824
+
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.
1831
+
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.
1839
+
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.
1844
+
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.
1854
+
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.
1866
+
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.
1877
+
1878
+ END OF TERMS AND CONDITIONS
1879
+
1880
+ APPENDIX: How to apply the Apache License to your work.
1881
+
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.
1890
+
1891
+ Copyright [yyyy] [name of copyright owner]
1892
+
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
1896
+
1897
+ http://www.apache.org/licenses/LICENSE-2.0
1898
+
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.