niso-jats 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/rake.yml +18 -0
  3. data/.github/workflows/release.yml +25 -0
  4. data/.gitignore +13 -0
  5. data/.gitmodules +3 -0
  6. data/.rspec +3 -0
  7. data/.rubocop.yml +21 -0
  8. data/CODE_OF_CONDUCT.md +84 -0
  9. data/Gemfile +14 -0
  10. data/README.adoc +73 -0
  11. data/Rakefile +12 -0
  12. data/bin/console +11 -0
  13. data/bin/setup +8 -0
  14. data/lib/niso/jats/abbrev.rb +29 -0
  15. data/lib/niso/jats/abbrev_journal_title.rb +23 -0
  16. data/lib/niso/jats/abstract.rb +31 -0
  17. data/lib/niso/jats/access_date.rb +25 -0
  18. data/lib/niso/jats/ack.rb +39 -0
  19. data/lib/niso/jats/addr_line.rb +91 -0
  20. data/lib/niso/jats/address.rb +45 -0
  21. data/lib/niso/jats/aff.rb +93 -0
  22. data/lib/niso/jats/aff_alternatives.rb +17 -0
  23. data/lib/niso/jats/alt_text.rb +23 -0
  24. data/lib/niso/jats/alt_title.rb +65 -0
  25. data/lib/niso/jats/alternatives.rb +49 -0
  26. data/lib/niso/jats/annotation.rb +23 -0
  27. data/lib/niso/jats/anonymous.rb +19 -0
  28. data/lib/niso/jats/answer.rb +109 -0
  29. data/lib/niso/jats/answer_set.rb +37 -0
  30. data/lib/niso/jats/app.rb +105 -0
  31. data/lib/niso/jats/app_group.rb +105 -0
  32. data/lib/niso/jats/array.rb +45 -0
  33. data/lib/niso/jats/article.rb +37 -0
  34. data/lib/niso/jats/article_categories.rb +21 -0
  35. data/lib/niso/jats/article_id.rb +25 -0
  36. data/lib/niso/jats/article_meta.rb +108 -0
  37. data/lib/niso/jats/article_title.rb +61 -0
  38. data/lib/niso/jats/article_version.rb +39 -0
  39. data/lib/niso/jats/article_version_alternatives.rb +17 -0
  40. data/lib/niso/jats/attrib.rb +61 -0
  41. data/lib/niso/jats/author_comment.rb +25 -0
  42. data/lib/niso/jats/author_notes.rb +29 -0
  43. data/lib/niso/jats/award_desc.rb +21 -0
  44. data/lib/niso/jats/award_group.rb +40 -0
  45. data/lib/niso/jats/award_id.rb +83 -0
  46. data/lib/niso/jats/award_name.rb +21 -0
  47. data/lib/niso/jats/back.rb +35 -0
  48. data/lib/niso/jats/basic_text.rb +48 -0
  49. data/lib/niso/jats/bio.rb +107 -0
  50. data/lib/niso/jats/block_alternatives.rb +27 -0
  51. data/lib/niso/jats/body.rb +89 -0
  52. data/lib/niso/jats/bold.rb +61 -0
  53. data/lib/niso/jats/boxed_text.rb +113 -0
  54. data/lib/niso/jats/break.rb +15 -0
  55. data/lib/niso/jats/caption.rb +27 -0
  56. data/lib/niso/jats/chapter_title.rb +81 -0
  57. data/lib/niso/jats/chem_struct.rb +95 -0
  58. data/lib/niso/jats/chem_struct_wrap.rb +65 -0
  59. data/lib/niso/jats/citation_alternatives.rb +23 -0
  60. data/lib/niso/jats/city.rb +23 -0
  61. data/lib/niso/jats/code.rb +95 -0
  62. data/lib/niso/jats/col.rb +31 -0
  63. data/lib/niso/jats/colgroup.rb +33 -0
  64. data/lib/niso/jats/collab.rb +123 -0
  65. data/lib/niso/jats/collab_alternatives.rb +17 -0
  66. data/lib/niso/jats/comment.rb +63 -0
  67. data/lib/niso/jats/compound_kwd.rb +29 -0
  68. data/lib/niso/jats/compound_kwd_part.rb +67 -0
  69. data/lib/niso/jats/compound_subject.rb +29 -0
  70. data/lib/niso/jats/compound_subject_part.rb +61 -0
  71. data/lib/niso/jats/conf_acronym.rb +23 -0
  72. data/lib/niso/jats/conf_date.rb +27 -0
  73. data/lib/niso/jats/conf_loc.rb +41 -0
  74. data/lib/niso/jats/conf_name.rb +23 -0
  75. data/lib/niso/jats/conf_num.rb +23 -0
  76. data/lib/niso/jats/conf_sponsor.rb +27 -0
  77. data/lib/niso/jats/conf_theme.rb +75 -0
  78. data/lib/niso/jats/conference.rb +37 -0
  79. data/lib/niso/jats/contrib.rb +67 -0
  80. data/lib/niso/jats/contrib_group.rb +43 -0
  81. data/lib/niso/jats/contrib_id.rb +29 -0
  82. data/lib/niso/jats/contributed_resource_group.rb +27 -0
  83. data/lib/niso/jats/copyright_holder.rb +31 -0
  84. data/lib/niso/jats/copyright_statement.rb +59 -0
  85. data/lib/niso/jats/copyright_year.rb +21 -0
  86. data/lib/niso/jats/corresp.rb +79 -0
  87. data/lib/niso/jats/count.rb +19 -0
  88. data/lib/niso/jats/country.rb +25 -0
  89. data/lib/niso/jats/counts.rb +29 -0
  90. data/lib/niso/jats/custom_meta.rb +35 -0
  91. data/lib/niso/jats/custom_meta_group.rb +23 -0
  92. data/lib/niso/jats/data_title.rb +65 -0
  93. data/lib/niso/jats/date.rb +35 -0
  94. data/lib/niso/jats/date_in_citation.rb +37 -0
  95. data/lib/niso/jats/day.rb +23 -0
  96. data/lib/niso/jats/def.rb +23 -0
  97. data/lib/niso/jats/def_head.rb +57 -0
  98. data/lib/niso/jats/def_item.rb +23 -0
  99. data/lib/niso/jats/def_list.rb +39 -0
  100. data/lib/niso/jats/degrees.rb +23 -0
  101. data/lib/niso/jats/disp_formula.rb +103 -0
  102. data/lib/niso/jats/disp_formula_group.rb +47 -0
  103. data/lib/niso/jats/disp_quote.rb +97 -0
  104. data/lib/niso/jats/edition.rb +29 -0
  105. data/lib/niso/jats/element_citation.rb +203 -0
  106. data/lib/niso/jats/elocation_id.rb +23 -0
  107. data/lib/niso/jats/email.rb +25 -0
  108. data/lib/niso/jats/equation_count.rb +17 -0
  109. data/lib/niso/jats/era.rb +23 -0
  110. data/lib/niso/jats/etal.rb +21 -0
  111. data/lib/niso/jats/event.rb +48 -0
  112. data/lib/niso/jats/event_desc.rb +49 -0
  113. data/lib/niso/jats/explanation.rb +107 -0
  114. data/lib/niso/jats/ext_link.rb +59 -0
  115. data/lib/niso/jats/extended_by.rb +31 -0
  116. data/lib/niso/jats/fax.rb +21 -0
  117. data/lib/niso/jats/fig.rb +87 -0
  118. data/lib/niso/jats/fig_count.rb +17 -0
  119. data/lib/niso/jats/fig_group.rb +59 -0
  120. data/lib/niso/jats/fixed_case.rb +61 -0
  121. data/lib/niso/jats/floats_group.rb +41 -0
  122. data/lib/niso/jats/fn.rb +32 -0
  123. data/lib/niso/jats/fn_group.rb +27 -0
  124. data/lib/niso/jats/fpage.rb +25 -0
  125. data/lib/niso/jats/front.rb +21 -0
  126. data/lib/niso/jats/front_stub.rb +108 -0
  127. data/lib/niso/jats/funding_group.rb +25 -0
  128. data/lib/niso/jats/funding_source.rb +85 -0
  129. data/lib/niso/jats/funding_statement.rb +59 -0
  130. data/lib/niso/jats/given_names.rb +19 -0
  131. data/lib/niso/jats/glossary.rb +97 -0
  132. data/lib/niso/jats/glyph_data.rb +29 -0
  133. data/lib/niso/jats/glyph_ref.rb +17 -0
  134. data/lib/niso/jats/gov.rb +53 -0
  135. data/lib/niso/jats/graphic.rb +61 -0
  136. data/lib/niso/jats/history.rb +17 -0
  137. data/lib/niso/jats/hr.rb +15 -0
  138. data/lib/niso/jats/index_term.rb +39 -0
  139. data/lib/niso/jats/index_term_range_end.rb +17 -0
  140. data/lib/niso/jats/inline_formula.rb +73 -0
  141. data/lib/niso/jats/inline_graphic.rb +33 -0
  142. data/lib/niso/jats/inline_media.rb +77 -0
  143. data/lib/niso/jats/inline_supplementary_material.rb +69 -0
  144. data/lib/niso/jats/institution.rb +31 -0
  145. data/lib/niso/jats/institution_id.rb +31 -0
  146. data/lib/niso/jats/institution_wrap.rb +19 -0
  147. data/lib/niso/jats/isbn.rb +25 -0
  148. data/lib/niso/jats/issn.rb +27 -0
  149. data/lib/niso/jats/issn_l.rb +21 -0
  150. data/lib/niso/jats/issue.rb +25 -0
  151. data/lib/niso/jats/issue_id.rb +29 -0
  152. data/lib/niso/jats/issue_part.rb +23 -0
  153. data/lib/niso/jats/issue_sponsor.rb +23 -0
  154. data/lib/niso/jats/issue_subtitle.rb +23 -0
  155. data/lib/niso/jats/issue_title.rb +23 -0
  156. data/lib/niso/jats/issue_title_group.rb +27 -0
  157. data/lib/niso/jats/italic.rb +61 -0
  158. data/lib/niso/jats/journal_id.rb +25 -0
  159. data/lib/niso/jats/journal_meta.rb +37 -0
  160. data/lib/niso/jats/journal_subtitle.rb +23 -0
  161. data/lib/niso/jats/journal_title.rb +23 -0
  162. data/lib/niso/jats/journal_title_group.rb +25 -0
  163. data/lib/niso/jats/kwd.rb +59 -0
  164. data/lib/niso/jats/kwd_group.rb +37 -0
  165. data/lib/niso/jats/label.rb +59 -0
  166. data/lib/niso/jats/license.rb +25 -0
  167. data/lib/niso/jats/license_p.rb +169 -0
  168. data/lib/niso/jats/license_paragraph.rb +17 -0
  169. data/lib/niso/jats/list.rb +35 -0
  170. data/lib/niso/jats/list_item.rb +29 -0
  171. data/lib/niso/jats/long_desc.rb +25 -0
  172. data/lib/niso/jats/lpage.rb +23 -0
  173. data/lib/niso/jats/media.rb +59 -0
  174. data/lib/niso/jats/meta_name.rb +17 -0
  175. data/lib/niso/jats/meta_value.rb +57 -0
  176. data/lib/niso/jats/milestone_end.rb +25 -0
  177. data/lib/niso/jats/milestone_start.rb +25 -0
  178. data/lib/niso/jats/mixed_citation.rb +205 -0
  179. data/lib/niso/jats/module_includer.rb +47 -0
  180. data/lib/niso/jats/monospace.rb +61 -0
  181. data/lib/niso/jats/month.rb +23 -0
  182. data/lib/niso/jats/name.rb +31 -0
  183. data/lib/niso/jats/name_alternatives.rb +19 -0
  184. data/lib/niso/jats/named_content.rb +169 -0
  185. data/lib/niso/jats/nested_kwd.rb +33 -0
  186. data/lib/niso/jats/nlm_citation.rb +85 -0
  187. data/lib/niso/jats/note.rb +27 -0
  188. data/lib/niso/jats/notes.rb +103 -0
  189. data/lib/niso/jats/object_id.rb +25 -0
  190. data/lib/niso/jats/on_behalf_of.rb +61 -0
  191. data/lib/niso/jats/open_access.rb +21 -0
  192. data/lib/niso/jats/option.rb +109 -0
  193. data/lib/niso/jats/overline.rb +61 -0
  194. data/lib/niso/jats/overline_end.rb +19 -0
  195. data/lib/niso/jats/overline_start.rb +17 -0
  196. data/lib/niso/jats/page_count.rb +17 -0
  197. data/lib/niso/jats/page_range.rb +23 -0
  198. data/lib/niso/jats/paragraph.rb +169 -0
  199. data/lib/niso/jats/part_title.rb +81 -0
  200. data/lib/niso/jats/patent.rb +25 -0
  201. data/lib/niso/jats/permissions.rb +23 -0
  202. data/lib/niso/jats/person_group.rb +45 -0
  203. data/lib/niso/jats/phone.rb +21 -0
  204. data/lib/niso/jats/postal_code.rb +23 -0
  205. data/lib/niso/jats/prefix.rb +23 -0
  206. data/lib/niso/jats/preformat.rb +81 -0
  207. data/lib/niso/jats/price.rb +47 -0
  208. data/lib/niso/jats/principal_award_recipient.rb +33 -0
  209. data/lib/niso/jats/principal_investigator.rb +29 -0
  210. data/lib/niso/jats/private_char.rb +27 -0
  211. data/lib/niso/jats/processing_meta.rb +31 -0
  212. data/lib/niso/jats/product.rb +215 -0
  213. data/lib/niso/jats/pub_date.rb +39 -0
  214. data/lib/niso/jats/pub_date_not_available.rb +17 -0
  215. data/lib/niso/jats/pub_history.rb +17 -0
  216. data/lib/niso/jats/pub_id.rb +27 -0
  217. data/lib/niso/jats/publisher.rb +21 -0
  218. data/lib/niso/jats/publisher_loc.rb +45 -0
  219. data/lib/niso/jats/publisher_name.rb +25 -0
  220. data/lib/niso/jats/question.rb +113 -0
  221. data/lib/niso/jats/question_preamble.rb +101 -0
  222. data/lib/niso/jats/question_wrap.rb +33 -0
  223. data/lib/niso/jats/question_wrap_group.rb +37 -0
  224. data/lib/niso/jats/rb.rb +43 -0
  225. data/lib/niso/jats/ref.rb +33 -0
  226. data/lib/niso/jats/ref_count.rb +17 -0
  227. data/lib/niso/jats/ref_list.rb +99 -0
  228. data/lib/niso/jats/related_article.rb +185 -0
  229. data/lib/niso/jats/related_object.rb +195 -0
  230. data/lib/niso/jats/resource_group.rb +23 -0
  231. data/lib/niso/jats/resource_id.rb +31 -0
  232. data/lib/niso/jats/resource_name.rb +49 -0
  233. data/lib/niso/jats/resource_wrap.rb +19 -0
  234. data/lib/niso/jats/response.rb +33 -0
  235. data/lib/niso/jats/restricted_by.rb +31 -0
  236. data/lib/niso/jats/role.rb +65 -0
  237. data/lib/niso/jats/roman.rb +61 -0
  238. data/lib/niso/jats/rp.rb +17 -0
  239. data/lib/niso/jats/rt.rb +23 -0
  240. data/lib/niso/jats/ruby.rb +23 -0
  241. data/lib/niso/jats/sans_serif.rb +97 -0
  242. data/lib/niso/jats/sc.rb +61 -0
  243. data/lib/niso/jats/season.rb +23 -0
  244. data/lib/niso/jats/sec.rb +103 -0
  245. data/lib/niso/jats/sec_meta.rb +27 -0
  246. data/lib/niso/jats/see.rb +79 -0
  247. data/lib/niso/jats/see_also.rb +87 -0
  248. data/lib/niso/jats/self_uri.rb +27 -0
  249. data/lib/niso/jats/series.rb +53 -0
  250. data/lib/niso/jats/series_text.rb +53 -0
  251. data/lib/niso/jats/series_title.rb +53 -0
  252. data/lib/niso/jats/sig.rb +67 -0
  253. data/lib/niso/jats/sig_block.rb +69 -0
  254. data/lib/niso/jats/size.rb +23 -0
  255. data/lib/niso/jats/source.rb +83 -0
  256. data/lib/niso/jats/speaker.rb +39 -0
  257. data/lib/niso/jats/speech.rb +27 -0
  258. data/lib/niso/jats/state.rb +23 -0
  259. data/lib/niso/jats/statement.rb +39 -0
  260. data/lib/niso/jats/std.rb +71 -0
  261. data/lib/niso/jats/std_organization.rb +31 -0
  262. data/lib/niso/jats/strike.rb +61 -0
  263. data/lib/niso/jats/string_conf.rb +91 -0
  264. data/lib/niso/jats/string_date.rb +37 -0
  265. data/lib/niso/jats/string_name.rb +35 -0
  266. data/lib/niso/jats/styled_content.rb +163 -0
  267. data/lib/niso/jats/sub.rb +61 -0
  268. data/lib/niso/jats/sub_article.rb +37 -0
  269. data/lib/niso/jats/subj_group.rb +33 -0
  270. data/lib/niso/jats/subject.rb +71 -0
  271. data/lib/niso/jats/subtitle.rb +65 -0
  272. data/lib/niso/jats/suffix.rb +23 -0
  273. data/lib/niso/jats/sup.rb +61 -0
  274. data/lib/niso/jats/supplement.rb +79 -0
  275. data/lib/niso/jats/supplementary_material.rb +93 -0
  276. data/lib/niso/jats/support_description.rb +23 -0
  277. data/lib/niso/jats/support_group.rb +25 -0
  278. data/lib/niso/jats/support_source.rb +85 -0
  279. data/lib/niso/jats/surname.rb +19 -0
  280. data/lib/niso/jats/table.rb +47 -0
  281. data/lib/niso/jats/table_count.rb +17 -0
  282. data/lib/niso/jats/table_wrap.rb +83 -0
  283. data/lib/niso/jats/table_wrap_foot.rb +27 -0
  284. data/lib/niso/jats/table_wrap_group.rb +51 -0
  285. data/lib/niso/jats/target.rb +53 -0
  286. data/lib/niso/jats/tbody.rb +29 -0
  287. data/lib/niso/jats/td.rb +169 -0
  288. data/lib/niso/jats/term.rb +89 -0
  289. data/lib/niso/jats/term_head.rb +57 -0
  290. data/lib/niso/jats/tex_math.rb +25 -0
  291. data/lib/niso/jats/textual_form.rb +61 -0
  292. data/lib/niso/jats/tfoot.rb +29 -0
  293. data/lib/niso/jats/th.rb +169 -0
  294. data/lib/niso/jats/thead.rb +29 -0
  295. data/lib/niso/jats/time_stamp.rb +21 -0
  296. data/lib/niso/jats/title.rb +71 -0
  297. data/lib/niso/jats/title_group.rb +25 -0
  298. data/lib/niso/jats/tr.rb +31 -0
  299. data/lib/niso/jats/trans_abstract.rb +31 -0
  300. data/lib/niso/jats/trans_source.rb +83 -0
  301. data/lib/niso/jats/trans_subtitle.rb +63 -0
  302. data/lib/niso/jats/trans_title.rb +65 -0
  303. data/lib/niso/jats/trans_title_group.rb +25 -0
  304. data/lib/niso/jats/underline.rb +63 -0
  305. data/lib/niso/jats/underline_end.rb +19 -0
  306. data/lib/niso/jats/underline_start.rb +17 -0
  307. data/lib/niso/jats/unstructured_kwd_group.rb +29 -0
  308. data/lib/niso/jats/uri.rb +31 -0
  309. data/lib/niso/jats/verse_group.rb +41 -0
  310. data/lib/niso/jats/verse_line.rb +89 -0
  311. data/lib/niso/jats/version.rb +5 -0
  312. data/lib/niso/jats/version_element.rb +29 -0
  313. data/lib/niso/jats/volume.rb +25 -0
  314. data/lib/niso/jats/volume_id.rb +29 -0
  315. data/lib/niso/jats/volume_issue_group.rb +39 -0
  316. data/lib/niso/jats/volume_series.rb +23 -0
  317. data/lib/niso/jats/word_count.rb +17 -0
  318. data/lib/niso/jats/x.rb +23 -0
  319. data/lib/niso/jats/xref.rb +59 -0
  320. data/lib/niso/jats/year.rb +27 -0
  321. data/lib/niso/jats.rb +14 -0
  322. data/lib/niso-jats.rb +1 -0
  323. data/lib/niso_jats.rb +5 -0
  324. data/niso-jats.gemspec +39 -0
  325. data/reference-docs/JATS-journalpublishing1-3-elements-modified-for-shale.xsd +9604 -0
  326. data/reference-docs/JATS-journalpublishing1-3-elements.xsd +9604 -0
  327. data/reference-docs/JATS-journalpublishing1-3.xsd.xml +45 -0
  328. data/reference-docs/mathml2.xsd +59 -0
  329. data/reference-docs/module-ali.xsd +46 -0
  330. data/reference-docs/xlink.xsd +100 -0
  331. data/reference-docs/xml.xsd +287 -0
  332. data/sig/niso/jats.rbs +6 -0
  333. metadata +434 -0
