@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,664 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ============================================================= -->
3
+ <!-- MODULE: Link Element Classes -->
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 Link Class Elements v1.3 20210610//EN"
13
+ Delivered as file "JATS-link1-3.ent"
14
+ -->
15
+ <!-- ============================================================= -->
16
+ <!-- ============================================================= -->
17
+ <!-- SYSTEM: JATS DTD Suite -->
18
+ <!---->
19
+ <!-- PURPOSE: Names all elements in the link class. These are -->
20
+ <!-- elements that are links (internal or external) -->
21
+ <!-- by definition, such as URLs <uri> and -->
22
+ <!-- Cross(X)-references <xref>. -->
23
+ <!---->
24
+ <!-- TAG SET SPONSOR -->
25
+ <!-- National Center for Biotechnology -->
26
+ <!-- Information (NCBI) -->
27
+ <!-- National Library of Medicine (NLM) -->
28
+ <!---->
29
+ <!-- CREATED FOR: -->
30
+ <!-- This module was created for the JATS DTD Suite. -->
31
+ <!-- Digital archives and publishers may use the -->
32
+ <!-- DTD as is for markup of journal literature or -->
33
+ <!-- related material for archiving and transferring -->
34
+ <!-- such material between archives or create a -->
35
+ <!-- custom XML DTD from the Suite for -->
36
+ <!-- these purposes. -->
37
+ <!---->
38
+ <!-- This DTD is in the public domain. An organization -->
39
+ <!-- that wishes to create its own DTD from the suite -->
40
+ <!-- may do so without permission from NLM. -->
41
+ <!---->
42
+ <!-- The suite has been set up to be extended using a -->
43
+ <!-- new DTD file and a new DTD-specific customization -->
44
+ <!-- module to redefine the many Parameter Entities. -->
45
+ <!-- Do not modify the suite directly or redistribute -->
46
+ <!-- modified versions of the suite. -->
47
+ <!---->
48
+ <!-- In the interest of maintaining consistency and -->
49
+ <!-- clarity for potential users, NLM requests: -->
50
+ <!---->
51
+ <!-- 1. If you create a DTD from the JATS DTD Suite -->
52
+ <!-- and intend to stay compatible with the suite, -->
53
+ <!-- then please include the following statement -->
54
+ <!-- as a comment in all of your DTD modules: -->
55
+ <!-- "Created from, and fully compatible with, -->
56
+ <!-- the ANSI/NISO Z39.96 Journal Article Tag -->
57
+ <!-- Suite (JATS)." -->
58
+ <!---->
59
+ <!-- 2. If you alter one or more modules of the suite, -->
60
+ <!-- then please rename your version and all its -->
61
+ <!-- modules to avoid any confusion with the -->
62
+ <!-- original suite. Also, please include the -->
63
+ <!-- following statement as a comment in all your -->
64
+ <!-- DTD modules: -->
65
+ <!-- "Based in part on, but not fully compatible -->
66
+ <!-- with, the ANSI/NISO Z39.96 Journal Article -->
67
+ <!-- Tag Suite (JATS)." -->
68
+ <!---->
69
+ <!-- ORIGINAL CREATION DATE: -->
70
+ <!-- December 2002 -->
71
+ <!---->
72
+ <!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
73
+ <!-- Working Group. Mulberry Technologies was -->
74
+ <!-- supported by National Center for Biotechnology -->
75
+ <!-- Information (NCBI), a center of the US National -->
76
+ <!-- Library of Medicine (NLM). -->
77
+ <!---->
78
+ <!-- This module is part of the JATS DTD Suite. The -->
79
+ <!-- Suite is a continuation of work done by NCBI, -->
80
+ <!-- Mulberry Technologies, and Inera, Inc. on the NLM -->
81
+ <!-- Journal Archiving and Interchange DTD Suite, which -->
82
+ <!-- was originally released in December, 2002. -->
83
+ <!---->
84
+ <!-- NLM thanks the Harvard University Libraries, both -->
85
+ <!-- for proposing that a draft archiving NLM DTD for -->
86
+ <!-- life sciences journals be extended to accommodate -->
87
+ <!-- journals in all disciplines and for sponsoring -->
88
+ <!-- Inera Inc.'s collaboration with other DTD -->
89
+ <!-- authors in completing NLM Version 1.0. The -->
90
+ <!-- Andrew W. Mellon Foundation provided support for -->
91
+ <!-- these important contributions. -->
92
+ <!---->
93
+ <!-- Suggestions for refinements and enhancements to -->
94
+ <!-- this DTD should be sent in email to: -->
95
+ <!-- jats@ncbi.nlm.nih.gov -->
96
+ <!-- ============================================================= -->
97
+ <!-- ============================================================= -->
98
+ <!-- DTD VERSION/CHANGE HISTORY -->
99
+ <!-- ============================================================= -->
100
+ <!--
101
+ Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
102
+ ==============================================================
103
+ JATS Version 1.3 (ANSI/NISO Z39.96-2021)
104
+ (DAL/BTU) v1.3 (2021-06-10)
105
+
106
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
107
+ which requires voting by both the NISO and ANSI memberships
108
+ to be changed. This version of the NISO JATS was approved
109
+ by ANSI vote on June 10, 2021, so it supersedes all Committee
110
+ Drafts as well as the draft version JATS 1.3 2021 (the version
111
+ submitted for vote), becoming NISO JATS v1.3 20210610
112
+ (ANSI/NISO Z39.96-2019).
113
+
114
+ The file names and formal public identifiers have been
115
+ changed in the modules and the catalogs.
116
+
117
+ 21. JATS 'v1.3d2 20201130' becomes 'v1.3 20210610'
118
+ (final ANSI vote date)
119
+ 'ANSI/NISO Z39.96-2019' becomes 'ANSI/NISO Z39.96-2021'
120
+
121
+ ==============================================================
122
+ JATS Version 1.3d2 (ANSI/NISO Z39.96-2021)
123
+ (DAL/BTU) v1.3d2 (2020-11-30)
124
+
125
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
126
+ which requires voting by the NISO and ANSI memberships
127
+ to be changed.
128
+
129
+ This draft DTD represents an interim version of the
130
+ non-normative JATS DTD Suite, as an indication to JATS users
131
+ of the decisions that have been made by the JATS Standing
132
+ Committee. This draft has not yet been given public review
133
+ or voting; it is for Standing Committee review and
134
+ testing. The formal public identifiers have been changed
135
+ in the modules and the catalogs.
136
+
137
+ 20. EXPANSION OF FIXED ATTRIBUTES LIST: There are four
138
+ content-defined attributes which are CDATA values
139
+ (undetermined) in Archiving, but which are named value
140
+ lists in Publishing/Authoring:
141
+ - @fn-type
142
+ - @person-group-type (override is in this module)
143
+ - @pub-id-type
144
+ - @ref-type
145
+ In order to give users of Publishing and Authoing
146
+ more flexibility to name new values without
147
+ destroying the benefit of named value lists:
148
+ - A new value “custom” has been added to the named
149
+ value list of each of these four attributes.
150
+ - A new attribute @custom-type has been added to
151
+ each element that takes one of these attributes.
152
+ The new attribute @custom-type was also added to
153
+ Green, so that documents valid to Blue or Pumpkin
154
+ would also be also valid to Green.
155
+ In this module:
156
+ - The element <fn> was given the new attribute
157
+ @custom-type. The value "custom" will be
158
+ documented as a valid footnote type.
159
+ As an example:
160
+ <fn @fn-type=”custom”
161
+ custom-type=”reading-level”>
162
+ The Best Practice rule (unenforceable in DTDs, but
163
+ enforceable in Schematron) is, that if you use the
164
+ value “custom” from one of these lists, you should
165
+ also record what type of 'custom' in the
166
+ @custom-type attribute.
167
+
168
+
169
+ 19. JATS "v1.3d2 20201130" becomes 'v1.3 20210610' (second
170
+ committee draft following the final ANSI/NISO 1.2 vote)
171
+
172
+ ==============================================================
173
+ JATS Version 1.3d1 (ANSI/NISO Z39.96-2021)
174
+ (DAL/BTU) v1.3.d1 (2019-08-31)
175
+
176
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
177
+ which requires voting by the NISO and ANSI memberships
178
+ to be changed.
179
+
180
+ This draft DTD represents an interim version of the
181
+ non-normative JATS DTD Suite, as an indication to JATS users
182
+ of the decisions that have been made by the JATS Standing
183
+ Committee. This draft has not yet been given public review
184
+ or voting. The formal public identifiers were changed in the
185
+ modules and the catalogs.
186
+
187
+ 18. JATS "1.2" becomes "v1.3d1 20190831" (first committee
188
+ draft following the final ANSI/NISO vote)
189
+
190
+ ==============================================================
191
+ JATS Version 1.2 (ANSI/NISO Z39.96-2021)
192
+ (DAL/BTU) v1.2 (2019-02-08)
193
+
194
+ NISO JATS is a continuing maintenance NISO Standard, which
195
+ requires voting by the both the NISO and ANSI membership
196
+ to be changed. This version of the NISO JATS was approved
197
+ by ANSI vote on Feb 08, 2019, so it supersedes all Committee
198
+ Drafts as well as the draft version JATS 1.2 2018 (the version
199
+ submitted for vote), becoming NISO JATS v1.2 20190208
200
+ (ANSI/NISO Z39.96-2021).
201
+
202
+ 17. JATS "1.2" becomes "v1.2 20190208" (final ANSI vote date)
203
+ "ANSI/NISO Z39.96-2015" becomes "ANSI/NISO Z39.96-2019"
204
+
205
+ ==============================================================
206
+ JATS Version 1.2 (ANSI/NISO Z39.96-2018)
207
+
208
+ (DAL/BTU) v1.2 (2018-11-30)
209
+
210
+ NISO JATS is a continuing maintenance NISO Standard, which
211
+ requires voting by the both the NISO and ANSI membership
212
+ to be changed. This version of the NISO JATS was approved
213
+ by ANSI and NISO vote, so it supersedes all Committee Drafts
214
+ and becoming NISO JATS 1.2 (ANSI/NISO Z39.96-2018).
215
+
216
+ 16.
217
+ JATS "1.2d2" and "v1.2d2 20180401" became
218
+ JATS "1.2" and "v1.2 20181130"
219
+
220
+ =============================================================
221
+
222
+ JATS Version 1.2d2 (DAL/BTU) v1.2d2 (2018-04-01)
223
+
224
+ JATS is a continuing maintenance NISO Standard, which
225
+ requires voting by the ANSI and NISO memberships to be changed.
226
+ BITS is under continuous maintenance, and is modified at the
227
+ discretion of the working group.
228
+
229
+ This draft DTD represents an interim version of the
230
+ non-normative JATS DTD Suite, as an indication to JATS users
231
+ the decisions that have been made by the JATS Standing
232
+ Committee. This draft has not yet been given public review
233
+ or voting. The formal public identifiers were changed in the
234
+ modules and the catalogs.
235
+
236
+ 15. XREF - Changed @ref-type from CDATA back to a fixed
237
+ value list, reversing what was done in version 1.2d1.
238
+ Added new values "award" and "bio".
239
+
240
+ 14. BITS "2.0" and "v2.0 20151225" remain unchanged
241
+
242
+
243
+ JATS "1.2d1" and "v1.2d1 20171231" became
244
+ JATS "1.2d2" and "v1.2d2 20180401".
245
+
246
+ No module names were changed.
247
+
248
+ =============================================================
249
+ JATS Version 1.2d1 (ANSI/NISO Z39.96-2015)
250
+ (DAL/BTU) v1.2d1 (2017-12-31)
251
+
252
+ NISO JATS is a continuing maintenance NISO Standard, which
253
+ requires voting by the ANSI and NISO memberships to be changed.
254
+
255
+ This draft DTD represents an interim version of the
256
+ non-normative JATS DTD Suite, as an indication to JATS users
257
+ the decisions that have been made by the JATS Standing
258
+ Committee. This draft has not yet been given public review
259
+ or voting. The formal public identifiers were changed in the
260
+ modules and the catalogs.
261
+
262
+ 13. JATS "1.2d1" and "v1.2d1 20170631" became
263
+ JATS "1.2d1" and "v1.2d1 20171231".
264
+
265
+ =============================================================
266
+ JATS Version 1.2d1 (DAL/BTU) v1.2d1 (2017-06-31)
267
+
268
+ NISO JATS is a continuing maintenance NISO Standard, which
269
+ requires voting by the ANSI and NISO memberships to be changed.
270
+
271
+ This draft DTD represents an interim version of the
272
+ non-normative JATS DTD Suite, as an indication to JATS users
273
+ the decisions that have been made by the JATS Standing
274
+ Committee. This draft has not yet been given public review
275
+ or voting. The formal public identifiers were changed in the
276
+ modules and the catalogs.
277
+
278
+ 12. XREF - Changed @ref-type from a fixed value list to CDATA
279
+
280
+ 11. JATS became version "1.2d1" and "v1.2d1 20170631"
281
+
282
+ =============================================================
283
+ JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)
284
+
285
+ JATS is a continuing maintenance NISO Standard, which
286
+ requires voting by the ANSI and NISO memberships to be changed.
287
+ JATS 1.1 was approved in late 2015, so the formal public
288
+ identifiers were changed in the modules and the catalogs.
289
+ No model or attribute changes were made at this time.
290
+
291
+ 10. JATS became version "1.1" and "v1.1 20151215"
292
+ BITS remained version "2.0" but becomes "v2.0 20151225"
293
+
294
+ =============================================================
295
+ JATS Version 1.1d3 (DAL/BTU) v1.1d3 (2015-03-01)
296
+
297
+ The changes in this release are in response to NISO
298
+ License and Indicators Recommended Practice.
299
+
300
+ NISO JATS is a continuing maintenance NISO Standard, which
301
+ requires voting by the NISO membership to be changed. This
302
+ Committee Draft 1.1d3 will be sent to the NISO voting
303
+ membership, to become (if approved) NISO JATS 1.1.
304
+
305
+ This draft DTD represents an interim version of the
306
+ non-normative JATS DTD Suite, as an indication to JATS users
307
+ the decisions that have been made by the JATS Standing
308
+ Committee.
309
+
310
+ 9. JATS became version "1.1d3" and "v1.1 20150301//EN"
311
+
312
+ =============================================================
313
+ JATS Version 1.1d2 (DAL/BTU) v1.1d2 (2014-09-30)
314
+
315
+ NISO JATS is a continuing maintenance NISO Standard, which
316
+ requires voting by the NISO membership to be changed. This
317
+ Committee Draft 1.1d2 will be sent to the NISO voting
318
+ membership, to become (if approved) NISO JATS 1.1.
319
+
320
+ This catalog represents an interim version of the
321
+ non-normative JATS DTD Suite, as an indication to JATS users
322
+ the decisions that have been made by the JATS Standing
323
+ Committee.
324
+
325
+ 8. JATS became version "1.1d2" and "v1.1d2 20140930//EN"
326
+
327
+ 7. REFERENCE TYPES
328
+ - Added "collab"
329
+
330
+ =============================================================
331
+ NISO JATS Version 1.1d1 (DAL/BTU) v1.1 (2013-11-15)
332
+
333
+ ANSI/NISO Z39.96-2012 (pre-release for V1.0 BITS; Version 1.1d1)
334
+
335
+ NISO JATS Standing Committee met and answered the requests and
336
+ suggestions from the NISO request forms.
337
+
338
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
339
+ XSDs, RNGs and supporting documentation are available at
340
+ http://jats.nlm.nih.gov/1.3d2/
341
+ http://jats.nlm.nih.gov/1.1/
342
+
343
+ 6. GLOBAL ATTRIBUTES - Added the new parameter entity
344
+ %jats-common-atts;
345
+ to every element in this module. This PE adds (for now) the
346
+ @id attribute and the @xml:base attribute to every element,
347
+ whether metadata or narrative.
348
+ Since the @id in this parameter entity is optional, a second
349
+ parameter entity jats-common-atts-id-required was also added.
350
+ The two are kept in sync with the jats-base-atts parameter
351
+ entity.
352
+
353
+ =============================================================
354
+ NISO JATS Version 1.0 (DAL/BTU) v1.0 (2012-xx-xx)
355
+
356
+ ANSI/NISO Z39.96-2012 (Version 1.0)
357
+
358
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
359
+ XSDs, RNGs and supporting documentation are available at
360
+ http://jats.nlm.nih.gov/1.3d2/
361
+
362
+ 5. Updated the DTD-version attribute to "1.0" and the formal
363
+ public identifier to the date: "v1.0 20120330//EN".
364
+
365
+ =============================================================
366
+ Version 0.4 (DAL/BTU) v0.4 (2011-01-31)
367
+
368
+ This Tag Set is in the process of becoming a NISO standard.
369
+ The version numbers are starting over from 0.4", as a Trial
370
+ Use Draft, to be made into "Version 1.0" when the Tag Suite
371
+ becomes a NISO standard. Thus, the version number that would
372
+ have been "NLM Version 3.1 Draft" has become NISO JATS
373
+ "Version 0.4".
374
+
375
+ Details on NISO Trial Use Draft Version 0.4 are available at
376
+ http://jats.nlm.nih.gov/JATS-0.4.
377
+
378
+ 4. Updated the DTD-version attribute to "0.4"
379
+
380
+ 3. Updated the public identifier to "v0.4 20110131",
381
+ modified the formal public identifier to include "JATS (Z39.96)",
382
+ and the filename as delivered to include "JATS" and the
383
+ new version number "0".
384
+
385
+ 2. ACCESSIBILITY - Added @alt to <xref> through %xref-atts;
386
+
387
+ =============================================================
388
+ Version 3.0 (DAL/BTU) v3.0 (2007-10-31)
389
+
390
+ Version 3.0 is the first non-backward-compatible release.
391
+ In addition to the usual incremental changes, some
392
+ elements and attributes have been renamed and/or remodeled
393
+ to better meet user needs and to increase tag set consistency.
394
+ All module change histories are available through the Tag Suite
395
+ web site at http://dtd.nlm.nih.gov.
396
+
397
+ Details on version 3.0 are available at
398
+ http://dtd.nlm.nih.gov/3.0.
399
+
400
+ 1. Updated public identifier to "v3.0 20071031//EN"
401
+ -->
402
+ <!-- ============================================================= -->
403
+ <!--
404
+ Details concerning
405
+ ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
406
+ RNGs and supporting documentation are available at
407
+ http://jats.nlm.nih.gov/1.1/
408
+ -->
409
+ <!-- ============================================================= -->
410
+ <!-- DEFAULTS FOR ATTRIBUTE VALUES -->
411
+ <!-- ============================================================= -->
412
+ <!-- DEFAULT TYPE OF CROSS(X)-REFERENCE -->
413
+ <!--
414
+ Used to say to what the reference is pointing.
415
+ May be used for type-specific processing or
416
+ validation. Values are, for example:
417
+ Affiliation "aff" and Figure "fig", and
418
+ Bibliographic ref (to a citation.
419
+ -->
420
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
421
+ <define name="ref-types">
422
+ <choice>
423
+ <value>aff</value>
424
+ <value>app</value>
425
+ <value>author-notes</value>
426
+ <value>award</value>
427
+ <value>bibr</value>
428
+ <value>bio</value>
429
+ <value>boxed-text</value>
430
+ <value>chem</value>
431
+ <value>collab</value>
432
+ <value>contrib</value>
433
+ <value>corresp</value>
434
+ <value>disp-formula</value>
435
+ <value>fig</value>
436
+ <value>fn</value>
437
+ <value>kwd</value>
438
+ <value>list</value>
439
+ <value>plate</value>
440
+ <value>scheme</value>
441
+ <value>sec</value>
442
+ <value>statement</value>
443
+ <value>supplementary-material</value>
444
+ <value>table</value>
445
+ <value>table-fn</value>
446
+ <value>other</value>
447
+ <value>custom</value>
448
+ </choice>
449
+ </define>
450
+ <!-- ============================================================= -->
451
+ <!-- DEFAULTS FOR ATTRIBUTE LISTS -->
452
+ <!-- ============================================================= -->
453
+ <!-- FOOTNOTE ATTRIBUTES -->
454
+ <!-- Attribute list for Footnote element -->
455
+ <define name="fn-atts">
456
+ <ref name="jats-common-atts"/>
457
+ <optional>
458
+ <attribute name="symbol"/>
459
+ </optional>
460
+ <optional>
461
+ <attribute name="fn-type"/>
462
+ </optional>
463
+ <optional>
464
+ <attribute name="custom-type"/>
465
+ </optional>
466
+ <optional>
467
+ <attribute name="specific-use"/>
468
+ </optional>
469
+ <optional>
470
+ <attribute name="xml:lang">
471
+ <data type="NMTOKEN"/>
472
+ </attribute>
473
+ </optional>
474
+ </define>
475
+ <!-- INLINE SUPPLEMENTARY MATERIAL -->
476
+ <!--
477
+ Attribute list for inline supplementary
478
+ material
479
+ -->
480
+ <define name="inline-supplementary-material-atts">
481
+ <ref name="jats-common-atts"/>
482
+ <optional>
483
+ <attribute name="content-type"/>
484
+ </optional>
485
+ <optional>
486
+ <attribute name="mimetype"/>
487
+ </optional>
488
+ <optional>
489
+ <attribute name="mime-subtype"/>
490
+ </optional>
491
+ <optional>
492
+ <attribute name="specific-use"/>
493
+ </optional>
494
+ <optional>
495
+ <attribute name="xml:lang">
496
+ <data type="NMTOKEN"/>
497
+ </attribute>
498
+ </optional>
499
+ <ref name="might-link-atts"/>
500
+ </define>
501
+ <!-- TARGET ATTRIBUTES -->
502
+ <!-- Attribute list for <target> element -->
503
+ <define name="target-atts">
504
+ <ref name="jats-common-atts-id-required"/>
505
+ <optional>
506
+ <attribute name="target-type"/>
507
+ </optional>
508
+ <optional>
509
+ <attribute name="specific-use"/>
510
+ </optional>
511
+ <optional>
512
+ <attribute name="xml:lang">
513
+ <data type="NMTOKEN"/>
514
+ </attribute>
515
+ </optional>
516
+ </define>
517
+ <!-- X(CROSS) REFERENCE ATTRIBUTES -->
518
+ <!-- Attribute list for cross references -->
519
+ <!-- ============================================================= -->
520
+ <!-- INTERNAL LINKS -->
521
+ <!-- ============================================================= -->
522
+ <!-- FOOTNOTE MODEL -->
523
+ <!-- Content model for Footnote <fn> -->
524
+ <define name="fn-model">
525
+ <optional>
526
+ <ref name="label"/>
527
+ </optional>
528
+ <oneOrMore>
529
+ <ref name="just-para.class"/>
530
+ </oneOrMore>
531
+ </define>
532
+ <!-- FOOTNOTE -->
533
+ <!--
534
+ Additional information concerning material in
535
+ a particular location in the text. This
536
+ material is not considered to be part of the
537
+ body of the text, but in addition to or a
538
+ commentary on the body.
539
+ Details at:
540
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=fn
541
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=fn
542
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=fn
543
+ -->
544
+ <define name="fn">
545
+ <element name="fn">
546
+ <ref name="fn-attlist"/>
547
+ <ref name="fn-model"/>
548
+ </element>
549
+ </define>
550
+ <define name="fn-attlist" combine="interleave">
551
+ <ref name="fn-atts"/>
552
+ </define>
553
+ <!-- TARGET ELEMENTS -->
554
+ <!--
555
+ The elements that can be included along with
556
+ data characters inside the content model of
557
+ a <target>
558
+ Design Note: All inline mixes begin with an
559
+ OR bar, but since %link-elements; is an inline
560
+ mix, the OR bar is already there.
561
+ -->
562
+ <define name="target-elements">
563
+ <ref name="link-elements"/>
564
+ </define>
565
+ <!-- TARGET OF AN INTERNAL LINK -->
566
+ <!--
567
+ May be placed anywhere within textual
568
+ material such as a paragraph to provide a
569
+ location (anchor) to which a cross reference
570
+ can point
571
+ Details at:
572
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=target
573
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=target
574
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=target
575
+ -->
576
+ <define name="target">
577
+ <element name="target">
578
+ <ref name="target-attlist"/>
579
+ <zeroOrMore>
580
+ <choice>
581
+ <text/>
582
+ <ref name="target-elements"/>
583
+ </choice>
584
+ </zeroOrMore>
585
+ </element>
586
+ </define>
587
+ <define name="target-attlist" combine="interleave">
588
+ <ref name="target-atts"/>
589
+ </define>
590
+ <!-- X(CROSS) REFERENCE ELEMENTS -->
591
+ <!--
592
+ The elements that can be included along with
593
+ data characters inside the content model of
594
+ an <xref>
595
+ Design Note: All inline mixes begin with an
596
+ OR bar, but since %link-elements; is an inline
597
+ mix, the OR bar is already there.
598
+ -->
599
+ <define name="xref-elements">
600
+ <ref name="link-elements"/>
601
+ </define>
602
+ <!-- X(CROSS) REFERENCE -->
603
+ <!--
604
+ Used for any kind of internal article
605
+ referencing. The content of the reference
606
+ (if present) will be displayed as the link.
607
+ This element may be used to point to any
608
+ element that takes an "id" attribute.
609
+ The @ref-type attribute may be used to name
610
+ the element or type of object to which the
611
+ <xref> is pointing.
612
+ Details at:
613
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=xref
614
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=xref
615
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=xref
616
+ -->
617
+ <define name="xref">
618
+ <element name="xref">
619
+ <ref name="xref-attlist"/>
620
+ <zeroOrMore>
621
+ <choice>
622
+ <text/>
623
+ <ref name="xref-elements"/>
624
+ </choice>
625
+ </zeroOrMore>
626
+ </element>
627
+ </define>
628
+ <define name="xref-attlist" combine="interleave">
629
+ <ref name="xref-atts"/>
630
+ </define>
631
+ <!-- ============================================================= -->
632
+ <!-- EXTERNAL LINKS -->
633
+ <!-- ============================================================= -->
634
+ <!-- INLINE SUPPLEMENTARY MATERIAL ELEMENTS -->
635
+ <!--
636
+ Elements for use in the
637
+ <inline-supplementary-material> element
638
+ -->
639
+ <!-- INLINE SUPPLEMENTARY MATERIAL -->
640
+ <!--
641
+ An in-text link to an external file that
642
+ provides supplementary information for
643
+ the document, for example, an audio clip
644
+ Details at:
645
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=inline-supplementary-material
646
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=inline-supplementary-material
647
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=inline-supplementary-material
648
+ -->
649
+ <define name="inline-supplementary-material">
650
+ <element name="inline-supplementary-material">
651
+ <ref name="inline-supplementary-material-attlist"/>
652
+ <zeroOrMore>
653
+ <choice>
654
+ <text/>
655
+ <ref name="inline-supplementary-material-elements"/>
656
+ </choice>
657
+ </zeroOrMore>
658
+ </element>
659
+ </define>
660
+ <define name="inline-supplementary-material-attlist" combine="interleave">
661
+ <ref name="inline-supplementary-material-atts"/>
662
+ </define>
663
+ </grammar>
664
+ <!-- ================== End Link Class Module ==================== -->