@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,2205 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ============================================================= -->
3
+ <!-- MODULE: Journal Archiving DTD Customize Content and -->
4
+ <!-- Attributes Module -->
5
+ <!-- VERSION: ANSI/NISO JATS Version 1.3 (Z39.96-2021) -->
6
+ <!-- DATE: June 2021 -->
7
+ <!---->
8
+ <!-- ============================================================= -->
9
+ <!-- ============================================================= -->
10
+ <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
11
+ <!-- TYPICAL INVOCATION -->
12
+ <!--
13
+ "-//NLM//DTD JATS (Z39.96) Journal Archiving DTD Customize Content and Attributes Module v1.3 20210610//EN"
14
+ Delivered as file "JATS-archivecustom-models1-3.ent"
15
+ -->
16
+ <!-- ============================================================= -->
17
+ <!-- ============================================================= -->
18
+ <!-- SYSTEM: Journal Archiving and Interchange DTD of the -->
19
+ <!-- JATS DTD Suite -->
20
+ <!---->
21
+ <!-- PURPOSE: To declare the Parameter Entities (PEs) used to -->
22
+ <!-- over-ride the content models, parts of content -->
23
+ <!-- models, or attribute lists of the JATS DTD Suite -->
24
+ <!---->
25
+ <!-- Or-groups within models should use mixes or -->
26
+ <!-- classes rather than name elements directly. -->
27
+ <!---->
28
+ <!-- Note: Since PEs must be declared before they -->
29
+ <!-- are used, this module must be called before the -->
30
+ <!-- content modules that declare elements. -->
31
+ <!---->
32
+ <!-- TAG SET SPONSOR -->
33
+ <!-- National Center for Biotechnology -->
34
+ <!-- Information (NCBI) -->
35
+ <!-- National Library of Medicine (NLM) -->
36
+ <!---->
37
+ <!-- CREATED FOR: -->
38
+ <!-- This DTD was created from the JATS DTD Suite. -->
39
+ <!-- Digital archives and publishers may use the -->
40
+ <!-- DTD as is for markup of journal literature or -->
41
+ <!-- related material for archiving and transferring -->
42
+ <!-- such material between archives or create a -->
43
+ <!-- custom XML DTD from the Suite for -->
44
+ <!-- these purposes. -->
45
+ <!---->
46
+ <!-- This DTD is in the public domain. An organization -->
47
+ <!-- that wishes to create its own DTD from the suite -->
48
+ <!-- may do so without permission from NLM. -->
49
+ <!---->
50
+ <!-- The suite has been set up to be extended using a -->
51
+ <!-- new DTD file and a new DTD-specific customization -->
52
+ <!-- module to redefine the many Parameter Entities. -->
53
+ <!-- Do not modify the suite directly or redistribute -->
54
+ <!-- modified versions of the suite. -->
55
+ <!---->
56
+ <!-- In the interest of maintaining consistency and -->
57
+ <!-- clarity for potential users, NLM requests: -->
58
+ <!---->
59
+ <!-- 1. If you create a DTD from the JATS DTD Suite -->
60
+ <!-- and intend to stay compatible with the suite, -->
61
+ <!-- then please include the following statement -->
62
+ <!-- as a comment in all of your DTD modules: -->
63
+ <!-- "Created from, and fully compatible with, -->
64
+ <!-- the ANSI/NISO Z39.96 Journal Article Tag -->
65
+ <!-- Suite (JATS)." -->
66
+ <!---->
67
+ <!-- 2. If you alter one or more modules of the suite, -->
68
+ <!-- then please rename your version and all its -->
69
+ <!-- modules to avoid any confusion with the -->
70
+ <!-- original suite. Also, please include the -->
71
+ <!-- following statement as a comment in all your -->
72
+ <!-- DTD modules: -->
73
+ <!-- "Based in part on, but not fully compatible -->
74
+ <!-- with, the ANSI/NISO Z39.96 Journal Article -->
75
+ <!-- Tag Suite (JATS)." -->
76
+ <!---->
77
+ <!-- ORIGINAL CREATION DATE: -->
78
+ <!-- August 2004 -->
79
+ <!---->
80
+ <!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
81
+ <!-- Working Group. Mulberry Technologies was -->
82
+ <!-- supported by National Center for Biotechnology -->
83
+ <!-- Information (NCBI), a center of the US National -->
84
+ <!-- Library of Medicine (NLM). -->
85
+ <!---->
86
+ <!-- The Journal Archiving and Interchange DTD is -->
87
+ <!-- built from the JATS DTD Suite. -->
88
+ <!---->
89
+ <!-- This DTD and the Suite are a continuation of -->
90
+ <!-- the work done by NCBI, Mulberry Technologies, -->
91
+ <!-- and Inera Inc. on the NLM Journal Archiving -->
92
+ <!-- and Interchange DTD Suite, which was originally -->
93
+ <!-- released in December, 2002. -->
94
+ <!---->
95
+ <!-- NLM thanks the Harvard University Libraries, both -->
96
+ <!-- for proposing that a draft archiving NLM DTD for -->
97
+ <!-- life sciences journals be extended to accommodate -->
98
+ <!-- journals in all disciplines and for sponsoring -->
99
+ <!-- Inera Inc.'s collaboration with other DTD -->
100
+ <!-- authors in completing NLM Version 1.0. The -->
101
+ <!-- Andrew W. Mellon Foundation provided support for -->
102
+ <!-- these important contributions. -->
103
+ <!---->
104
+ <!-- Suggestions for refinements and enhancements to -->
105
+ <!-- this DTD should be sent in email to: -->
106
+ <!-- jats@ncbi.nlm.nih.gov -->
107
+ <!-- ============================================================= -->
108
+ <!-- ============================================================= -->
109
+ <!-- DTD VERSION/CHANGE HISTORY -->
110
+ <!-- ============================================================= -->
111
+ <!--
112
+
113
+ Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
114
+ ==============================================================
115
+ JATS Version 1.3 (ANSI/NISO Z39.96-2021)
116
+ (DAL/BTU) v1.3 (2021-06-10)
117
+
118
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
119
+ which requires voting by both the NISO and ANSI memberships
120
+ to be changed. This version of the NISO JATS was approved
121
+ by ANSI vote on June 10, 2021, so it supersedes all Committee
122
+ Drafts as well as the draft version JATS 1.3 2021 (the version
123
+ submitted for vote), becoming NISO JATS v1.3 20210610
124
+ (ANSI/NISO Z39.96-2019).
125
+
126
+ The file names and formal public identifiers have been
127
+ changed in the modules and the catalogs.
128
+
129
+ 53. JATS 'v1.3d2 20201130' becomes 'v1.3 20210610'
130
+ (final ANSI vote date)
131
+ 'ANSI/NISO Z39.96-2019' becomes 'ANSI/NISO Z39.96-2021'
132
+
133
+ ==============================================================
134
+ JATS Version 1.3d2 (ANSI/NISO Z39.96-2021)
135
+ (DAL/BTU) v1.3d2 (2020-11-30)
136
+
137
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
138
+ which requires voting by the NISO and ANSI memberships
139
+ to be changed.
140
+
141
+ This draft DTD represents an interim version of the
142
+ non-normative JATS DTD Suite, as an indication to JATS users
143
+ of the decisions that have been made by the JATS Standing
144
+ Committee. This draft has not yet been given public review
145
+ or voting; it is for Standing Committee review and
146
+ testing. The formal public identifiers have been changed
147
+ in the modules and the catalogs.
148
+
149
+ 52. EXPANSION OF FIXED ATTRIBUTES LIST: There are four
150
+ content-defined attributes which are CDATA values
151
+ (undetermined) in Archiving, but which are named value
152
+ lists in Publishing/Authoring:
153
+ - @fn-type
154
+ - @person-group-type (override is in this module)
155
+ - @pub-id-type
156
+ - @ref-type
157
+ In order to give users of Publishing and Authoing
158
+ more flexibility to name new values without
159
+ destroying the benefit of named value lists:
160
+ - A new value “custom” has been added to the named
161
+ value list of each of these four attributes.
162
+ - A new attribute @custom-type has been added to
163
+ each element that takes one of these attributes.
164
+ The new attribute @custom-type was also added to
165
+ Green, so that documents valid to Blue or Pumpkin
166
+ would also be also valid to Green.
167
+ In this module:
168
+ - The element <article-id> was given the new attribute
169
+ @custom-type. The value "custom" will be
170
+ documented as a valid article-id type.
171
+ - The element <ref> was given the new attribute
172
+ @custom-type. The value "custom" will be
173
+ documented as a valid reference type.
174
+ - The element <pub-id> was given the new attribute
175
+ @custom-type. The value "custom" will be
176
+ documented as a valid publication ID type.
177
+ The Best Practice rule (unenforceable in DTDs, but
178
+ enforceable in Schematron) is, that if you use the
179
+ value “custom” from one of these lists, you should
180
+ also record what type of 'custom' in the
181
+ @custom-type attribute.
182
+
183
+ 51. OBJECT ID Added <object-id> to:
184
+ <disp-formula>, <list>, <ref-list>
185
+
186
+ 50. SEE ALSO - The four vocabulary attributes were added to
187
+ <see-also>, which is defined in the BITS question-answer
188
+ model.
189
+
190
+ 49. STRING DATE - Used to be added to models using
191
+ %citation-additions.class, now added through
192
+ %references.class; and the same as Blue. Changed:
193
+ <element-citation>, <mixed-citation>
194
+ <product>, <related-article>, <related-object>
195
+
196
+ 48. ADDED <issue-title-group> added to <article-meta>
197
+ (optional, repeatable)
198
+
199
+ 47. DISPLAY FORMULA - Held our noses and added <caption> to
200
+ <display-formula>.
201
+
202
+ 46. JATS "v1.3d2 20201130" becomes 'v1.3 20210610' (second
203
+ committee draft following the final ANSI/NISO 1.2 vote)
204
+
205
+ ==============================================================
206
+ JATS Version 1.3d1 (ANSI/NISO Z39.96-2021)
207
+ (DAL/BTU) v1.3.d1 (2019-08-31)
208
+
209
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
210
+ which requires voting by the NISO and ANSI memberships
211
+ to be changed.
212
+
213
+ This draft DTD represents an interim version of the
214
+ non-normative JATS DTD Suite, as an indication to JATS users
215
+ of the decisions that have been made by the JATS Standing
216
+ Committee. This draft has not yet been given public review
217
+ or voting. The formal public identifiers were changed in the
218
+ modules and the catalogs.
219
+
220
+ 45. SIZE - All face markup (by face-markup.class) was added to the
221
+ content model of <size>.
222
+
223
+ 44. JATS "1.2" becomes "v1.3d1 20190831" (first committee
224
+ draft following the final ANSI/NISO vote)
225
+
226
+ ==============================================================
227
+ JATS Version 1.2 (ANSI/NISO Z39.96-2021)
228
+ (DAL/BTU) v1.2 (2019-02-08)
229
+
230
+ NISO JATS is a continuing maintenance NISO Standard, which
231
+ requires voting by the both the NISO and ANSI membership
232
+ to be changed. This version of the NISO JATS was approved
233
+ by ANSI vote on Feb 08, 2019, so it supersedes all Committee
234
+ Drafts as well as the draft version JATS 1.2 2018 (the version
235
+ submitted for vote), becoming NISO JATS v1.2 20190208
236
+ (ANSI/NISO Z39.96-2021).
237
+
238
+ 43. JATS "1.2" becomes "v1.2 20190208" (final ANSI vote date)
239
+ "ANSI/NISO Z39.96-2015" becomes "ANSI/NISO Z39.96-2019"
240
+
241
+ ==============================================================
242
+ JATS Version 1.2 (ANSI/NISO Z39.96-2018)
243
+ (DAL/BTU) v1.2 (2018-11-30)
244
+
245
+ NISO JATS is a continuing maintenance NISO Standard, which
246
+ requires voting by the both the NISO and ANSI membership
247
+ to be changed. This version of the NISO JATS was approved
248
+ by ANSI and NISO vote, so it supersedes all Committee Drafts
249
+ and becoming NISO JATS 1.2 (ANSI/NISO Z39.96-2018).
250
+
251
+ 42. JATS "1.2d2" and "v1.2d2 20180401" became
252
+ JATS "1.2" and "v1.2 20181130"
253
+
254
+ =============================================================
255
+ JATS Version 1.2d2 (DAL/BTU) v1.2d2 (2018-04-01)
256
+
257
+ JATS is a continuing maintenance NISO Standard, which
258
+ requires voting by the ANSI and NISO memberships to be changed.
259
+ BITS is under continuous maintenance, and is modified at the
260
+ discretion of the working group.
261
+
262
+ This draft DTD represents an interim version of the
263
+ non-normative JATS DTD Suite, as an indication to JATS users
264
+ the decisions that have been made by the JATS Standing
265
+ Committee. This draft has not yet been given public review
266
+ or voting. The formal public identifiers were changed in the
267
+ modules and the catalogs.
268
+
269
+ 41. ASSIGNING AUTHORITY - Added @assigning-authority to the
270
+ following elements, so that the type-of-identifier and
271
+ the party-responsible-for-identifier could both be
272
+ recorded. Previously, these values were both assigned to
273
+ the attribute @pub-id-type.
274
+ - <article-id>
275
+ - Note: <pub-id> already had @assigning-authority
276
+
277
+ 40. NON-MONETARY SUPPORT - Inside <article-meta> added new
278
+ <support-group> to hold both funding and
279
+ non-monetary support descriptions. <support-group> is
280
+ both a peer to <funding-group> (backward compatibility)
281
+ and contains <funding-group>.
282
+
283
+ 39. PUBLICATION DATE-NOT-AVAILABLE - Inside <article-meta>,
284
+ <front-stub>, <event>, and <event-desc>
285
+ added new element <pub-date-not-available>, as an
286
+ alternative to <pub-date>. The meaning is that a
287
+ publication date was (for whatever reason) not available.
288
+ Presence of the element says nothing about publication
289
+ status.
290
+
291
+ 38. DATE IN CITATION - Superscript and subscript added to
292
+ <date-in-citation>.
293
+
294
+ 37. CONFERENCE DATE - Face markup (face-markup.class)
295
+ added to <conf-date>.
296
+
297
+ 36. BITS "2.0" and "v2.0 20151225" remains unchanged
298
+
299
+ JATS "1.2d1" and "v1.2d1 20171231" became
300
+ JATS "1.2d2" and "v1.2d2 20180401".
301
+
302
+ No module names were changed.
303
+
304
+ =============================================================
305
+ JATS Version 1.2d1 (ANSI/NISO Z39.96-2015)
306
+ (DAL/BTU) v1.2d1 (2017-12-31)
307
+
308
+ NISO JATS is a continuing maintenance NISO Standard, which
309
+ requires voting by the ANSI and NISO memberships to be changed.
310
+
311
+ This draft DTD represents an interim version of the
312
+ non-normative JATS DTD Suite, as an indication to JATS users
313
+ the decisions that have been made by the JATS Standing
314
+ Committee. This draft has not yet been given public review
315
+ or voting. The formal public identifiers were changed in the
316
+ modules and the catalogs.
317
+
318
+ 35. JATS "1.2d1" and "v1.2d1 20170631" became
319
+ JATS "1.2d1" and "v1.2d1 20171231".
320
+
321
+ =============================================================
322
+ JATS Version 1.2d1 (DAL/BTU) v1.2d1 (2017-06-31)
323
+
324
+ NISO JATS is a continuing maintenance NISO Standard, which
325
+ requires voting by the ANSI and NISO memberships to be changed.
326
+
327
+ This draft DTD represents an interim version of the
328
+ non-normative JATS DTD Suite, as an indication to JATS users
329
+ the decisions that have been made by the JATS Standing
330
+ Committee. This draft has not yet been given public review
331
+ or voting. The formal public identifiers were changed in the
332
+
333
+ 34. X - both <inline-graphic> and <private-char> added to
334
+ elements allowed in <x>.
335
+
336
+ 33. INLINE FORMULA - Added accessibility elements <alt-text> and
337
+ <long-desc> to the model of inline formula, by adding the
338
+ access.class PE.
339
+
340
+ 32. ARTICLE META MODEL
341
+ - ARTICLE VERSION - Added new element <article-version>
342
+ inside <article-metadata> to hold one version number for
343
+ the article. <article-version> element may repeat inside
344
+ <article-version-alternatives> to hold version numbers
345
+ from different systems.
346
+
347
+ - NO DATE - <pub-date> (optional repeatable) is now
348
+ followed by the optional new element
349
+ <pub-date-not-available>.
350
+
351
+ - PUBLICATION HISTORY - Added new element based on BITS,
352
+ <pub-history>, to hold <event>s as <history> holds
353
+ <date>s. New internal elements: <event>, <event-desc>
354
+
355
+ 31. JATS became version "1.2d1" and "v1.2d1 20170631"
356
+
357
+ =============================================================
358
+ JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)
359
+
360
+ JATS is a continuing maintenance NISO Standard, which
361
+ requires voting by the ANSI and NISO memberships to be changed.
362
+ JATS 1.1 was approved in late 2015, so the formal public
363
+ identifiers were changed in the modules and the catalogs.
364
+ No model or attribute changes were made at this time.
365
+
366
+ 30. JATS became version "1.1" and "v1.1 20151215"
367
+ BITS remained version "2.0" but becomes "v2.0 20151225"
368
+
369
+ =============================================================
370
+ JATS Version 1.1d3 (DAL/BTU) v1.1d3 (2015-03-01)
371
+
372
+ The changes in this release are in response to NISO
373
+ License and Indicators Recommended Practice.
374
+
375
+ NISO JATS is a continuing maintenance NISO Standard, which
376
+ requires voting by the NISO membership to be changed. This
377
+ Committee Draft 1.1d3 will be sent to the NISO voting
378
+ membership, to become (if approved) NISO JATS 1.1.
379
+
380
+ This draft DTD represents an interim version of the
381
+ non-normative JATS DTD Suite, as an indication to JATS users
382
+ the decisions that have been made by the JATS Standing
383
+ Committee.
384
+
385
+ 29. JATS became version "1.1d3" and "v1.1d3 20150301"
386
+
387
+ =============================================================
388
+ JATS Version 1.1d2 (DAL/BTU) v1.1d2 (2014-09-30)
389
+
390
+ NISO JATS is a continuing maintenance NISO Standard, which
391
+ requires voting by the NISO membership to be changed. This
392
+ Committee Draft 1.1d2 will be sent to the NISO voting
393
+ membership, to become (if approved) NISO JATS 1.1.
394
+
395
+ This catalog represents an interim version of the
396
+ non-normative JATS DTD Suite, as an indication to JATS users
397
+ the decisions that have been made by the JATS Standing
398
+ Committee.
399
+
400
+ 28. RUBY MODEL CHANGED TO MATCH HTML5
401
+ - changed the Ruby content model to allow only a single
402
+ Ruby annotation on a single Ruby base:
403
+ (rb, (rt | (rp, rt, rp)) )
404
+ The Ruby textual annotation may take a pair of
405
+ Ruby parentheses, but these are optional.
406
+
407
+ 27. ATTRIBUTES FOR PUB-ID
408
+ - Added the linking attributes (optional version) to <pub-id> ,
409
+ so that a <pub-id> that is a DOI, for example, can carry the
410
+ linking attributes and be made into a live link. In this use
411
+ of <pub-id>, the element is acting both as an identifier
412
+ and as a link.
413
+ - Added new attribute @assigning-authority to <pub-id>, to
414
+ carry new values such as "CrossRef" and to take some of the
415
+ semantic burden off the '@pub-id-type' attribute, when
416
+ values are organizations such as "Genbank" or "PDB".
417
+
418
+ 26. <OBJECT-ID> INSIDE <TRANS-ABSTRACT>
419
+ Allowed <object-id> at the beginning of <trans-abstract>,
420
+ so that abstracts could be given DOIs.
421
+
422
+ 25. <VOLUME> INSIDE <ARTICLE-META>
423
+ - Allowed <volume> to repeat inside <article-meta>, the types to
424
+ be distinguished using @content-type
425
+ - Added new optional element <volume-issue-group> inside
426
+ <article-meta) following all volume and issue elements
427
+ to hold volume-issue pairs (or n-tuples) when a second
428
+ and subsequent <volume> has its own related issue
429
+ numbers.
430
+
431
+ 24. JATS became version "1.1d2" and "v1.1d2 20140930//EN"
432
+
433
+ =============================================================
434
+ NISO JATS Version 1.1d1 (DAL/BTU) v1.1 (2013-11-15)
435
+
436
+ ANSI/NISO Z39.96-2012 (pre-release for V1.0 BITS; Version 1.1d1)
437
+
438
+ NISO JATS Standing Committee met and answered the requests and
439
+ suggestions from the NISO request forms.
440
+
441
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
442
+ XSDs, RNGs and supporting documentation are available at
443
+ http://jats.nlm.nih.gov/1.3d2/
444
+
445
+ 23. NEW <era> ELEMENT
446
+ Added <era> through date-parts.class to:
447
+ - <conf-date>
448
+ - <date-in-citation>
449
+ - <pub-date>
450
+ - <string-date>
451
+ - access-date (deprecated
452
+ - time-stamp (deprecated)
453
+
454
+ 22. INSTITUTIONS TO STANDARDS ORGANIZATIONS
455
+ Added the elements <institution-wrap> to the following elements
456
+ through the institution-wrap.class:
457
+ - <copyright-holder>
458
+ - <std-organization>
459
+
460
+ 21. RUBY ANNOTATIONS - Overrode the default JATS inclusions, to
461
+ change the more restricted face-markup class to the
462
+ Archive-specific all Phrase. Elements change:
463
+ - <rb> Ruby Base (through %rb-elements;)
464
+
465
+ 20. GLOBAL ATTRIBUTES - Added the new parameter entity
466
+ %jats-common-atts;
467
+ to every element in this module. This PE adds (for now) the
468
+ @id attribute and the @xml:base attribute to every element,
469
+ whether metadata or narrative.
470
+ Since the @id in this parameter entity is optional, a second
471
+ parameter entity jats-common-atts-id-required was also added.
472
+ The two are kept in sync with the jats-base-atts parameter
473
+ entity.
474
+
475
+ 19. ABSTRACTS AND KEYWORDS ON NEW STRUCTURES
476
+ - Added <abstract> (through %abstract.class;) and <kwd-group>
477
+ (through %kwd-group.class;) to the following elements:
478
+ - disp-formula (through %disp-formula-elements;)
479
+
480
+ - Changed "abstract*" to "(%abstract.class;)*"
481
+ and "kwd-group*" to "(%kwd-group.class;)*" since those
482
+ classes now exist. Elements should have a limited number of
483
+ ways to be invoked.
484
+ - article-meta (through %article-meta-model;)
485
+
486
+ =============================================================
487
+ NISO JATS Version 1.0 (DAL/BTU) v1.0 (2012-xx-xx)
488
+
489
+ ANSI/NISO Z39.96-2012 (Version 1.0)
490
+
491
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
492
+ XSDs, RNGs and supporting documentation are available at
493
+ http://jats.nlm.nih.gov/1.3d2/
494
+
495
+ 18. RELATED OBJECT - Added <related-object> everywhere
496
+ <related-article> was used, including inside
497
+ <article-meta> using article-meta-model.
498
+
499
+ 17. CONTRIBUTOR MODEL - Added "contrib-id.class" to the
500
+ <contrib> model, to hold identifiers for people,
501
+ such as publishers-specific IDs, and ORCIDs.
502
+
503
+ 16. VERSE-LINE ELEMENTS - Added the PE %verse-line-elements to
504
+ this module because the default expanded, and Archiving did
505
+ not need to expand as it already was expanded.
506
+
507
+ 14. DATE ATTRIBUTES - Added attributes to <date> through @date-atts:
508
+ a) @iso-8601-date - ISO 8601 standard date format
509
+ of the publication date. Format YYYY-MM-DDThh:mm:ss
510
+ b) @calendar - Name of the calendar used (@calendar) in
511
+ naming this publication date (such as "Gregorian",
512
+ "Japanese" (Emperor years), or "Islamic").
513
+ c) Added @publication-format, so that both publication
514
+ dates and history dates can separate the format of the
515
+ publication from the version/lifecycle event. Thus
516
+ both an "article" and a "manuscript" might be received.
517
+
518
+ 13. STANDARDS ORGANIZATION - Added std-organization-elements
519
+ to increase what was allowed in the names of standards bodies.
520
+
521
+ 12. XREF REF TYPES - #9 below says "XREF ATTRIBUTES - Removed
522
+ the %xref-atts PE from this module since the regular version
523
+ (in xlink3.ent(?)) was equally inclusive. But it is NOT.
524
+ Brought back %xref-atts;
525
+
526
+ 11. ISSN-L ELEMENTS - Added <x> TO <issn-l> via
527
+ %issn-l-elements;
528
+
529
+ =============================================================
530
+ Version 0.4 (DAL/BTU) v0.4 (2011-01-31)
531
+
532
+ This Tag Set is in the process of becoming a NISO standard.
533
+ The version numbers are starting over from 0.4", as a Trial
534
+ Use Draft, to be made into "Version 1.0" when the Tag Suite
535
+ becomes a NISO standard. Thus, the version number that would
536
+ have been "NLM Version 3.1 Draft" has become NISO JATS
537
+ "Version 0.4".
538
+
539
+ Details on NISO Trial Use Draft Version 0.4 are available at
540
+ http://jats.nlm.nih.gov/JATS-0.4.
541
+
542
+ 10. Updated the DTD-version attribute to "0.4"
543
+
544
+ 9. Updated the public identifier to "v0.4 20110131",
545
+ modified the formal public identifier to include "JATS (Z39.96)",
546
+ and the filename as delivered to include "JATS" and the
547
+ new version number "0".
548
+ http://jats.nlm.nih.gov/0.4.
549
+
550
+ 7. XREF ATTRIBUTES - Removed the %xref-atts PE from this module
551
+ since the regular version (in xlink3.ent(?)) was equally
552
+ inclusive. See #12 above.
553
+
554
+ 6. ISSUE - Allowed to repeat inside <article-meta>
555
+
556
+ 5. AFFILIATION ALTERNATIVES - Added the element <aff-alternatives>
557
+ to <article-meta> through %article meta-model;. This element
558
+ will hold multiple <aff>s that are a representation of a
559
+ single affiliation, for example, the name of an institution
560
+ in two languages or two scripts.
561
+
562
+ 4. PERSON-GROUP - Became a mixed-content model, so the parameter
563
+ entity %person-group-model: was changed to
564
+ %person-group-elements;, which will be mixed with #PCDATA
565
+ as defined in references.ent. The PE person-group-model has
566
+ been retained in references.ent for compatibility, but has been
567
+ set to the mixed model using person-group-elements.
568
+
569
+ 3. @SPECIFIC-USE and @XML:LANG - Added the @specific-use and
570
+ @xml:lang to %display-atts;. Also added these attributes
571
+ to the following over-rides:
572
+ - article-id through article-id-atts (@specific-user only)
573
+ - award-id through award-id-atts (both)
574
+ - date through date-atts (@specific-use only)
575
+ - funding-statement through funding-statement-atts (both)
576
+ - pub-id through pub-id-atts (@specific-use only)
577
+ - trans-title through pub-id-atts (@specific-use only;
578
+ @xml:lang already)
579
+ - xref through xref-atts (both)
580
+
581
+ 2. STRING-DATE - Added <string-date> back to the following
582
+ elements using %citation-additions.class;. It was accidentally
583
+ deleted during the 3.0 revision of -references.class:
584
+ - product (%product-elements;)
585
+ - related-article (%related-article-elements;)
586
+ - related-object (%related-object-elements;)
587
+ - funding-statement through funding-statement-atts (both)
588
+
589
+ =============================================================
590
+ Version 3.0 (DAL/BTU) v3.0 (2007-10-31)
591
+
592
+ Version 3.0 is the first non-backward-compatible release.
593
+ In addition to the usual incremental changes, some
594
+ elements and attributes have been renamed and/or remodeled
595
+ to better meet user needs and to increase tag set consistency.
596
+ All module change histories are available through the Tag Suite
597
+ web site at http://dtd.nlm.nih.gov.
598
+
599
+ Details on version 3.0 are available at
600
+ http://dtd.nlm.nih.gov/3.0.
601
+
602
+ 1. Updated public identifier to "v3.0 20071031//EN"
603
+ -->
604
+ <!-- ============================================================= -->
605
+ <!--
606
+ Details concerning
607
+ ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
608
+ RNGs and supporting documentation are available at
609
+ http://jats.nlm.nih.gov/1.1/
610
+ -->
611
+ <!-- ============================================================= -->
612
+ <!-- INLINE MIXES TO OVER-RIDE CONTENT MODELS -->
613
+ <!-- (ELEMENTS TO BE ADDED TO #PCDATA IN MODELS) -->
614
+ <!-- ============================================================= -->
615
+ <!-- ABBREVIATION ELEMENTS -->
616
+ <!--
617
+ The elements that can be included along with
618
+ data characters inside the content model of
619
+ the <abbrev> element
620
+ -->
621
+ <grammar xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
622
+ <define name="abbrev-elements">
623
+ <choice>
624
+ <ref name="all-phrase"/>
625
+ <ref name="def.class"/>
626
+ </choice>
627
+ </define>
628
+ <!-- ACCESS DATE ELEMENTS -->
629
+ <!--
630
+ The elements that can be included along with
631
+ data characters inside the content model of
632
+ the Access Date <access-date> element
633
+ -->
634
+ <define name="access-date-elements">
635
+ <choice>
636
+ <ref name="date-parts.class"/>
637
+ <ref name="x.class"/>
638
+ </choice>
639
+ </define>
640
+ <!-- AFFILIATION ELEMENTS -->
641
+ <!--
642
+ The elements that can be included along with
643
+ data characters inside the content model of
644
+ the <aff> element
645
+ -->
646
+ <define name="aff-elements">
647
+ <choice>
648
+ <ref name="address.class"/>
649
+ <ref name="all-phrase"/>
650
+ <ref name="break.class"/>
651
+ <ref name="label.class"/>
652
+ </choice>
653
+ </define>
654
+ <!-- ANONYMOUS ELEMENTS -->
655
+ <!--
656
+ The elements that can be included along with
657
+ data characters inside the content model of
658
+ an <anonymous> element
659
+ -->
660
+ <define name="anonymous-elements">
661
+ <ref name="all-phrase"/>
662
+ </define>
663
+ <!-- ARTICLE TITLE ELEMENTS -->
664
+ <!--
665
+ The elements that can be included along with
666
+ data characters inside the content model of
667
+ the <article-title> element.
668
+ -->
669
+ <define name="article-title-elements">
670
+ <choice>
671
+ <ref name="all-phrase"/>
672
+ <ref name="break.class"/>
673
+ </choice>
674
+ </define>
675
+ <!-- CHEMICAL STRUCTURE ELEMENTS -->
676
+ <!--
677
+ Those elements that may mix with the data
678
+ characters inside a Chemical Structure
679
+ <chem-struct>
680
+ -->
681
+ <define name="chem-struct-elements">
682
+ <choice>
683
+ <ref name="access.class"/>
684
+ <ref name="all-phrase"/>
685
+ <ref name="break.class"/>
686
+ <ref name="id.class"/>
687
+ <ref name="label.class"/>
688
+ <ref name="list.class"/>
689
+ <ref name="simple-display-noalt.class"/>
690
+ </choice>
691
+ </define>
692
+ <!-- CITATION ELEMENTS -->
693
+ <!--
694
+ Content for both types of citation. These
695
+ elements may be mixed with #PCDATA in the
696
+ <mixed-citation> element (in which all
697
+ punctuation and spacing are left intact), and
698
+ they also constitute the choices that can be
699
+ used to form the all-element-content of the
700
+ <element-citation> element (in which
701
+ punctuation and spacing are removed).
702
+ Design Note: All inline mixes begin with an
703
+ OR bar.
704
+ -->
705
+ <define name="citation-elements">
706
+ <choice>
707
+ <ref name="article-link.class"/>
708
+ <ref name="appearance.class"/>
709
+ <ref name="emphasis.class"/>
710
+ <ref name="inline-display.class"/>
711
+ <ref name="inline-math.class"/>
712
+ <ref name="label.class"/>
713
+ <ref name="math.class"/>
714
+ <ref name="phrase.class"/>
715
+ <ref name="references.class"/>
716
+ <ref name="simple-link.class"/>
717
+ <ref name="subsup.class"/>
718
+ <ref name="x.class"/>
719
+ </choice>
720
+ </define>
721
+ <!-- COLLABORATIVE (GROUP) AUTHOR ELEMENTS -->
722
+ <!--
723
+ The elements that can be included along with
724
+ data characters inside the content model of
725
+ the <collab> element. This is essentially
726
+ %all-phrase; plus contrib-info and break.
727
+ All-phase is not used because of
728
+ duplication clashes with the
729
+ -contrib-info.class;
730
+ -->
731
+ <define name="collab-elements">
732
+ <choice>
733
+ <ref name="article-link.class"/>
734
+ <ref name="address.class"/>
735
+ <ref name="appearance.class"/>
736
+ <ref name="break.class"/>
737
+ <ref name="contrib-group.class"/>
738
+ <ref name="contrib-info.class"/>
739
+ <ref name="emphasis.class"/>
740
+ <ref name="inline-display.class"/>
741
+ <ref name="inline-math.class"/>
742
+ <ref name="math.class"/>
743
+ <ref name="phrase.class"/>
744
+ <ref name="subsup.class"/>
745
+ <ref name="x.class"/>
746
+ </choice>
747
+ </define>
748
+ <!-- COMPOUND KEYWORD PART ELEMENTS -->
749
+ <!--
750
+ Elements to be mixed with data characters
751
+ inside the <compound-kwd-part> element
752
+ -->
753
+ <define name="compound-kwd-part-elements">
754
+ <choice>
755
+ <ref name="break.class"/>
756
+ <ref name="all-phrase"/>
757
+ </choice>
758
+ </define>
759
+ <!-- CONFERENCE DATE ELEMENTS -->
760
+ <!--
761
+ The elements that can be included along with
762
+ data characters inside the content model of
763
+ the <conf-date> element
764
+ -->
765
+ <define name="conf-date-elements">
766
+ <choice>
767
+ <ref name="date-parts.class"/>
768
+ <ref name="face-markup.class"/>
769
+ <ref name="x.class"/>
770
+ </choice>
771
+ </define>
772
+ <!-- COMMENT ELEMENTS -->
773
+ <!--
774
+ The elements that can be included along with
775
+ data characters inside the content model of
776
+ the Comment in a Citation <comment> element.
777
+ Design Note: All inline mixes begin with an
778
+ OR bar, but since %simple-phrase; is an
779
+ inline mix, the OR bar is already there.
780
+ -->
781
+ <define name="comment-elements">
782
+ <ref name="all-phrase"/>
783
+ </define>
784
+ <!-- COPYRIGHT HOLDER ELEMENTS -->
785
+ <!--
786
+ Elements to be mixed with data characters
787
+ inside the content model for the
788
+ <copyright-holder> element.
789
+ -->
790
+ <define name="copyright-holder-elements">
791
+ <choice>
792
+ <ref name="institution-wrap.class"/>
793
+ <ref name="subsup.class"/>
794
+ <ref name="x.class"/>
795
+ </choice>
796
+ </define>
797
+ <!-- COPYRIGHT STATEMENT ELEMENTS -->
798
+ <!--
799
+ The elements that can be included along with
800
+ data characters inside the content model of
801
+ the <copyright-statement>
802
+ -->
803
+ <define name="copyright-statement-elements">
804
+ <ref name="all-phrase"/>
805
+ </define>
806
+ <!-- CORRESPONDENCE INFORMATION ELEMENTS -->
807
+ <!--
808
+ The elements that can be included along with
809
+ data characters inside the content model of
810
+ the correspondence information.
811
+ -->
812
+ <define name="corresp-elements">
813
+ <choice>
814
+ <ref name="address.class"/>
815
+ <ref name="all-phrase"/>
816
+ <ref name="break.class"/>
817
+ <ref name="label.class"/>
818
+ </choice>
819
+ </define>
820
+ <!-- COUNTRY ELEMENTS -->
821
+ <!--
822
+ The elements that can be included along with
823
+ data characters inside the content model of
824
+ the country element.
825
+ -->
826
+ <define name="country-elements">
827
+ <ref name="x.class"/>
828
+ </define>
829
+ <!-- DATE IN CITATION ELEMENTS -->
830
+ <!--
831
+ The elements that can be included along with
832
+ data characters inside the content model of
833
+ the Date Inside Citation <date-in-citation>
834
+ element
835
+ -->
836
+ <define name="date-in-citation-elements">
837
+ <choice>
838
+ <ref name="date-parts.class"/>
839
+ <ref name="emphasis.class"/>
840
+ <ref name="subsup.class"/>
841
+ <ref name="x.class"/>
842
+ </choice>
843
+ </define>
844
+ <!-- FORMULA, DISPLAY ELEMENTS -->
845
+ <!--
846
+ The elements that can be included along with
847
+ data characters inside the content model of
848
+ the <disp-formula>
849
+ -->
850
+ <define name="disp-formula-elements">
851
+ <choice>
852
+ <ref name="all-phrase"/>
853
+ <ref name="abstract.class"/>
854
+ <ref name="access.class"/>
855
+ <ref name="break.class"/>
856
+ <ref name="caption.class"/>
857
+ <ref name="display-back-matter.class"/>
858
+ <ref name="id.class"/>
859
+ <ref name="kwd-group.class"/>
860
+ <ref name="subj-group.class"/>
861
+ <ref name="label.class"/>
862
+ <ref name="simple-display-noalt.class"/>
863
+ </choice>
864
+ </define>
865
+ <!-- EMAIL ADDRESS ELEMENTS -->
866
+ <!--
867
+ The elements that can be included along with
868
+ data characters inside the content model of
869
+ the <email> element
870
+ -->
871
+ <define name="email-elements">
872
+ <ref name="all-phrase"/>
873
+ </define>
874
+ <!-- ET AL ELEMENTS -->
875
+ <!--
876
+ The elements that can be included along with
877
+ data characters inside the content model of
878
+ an <etal> element
879
+ -->
880
+ <define name="etal-elements">
881
+ <ref name="all-phrase"/>
882
+ </define>
883
+ <!-- EXTERNAL LINK ELEMENTS -->
884
+ <!--
885
+ The elements that can be included along with
886
+ data characters inside the content model of
887
+ an <ext-link>
888
+ -->
889
+ <define name="ext-link-elements">
890
+ <ref name="all-phrase"/>
891
+ </define>
892
+ <!-- FUNDING STATEMENT ELEMENTS -->
893
+ <!-- Model for the <funding-statement> element -->
894
+ <define name="funding-statement-elements">
895
+ <choice>
896
+ <ref name="all-phrase"/>
897
+ <ref name="funding.class"/>
898
+ </choice>
899
+ </define>
900
+ <!-- HISTORY ELEMENTS -->
901
+ <!--
902
+ Elements that may be mixed with data
903
+ characters inside the model for <history>
904
+ when <history> is modeled as a mixed content
905
+ element.
906
+ -->
907
+ <define name="history-elements">
908
+ <choice>
909
+ <ref name="all-phrase"/>
910
+ <ref name="break.class"/>
911
+ <ref name="date.class"/>
912
+ </choice>
913
+ </define>
914
+ <!-- FORMULA, INLINE ELEMENTS -->
915
+ <!--
916
+ The elements that can be included along with
917
+ data characters inside the content model of
918
+ the <inline-formula> element.
919
+ -->
920
+ <define name="inline-formula-elements">
921
+ <choice>
922
+ <ref name="access.class"/>
923
+ <ref name="all-phrase"/>
924
+ </choice>
925
+ </define>
926
+ <!-- INLINE SUPPLEMENTARY MATERIAL ELEMENTS -->
927
+ <!--
928
+ The elements that can be included along with
929
+ data characters inside the content model of
930
+ the <inline-supplementary-material> element
931
+ -->
932
+ <define name="inline-supplementary-material-elements">
933
+ <choice>
934
+ <ref name="access.class"/>
935
+ <ref name="all-phrase"/>
936
+ </choice>
937
+ </define>
938
+ <!-- INSTITUTION NAME ELEMENTS -->
939
+ <!--
940
+ The elements that can be included along with
941
+ data characters inside the content model of
942
+ the <institution> element
943
+ -->
944
+ <define name="institution-elements">
945
+ <choice>
946
+ <ref name="all-phrase"/>
947
+ <ref name="break.class"/>
948
+ </choice>
949
+ </define>
950
+ <!-- ISBN ELEMENTS -->
951
+ <!--
952
+ Elements for use with data characters inside
953
+ the model for the <isbn> element
954
+ -->
955
+ <define name="isbn-elements">
956
+ <ref name="x.class"/>
957
+ </define>
958
+ <!-- ISSN ELEMENTS -->
959
+ <!--
960
+ Elements for use with data characters inside
961
+ the model for the <issn> element
962
+ -->
963
+ <define name="issn-elements">
964
+ <ref name="x.class"/>
965
+ </define>
966
+ <!-- ISSN-L ELEMENTS -->
967
+ <!--
968
+ Elements for use with data characters inside
969
+ the model for the <issn-l> element
970
+ -->
971
+ <define name="issn-l-elements">
972
+ <ref name="x.class"/>
973
+ </define>
974
+ <!-- ISSUE TITLE ELEMENTS -->
975
+ <!--
976
+ The elements that can be included along with
977
+ data characters inside the content model of
978
+ the <issue-title> element
979
+ -->
980
+ <define name="issue-title-elements">
981
+ <ref name="all-phrase"/>
982
+ </define>
983
+ <!-- KEYWORD CONTENT ELEMENTS -->
984
+ <!--
985
+ The elements that can be included along with
986
+ data characters inside the content model of
987
+ a keyword.
988
+ -->
989
+ <define name="kwd-elements">
990
+ <choice>
991
+ <ref name="all-phrase"/>
992
+ <ref name="break.class"/>
993
+ </choice>
994
+ </define>
995
+ <!-- LABEL ELEMENTS -->
996
+ <!--
997
+ The elements that can be included along with
998
+ data characters inside the content model of
999
+ the <label> element
1000
+ -->
1001
+ <define name="label-elements">
1002
+ <choice>
1003
+ <ref name="all-phrase"/>
1004
+ <ref name="break.class"/>
1005
+ </choice>
1006
+ </define>
1007
+ <!-- LINK ELEMENTS -->
1008
+ <!--
1009
+ The elements that can be included along with
1010
+ data characters inside the content model of
1011
+ linking element such as <xref>, <target>,
1012
+ and <ext-link>
1013
+ -->
1014
+ <define name="link-elements">
1015
+ <choice>
1016
+ <ref name="all-phrase"/>
1017
+ <ref name="break.class"/>
1018
+ </choice>
1019
+ </define>
1020
+ <!-- LONG DESCRIPTION ELEMENTS -->
1021
+ <!--
1022
+ Elements to be mixed with data characters
1023
+ inside the <long-desc> element
1024
+ -->
1025
+ <define name="long-desc-elements">
1026
+ <ref name="x.class"/>
1027
+ </define>
1028
+ <!-- METADATA DATA NAME ELEMENTS -->
1029
+ <!--
1030
+ The elements that can be included along with
1031
+ data characters inside the content model of
1032
+ the <meta-name> element
1033
+ -->
1034
+ <define name="meta-name-elements">
1035
+ <ref name="all-phrase"/>
1036
+ </define>
1037
+ <!-- METADATA DATA VALUE ELEMENTS -->
1038
+ <!--
1039
+ The elements that can be included along with
1040
+ data characters inside the content model of
1041
+ the <meta-value> element
1042
+ -->
1043
+ <define name="meta-value-elements">
1044
+ <ref name="all-phrase"/>
1045
+ </define>
1046
+ <!-- NAMED CONTENT ELEMENTS -->
1047
+ <!--
1048
+ The elements that can be included along with
1049
+ data characters inside the content model of
1050
+ the <named-content> element
1051
+ -->
1052
+ <define name="named-content-elements">
1053
+ <choice>
1054
+ <ref name="all-phrase"/>
1055
+ <ref name="block-display-noalt.class"/>
1056
+ <ref name="block-math.class"/>
1057
+ <ref name="list.class"/>
1058
+ <ref name="rest-of-para.class"/>
1059
+ </choice>
1060
+ </define>
1061
+ <!-- PARAGRAPH ELEMENTS -->
1062
+ <!--
1063
+ Elements that may be used within a paragraph
1064
+ in a mixed content model with #PCDATA.
1065
+ Design Note: There is a major overlap between
1066
+ this parameter entity and the mix for elements
1067
+ that are at the same level as a paragraph.
1068
+ Inline elements appear only inside a
1069
+ paragraph, but block elements such as quotes
1070
+ and lists may appear either within a
1071
+ paragraph or at the same level as a
1072
+ paragraph. This serves a requirement in a
1073
+ repository DTD, since some incoming material
1074
+ will have restricted such elements to only
1075
+ inside a paragraph, some incoming material
1076
+ will have restricted them to only outside a
1077
+ paragraph and some may allow them in both
1078
+ places. Thus the DTD must allow for them to
1079
+ be in either or both.
1080
+ -->
1081
+ <define name="p-elements">
1082
+ <choice>
1083
+ <ref name="all-phrase"/>
1084
+ <ref name="block-display-noalt.class"/>
1085
+ <ref name="block-math.class"/>
1086
+ <ref name="citation.class"/>
1087
+ <ref name="funding.class"/>
1088
+ <ref name="list.class"/>
1089
+ <ref name="rest-of-para.class"/>
1090
+ </choice>
1091
+ </define>
1092
+ <!-- PERSON GROUP ELEMENTS -->
1093
+ <!--
1094
+ Elements to be mixed with #PCDATA characters
1095
+ within the Person Group element
1096
+ (name class include <string-name> in this
1097
+ tag set.
1098
+ -->
1099
+ <define name="person-group-elements">
1100
+ <choice>
1101
+ <ref name="name.class"/>
1102
+ <ref name="person-group-info.class"/>
1103
+ <ref name="x.class"/>
1104
+ </choice>
1105
+ </define>
1106
+ <!-- PREFORMATTED TEXT ELEMENTS -->
1107
+ <!--
1108
+ Elements that may be used, along with data
1109
+ characters, inside the content model for the
1110
+ <preformat> element, in which whitespace,
1111
+ such as tabs, line feeds, and spaces will
1112
+ be preserved.
1113
+ -->
1114
+ <define name="preformat-elements">
1115
+ <choice>
1116
+ <ref name="access.class"/>
1117
+ <ref name="all-phrase"/>
1118
+ <ref name="display-back-matter.class"/>
1119
+ </choice>
1120
+ </define>
1121
+ <!-- PRODUCT ELEMENTS -->
1122
+ <!--
1123
+ The elements that can be included along with
1124
+ data characters inside the content model of
1125
+ the <product> element
1126
+ (Note: all-phrase was replicated and not
1127
+ used directly because the article-link.class
1128
+ elements are repeated in -references.class
1129
+ and therefore cause duplication.
1130
+ -->
1131
+ <define name="product-elements">
1132
+ <choice>
1133
+ <ref name="article-link.class"/>
1134
+ <ref name="appearance.class"/>
1135
+ <ref name="break.class"/>
1136
+ <ref name="emphasis.class"/>
1137
+ <ref name="inline-display.class"/>
1138
+ <ref name="inline-math.class"/>
1139
+ <ref name="label.class"/>
1140
+ <ref name="math.class"/>
1141
+ <ref name="phrase.class"/>
1142
+ <ref name="price.class"/>
1143
+ <ref name="references.class"/>
1144
+ <ref name="simple-link.class"/>
1145
+ <ref name="subsup.class"/>
1146
+ <ref name="x.class"/>
1147
+ </choice>
1148
+ </define>
1149
+ <!-- PUBLISHER'S LOCATION ELEMENTS -->
1150
+ <!--
1151
+ The elements that can be included along with
1152
+ data characters inside the content model of
1153
+ the <publisher-loc> element
1154
+ -->
1155
+ <define name="publisher-loc-elements">
1156
+ <choice>
1157
+ <ref name="address.class"/>
1158
+ <ref name="all-phrase"/>
1159
+ <ref name="break.class"/>
1160
+ </choice>
1161
+ </define>
1162
+ <!-- RELATED ARTICLE ELEMENTS -->
1163
+ <!--
1164
+ The elements that can be included along with
1165
+ data characters inside the content model of
1166
+ the <related-article> element.
1167
+ (Note: all-phrase was replicated and not
1168
+ used directly because the article-link.class
1169
+ elements are repeated in -references.class
1170
+ and therefore cause duplication.)
1171
+ -->
1172
+ <define name="related-article-elements">
1173
+ <choice>
1174
+ <ref name="article-link.class"/>
1175
+ <ref name="appearance.class"/>
1176
+ <ref name="break.class"/>
1177
+ <ref name="emphasis.class"/>
1178
+ <ref name="inline-display.class"/>
1179
+ <ref name="inline-math.class"/>
1180
+ <ref name="journal-id.class"/>
1181
+ <ref name="label.class"/>
1182
+ <ref name="math.class"/>
1183
+ <ref name="phrase.class"/>
1184
+ <ref name="references.class"/>
1185
+ <ref name="simple-link.class"/>
1186
+ <ref name="subsup.class"/>
1187
+ <ref name="x.class"/>
1188
+ </choice>
1189
+ </define>
1190
+ <!-- RELATED OBJECT ELEMENTS -->
1191
+ <!--
1192
+ The elements that can be included along with
1193
+ data characters inside the content model of
1194
+ the <related-object> element.
1195
+ (Note: all-phrase was replicated and not
1196
+ used directly because the article-link.class
1197
+ elements are repeated in -references.class
1198
+ and therefore cause duplication.)
1199
+ -->
1200
+ <define name="related-object-elements">
1201
+ <choice>
1202
+ <ref name="article-link.class"/>
1203
+ <ref name="appearance.class"/>
1204
+ <ref name="break.class"/>
1205
+ <ref name="emphasis.class"/>
1206
+ <ref name="inline-display.class"/>
1207
+ <ref name="inline-math.class"/>
1208
+ <ref name="label.class"/>
1209
+ <ref name="math.class"/>
1210
+ <ref name="phrase.class"/>
1211
+ <ref name="references.class"/>
1212
+ <ref name="simple-link.class"/>
1213
+ <ref name="subsup.class"/>
1214
+ <ref name="x.class"/>
1215
+ </choice>
1216
+ </define>
1217
+ <!-- ROLE ELEMENTS -->
1218
+ <!--
1219
+ The elements that can be included along with
1220
+ data characters inside the content model of
1221
+ a <role>
1222
+ Design Note: All inline mixes begin with an
1223
+ OR bar; since %rendition-plus; is an
1224
+ inline mix, the OR bar is already there.
1225
+ -->
1226
+ <define name="role-elements">
1227
+ <ref name="all-phrase"/>
1228
+ </define>
1229
+ <!-- SELF-URI ELEMENTS -->
1230
+ <!--
1231
+ The elements that can be included along with
1232
+ data characters inside the content model of
1233
+ the <self-uri> element
1234
+ -->
1235
+ <define name="self-uri-elements">
1236
+ <ref name="all-phrase"/>
1237
+ </define>
1238
+ <!-- SIGNATURE BLOCK ELEMENTS -->
1239
+ <!--
1240
+ Elements to be mixed with data characters
1241
+ inside the content model for the
1242
+ <sig-block> element.
1243
+ -->
1244
+ <define name="sig-block-elements">
1245
+ <choice>
1246
+ <ref name="all-phrase"/>
1247
+ <ref name="break.class"/>
1248
+ <ref name="contrib.class"/>
1249
+ <ref name="just-base-display-noalt.class"/>
1250
+ <ref name="person-group-info.class"/>
1251
+ <ref name="sig.class"/>
1252
+ </choice>
1253
+ </define>
1254
+ <!-- SIGNATURE ELEMENTS -->
1255
+ <!--
1256
+ Elements to be mixed with data characters
1257
+ inside the content model for the
1258
+ <sig> element.
1259
+ -->
1260
+ <define name="sig-elements">
1261
+ <choice>
1262
+ <ref name="all-phrase"/>
1263
+ <ref name="break.class"/>
1264
+ <ref name="just-base-display-noalt.class"/>
1265
+ </choice>
1266
+ </define>
1267
+ <!-- SIZE ELEMENTS -->
1268
+ <!--
1269
+ The elements that can be included along with
1270
+ data characters inside the content model of
1271
+ the size element.
1272
+ -->
1273
+ <define name="size-elements">
1274
+ <choice>
1275
+ <ref name="face-markup.class"/>
1276
+ <ref name="x.class"/>
1277
+ </choice>
1278
+ </define>
1279
+ <!-- SOURCE ELEMENTS -->
1280
+ <!--
1281
+ The elements that can be included along with
1282
+ data characters inside the content model of
1283
+ the <source> element
1284
+ -->
1285
+ <define name="source-elements">
1286
+ <choice>
1287
+ <ref name="all-phrase"/>
1288
+ <ref name="break.class"/>
1289
+ </choice>
1290
+ </define>
1291
+ <!-- SPEAKER ELEMENTS -->
1292
+ <!--
1293
+ The elements that can be included along with
1294
+ data characters inside the content model of
1295
+ a speaker.
1296
+ -->
1297
+ <define name="speaker-elements">
1298
+ <choice>
1299
+ <ref name="all-phrase"/>
1300
+ <ref name="person-name.class"/>
1301
+ </choice>
1302
+ </define>
1303
+ <!-- STANDARDS ORGANIZATION ELEMENTS -->
1304
+ <!--
1305
+ The elements that can be included along with
1306
+ data characters inside the content model of
1307
+ <std-organization>.
1308
+ -->
1309
+ <define name="std-organization-elements">
1310
+ <choice>
1311
+ <ref name="all-phrase"/>
1312
+ <ref name="institution-wrap.class"/>
1313
+ <ref name="break.class"/>
1314
+ </choice>
1315
+ </define>
1316
+ <!-- STRING DATE ELEMENTS -->
1317
+ <!--
1318
+ The elements that can be included along with
1319
+ data characters inside the content model of
1320
+ the <string-date> element
1321
+ -->
1322
+ <define name="string-date-elements">
1323
+ <choice>
1324
+ <ref name="all-phrase"/>
1325
+ <ref name="date-parts.class"/>
1326
+ </choice>
1327
+ </define>
1328
+ <!-- STRING NAME ELEMENTS -->
1329
+ <!--
1330
+ The elements that can be included along with
1331
+ data characters inside the content model of
1332
+ the <string-name> element
1333
+ -->
1334
+ <define name="string-name-elements">
1335
+ <choice>
1336
+ <ref name="all-phrase"/>
1337
+ <ref name="person-name.class"/>
1338
+ </choice>
1339
+ </define>
1340
+ <!-- STRUCTURAL TITLE ELEMENTS -->
1341
+ <!--
1342
+ The elements that can be included along with
1343
+ data characters inside the content model of
1344
+ the <title> element
1345
+ -->
1346
+ <define name="struct-title-elements">
1347
+ <choice>
1348
+ <ref name="all-phrase"/>
1349
+ <ref name="break.class"/>
1350
+ <ref name="citation.class"/>
1351
+ </choice>
1352
+ </define>
1353
+ <!-- STYLED CONTENT ELEMENTS -->
1354
+ <!--
1355
+ The elements that can be included along with
1356
+ data characters inside the content model of
1357
+ the <styled-content> element
1358
+ -->
1359
+ <define name="styled-content-elements">
1360
+ <choice>
1361
+ <ref name="all-phrase"/>
1362
+ <ref name="block-display-noalt.class"/>
1363
+ <ref name="block-math.class"/>
1364
+ <ref name="list.class"/>
1365
+ <ref name="rest-of-para.class"/>
1366
+ </choice>
1367
+ </define>
1368
+ <!-- SUBJECT GROUPING NAME ELEMENTS -->
1369
+ <!--
1370
+ Elements that may be used, along with data
1371
+ characters inside the content model of the
1372
+ <subject> element
1373
+ -->
1374
+ <define name="subject-elements">
1375
+ <choice>
1376
+ <ref name="all-phrase"/>
1377
+ <ref name="break.class"/>
1378
+ </choice>
1379
+ </define>
1380
+ <!-- DEFINITION LIST: TERM ELEMENTS -->
1381
+ <!--
1382
+ The elements that can be included along with
1383
+ data characters inside the content model of
1384
+ a <term>.
1385
+ -->
1386
+ <define name="term-elements">
1387
+ <choice>
1388
+ <ref name="all-phrase"/>
1389
+ <ref name="block-math.class"/>
1390
+ <ref name="chem-struct-wrap.class"/>
1391
+ <ref name="simple-display-noalt.class"/>
1392
+ </choice>
1393
+ </define>
1394
+ <!-- TEXTUAL FORM ELEMENTS -->
1395
+ <!--
1396
+ Model for the <textual-form> element.
1397
+ Added <label>
1398
+ -->
1399
+ <define name="textual-form-elements">
1400
+ <choice>
1401
+ <ref name="emphasis.class"/>
1402
+ <ref name="inline-display-noalt.class"/>
1403
+ <ref name="label.class"/>
1404
+ <ref name="math.class"/>
1405
+ <ref name="phrase-content.class"/>
1406
+ <ref name="subsup.class"/>
1407
+ </choice>
1408
+ </define>
1409
+ <!-- TIME STAMP ELEMENTS -->
1410
+ <!--
1411
+ The elements that can be included along with
1412
+ data characters inside the content model of
1413
+ a <time-stamp>.
1414
+ -->
1415
+ <define name="time-stamp-elements">
1416
+ <choice>
1417
+ <ref name="date-parts.class"/>
1418
+ <ref name="x.class"/>
1419
+ </choice>
1420
+ </define>
1421
+ <!-- TITLE ELEMENTS -->
1422
+ <!--
1423
+ The elements that can be included along with
1424
+ data characters inside the content model of
1425
+ title elements such as <title>, <subtitle>,
1426
+ <trans-title>, etc.
1427
+ -->
1428
+ <define name="title-elements">
1429
+ <choice>
1430
+ <ref name="all-phrase"/>
1431
+ <ref name="break.class"/>
1432
+ </choice>
1433
+ </define>
1434
+ <!-- VERSE-LINE ELEMENTS -->
1435
+ <!--
1436
+ The elements that can be included along with
1437
+ data characters inside the content model of
1438
+ a <verse-line>
1439
+ Design Note: All inline mixes begin with an
1440
+ OR bar, but since %simple-text; is an inline
1441
+ mix, the OR bar is already there.
1442
+ -->
1443
+ <define name="verse-line-elements">
1444
+ <ref name="simple-text"/>
1445
+ </define>
1446
+ <!-- X ELEMENTS -->
1447
+ <!-- Elements for use inside the <x> element -->
1448
+ <define name="x-elements">
1449
+ <choice>
1450
+ <ref name="emphasis.class"/>
1451
+ <ref name="inline-display-noalt.class"/>
1452
+ <ref name="phrase-content.class"/>
1453
+ <ref name="subsup.class"/>
1454
+ <ref name="x.class"/>
1455
+ </choice>
1456
+ </define>
1457
+ <!-- ============================================================= -->
1458
+ <!-- RUBY MARKUP -->
1459
+ <!-- ============================================================= -->
1460
+ <!-- RUBY BASE ELEMENTS -->
1461
+ <!--
1462
+ Those elements that may mix with the data
1463
+ characters inside a Ruby Base <rb>
1464
+ element.
1465
+ -->
1466
+ <define name="rb-elements">
1467
+ <ref name="all-phrase"/>
1468
+ </define>
1469
+ <!-- ============================================================= -->
1470
+ <!-- DUPLICATES NEEDED FOR OVER-RIDES -->
1471
+ <!-- (models unchanged from common.ent but -->
1472
+ <!-- needed below) -->
1473
+ <!-- ============================================================= -->
1474
+ <!-- COMMON ATTRIBUTES -->
1475
+ <!--
1476
+ These lists of attributes will be added to
1477
+ nearly every element, in both the document
1478
+ metadata and the document body, of the entire
1479
+ Tag Set:
1480
+ - including table elements for both the
1481
+ XHTML-inspired and OASIS-inspired
1482
+ table model elements
1483
+ - excluding only <mml:math> and
1484
+ <xi:include> (whose namespaces JATS
1485
+ does not control).
1486
+ Great care should be taken to use these
1487
+ attributes judiciously, not as a shortcut to
1488
+ thinking through where an attribute should be
1489
+ used. Potential use cases include adding
1490
+ @xml:lang or some RDFa attribute to every
1491
+ elements.
1492
+ -->
1493
+ <!-- JATS BASE ATTRIBUTES -->
1494
+ <!--
1495
+ Holds all the common attributes except @id.
1496
+ Used to keep the two common attribute lists
1497
+ in sync. To add a global attribute, modify
1498
+ this list.
1499
+ -->
1500
+ <!-- JATS COMMON ATTRIBUTES -->
1501
+ <!--
1502
+ Holds all the common attributes, as defined in
1503
+ the base attribute parameter entity, plus an
1504
+ optional @id.
1505
+ -->
1506
+ <!-- JATS COMMON ATTRIBUTES (ID REQUIRED) -->
1507
+ <!--
1508
+ Holds all the common attributes, as defined in
1509
+ the base attribute parameter entity, plus a
1510
+ required @id.
1511
+ -->
1512
+ <!-- MIGHT LINK XLINK ATTRIBUTES -->
1513
+ <!--
1514
+ Used for elements which may need to link to
1515
+ external sources or other objects within
1516
+ the document, but may not necessarily act
1517
+ as a link at all. The attribute
1518
+ "xlink:href" identifies the object to which
1519
+ the link points.
1520
+ -->
1521
+ <define name="might-link-atts">
1522
+ <optional>
1523
+ <attribute name="xlink:type">
1524
+ <choice>
1525
+ <value>simple</value>
1526
+ </choice>
1527
+ </attribute>
1528
+ </optional>
1529
+ <optional>
1530
+ <attribute name="xlink:href"/>
1531
+ </optional>
1532
+ <optional>
1533
+ <attribute name="xlink:role"/>
1534
+ </optional>
1535
+ <optional>
1536
+ <attribute name="xlink:title"/>
1537
+ </optional>
1538
+ <optional>
1539
+ <attribute name="xlink:show">
1540
+ <choice>
1541
+ <value>embed</value>
1542
+ <value>new</value>
1543
+ <value>none</value>
1544
+ <value>other</value>
1545
+ <value>replace</value>
1546
+ </choice>
1547
+ </attribute>
1548
+ </optional>
1549
+ <optional>
1550
+ <attribute name="xlink:actuate">
1551
+ <choice>
1552
+ <value>none</value>
1553
+ <value>onLoad</value>
1554
+ <value>onRequest</value>
1555
+ <value>other</value>
1556
+ </choice>
1557
+ </attribute>
1558
+ </optional>
1559
+ <optional>
1560
+ <attribute name="hreflang">
1561
+ <data type="NMTOKEN"/>
1562
+ </attribute>
1563
+ </optional>
1564
+ </define>
1565
+ <!-- ============================================================= -->
1566
+ <!-- SECTION OPTIONAL TITLE MODEL -->
1567
+ <!-- ============================================================= -->
1568
+ <!-- CONTENT MODEL FOR AN UNTITLED SECTION -->
1569
+ <!--
1570
+ The model for a section-like structure that
1571
+ may or may not have an initial title
1572
+ -->
1573
+ <define name="sec-opt-title-model">
1574
+ <optional>
1575
+ <ref name="sec-meta"/>
1576
+ </optional>
1577
+ <optional>
1578
+ <ref name="label"/>
1579
+ </optional>
1580
+ <optional>
1581
+ <ref name="title"/>
1582
+ </optional>
1583
+ <zeroOrMore>
1584
+ <ref name="para-level"/>
1585
+ </zeroOrMore>
1586
+ <zeroOrMore>
1587
+ <ref name="sec-level"/>
1588
+ </zeroOrMore>
1589
+ <zeroOrMore>
1590
+ <ref name="sec-back-matter-mix"/>
1591
+ </zeroOrMore>
1592
+ </define>
1593
+ <!-- ============================================================= -->
1594
+ <!-- OVER-RIDES OF CONTENT MODELS (FULL MODELS) -->
1595
+ <!-- ============================================================= -->
1596
+ <!-- ARTICLE METADATA MODEL -->
1597
+ <!--
1598
+ Content model for the metadata that is
1599
+ specific to the article.
1600
+ -->
1601
+ <define name="article-meta-model">
1602
+ <zeroOrMore>
1603
+ <ref name="article-id"/>
1604
+ </zeroOrMore>
1605
+ <optional>
1606
+ <ref name="article-version.class"/>
1607
+ </optional>
1608
+ <optional>
1609
+ <ref name="article-categories"/>
1610
+ </optional>
1611
+ <optional>
1612
+ <ref name="title-group"/>
1613
+ </optional>
1614
+ <zeroOrMore>
1615
+ <choice>
1616
+ <ref name="contrib-group.class"/>
1617
+ <ref name="aff-alternatives.class"/>
1618
+ <ref name="x.class"/>
1619
+ </choice>
1620
+ </zeroOrMore>
1621
+ <optional>
1622
+ <ref name="author-notes"/>
1623
+ </optional>
1624
+ <choice>
1625
+ <zeroOrMore>
1626
+ <ref name="pub-date.class"/>
1627
+ </zeroOrMore>
1628
+ <optional>
1629
+ <ref name="pub-date-not-available"/>
1630
+ </optional>
1631
+ </choice>
1632
+ <zeroOrMore>
1633
+ <ref name="volume"/>
1634
+ </zeroOrMore>
1635
+ <zeroOrMore>
1636
+ <ref name="volume-id"/>
1637
+ </zeroOrMore>
1638
+ <optional>
1639
+ <ref name="volume-series"/>
1640
+ </optional>
1641
+ <zeroOrMore>
1642
+ <ref name="issue"/>
1643
+ </zeroOrMore>
1644
+ <zeroOrMore>
1645
+ <ref name="issue-id"/>
1646
+ </zeroOrMore>
1647
+ <zeroOrMore>
1648
+ <ref name="issue-title"/>
1649
+ </zeroOrMore>
1650
+ <zeroOrMore>
1651
+ <ref name="issue-title-group"/>
1652
+ </zeroOrMore>
1653
+ <zeroOrMore>
1654
+ <ref name="issue-sponsor"/>
1655
+ </zeroOrMore>
1656
+ <optional>
1657
+ <ref name="issue-part"/>
1658
+ </optional>
1659
+ <zeroOrMore>
1660
+ <ref name="volume-issue-group"/>
1661
+ </zeroOrMore>
1662
+ <zeroOrMore>
1663
+ <ref name="isbn"/>
1664
+ </zeroOrMore>
1665
+ <optional>
1666
+ <ref name="supplement"/>
1667
+ </optional>
1668
+ <optional>
1669
+ <choice>
1670
+ <group>
1671
+ <optional>
1672
+ <ref name="fpage"/>
1673
+ <optional>
1674
+ <ref name="lpage"/>
1675
+ </optional>
1676
+ </optional>
1677
+ <optional>
1678
+ <ref name="page-range"/>
1679
+ </optional>
1680
+ </group>
1681
+ <ref name="elocation-id"/>
1682
+ </choice>
1683
+ </optional>
1684
+ <zeroOrMore>
1685
+ <choice>
1686
+ <ref name="address-link.class"/>
1687
+ <ref name="product"/>
1688
+ <ref name="supplementary-material"/>
1689
+ </choice>
1690
+ </zeroOrMore>
1691
+ <optional>
1692
+ <ref name="history"/>
1693
+ </optional>
1694
+ <optional>
1695
+ <ref name="pub-history"/>
1696
+ </optional>
1697
+ <optional>
1698
+ <ref name="permissions"/>
1699
+ </optional>
1700
+ <zeroOrMore>
1701
+ <ref name="self-uri"/>
1702
+ </zeroOrMore>
1703
+ <zeroOrMore>
1704
+ <ref name="related-article.class"/>
1705
+ </zeroOrMore>
1706
+ <zeroOrMore>
1707
+ <ref name="abstract.class"/>
1708
+ </zeroOrMore>
1709
+ <zeroOrMore>
1710
+ <ref name="trans-abstract"/>
1711
+ </zeroOrMore>
1712
+ <zeroOrMore>
1713
+ <ref name="kwd-group.class"/>
1714
+ </zeroOrMore>
1715
+ <zeroOrMore>
1716
+ <ref name="funding-group"/>
1717
+ </zeroOrMore>
1718
+ <zeroOrMore>
1719
+ <ref name="support-group"/>
1720
+ </zeroOrMore>
1721
+ <zeroOrMore>
1722
+ <ref name="conference"/>
1723
+ </zeroOrMore>
1724
+ <optional>
1725
+ <ref name="counts"/>
1726
+ </optional>
1727
+ <optional>
1728
+ <ref name="custom-meta-group"/>
1729
+ </optional>
1730
+ </define>
1731
+ <!-- ADDRESS MODEL -->
1732
+ <!-- Content model for the <address> element -->
1733
+ <define name="address-model">
1734
+ <zeroOrMore>
1735
+ <choice>
1736
+ <ref name="address.class"/>
1737
+ <ref name="address-link.class"/>
1738
+ <ref name="label.class"/>
1739
+ <ref name="x.class"/>
1740
+ </choice>
1741
+ </zeroOrMore>
1742
+ </define>
1743
+ <!-- APPENDIX MODEL -->
1744
+ <!--
1745
+ Content model for the <app> element. The
1746
+ section model already contains parentheses.
1747
+ Made initial <title> optional.
1748
+ -->
1749
+ <define name="app-model">
1750
+ <ref name="sec-opt-title-model"/>
1751
+ <optional>
1752
+ <ref name="permissions"/>
1753
+ </optional>
1754
+ </define>
1755
+ <!-- AUTHOR NOTES MODEL -->
1756
+ <!-- Content model for an <author-notes> element. -->
1757
+ <define name="author-notes-model">
1758
+ <optional>
1759
+ <ref name="label"/>
1760
+ </optional>
1761
+ <optional>
1762
+ <ref name="title"/>
1763
+ </optional>
1764
+ <oneOrMore>
1765
+ <choice>
1766
+ <ref name="corresp.class"/>
1767
+ <ref name="fn-link.class"/>
1768
+ <ref name="just-para.class"/>
1769
+ <ref name="x.class"/>
1770
+ </choice>
1771
+ </oneOrMore>
1772
+ </define>
1773
+ <!-- CONFERENCE MODEL -->
1774
+ <!-- Content model for the <conference> element -->
1775
+ <define name="conference-model">
1776
+ <zeroOrMore>
1777
+ <choice>
1778
+ <ref name="conference.class"/>
1779
+ <ref name="x.class"/>
1780
+ </choice>
1781
+ </zeroOrMore>
1782
+ </define>
1783
+ <!-- CONTRIBUTOR GROUP MODEL -->
1784
+ <!-- Content model for the <title-group> element -->
1785
+ <define name="contrib-group-model">
1786
+ <oneOrMore>
1787
+ <choice>
1788
+ <ref name="contrib.class"/>
1789
+ <ref name="contrib-info.class"/>
1790
+ <ref name="x.class"/>
1791
+ </choice>
1792
+ </oneOrMore>
1793
+ </define>
1794
+ <!-- CONTRIBUTOR MODEL -->
1795
+ <!-- Content model for the <contrib> element -->
1796
+ <define name="contrib-model">
1797
+ <zeroOrMore>
1798
+ <choice>
1799
+ <ref name="contrib-id.class"/>
1800
+ <ref name="name.class"/>
1801
+ <ref name="degree.class"/>
1802
+ <ref name="contrib-info.class"/>
1803
+ <ref name="x.class"/>
1804
+ </choice>
1805
+ </zeroOrMore>
1806
+ </define>
1807
+ <!-- DEFINITION LIST: DEFINITION ITEM MODEL -->
1808
+ <!-- Content model of a <def-item> -->
1809
+ <define name="def-item-model">
1810
+ <optional>
1811
+ <ref name="label"/>
1812
+ </optional>
1813
+ <zeroOrMore>
1814
+ <ref name="term"/>
1815
+ </zeroOrMore>
1816
+ <zeroOrMore>
1817
+ <choice>
1818
+ <ref name="def.class"/>
1819
+ <ref name="x.class"/>
1820
+ </choice>
1821
+ </zeroOrMore>
1822
+ </define>
1823
+ <!-- DEFINITION LIST MODEL -->
1824
+ <!-- Content model for the <def-list> element -->
1825
+ <define name="def-list-model">
1826
+ <optional>
1827
+ <ref name="label"/>
1828
+ </optional>
1829
+ <optional>
1830
+ <ref name="title"/>
1831
+ </optional>
1832
+ <optional>
1833
+ <ref name="term-head"/>
1834
+ </optional>
1835
+ <optional>
1836
+ <ref name="def-head"/>
1837
+ </optional>
1838
+ <zeroOrMore>
1839
+ <choice>
1840
+ <ref name="def-item.class"/>
1841
+ <ref name="x.class"/>
1842
+ </choice>
1843
+ </zeroOrMore>
1844
+ <zeroOrMore>
1845
+ <ref name="def-list.class"/>
1846
+ </zeroOrMore>
1847
+ </define>
1848
+ <!-- FOOTNOTE GROUP MODEL -->
1849
+ <!--
1850
+ Content model for the <fn-group> element
1851
+ Added an <x> as alternative to <fn>.
1852
+ -->
1853
+ <define name="fn-group-model">
1854
+ <optional>
1855
+ <ref name="label"/>
1856
+ </optional>
1857
+ <optional>
1858
+ <ref name="title"/>
1859
+ </optional>
1860
+ <oneOrMore>
1861
+ <choice>
1862
+ <ref name="fn-link.class"/>
1863
+ <ref name="x.class"/>
1864
+ </choice>
1865
+ </oneOrMore>
1866
+ </define>
1867
+ <!-- HISTORY MODEL -->
1868
+ <!-- Content model for the <history> element -->
1869
+ <define name="history-model">
1870
+ <zeroOrMore>
1871
+ <choice>
1872
+ <text/>
1873
+ <ref name="history-elements"/>
1874
+ </choice>
1875
+ </zeroOrMore>
1876
+ </define>
1877
+ <!-- KEYWORD GROUP MODEL -->
1878
+ <!-- Content model for a <kwd-group> element -->
1879
+ <define name="kwd-group-model">
1880
+ <optional>
1881
+ <ref name="label"/>
1882
+ </optional>
1883
+ <optional>
1884
+ <ref name="title"/>
1885
+ </optional>
1886
+ <choice>
1887
+ <oneOrMore>
1888
+ <choice>
1889
+ <ref name="kwd.class"/>
1890
+ <ref name="x.class"/>
1891
+ </choice>
1892
+ </oneOrMore>
1893
+ <zeroOrMore>
1894
+ <ref name="unstructured-kwd-group.class"/>
1895
+ </zeroOrMore>
1896
+ </choice>
1897
+ </define>
1898
+ <!-- LIST MODEL -->
1899
+ <!-- Content model for the <list> element -->
1900
+ <define name="list-model">
1901
+ <zeroOrMore>
1902
+ <ref name="id.class"/>
1903
+ </zeroOrMore>
1904
+ <optional>
1905
+ <ref name="label"/>
1906
+ </optional>
1907
+ <optional>
1908
+ <ref name="title"/>
1909
+ </optional>
1910
+ <oneOrMore>
1911
+ <choice>
1912
+ <ref name="list-item.class"/>
1913
+ <ref name="x.class"/>
1914
+ </choice>
1915
+ </oneOrMore>
1916
+ </define>
1917
+ <!-- PUBLICATION DATE MODEL -->
1918
+ <!-- Content model for the element <pub-date> -->
1919
+ <define name="pub-date-model">
1920
+ <zeroOrMore>
1921
+ <choice>
1922
+ <ref name="date-parts.class"/>
1923
+ <ref name="string-date.class"/>
1924
+ <ref name="x.class"/>
1925
+ </choice>
1926
+ </zeroOrMore>
1927
+ </define>
1928
+ <!-- REFERENCE ITEM MODEL -->
1929
+ <!-- Content model for the <ref> element -->
1930
+ <define name="ref-model">
1931
+ <optional>
1932
+ <ref name="label"/>
1933
+ </optional>
1934
+ <oneOrMore>
1935
+ <choice>
1936
+ <ref name="citation.class"/>
1937
+ <ref name="note.class"/>
1938
+ <ref name="x.class"/>
1939
+ </choice>
1940
+ </oneOrMore>
1941
+ </define>
1942
+ <!-- REFERENCE LIST MODEL -->
1943
+ <!-- Content model for the <ref-list> element -->
1944
+ <define name="ref-list-model">
1945
+ <zeroOrMore>
1946
+ <ref name="id.class"/>
1947
+ </zeroOrMore>
1948
+ <optional>
1949
+ <ref name="label"/>
1950
+ </optional>
1951
+ <optional>
1952
+ <ref name="title"/>
1953
+ </optional>
1954
+ <zeroOrMore>
1955
+ <choice>
1956
+ <ref name="para-level"/>
1957
+ <ref name="ref.class"/>
1958
+ </choice>
1959
+ </zeroOrMore>
1960
+ <zeroOrMore>
1961
+ <ref name="ref-list.class"/>
1962
+ </zeroOrMore>
1963
+ </define>
1964
+ <!-- RUBY WRAPPER Model -->
1965
+ <!-- Content model for the <ruby> element -->
1966
+ <define name="ruby-model">
1967
+ <ref name="rb"/>
1968
+ <choice>
1969
+ <ref name="rt"/>
1970
+ <group>
1971
+ <ref name="rp"/>
1972
+ <ref name="rt"/>
1973
+ <ref name="rp"/>
1974
+ </group>
1975
+ </choice>
1976
+ </define>
1977
+ <!-- CONTENT MODEL FOR A STRUCTURAL SECTION -->
1978
+ <!-- The model for a Section <sec> -->
1979
+ <define name="sec-model">
1980
+ <optional>
1981
+ <ref name="sec-meta"/>
1982
+ </optional>
1983
+ <optional>
1984
+ <ref name="label"/>
1985
+ </optional>
1986
+ <optional>
1987
+ <ref name="title"/>
1988
+ </optional>
1989
+ <zeroOrMore>
1990
+ <ref name="para-level"/>
1991
+ </zeroOrMore>
1992
+ <zeroOrMore>
1993
+ <ref name="sec-level"/>
1994
+ </zeroOrMore>
1995
+ <zeroOrMore>
1996
+ <ref name="sec-back-matter-mix"/>
1997
+ </zeroOrMore>
1998
+ </define>
1999
+ <!-- TABLE WRAP FOOTER MODEL -->
2000
+ <!--
2001
+ Content model for the <table-wrap-foot>
2002
+ element
2003
+ -->
2004
+ <define name="table-wrap-foot-model">
2005
+ <optional>
2006
+ <ref name="label"/>
2007
+ </optional>
2008
+ <optional>
2009
+ <ref name="title"/>
2010
+ </optional>
2011
+ <oneOrMore>
2012
+ <choice>
2013
+ <ref name="just-para.class"/>
2014
+ <ref name="fn-group.class"/>
2015
+ <ref name="fn-link.class"/>
2016
+ <ref name="display-back-matter.class"/>
2017
+ <ref name="x.class"/>
2018
+ </choice>
2019
+ </oneOrMore>
2020
+ </define>
2021
+ <!-- TRANSLATED ABSTRACT MODEL -->
2022
+ <!-- Content model for an <trans-abstract> element. -->
2023
+ <define name="trans-abstract-model">
2024
+ <zeroOrMore>
2025
+ <ref name="id.class"/>
2026
+ </zeroOrMore>
2027
+ <ref name="sec-opt-title-model"/>
2028
+ </define>
2029
+ <!-- ============================================================= -->
2030
+ <!-- OVER-RIDES OF ATTRIBUTE LISTS -->
2031
+ <!-- ============================================================= -->
2032
+ <!-- ARTICLE IDENTIFIER ATTRIBUTES -->
2033
+ <!-- Attributes for the <article-id> element -->
2034
+ <define name="article-id-atts">
2035
+ <ref name="jats-common-atts"/>
2036
+ <optional>
2037
+ <attribute name="pub-id-type"/>
2038
+ </optional>
2039
+ <optional>
2040
+ <attribute name="custom-type"/>
2041
+ </optional>
2042
+ <optional>
2043
+ <attribute name="assigning-authority"/>
2044
+ </optional>
2045
+ <optional>
2046
+ <attribute name="specific-use"/>
2047
+ </optional>
2048
+ </define>
2049
+ <!-- DATE (HISTORICAL) ATTRIBUTES -->
2050
+ <define name="date-atts">
2051
+ <ref name="jats-common-atts"/>
2052
+ <optional>
2053
+ <attribute name="date-type"/>
2054
+ </optional>
2055
+ <optional>
2056
+ <attribute name="publication-format"/>
2057
+ </optional>
2058
+ <optional>
2059
+ <attribute name="iso-8601-date"/>
2060
+ </optional>
2061
+ <optional>
2062
+ <attribute name="calendar"/>
2063
+ </optional>
2064
+ <optional>
2065
+ <attribute name="specific-use"/>
2066
+ </optional>
2067
+ </define>
2068
+ <!-- FUNDING STATEMENT ATTRIBUTES -->
2069
+ <!-- Attributes for the <funding-source> element -->
2070
+ <define name="funding-statement-atts">
2071
+ <ref name="jats-common-atts"/>
2072
+ <optional>
2073
+ <attribute name="rid">
2074
+ <data type="IDREFS"/>
2075
+ </attribute>
2076
+ </optional>
2077
+ <optional>
2078
+ <attribute name="specific-use"/>
2079
+ </optional>
2080
+ <optional>
2081
+ <attribute name="xml:lang">
2082
+ <data type="NMTOKEN"/>
2083
+ </attribute>
2084
+ </optional>
2085
+ <ref name="might-link-atts"/>
2086
+ </define>
2087
+ <!-- INDEX-TERM ATTRIBUTES (BITS override) -->
2088
+ <!--
2089
+ Attribute list for <index-term> element.
2090
+ The attribute @index-type names the
2091
+ specific indexes in which this term should
2092
+ be used. Contains the name of an index or
2093
+ a space separated series of index names
2094
+ -->
2095
+ <define name="index-term-atts">
2096
+ <ref name="jats-common-atts"/>
2097
+ <optional>
2098
+ <attribute name="index-type">
2099
+ <data type="NMTOKENS"/>
2100
+ </attribute>
2101
+ </optional>
2102
+ <optional>
2103
+ <attribute name="content-type"/>
2104
+ </optional>
2105
+ <optional>
2106
+ <attribute name="specific-use"/>
2107
+ </optional>
2108
+ <optional>
2109
+ <attribute name="xml:lang">
2110
+ <data type="NMTOKEN"/>
2111
+ </attribute>
2112
+ </optional>
2113
+ <optional>
2114
+ <attribute name="vocab"/>
2115
+ </optional>
2116
+ <optional>
2117
+ <attribute name="vocab-identifier"/>
2118
+ </optional>
2119
+ <optional>
2120
+ <attribute name="vocab-term"/>
2121
+ </optional>
2122
+ <optional>
2123
+ <attribute name="vocab-term-identifier"/>
2124
+ </optional>
2125
+ </define>
2126
+ <!-- SEE-ALSO ATTRIBUTES -->
2127
+ <!-- Attribute list for <see-also> element. -->
2128
+ <define name="see-also-atts">
2129
+ <ref name="jats-common-atts"/>
2130
+ <optional>
2131
+ <attribute name="rid">
2132
+ <data type="IDREFS"/>
2133
+ </attribute>
2134
+ </optional>
2135
+ <optional>
2136
+ <attribute name="content-type"/>
2137
+ </optional>
2138
+ <optional>
2139
+ <attribute name="specific-use"/>
2140
+ </optional>
2141
+ <optional>
2142
+ <attribute name="xml:lang">
2143
+ <data type="NMTOKEN"/>
2144
+ </attribute>
2145
+ </optional>
2146
+ <optional>
2147
+ <attribute name="vocab"/>
2148
+ </optional>
2149
+ <optional>
2150
+ <attribute name="vocab-identifier"/>
2151
+ </optional>
2152
+ <optional>
2153
+ <attribute name="vocab-term"/>
2154
+ </optional>
2155
+ <optional>
2156
+ <attribute name="vocab-term-identifier"/>
2157
+ </optional>
2158
+ </define>
2159
+ <!-- PUBLICATION IDENTIFIER ATTRIBUTES -->
2160
+ <!-- Attributes for the <pub-id> element -->
2161
+ <define name="pub-id-atts">
2162
+ <ref name="jats-common-atts"/>
2163
+ <optional>
2164
+ <attribute name="pub-id-type"/>
2165
+ </optional>
2166
+ <optional>
2167
+ <attribute name="assigning-authority"/>
2168
+ </optional>
2169
+ <optional>
2170
+ <attribute name="specific-use"/>
2171
+ </optional>
2172
+ <optional>
2173
+ <attribute name="custom-type"/>
2174
+ </optional>
2175
+ <ref name="might-link-atts"/>
2176
+ </define>
2177
+ <!-- X(CROSS) REFERENCE ATTRIBUTES -->
2178
+ <!-- Attribute list for cross references -->
2179
+ <define name="xref-atts">
2180
+ <ref name="jats-common-atts"/>
2181
+ <optional>
2182
+ <attribute name="ref-type"/>
2183
+ </optional>
2184
+ <optional>
2185
+ <attribute name="custom-type"/>
2186
+ </optional>
2187
+ <optional>
2188
+ <attribute name="alt"/>
2189
+ </optional>
2190
+ <optional>
2191
+ <attribute name="rid">
2192
+ <data type="IDREFS"/>
2193
+ </attribute>
2194
+ </optional>
2195
+ <optional>
2196
+ <attribute name="specific-use"/>
2197
+ </optional>
2198
+ <optional>
2199
+ <attribute name="xml:lang">
2200
+ <data type="NMTOKEN"/>
2201
+ </attribute>
2202
+ </optional>
2203
+ </define>
2204
+ </grammar>
2205
+ <!-- ================== End Archiving Content/ATT Over-rides ===== -->