@teipublisher/oddity-language-server 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -2
  3. package/dist/edit.js +313 -0
  4. package/dist/edit.js.map +7 -0
  5. package/dist/index.js +803 -0
  6. package/dist/index.js.map +7 -0
  7. package/dist/node.cjs +44962 -0
  8. package/dist/node.cjs.map +7 -0
  9. package/package.json +74 -4
  10. package/schema/README.md +41 -0
  11. package/schema/docbook/docbook.rng +18457 -0
  12. package/schema/jats/BITS-embedded-index2.ent.rng +340 -0
  13. package/schema/jats/BITS-question-answer2.ent.rng +795 -0
  14. package/schema/jats/JATS-XHTMLtablesetup1-3.ent.rng +614 -0
  15. package/schema/jats/JATS-ali-namespace1-3.ent.rng +284 -0
  16. package/schema/jats/JATS-archivearticle1-3-mathml3.rng +1277 -0
  17. package/schema/jats/JATS-archivecustom-classes1-3.ent.rng +427 -0
  18. package/schema/jats/JATS-archivecustom-mixes1-3.ent.rng +630 -0
  19. package/schema/jats/JATS-archivecustom-models1-3.ent.rng +2205 -0
  20. package/schema/jats/JATS-articlemeta1-3.ent.rng +3138 -0
  21. package/schema/jats/JATS-backmatter1-3.ent.rng +601 -0
  22. package/schema/jats/JATS-chars1-3.ent.rng +715 -0
  23. package/schema/jats/JATS-common-atts1-3.ent.rng +367 -0
  24. package/schema/jats/JATS-common1-3.ent.rng +6007 -0
  25. package/schema/jats/JATS-default-classes1-3.ent.rng +1953 -0
  26. package/schema/jats/JATS-default-mixes1-3.ent.rng +583 -0
  27. package/schema/jats/JATS-display1-3.ent.rng +1669 -0
  28. package/schema/jats/JATS-format1-3.ent.rng +1256 -0
  29. package/schema/jats/JATS-funding1-3.ent.rng +1389 -0
  30. package/schema/jats/JATS-journalmeta1-3.ent.rng +691 -0
  31. package/schema/jats/JATS-link1-3.ent.rng +664 -0
  32. package/schema/jats/JATS-list1-3.ent.rng +747 -0
  33. package/schema/jats/JATS-math1-3.ent.rng +620 -0
  34. package/schema/jats/JATS-mathml3-mathmlsetup1-3.ent.rng +459 -0
  35. package/schema/jats/JATS-nlmcitation1-3.ent.rng +522 -0
  36. package/schema/jats/JATS-para1-3.ent.rng +780 -0
  37. package/schema/jats/JATS-phrase1-3.ent.rng +725 -0
  38. package/schema/jats/JATS-references1-3.ent.rng +1713 -0
  39. package/schema/jats/JATS-related-object1-3.ent.rng +453 -0
  40. package/schema/jats/JATS-section1-3.ent.rng +482 -0
  41. package/schema/jats/mathml3-qname1.mod.rng +61 -0
  42. package/schema/jats/mathml3.rng +4094 -0
  43. package/schema/jats/xhtml-inlstyle-1.mod.rng +37 -0
  44. package/schema/jats/xhtml-table-1.mod.rng +426 -0
  45. package/schema/odd/teipublisher_odds.rng +12769 -0
  46. package/schema/tei/tei_all.rng +23212 -0
  47. package/src/core/association.ts +155 -0
  48. package/src/core/complete.ts +147 -0
  49. package/src/core/elements.ts +86 -0
  50. package/src/core/outline.ts +156 -0
  51. package/src/core/schema.ts +55 -0
  52. package/src/core/tags.ts +104 -0
  53. package/src/core/toml.ts +64 -0
  54. package/src/core/validate.ts +128 -0
  55. package/src/core/wellformed.ts +16 -0
  56. package/src/edit.ts +11 -0
  57. package/src/index.ts +16 -0
  58. package/src/node.ts +39 -0
  59. package/src/server/server.ts +248 -0