@@ -0,0 +1,45 @@
1
+ <?xml-stylesheet href="xsd.xsl" type="text/xsl"?>
2
+ <xsd:schema xmlns:mtl="http://www.mulberrytech.com/taglib"
3
+ xmlns:c="http://www.w3.org/ns/xproc-step"
4
+ xmlns:mml="http://www.w3.org/1998/Math/MathML"
5
+ xmlns:ali="http://www.niso.org/schemas/ali/1.0/"
6
+ xmlns:xlink="http://www.w3.org/1999/xlink"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
9
+ <xsd:annotation>
10
+ <xsd:documentation>
11
+ <div xmlns:dxdy="http://mulberrytech.com/2014/dxdy"
12
+ xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
13
+ xmlns="http://www.w3.org/1999/xhtml"
14
+ class="bodytext">
15
+ <h1>MODULE: JATS-journalpublishing1-3-mathml2 DTD in XSD form (driver file)</h1>
16
+ <h2>MODEL: Journal Publishing DTD (MathML 2.0)</h2>
17
+ <h2>VERSION: 1.3</h2>
18
+ <h2>DATE: June 2021</h2>
19
+ <dl>
20
+ <dt>SYSTEM</dt>
21
+ <dd>
22
+ <p>Journal Publishing model of the JATS Suite</p>
23
+ </dd>
24
+ <dt>PURPOSE</dt>
25
+ <dd>
26
+ <p>Driver file: include and import all other schema documents</p>
27
+ </dd>
28
+ <dt>CREATED FOR</dt>
29
+ <dd>
30
+ <p>NLM/NCBI</p>
31
+ </dd>
32
+ </dl>
33
+ </div>
34
+ </xsd:documentation>
35
+ </xsd:annotation>
36
+ <xsd:import namespace="http://www.w3.org/1999/xlink"
37
+ schemaLocation="standard-modules/xlink.xsd"/>
38
+ <xsd:import namespace="http://www.w3.org/1998/Math/MathML"
39
+ schemaLocation="standard-modules/mathml2/mathml2.xsd"/>
40
+ <xsd:import namespace="http://www.niso.org/schemas/ali/1.0/"
41
+ schemaLocation="standard-modules/module-ali.xsd"/>
42
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace"
43
+ schemaLocation="standard-modules/xml.xsd"/>
44
+ <xsd:include schemaLocation="JATS-journalpublishing1-3-elements.xsd"/>
45
+ </xsd:schema>
@@ -0,0 +1,59 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <xs:schema
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ xmlns="http://www.w3.org/1998/Math/MathML"
6
+ targetNamespace="http://www.w3.org/1998/Math/MathML"
7
+ elementFormDefault="qualified"
8
+ >
9
+ <xs:annotation>
10
+ <xs:documentation>
11
+ This is an XML Schema for MathML.
12
+ Author: St&#233;phane Dalmas, INRIA.
13
+ </xs:documentation>
14
+ </xs:annotation>
15
+
16
+ <!-- common stuff -->
17
+
18
+ <xs:include schemaLocation="common/math.xsd"/>
19
+ <xs:include schemaLocation="common/common-attribs.xsd"/>
20
+
21
+ <!-- Presentation -->
22
+ <xs:include schemaLocation="presentation/common-types.xsd"/>
23
+ <xs:include schemaLocation="presentation/common-attribs.xsd"/>
24
+ <xs:include schemaLocation="presentation/characters.xsd"/>
25
+ <xs:include schemaLocation="presentation/tokens.xsd"/>
26
+ <xs:include schemaLocation="presentation/scripts.xsd"/>
27
+ <xs:include schemaLocation="presentation/space.xsd"/>
28
+ <xs:include schemaLocation="presentation/layout.xsd"/>
29
+ <xs:include schemaLocation="presentation/table.xsd"/>
30
+ <xs:include schemaLocation="presentation/style.xsd"/>
31
+ <xs:include schemaLocation="presentation/error.xsd"/>
32
+ <xs:include schemaLocation="presentation/action.xsd"/>
33
+
34
+ <!-- Content -->
35
+
36
+ <xs:include schemaLocation="content/common-attrib.xsd"/>
37
+ <xs:include schemaLocation="content/tokens.xsd"/>
38
+ <xs:include schemaLocation="content/arith.xsd"/>
39
+ <xs:include schemaLocation="content/functions.xsd"/>
40
+ <xs:include schemaLocation="content/logic.xsd"/>
41
+ <xs:include schemaLocation="content/constructs.xsd"/>
42
+ <xs:include schemaLocation="content/constants.xsd"/>
43
+ <xs:include schemaLocation="content/elementary-functions.xsd"/>
44
+ <xs:include schemaLocation="content/relations.xsd"/>
45
+ <xs:include schemaLocation="content/semantics.xsd"/>
46
+ <xs:include schemaLocation="content/sets.xsd"/>
47
+ <xs:include schemaLocation="content/linear-algebra.xsd"/>
48
+ <xs:include schemaLocation="content/calculus.xsd"/>
49
+ <xs:include schemaLocation="content/vector-calculus.xsd"/>
50
+ <xs:include schemaLocation="content/statistics.xsd"/>
51
+
52
+
53
+ </xs:schema>
54
+ <!--
55
+ Copyright &#251; 2002 World Wide Web Consortium, (Massachusetts Institute
56
+ of Technology, Institut National de Recherche en Informatique et en
57
+ Automatique, Keio University). All Rights Reserved. See
58
+ http://www.w3.org/Consortium/Legal/.
59
+ -->
@@ -0,0 +1,46 @@
1
+ <?xml-stylesheet href="xsd.xsl" type="text/xsl"?>
2
+ <xsd:schema xmlns:mtl="http://www.mulberrytech.com/taglib"
3
+ xmlns:c="http://www.w3.org/ns/xproc-step"
4
+ xmlns:ali="http://www.niso.org/schemas/ali/1.0/"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ targetNamespace="http://www.niso.org/schemas/ali/1.0/"><!--* Allow references to unqualified names *-->
7
+ <xsd:import/>
8
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
9
+ <!--* Some imports may need to be added manually *-->
10
+ <xsd:element name="free_to_read">
11
+ <xsd:annotation>
12
+ <xsd:documentation>
13
+ <div xmlns="http://www.w3.org/1999/xhtml">
14
+ <h3>Free to Read (Niso Ali)</h3>
15
+ </div>
16
+ </xsd:documentation>
17
+ </xsd:annotation>
18
+ <xsd:complexType>
19
+ <xsd:attribute name="content-type" use="optional" type="xsd:string"/>
20
+ <xsd:attribute name="end_date" use="optional" type="xsd:string"/>
21
+ <xsd:attribute name="id" use="optional" type="xsd:ID"/>
22
+ <xsd:attribute name="specific-use" use="optional" type="xsd:string"/>
23
+ <xsd:attribute name="start_date" use="optional" type="xsd:string"/>
24
+ <xsd:attribute ref="xml:base" use="optional"/>
25
+ </xsd:complexType>
26
+ </xsd:element>
27
+ <xsd:element name="license_ref">
28
+ <xsd:annotation>
29
+ <xsd:documentation>
30
+ <div xmlns="http://www.w3.org/1999/xhtml">
31
+ <h3>License Reference (Niso Ali)</h3>
32
+ </div>
33
+ </xsd:documentation>
34
+ </xsd:annotation>
35
+ <xsd:complexType mixed="true">
36
+ <xsd:group ref="license-ref-model"/>
37
+ <xsd:attribute name="content-type" use="optional" type="xsd:string"/>
38
+ <xsd:attribute name="id" use="optional" type="xsd:ID"/>
39
+ <xsd:attribute name="specific-use" use="optional" type="xsd:string"/>
40
+ <xsd:attribute name="start_date" use="optional" type="xsd:string"/>
41
+ <xsd:attribute ref="xml:base" use="optional"/>
42
+ </xsd:complexType>
43
+ </xsd:element>
44
+ <xsd:annotation/>
45
+ </xsd:schema>
46
+
@@ -0,0 +1,100 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- METS XLink Schema, v. 2, Nov. 15, 2004 -->
3
+ <!--* Downloaded 27 April 2012 from http://www.loc.gov/standards/mets/xlink.xsd
4
+ * and modified as noted. *-->
5
+ <!--* Some cosmetic changes to line breaks. *-->
6
+ <!--* Add top-level declaration of xlink:type. *-->
7
+ <schema targetNamespace="http://www.w3.org/1999/xlink"
8
+ xmlns="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xlink="http://www.w3.org/1999/xlink"
10
+ elementFormDefault="qualified">
11
+
12
+ <!-- global attributes -->
13
+ <attribute name="href" type="anyURI"/>
14
+ <attribute name="role" type="string"/>
15
+ <attribute name="arcrole" type="string"/>
16
+ <attribute name="title" type="string" />
17
+ <attribute name="show">
18
+ <simpleType>
19
+ <restriction base="string">
20
+ <enumeration value="new" />
21
+ <enumeration value="replace" />
22
+ <enumeration value="embed" />
23
+ <enumeration value="other" />
24
+ <enumeration value="none" />
25
+ </restriction>
26
+ </simpleType>
27
+ </attribute>
28
+ <attribute name="actuate">
29
+ <simpleType>
30
+ <restriction base="string">
31
+ <enumeration value="onLoad" />
32
+ <enumeration value="onRequest" />
33
+ <enumeration value="other" />
34
+ <enumeration value="none" />
35
+ </restriction>
36
+ </simpleType>
37
+ </attribute>
38
+ <attribute name="label" type="string" />
39
+ <attribute name="from" type="string" />
40
+ <attribute name="to" type="string" />
41
+
42
+ <attributeGroup name="simpleLink">
43
+ <attribute name="type" type="string" fixed="simple" form="qualified" />
44
+ <attribute ref="xlink:href" use="optional" />
45
+ <attribute ref="xlink:role" use="optional" />
46
+ <attribute ref="xlink:arcrole" use="optional" />
47
+ <attribute ref="xlink:title" use="optional" />
48
+ <attribute ref="xlink:show" use="optional" />
49
+ <attribute ref="xlink:actuate" use="optional" />
50
+ </attributeGroup>
51
+ <attributeGroup name="extendedLink">
52
+ <attribute name="type" type="string" fixed="extended" form="qualified" />
53
+ <attribute ref="xlink:role" use="optional" />
54
+ <attribute ref="xlink:title" use="optional" />
55
+ </attributeGroup>
56
+ <attributeGroup name="locatorLink">
57
+ <attribute name="type" type="string" fixed="locator" form="qualified" />
58
+ <attribute ref="xlink:href" use="required" />
59
+ <attribute ref="xlink:role" use="optional" />
60
+ <attribute ref="xlink:title" use="optional" />
61
+ <attribute ref="xlink:label" use="optional" />
62
+ </attributeGroup>
63
+ <attributeGroup name="arcLink">
64
+ <attribute name="type" type="string" fixed="arc" form="qualified" />
65
+ <attribute ref="xlink:arcrole" use="optional" />
66
+ <attribute ref="xlink:title" use="optional" />
67
+ <attribute ref="xlink:show" use="optional" />
68
+ <attribute ref="xlink:actuate" use="optional" />
69
+ <attribute ref="xlink:from" use="optional" />
70
+ <attribute ref="xlink:to" use="optional" />
71
+ </attributeGroup>
72
+ <attributeGroup name="resourceLink">
73
+ <attribute name="type" type="string" fixed="resource" form="qualified" />
74
+ <attribute ref="xlink:role" use="optional" />
75
+ <attribute ref="xlink:title" use="optional" />
76
+ <attribute ref="xlink:label" use="optional" />
77
+ </attributeGroup>
78
+ <attributeGroup name="titleLink">
79
+ <attribute name="type" type="string" fixed="title" form="qualified" />
80
+ </attributeGroup>
81
+ <attributeGroup name="emptyLink">
82
+ <attribute name="type" type="string" fixed="none" form="qualified" />
83
+ </attributeGroup>
84
+
85
+ <!--* Addition for IEEE union schema *-->
86
+ <attribute name="type">
87
+ <simpleType>
88
+ <restriction base="string">
89
+ <enumeration value="simple"/>
90
+ <enumeration value="extended"/>
91
+ <enumeration value="locator"/>
92
+ <enumeration value="arc"/>
93
+ <enumeration value="resource"/>
94
+ <enumeration value="title"/>
95
+ <enumeration value="none"/>
96
+ </restriction>
97
+ </simpleType>
98
+ </attribute>
99
+
100
+ </schema>
@@ -0,0 +1,287 @@
1
+ <?xml version='1.0'?>
2
+ <?xml-stylesheet href="../2008/09/xsd.xsl" type="text/xsl"?>
3
+ <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ xmlns ="http://www.w3.org/1999/xhtml"
6
+ xml:lang="en">
7
+
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ <div>
11
+ <h1>About the XML namespace</h1>
12
+
13
+ <div class="bodytext">
14
+ <p>
15
+ This schema document describes the XML namespace, in a form
16
+ suitable for import by other schema documents.
17
+ </p>
18
+ <p>
19
+ See <a href="http://www.w3.org/XML/1998/namespace.html">
20
+ http://www.w3.org/XML/1998/namespace.html</a> and
21
+ <a href="http://www.w3.org/TR/REC-xml">
22
+ http://www.w3.org/TR/REC-xml</a> for information
23
+ about this namespace.
24
+ </p>
25
+ <p>
26
+ Note that local names in this namespace are intended to be
27
+ defined only by the World Wide Web Consortium or its subgroups.
28
+ The names currently defined in this namespace are listed below.
29
+ They should not be used with conflicting semantics by any Working
30
+ Group, specification, or document instance.
31
+ </p>
32
+ <p>
33
+ See further below in this document for more information about <a
34
+ href="#usage">how to refer to this schema document from your own
35
+ XSD schema documents</a> and about <a href="#nsversioning">the
36
+ namespace-versioning policy governing this schema document</a>.
37
+ </p>
38
+ </div>
39
+ </div>
40
+ </xs:documentation>
41
+ </xs:annotation>
42
+
43
+ <xs:attribute name="lang">
44
+ <xs:annotation>
45
+ <xs:documentation>
46
+ <div>
47
+
48
+ <h3>lang (as an attribute name)</h3>
49
+ <p>
50
+ denotes an attribute whose value
51
+ is a language code for the natural language of the content of
52
+ any element; its value is inherited. This name is reserved
53
+ by virtue of its definition in the XML specification.</p>
54
+
55
+ </div>
56
+ <div>
57
+ <h4>Notes</h4>
58
+ <p>
59
+ Attempting to install the relevant ISO 2- and 3-letter
60
+ codes as the enumerated possible values is probably never
61
+ going to be a realistic possibility.
62
+ </p>
63
+ <p>
64
+ See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
65
+ http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
66
+ and the IANA language subtag registry at
67
+ <a href="http://www.iana.org/assignments/language-subtag-registry">
68
+ http://www.iana.org/assignments/language-subtag-registry</a>
69
+ for further information.
70
+ </p>
71
+ <p>
72
+ The union allows for the 'un-declaration' of xml:lang with
73
+ the empty string.
74
+ </p>
75
+ </div>
76
+ </xs:documentation>
77
+ </xs:annotation>
78
+ <xs:simpleType>
79
+ <xs:union memberTypes="xs:language">
80
+ <xs:simpleType>
81
+ <xs:restriction base="xs:string">
82
+ <xs:enumeration value=""/>
83
+ </xs:restriction>
84
+ </xs:simpleType>
85
+ </xs:union>
86
+ </xs:simpleType>
87
+ </xs:attribute>
88
+
89
+ <xs:attribute name="space">
90
+ <xs:annotation>
91
+ <xs:documentation>
92
+ <div>
93
+
94
+ <h3>space (as an attribute name)</h3>
95
+ <p>
96
+ denotes an attribute whose
97
+ value is a keyword indicating what whitespace processing
98
+ discipline is intended for the content of the element; its
99
+ value is inherited. This name is reserved by virtue of its
100
+ definition in the XML specification.</p>
101
+
102
+ </div>
103
+ </xs:documentation>
104
+ </xs:annotation>
105
+ <xs:simpleType>
106
+ <xs:restriction base="xs:NCName">
107
+ <xs:enumeration value="default"/>
108
+ <xs:enumeration value="preserve"/>
109
+ </xs:restriction>
110
+ </xs:simpleType>
111
+ </xs:attribute>
112
+
113
+ <xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
114
+ <xs:documentation>
115
+ <div>
116
+
117
+ <h3>base (as an attribute name)</h3>
118
+ <p>
119
+ denotes an attribute whose value
120
+ provides a URI to be used as the base for interpreting any
121
+ relative URIs in the scope of the element on which it
122
+ appears; its value is inherited. This name is reserved
123
+ by virtue of its definition in the XML Base specification.</p>
124
+
125
+ <p>
126
+ See <a
127
+ href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
128
+ for information about this attribute.
129
+ </p>
130
+ </div>
131
+ </xs:documentation>
132
+ </xs:annotation>
133
+ </xs:attribute>
134
+
135
+ <xs:attribute name="id" type="xs:ID">
136
+ <xs:annotation>
137
+ <xs:documentation>
138
+ <div>
139
+
140
+ <h3>id (as an attribute name)</h3>
141
+ <p>
142
+ denotes an attribute whose value
143
+ should be interpreted as if declared to be of type ID.
144
+ This name is reserved by virtue of its definition in the
145
+ xml:id specification.</p>
146
+
147
+ <p>
148
+ See <a
149
+ href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
150
+ for information about this attribute.
151
+ </p>
152
+ </div>
153
+ </xs:documentation>
154
+ </xs:annotation>
155
+ </xs:attribute>
156
+
157
+ <xs:attributeGroup name="specialAttrs">
158
+ <xs:attribute ref="xml:base"/>
159
+ <xs:attribute ref="xml:lang"/>
160
+ <xs:attribute ref="xml:space"/>
161
+ <xs:attribute ref="xml:id"/>
162
+ </xs:attributeGroup>
163
+
164
+ <xs:annotation>
165
+ <xs:documentation>
166
+ <div>
167
+
168
+ <h3>Father (in any context at all)</h3>
169
+
170
+ <div class="bodytext">
171
+ <p>
172
+ denotes Jon Bosak, the chair of
173
+ the original XML Working Group. This name is reserved by
174
+ the following decision of the W3C XML Plenary and
175
+ XML Coordination groups:
176
+ </p>
177
+ <blockquote>
178
+ <p>
179
+ In appreciation for his vision, leadership and
180
+ dedication the W3C XML Plenary on this 10th day of
181
+ February, 2000, reserves for Jon Bosak in perpetuity
182
+ the XML name "xml:Father".
183
+ </p>
184
+ </blockquote>
185
+ </div>
186
+ </div>
187
+ </xs:documentation>
188
+ </xs:annotation>
189
+
190
+ <xs:annotation>
191
+ <xs:documentation>
192
+ <div xml:id="usage" id="usage">
193
+ <h2><a name="usage">About this schema document</a></h2>
194
+
195
+ <div class="bodytext">
196
+ <p>
197
+ This schema defines attributes and an attribute group suitable
198
+ for use by schemas wishing to allow <code>xml:base</code>,
199
+ <code>xml:lang</code>, <code>xml:space</code> or
200
+ <code>xml:id</code> attributes on elements they define.
201
+ </p>
202
+ <p>
203
+ To enable this, such a schema must import this schema for
204
+ the XML namespace, e.g. as follows:
205
+ </p>
206
+ <pre>
207
+ &lt;schema . . .>
208
+ . . .
209
+ &lt;import namespace="http://www.w3.org/XML/1998/namespace"
210
+ schemaLocation="http://www.w3.org/2001/xml.xsd"/>
211
+ </pre>
212
+ <p>
213
+ or
214
+ </p>
215
+ <pre>
216
+ &lt;import namespace="http://www.w3.org/XML/1998/namespace"
217
+ schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
218
+ </pre>
219
+ <p>
220
+ Subsequently, qualified reference to any of the attributes or the
221
+ group defined below will have the desired effect, e.g.
222
+ </p>
223
+ <pre>
224
+ &lt;type . . .>
225
+ . . .
226
+ &lt;attributeGroup ref="xml:specialAttrs"/>
227
+ </pre>
228
+ <p>
229
+ will define a type which will schema-validate an instance element
230
+ with any of those attributes.
231
+ </p>
232
+ </div>
233
+ </div>
234
+ </xs:documentation>
235
+ </xs:annotation>
236
+
237
+ <xs:annotation>
238
+ <xs:documentation>
239
+ <div id="nsversioning" xml:id="nsversioning">
240
+ <h2><a name="nsversioning">Versioning policy for this schema document</a></h2>
241
+ <div class="bodytext">
242
+ <p>
243
+ In keeping with the XML Schema WG's standard versioning
244
+ policy, this schema document will persist at
245
+ <a href="http://www.w3.org/2009/01/xml.xsd">
246
+ http://www.w3.org/2009/01/xml.xsd</a>.
247
+ </p>
248
+ <p>
249
+ At the date of issue it can also be found at
250
+ <a href="http://www.w3.org/2001/xml.xsd">
251
+ http://www.w3.org/2001/xml.xsd</a>.
252
+ </p>
253
+ <p>
254
+ The schema document at that URI may however change in the future,
255
+ in order to remain compatible with the latest version of XML
256
+ Schema itself, or with the XML namespace itself. In other words,
257
+ if the XML Schema or XML namespaces change, the version of this
258
+ document at <a href="http://www.w3.org/2001/xml.xsd">
259
+ http://www.w3.org/2001/xml.xsd
260
+ </a>
261
+ will change accordingly; the version at
262
+ <a href="http://www.w3.org/2009/01/xml.xsd">
263
+ http://www.w3.org/2009/01/xml.xsd
264
+ </a>
265
+ will not change.
266
+ </p>
267
+ <p>
268
+ Previous dated (and unchanging) versions of this schema
269
+ document are at:
270
+ </p>
271
+ <ul>
272
+ <li><a href="http://www.w3.org/2009/01/xml.xsd">
273
+ http://www.w3.org/2009/01/xml.xsd</a></li>
274
+ <li><a href="http://www.w3.org/2007/08/xml.xsd">
275
+ http://www.w3.org/2007/08/xml.xsd</a></li>
276
+ <li><a href="http://www.w3.org/2004/10/xml.xsd">
277
+ http://www.w3.org/2004/10/xml.xsd</a></li>
278
+ <li><a href="http://www.w3.org/2001/03/xml.xsd">
279
+ http://www.w3.org/2001/03/xml.xsd</a></li>
280
+ </ul>
281
+ </div>
282
+ </div>
283
+ </xs:documentation>
284
+ </xs:annotation>
285
+
286
+ </xs:schema>
287
+
data/sig/niso/jats.rbs ADDED
@@ -0,0 +1,6 @@
1
+ module Niso
2
+ module Jats
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end