@@ -0,0 +1,601 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ============================================================= -->
3
+ <!-- MODULE: Back Matter Elements -->
4
+ <!-- VERSION: ANSI/NISO JATS Version 1.3 (Z39.96-2021) -->
5
+ <!-- DATE: June 2021 -->
6
+ <!---->
7
+ <!-- ============================================================= -->
8
+ <!-- ============================================================= -->
9
+ <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
10
+ <!-- TYPICAL INVOCATION -->
11
+ <!--
12
+ "-//NLM//DTD JATS (Z39.96) JATS DTD Suite Back Matter Elements v1.3 20210610//EN"
13
+ Delivered as file "JATS-backmatter1-3.ent"
14
+ -->
15
+ <!-- ============================================================= -->
16
+ <!-- ============================================================= -->
17
+ <!-- SYSTEM: JATS DTD Suite -->
18
+ <!---->
19
+ <!-- PURPOSE: Names elements that are not part of the main -->
20
+ <!-- textual flow of a work, but are considered to be -->
21
+ <!-- ancillary material. -->
22
+ <!---->
23
+ <!-- TAG SET SPONSOR -->
24
+ <!-- National Center for Biotechnology -->
25
+ <!-- Information (NCBI) -->
26
+ <!-- National Library of Medicine (NLM) -->
27
+ <!---->
28
+ <!-- CREATED FOR: -->
29
+ <!-- This module was created for the JATS DTD Suite. -->
30
+ <!-- Digital archives and publishers may use the -->
31
+ <!-- DTD as is for markup of journal literature or -->
32
+ <!-- related material for archiving and transferring -->
33
+ <!-- such material between archives or create a -->
34
+ <!-- custom XML DTD from the Suite for -->
35
+ <!-- these purposes. -->
36
+ <!---->
37
+ <!-- This DTD is in the public domain. An organization -->
38
+ <!-- that wishes to create its own DTD from the suite -->
39
+ <!-- may do so without permission from NLM. -->
40
+ <!---->
41
+ <!-- The suite has been set up to be extended using a -->
42
+ <!-- new DTD file and a new DTD-specific customization -->
43
+ <!-- module to redefine the many Parameter Entities. -->
44
+ <!-- Do not modify the suite directly or redistribute -->
45
+ <!-- modified versions of the suite. -->
46
+ <!---->
47
+ <!-- In the interest of maintaining consistency and -->
48
+ <!-- clarity for potential users, NLM requests: -->
49
+ <!---->
50
+ <!-- 1. If you create a DTD from the JATS DTD Suite -->
51
+ <!-- and intend to stay compatible with the suite, -->
52
+ <!-- then please include the following statement -->
53
+ <!-- as a comment in all of your DTD modules: -->
54
+ <!-- "Created from, and fully compatible with, -->
55
+ <!-- the ANSI/NISO Z39.96 Journal Article Tag -->
56
+ <!-- Suite (JATS)." -->
57
+ <!---->
58
+ <!-- 2. If you alter one or more modules of the suite, -->
59
+ <!-- then please rename your version and all its -->
60
+ <!-- modules to avoid any confusion with the -->
61
+ <!-- original suite. Also, please include the -->
62
+ <!-- following statement as a comment in all your -->
63
+ <!-- DTD modules: -->
64
+ <!-- "Based in part on, but not fully compatible -->
65
+ <!-- with, the ANSI/NISO Z39.96 Journal Article -->
66
+ <!-- Tag Suite (JATS)." -->
67
+ <!---->
68
+ <!-- ORIGINAL CREATION DATE: -->
69
+ <!-- December 2002 -->
70
+ <!---->
71
+ <!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
72
+ <!-- Working Group. Mulberry Technologies was -->
73
+ <!-- supported by National Center for Biotechnology -->
74
+ <!-- Information (NCBI), a center of the US National -->
75
+ <!-- Library of Medicine (NLM). -->
76
+ <!---->
77
+ <!-- This module is part of the JATS DTD Suite. The -->
78
+ <!-- Suite is a continuation of work done by NCBI, -->
79
+ <!-- Mulberry Technologies, and Inera Inc. on the NLM -->
80
+ <!-- Journal Archiving and Interchange DTD Suite, which -->
81
+ <!-- was originally released in December, 2002. -->
82
+ <!---->
83
+ <!-- NLM thanks the Harvard University Libraries, both -->
84
+ <!-- for proposing that a draft archiving NLM DTD for -->
85
+ <!-- life sciences journals be extended to accommodate -->
86
+ <!-- journals in all disciplines and for sponsoring -->
87
+ <!-- Inera Inc.'s collaboration with other DTD -->
88
+ <!-- authors in completing NLM Version 1.0. The -->
89
+ <!-- Andrew W. Mellon Foundation provided support for -->
90
+ <!-- these important contributions. -->
91
+ <!---->
92
+ <!-- Suggestions for refinements and enhancements to -->
93
+ <!-- this DTD should be sent in email to: -->
94
+ <!-- jats@ncbi.nlm.nih.gov -->
95
+ <!-- ============================================================= -->
96
+ <!-- ============================================================= -->
97
+ <!-- DTD VERSION/CHANGE HISTORY -->
98
+ <!-- ============================================================= -->
99
+ <!--
100
+ Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
101
+ ==============================================================
102
+ JATS Version 1.3 (ANSI/NISO Z39.96-2021)
103
+ (DAL/BTU) v1.3 (2021-06-10)
104
+
105
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
106
+ which requires voting by both the NISO and ANSI memberships
107
+ to be changed. This version of the NISO JATS was approved
108
+ by ANSI vote on June 10, 2021, so it supersedes all Committee
109
+ Drafts as well as the draft version JATS 1.3 2021 (the version
110
+ submitted for vote), becoming NISO JATS v1.3 20210610
111
+ (ANSI/NISO Z39.96-2019).
112
+
113
+ The file names and formal public identifiers have been
114
+ changed in the modules and the catalogs.
115
+
116
+ 21. JATS 'v1.3d2 20201130' becomes 'v1.3 20210610'
117
+ (final ANSI vote date)
118
+ 'ANSI/NISO Z39.96-2019' becomes 'ANSI/NISO Z39.96-2021'
119
+
120
+ ==============================================================
121
+ JATS Version 1.3d2 (ANSI/NISO Z39.96-2021)
122
+ (DAL/BTU) v1.3d2 (2020-11-30)
123
+
124
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
125
+ which requires voting by the NISO and ANSI memberships
126
+ to be changed.
127
+
128
+ This draft DTD represents an interim version of the
129
+ non-normative JATS DTD Suite, as an indication to JATS users
130
+ of the decisions that have been made by the JATS Standing
131
+ Committee. This draft has not yet been given public review
132
+ or voting; it is for Standing Committee review and
133
+ testing. The formal public identifiers have been changed
134
+ in the modules and the catalogs.
135
+
136
+ 20. OBJECT ID Added <object-id> to:
137
+ <app-group>, <glossary>,
138
+
139
+ 19. JATS "v1.3d2 20201130" becomes 'v1.3 20210610' (second
140
+ committee draft following the final ANSI/NISO 1.2 vote)
141
+
142
+ ==============================================================
143
+ JATS Version 1.3d1 (ANSI/NISO Z39.96-2021)
144
+ (DAL/BTU) v1.3.d1 (2019-08-31)
145
+
146
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
147
+ which requires voting by the NISO and ANSI memberships
148
+ to be changed.
149
+
150
+ This draft DTD represents an interim version of the
151
+ non-normative JATS DTD Suite, as an indication to JATS users
152
+ of the decisions that have been made by the JATS Standing
153
+ Committee. This draft has not yet been given public review
154
+ or voting. The formal public identifiers were changed in the
155
+ modules and the catalogs.
156
+
157
+ 18. ADDED SUBJECTS TO WHEREVER KEYWORDS ALLOWED - Added
158
+ <subj-group> directly to the following elements:
159
+ - app-group
160
+
161
+ 17. JATS "1.2" becomes "v1.3d1 20190831" (first committee
162
+ draft following the final ANSI/NISO vote)
163
+
164
+ ==============================================================
165
+ JATS Version 1.2 (ANSI/NISO Z39.96-2021)
166
+ (DAL/BTU) v1.2 (2019-02-08)
167
+
168
+ NISO JATS is a continuing maintenance NISO Standard, which
169
+ requires voting by the both the NISO and ANSI membership
170
+ to be changed. This version of the NISO JATS was approved
171
+ by ANSI vote on Feb 08, 2019, so it supersedes all Committee
172
+ Drafts as well as the draft version JATS 1.2 2018 (the version
173
+ submitted for vote), becoming NISO JATS v1.2 20190208
174
+ (ANSI/NISO Z39.96-2021).
175
+
176
+ 16. JATS "1.2" becomes "v1.2 20190208" (final ANSI vote date)
177
+ "ANSI/NISO Z39.96-2015" becomes "ANSI/NISO Z39.96-2019"
178
+
179
+ ==============================================================
180
+ JATS Version 1.2 (ANSI/NISO Z39.96-2018)
181
+ (DAL/BTU) v1.2 (2018-11-30)
182
+
183
+ NISO JATS is a continuing maintenance NISO Standard, which
184
+ requires voting by the both the NISO and ANSI membership
185
+ to be changed. This version of the NISO JATS was approved
186
+ by ANSI and NISO vote, so it supersedes all Committee Drafts
187
+ and becoming NISO JATS 1.2 (ANSI/NISO Z39.96-2018).
188
+
189
+ 15. JATS "1.2d2" and "v1.2d2 20180401" became
190
+ JATS "1.2" and "v1.2 20181130"
191
+
192
+ =============================================================
193
+ JATS Version 1.2d2 (DAL/BTU) v1.2d2 (2018-04-01)
194
+
195
+ JATS is a continuing maintenance NISO Standard, which
196
+ requires voting by the ANSI and NISO memberships to be changed.
197
+ BITS is under continuous maintenance, and is modified at the
198
+ discretion of the working group.
199
+
200
+ This draft DTD represents an interim version of the
201
+ non-normative JATS DTD Suite, as an indication to JATS users
202
+ the decisions that have been made by the JATS Standing
203
+ Committee. This draft has not yet been given public review
204
+ or voting. The formal public identifiers were changed in the
205
+ modules and the catalogs.
206
+
207
+ 14. BITS "2.0" and "v2.0 20151225" remains unchanged
208
+
209
+ JATS "1.2d1" and "v1.2d1 20171231" became
210
+ JATS "1.2d2" and "v1.2d2 20180401".
211
+
212
+ No module names were changed.
213
+
214
+ =============================================================
215
+ JATS Version 1.2d1 (ANSI/NISO Z39.96-2015)
216
+ (DAL/BTU) v1.2d1 (2017-12-31)
217
+
218
+ NISO JATS is a continuing maintenance NISO Standard, which
219
+ requires voting by the ANSI and NISO memberships to be changed.
220
+
221
+ This draft DTD represents an interim version of the
222
+ non-normative JATS DTD Suite, as an indication to JATS users
223
+ the decisions that have been made by the JATS Standing
224
+ Committee. This draft has not yet been given public review
225
+ or voting. The formal public identifiers were changed in the
226
+ modules and the catalogs.
227
+
228
+ 13. JATS "1.2d1" and "v1.2d1 20170631" became
229
+ JATS "1.2d1" and "v1.2d1 20171231".
230
+
231
+ =============================================================
232
+ JATS Version 1.2d1 (DAL/BTU) v1.2d1 (2017-06-31)
233
+
234
+ NISO JATS is a continuing maintenance NISO Standard, which
235
+ requires voting by the ANSI and NISO memberships to be changed.
236
+
237
+ This draft DTD represents an interim version of the
238
+ non-normative JATS DTD Suite, as an indication to JATS users
239
+ the decisions that have been made by the JATS Standing
240
+ Committee. This draft has not yet been given public review
241
+ or voting. The formal public identifiers were changed in the
242
+ modules and the catalogs.
243
+
244
+ 12. JATS became version "1.2d1" and "v1.2d1 20170631"
245
+
246
+ =============================================================
247
+ JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)
248
+
249
+ JATS is a continuing maintenance NISO Standard, which
250
+ requires voting by the ANSI and NISO memberships to be changed.
251
+ JATS 1.1 was approved in late 2015, so the formal public
252
+ identifiers were changed in the modules and the catalogs.
253
+ No model or attribute changes were made at this time.
254
+
255
+ 11. JATS became version "1.1" and "v1.1 20151215"
256
+ BITS remained version "2.0" but becomes "v2.0 20151225"
257
+
258
+ =============================================================
259
+ JATS Version 1.1d3 (DAL/BTU) v1.1d3 (2015-03-01)
260
+
261
+ The changes in this release are in response to NISO
262
+ License and Indicators Recommended Practice.
263
+
264
+ NISO JATS is a continuing maintenance NISO Standard, which
265
+ requires voting by the NISO membership to be changed. This
266
+ Committee Draft 1.1d3 will be sent to the NISO voting
267
+ membership, to become (if approved) NISO JATS 1.1.
268
+
269
+ This draft DTD represents an interim version of the
270
+ non-normative JATS DTD Suite, as an indication to JATS users
271
+ the decisions that have been made by the JATS Standing
272
+ Committee.
273
+
274
+ 10. JATS became version "1.1d3" and "v1.1d3 20150301"
275
+
276
+ =============================================================
277
+ JATS Version 1.1d2 (DAL/BTU) v1.1d2 (2014-09-30)
278
+
279
+ NISO JATS is a continuing maintenance NISO Standard, which
280
+ requires voting by the NISO membership to be changed. This
281
+ Committee Draft 1.1d2 will be sent to the NISO voting
282
+ membership, to become (if approved) NISO JATS 1.1.
283
+
284
+ This catalog represents an interim version of the
285
+ non-normative JATS DTD Suite, as an indication to JATS users
286
+ the decisions that have been made by the JATS Standing
287
+ Committee.
288
+
289
+ 9. JATS became version "1.1d2" and "v1.1d2 20140930//EN"
290
+
291
+ =============================================================
292
+ NISO JATS Version 1.1d1 (DAL/BTU) v1.1 (2013-11-15)
293
+
294
+ ANSI/NISO Z39.96-2012 (pre-release for V1.0 BITS; Version 1.1d1)
295
+
296
+ NISO JATS Standing Committee met and answered the requests and
297
+ suggestions from the NISO request forms.
298
+
299
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
300
+ XSDs, RNGs and supporting documentation are available at
301
+ http://jats.nlm.nih.gov/1.3d2/
302
+
303
+ 8. GLOBAL ATTRIBUTES - Added the new parameter entity
304
+ %jats-common-atts;
305
+ to every element in this module. This PE adds (for now) the
306
+ @id attribute and the @xml:base to every element, whether
307
+ metadata or narrative.
308
+ Since the @id in this parameter entity is optional, a second
309
+ parameter entity jats-common-atts-id-required was also added.
310
+ The two are kept in sync with the jats-base-atts parameter
311
+ entity.
312
+
313
+ 7. ABSTRACTS AND KEYWORDS ON NEW STRUCTURES
314
+ - Added <abstract> (through %abstract.class;) and <kwd-group>
315
+ (through %kwd-group.class;) to the following elements:
316
+ - app (through %sec-model;)
317
+ - app-group (through %app-group-model;)
318
+
319
+ =============================================================
320
+ NISO JATS Version 1.0 (DAL/BTU) v1.0 (2012-xx-xx)
321
+
322
+ ANSI/NISO Z39.96-2012 (Version 1.0)
323
+
324
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
325
+ XSDs, RNGs and supporting documentation are available at
326
+ http://jats.nlm.nih.gov/1.3d2/
327
+
328
+ 6. Updated the DTD-version attribute to "1.0" and the formal
329
+ public identifier to the date: "v1.0 20120330//EN".
330
+
331
+ =============================================================
332
+ Version 0.4 (DAL/BTU) v0.4 (2011-01-31)
333
+
334
+ This Tag Set is in the process of becoming a NISO standard.
335
+ The version numbers are starting over from 0.4", as a Trial
336
+ Use Draft, to be made into "Version 1.0" when the Tag Suite
337
+ becomes a NISO standard. Thus, the version number that would
338
+ have been "NLM Version 3.1 Draft" has become NISO JATS
339
+ "Version 0.4".
340
+
341
+ Details on NISO Trial Use Draft Version 0.4 are available at
342
+ http://jats.nlm.nih.gov/JATS-0.4.
343
+
344
+ 4. Updated the DTD-version attribute to "0.4"
345
+
346
+ 3. Updated the public identifier to "v0.4 20110131",
347
+ modified the formal public identifier to include "JATS (Z39.96)",
348
+ and the filename as delivered to include "JATS" and the
349
+ new version number "0".
350
+ http://jats.nlm.nih.gov/0.4.
351
+
352
+ 2. @XML:LANG - Added @xml:lang to the following elements:
353
+ - app through app-atts
354
+ - app-group through app-group-atts
355
+ - fn-group through fn-group-atts
356
+ - glossary through glossary-atts
357
+
358
+ =============================================================
359
+ Version 3.0 (DAL/BTU) v3.0 (2007-10-31)
360
+
361
+ Version 3.0 is the first non-backward-compatible release.
362
+ In addition to the usual incremental changes, some
363
+ elements and attributes have been renamed and/or remodeled
364
+ to better meet user needs and to increase tag set consistency.
365
+ All module change histories are available through the Tag Suite
366
+ web site at http://dtd.nlm.nih.gov.
367
+
368
+ Details on version 3.0 are available at
369
+ http://dtd.nlm.nih.gov/3.0.
370
+
371
+ 1. Updated public identifier to "v3.0 20071031//EN"
372
+ -->
373
+ <!-- ============================================================= -->
374
+ <!--
375
+ Details concerning
376
+ ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
377
+ RNGs and supporting documentation are available at
378
+ http://jats.nlm.nih.gov/1.1/
379
+ -->
380
+ <!-- ============================================================= -->
381
+ <!-- BACK MATTER ELEMENTS -->
382
+ <!-- ============================================================= -->
383
+ <!-- ELEM bio Defined in %common.ent; -->
384
+ <!-- ELEM ref-list Defined in %references.ent; -->
385
+ <!-- ELEM sec Defined in %section.ent; -->
386
+ <!-- ELEM ack Defined in %common.ent; -->
387
+ <!-- ============================================================= -->
388
+ <!-- PARAMETER ENTITIES FOR ATTRIBUTE LISTS -->
389
+ <!-- ============================================================= -->
390
+ <!-- APPENDIX ATTRIBUTES -->
391
+ <!-- Attributes for the Appendix <app> element -->
392
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
393
+ <define name="app-atts">
394
+ <ref name="jats-common-atts"/>
395
+ <optional>
396
+ <attribute name="content-type"/>
397
+ </optional>
398
+ <optional>
399
+ <attribute name="specific-use"/>
400
+ </optional>
401
+ <optional>
402
+ <attribute name="xml:lang">
403
+ <data type="NMTOKEN"/>
404
+ </attribute>
405
+ </optional>
406
+ </define>
407
+ <!-- APPENDIX GROUP ATTRIBUTES -->
408
+ <!--
409
+ Attributes for the Appendix Group <app-group>
410
+ element
411
+ -->
412
+ <define name="app-group-atts">
413
+ <ref name="jats-common-atts"/>
414
+ <optional>
415
+ <attribute name="content-type"/>
416
+ </optional>
417
+ <optional>
418
+ <attribute name="specific-use"/>
419
+ </optional>
420
+ <optional>
421
+ <attribute name="xml:lang">
422
+ <data type="NMTOKEN"/>
423
+ </attribute>
424
+ </optional>
425
+ </define>
426
+ <!-- FOOTNOTE GROUP ATTRIBUTES -->
427
+ <!--
428
+ Attributes for the Footnote Group <fn-group>
429
+ element
430
+ -->
431
+ <define name="fn-group-atts">
432
+ <ref name="jats-common-atts"/>
433
+ <optional>
434
+ <attribute name="content-type"/>
435
+ </optional>
436
+ <optional>
437
+ <attribute name="specific-use"/>
438
+ </optional>
439
+ <optional>
440
+ <attribute name="xml:lang">
441
+ <data type="NMTOKEN"/>
442
+ </attribute>
443
+ </optional>
444
+ </define>
445
+ <!-- GLOSSARY ATTRIBUTES -->
446
+ <!--
447
+ Attributes for the Glossary <glossary>
448
+ element
449
+ -->
450
+ <define name="glossary-atts">
451
+ <ref name="jats-common-atts"/>
452
+ <optional>
453
+ <attribute name="content-type"/>
454
+ </optional>
455
+ <optional>
456
+ <attribute name="specific-use"/>
457
+ </optional>
458
+ <optional>
459
+ <attribute name="xml:lang">
460
+ <data type="NMTOKEN"/>
461
+ </attribute>
462
+ </optional>
463
+ </define>
464
+ <!-- ============================================================= -->
465
+ <!-- APPENDIX ELEMENTS -->
466
+ <!-- ============================================================= -->
467
+ <!-- APPENDIX GROUP MODEL -->
468
+ <!-- Content model for the <app-group> element -->
469
+ <define name="app-group-model">
470
+ <zeroOrMore>
471
+ <ref name="id.class"/>
472
+ </zeroOrMore>
473
+ <optional>
474
+ <ref name="label"/>
475
+ </optional>
476
+ <optional>
477
+ <ref name="title"/>
478
+ </optional>
479
+ <zeroOrMore>
480
+ <ref name="abstract.class"/>
481
+ </zeroOrMore>
482
+ <zeroOrMore>
483
+ <ref name="kwd-group.class"/>
484
+ </zeroOrMore>
485
+ <zeroOrMore>
486
+ <ref name="subj-group.class"/>
487
+ </zeroOrMore>
488
+ <zeroOrMore>
489
+ <ref name="para-level"/>
490
+ </zeroOrMore>
491
+ <zeroOrMore>
492
+ <choice>
493
+ <ref name="app.class"/>
494
+ <ref name="ref-list.class"/>
495
+ </choice>
496
+ </zeroOrMore>
497
+ </define>
498
+ <!-- APPENDIX GROUP -->
499
+ <!--
500
+ A container element to hold one or more
501
+ Appendices.
502
+ Details at:
503
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=app-group
504
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=app-group
505
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=app-group
506
+ -->
507
+ <define name="app-group">
508
+ <element name="app-group">
509
+ <ref name="app-group-attlist"/>
510
+ <ref name="app-group-model"/>
511
+ </element>
512
+ </define>
513
+ <define name="app-group-attlist" combine="interleave">
514
+ <ref name="app-group-atts"/>
515
+ </define>
516
+ <!-- APPENDIX MODEL -->
517
+ <!-- Content model for the <app> element. -->
518
+ <!-- APPENDIX -->
519
+ <!--
520
+ Details at:
521
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=app
522
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=app
523
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=app
524
+ -->
525
+ <define name="app">
526
+ <element name="app">
527
+ <ref name="app-attlist"/>
528
+ <ref name="app-model"/>
529
+ </element>
530
+ </define>
531
+ <define name="app-attlist" combine="interleave">
532
+ <ref name="app-atts"/>
533
+ </define>
534
+ <!-- ============================================================= -->
535
+ <!-- FOOTNOTE GROUPING ELEMENTS -->
536
+ <!-- ============================================================= -->
537
+ <!-- FOOTNOTE GROUP MODEL -->
538
+ <!-- Content model for the <fn-group> element -->
539
+ <!-- FOOTNOTE GROUP -->
540
+ <!--
541
+ Footnotes in a journal article may be
542
+ scattered throughout the text, at the places
543
+ they occur, or collected in groups at the
544
+ end of structural units. This element is a
545
+ wrapper tag for such groups of footnotes.
546
+ Details at:
547
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=fn-group
548
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=fn-group
549
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=fn-group
550
+ -->
551
+ <define name="fn-group">
552
+ <element name="fn-group">
553
+ <ref name="fn-group-attlist"/>
554
+ <ref name="fn-group-model"/>
555
+ </element>
556
+ </define>
557
+ <define name="fn-group-attlist" combine="interleave">
558
+ <ref name="fn-group-atts"/>
559
+ </define>
560
+ <!-- ============================================================= -->
561
+ <!-- GLOSSARY -->
562
+ <!-- ============================================================= -->
563
+ <!-- GLOSSARY MODEL -->
564
+ <!-- Content model for the <glossary> element -->
565
+ <define name="glossary-model">
566
+ <zeroOrMore>
567
+ <ref name="id.class"/>
568
+ </zeroOrMore>
569
+ <optional>
570
+ <ref name="label"/>
571
+ </optional>
572
+ <optional>
573
+ <ref name="title"/>
574
+ </optional>
575
+ <zeroOrMore>
576
+ <ref name="para-level"/>
577
+ </zeroOrMore>
578
+ <zeroOrMore>
579
+ <ref name="glossary"/>
580
+ </zeroOrMore>
581
+ </define>
582
+ <!-- GLOSSARY ELEMENTS -->
583
+ <!--
584
+ Glossary or list of definitions. Typically
585
+ the content will be one or more <def-list>s.
586
+ Details at:
587
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=glossary
588
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=glossary
589
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=glossary
590
+ -->
591
+ <define name="glossary">
592
+ <element name="glossary">
593
+ <ref name="glossary-attlist"/>
594
+ <ref name="glossary-model"/>
595
+ </element>
596
+ </define>
597
+ <define name="glossary-attlist" combine="interleave">
598
+ <ref name="glossary-atts"/>
599
+ </define>
600
+ </grammar>
601
+ <!-- ================== End Back Matter Module =================== -->