@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,453 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- ============================================================= -->
3
+ <!-- MODULE: Related Object Element -->
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 Related Object Element v1.3 20210610//EN"
13
+ Delivered as file "JATS-related-object1-3.ent"
14
+ -->
15
+ <!-- ============================================================= -->
16
+ <!-- ============================================================= -->
17
+ <!-- SYSTEM: JATS DTD Suite -->
18
+ <!---->
19
+ <!-- PURPOSE: Define the element <related-object>. [This -->
20
+ <!-- module was previously part of the NLM Book Tag Set -->
21
+ <!-- and named bookrelated-object.ent.] -->
22
+ <!---->
23
+ <!-- TAG SET SPONSOR -->
24
+ <!-- National Center for Biotechnology -->
25
+ <!-- Information (NCBI) -->
26
+ <!-- National Library of Medicine (NLM) -->
27
+ <!---->
28
+ <!-- CREATED FOR: -->
29
+ <!-- This module was created for the JATS DTD Suite. -->
30
+ <!-- Digital archives and publishers may use the -->
31
+ <!-- DTD as is for markup of journal literature or -->
32
+ <!-- related material for archiving and transferring -->
33
+ <!-- such material between archives or create a -->
34
+ <!-- custom XML DTD from the Suite for -->
35
+ <!-- these purposes. -->
36
+ <!---->
37
+ <!-- This DTD is in the public domain. An organization -->
38
+ <!-- that wishes to create its own DTD from the suite -->
39
+ <!-- may do so without permission from NLM. -->
40
+ <!---->
41
+ <!-- The suite has been set up to be extended using a -->
42
+ <!-- new DTD file and a new DTD-specific customization -->
43
+ <!-- module to redefine the many Parameter Entities. -->
44
+ <!-- Do not modify the suite directly or redistribute -->
45
+ <!-- modified versions of the suite. -->
46
+ <!---->
47
+ <!-- In the interest of maintaining consistency and -->
48
+ <!-- clarity for potential users, NLM requests: -->
49
+ <!---->
50
+ <!-- 1. If you create a DTD from the JATS DTD Suite -->
51
+ <!-- and intend to stay compatible with the suite, -->
52
+ <!-- then please include the following statement -->
53
+ <!-- as a comment in all of your DTD modules: -->
54
+ <!-- "Created from, and fully compatible with, -->
55
+ <!-- the ANSI/NISO Z39.96 Journal Article Tag -->
56
+ <!-- Suite (JATS)." -->
57
+ <!---->
58
+ <!-- 2. If you alter one or more modules of the suite, -->
59
+ <!-- then please rename your version and all its -->
60
+ <!-- modules to avoid any confusion with the -->
61
+ <!-- original suite. Also, please include the -->
62
+ <!-- following statement as a comment in all your -->
63
+ <!-- DTD modules: -->
64
+ <!-- "Based in part on, but not fully compatible -->
65
+ <!-- with, the ANSI/NISO Z39.96 Journal Article -->
66
+ <!-- Tag Suite (JATS)." -->
67
+ <!---->
68
+ <!-- ORIGINAL CREATION DATE: -->
69
+ <!-- February 2008 (book modules Oct 2006) -->
70
+ <!---->
71
+ <!-- CREATED BY: Mulberry Technologies, Inc. for the NISO Z39.96 -->
72
+ <!-- Working Group. Mulberry Technologies was -->
73
+ <!-- supported by National Center for Biotechnology -->
74
+ <!-- Information (NCBI), a center of the US National -->
75
+ <!-- Library of Medicine (NLM). -->
76
+ <!---->
77
+ <!-- The Journal Publishing DTD is built from the -->
78
+ <!-- Archiving and Interchange DTD Suite. -->
79
+ <!---->
80
+ <!-- Suggestions for refinements and enhancements to -->
81
+ <!-- this DTD should be sent in email to: -->
82
+ <!-- jats@ncbi.nlm.nih.gov -->
83
+ <!-- ============================================================= -->
84
+ <!-- ============================================================= -->
85
+ <!-- DTD VERSION\CHANGE HISTORY -->
86
+ <!-- ============================================================= -->
87
+ <!--
88
+ Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
89
+ ==============================================================
90
+ JATS Version 1.3 (ANSI/NISO Z39.96-2021)
91
+ (DAL/BTU) v1.3 (2021-06-10)
92
+
93
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
94
+ which requires voting by both the NISO and ANSI memberships
95
+ to be changed. This version of the NISO JATS was approved
96
+ by ANSI vote on June 10, 2021, so it supersedes all Committee
97
+ Drafts as well as the draft version JATS 1.3 2021 (the version
98
+ submitted for vote), becoming NISO JATS v1.3 20210610
99
+ (ANSI/NISO Z39.96-2019).
100
+
101
+ The file names and formal public identifiers have been
102
+ changed in the modules and the catalogs.
103
+
104
+ 20. JATS 'v1.3d2 20201130' becomes 'v1.3 20210610'
105
+ (final ANSI vote date)
106
+ 'ANSI/NISO Z39.96-2019' becomes 'ANSI/NISO Z39.96-2021'
107
+
108
+ ==============================================================
109
+ JATS Version 1.3d2 (ANSI/NISO Z39.96-2021)
110
+ (DAL/BTU) v1.3d2 (2020-11-30)
111
+
112
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
113
+ which requires voting by the NISO and ANSI memberships
114
+ to be changed.
115
+
116
+ This draft DTD represents an interim version of the
117
+ non-normative JATS DTD Suite, as an indication to JATS users
118
+ of the decisions that have been made by the JATS Standing
119
+ Committee. This draft has not yet been given public review
120
+ or voting; it is for Standing Committee review and
121
+ testing. The formal public identifiers have been changed
122
+ in the modules and the catalogs.
123
+
124
+ 19. STRING DATE - Used to be added to models using
125
+ %citation-additions.class;, now added through
126
+ %references.class; and the same as JATS. Changed:
127
+ <related-object>
128
+
129
+ 18. JATS "v1.3d2 20201130" becomes 'v1.3 20210610' (second
130
+ committee draft following the final ANSI/NISO 1.2 vote)
131
+
132
+ ==============================================================
133
+ JATS Version 1.3d1 (ANSI/NISO Z39.96-2021)
134
+ (DAL/BTU) v1.3.d1 (2019-08-31)
135
+
136
+ ANSI NISO JATS is a continuing maintenance NISO Standard,
137
+ which requires voting by the NISO and ANSI memberships
138
+ to be changed.
139
+
140
+ This draft DTD represents an interim version of the
141
+ non-normative JATS DTD Suite, as an indication to JATS users
142
+ of the decisions that have been made by the JATS Standing
143
+ Committee. This draft has not yet been given public review
144
+ or voting. The formal public identifiers were changed in the
145
+ modules and the catalogs.
146
+
147
+ 17. LANGUAGE OF THE TARGET OBJECT - Added a new optional
148
+ attribute @hreflang to name the language of the
149
+ target to which the <related-object> points.
150
+
151
+ 16. JATS "1.2" becomes "v1.3d1 20190831" (first committee
152
+ draft following the final ANSI/NISO vote)
153
+
154
+ ==============================================================
155
+ JATS Version 1.2 (ANSI/NISO Z39.96-2021)
156
+ (DAL/BTU) v1.2 (2019-02-08)
157
+
158
+ NISO JATS is a continuing maintenance NISO Standard, which
159
+ requires voting by the both the NISO and ANSI membership
160
+ to be changed. This version of the NISO JATS was approved
161
+ by ANSI vote on Feb 08, 2019, so it supersedes all Committee
162
+ Drafts as well as the draft version JATS 1.2 2018 (the version
163
+ submitted for vote), becoming NISO JATS v1.2 20190208
164
+ (ANSI/NISO Z39.96-2021).
165
+
166
+ 15. JATS "1.2" becomes "v1.2 20190208" (final ANSI vote date)
167
+ "ANSI/NISO Z39.96-2015" becomes "ANSI/NISO Z39.96-2019"
168
+
169
+ ==============================================================
170
+ JATS Version 1.2 (ANSI/NISO Z39.96-2018)
171
+
172
+ (DAL/BTU) v1.2 (2018-11-30)
173
+
174
+ NISO JATS is a continuing maintenance NISO Standard, which
175
+ requires voting by the both the NISO and ANSI membership
176
+ to be changed. This version of the NISO JATS was approved
177
+ by ANSI and NISO vote, so it supersedes all Committee Drafts
178
+ and becoming NISO JATS 1.2 (ANSI/NISO Z39.96-2018).
179
+
180
+ 14.
181
+ JATS "1.2d2" and "v1.2d2 20180401" became
182
+ JATS "1.2" and "v1.2 20181130"
183
+
184
+ =============================================================
185
+
186
+ JATS Version 1.2d2 (DAL/BTU) v1.2d2 (2018-04-01)
187
+
188
+ JATS is a continuing maintenance NISO Standard, which
189
+ requires voting by the ANSI and NISO memberships to be changed.
190
+ BITS is under continuous maintenance, and is modified at the
191
+ discretion of the working group.
192
+
193
+ This draft DTD represents an interim version of the
194
+ non-normative JATS DTD Suite, as an indication to JATS users
195
+ the decisions that have been made by the JATS Standing
196
+ Committee. This draft has not yet been given public review
197
+ or voting. The formal public identifiers were changed in the
198
+ modules and the catalogs.
199
+
200
+ 13. BITS "2.0" and "v2.0 20151225" remain unchanged
201
+
202
+
203
+ JATS "1.2d1" and "v1.2d1 20171231" became
204
+ JATS "1.2d2" and "v1.2d2 20180401".
205
+
206
+ No module names were changed.
207
+
208
+ =============================================================
209
+ JATS Version 1.2d1 (ANSI/NISO Z39.96-2015)
210
+ (DAL/BTU) v1.2d1 (2017-12-31)
211
+
212
+ NISO JATS is a continuing maintenance NISO Standard, which
213
+ requires voting by the ANSI and NISO memberships to be changed.
214
+
215
+ This draft DTD represents an interim version of the
216
+ non-normative JATS DTD Suite, as an indication to JATS users
217
+ the decisions that have been made by the JATS Standing
218
+ Committee. This draft has not yet been given public review
219
+ or voting. The formal public identifiers were changed in the
220
+ modules and the catalogs.
221
+
222
+ 12. JATS "1.2d1" and "v1.2d1 20170631" became
223
+ JATS "1.2d1" and "v1.2d1 20171231".
224
+
225
+ =============================================================
226
+ JATS Version 1.2d1 (DAL/BTU) v1.2d1 (2017-06-31)
227
+
228
+ NISO JATS is a continuing maintenance NISO Standard, which
229
+ requires voting by the ANSI and NISO memberships to be changed.
230
+
231
+ This draft DTD represents an interim version of the
232
+ non-normative JATS DTD Suite, as an indication to JATS users
233
+ the decisions that have been made by the JATS Standing
234
+ Committee. This draft has not yet been given public review
235
+ or voting. The formal public identifiers were changed in the
236
+ modules and the catalogs.
237
+
238
+ 11. JATS became version "1.2d1" and "v1.1d2 20170631"
239
+
240
+ =============================================================
241
+ JATS Version 1.1 (DAL/BTU) v1.1 (2015-12-15)
242
+
243
+ JATS is a continuing maintenance NISO Standard, which
244
+ requires voting by the ANSI and NISO memberships to be changed.
245
+ JATS 1.1 was approved in late 2015, so the formal public
246
+ identifiers were changed in the modules and the catalogs.
247
+ No model or attribute changes were made at this time.
248
+
249
+ 10. JATS became version "1.1" and "v1.1 20151215"
250
+ BITS remained version "2.0" but becomes "v2.0 20151225"
251
+
252
+ =============================================================
253
+ JATS Version 1.1d3 (DAL/BTU) v1.1d3 (2015-03-01)
254
+
255
+ The changes in this release are in response to NISO
256
+ License and Indicators Recommended Practice.
257
+
258
+ NISO JATS is a continuing maintenance NISO Standard, which
259
+ requires voting by the NISO membership to be changed. This
260
+ Committee Draft 1.1d3 will be sent to the NISO voting
261
+ membership, to become (if approved) NISO JATS 1.1.
262
+
263
+ This draft DTD represents an interim version of the
264
+ non-normative JATS DTD Suite, as an indication to JATS users
265
+ the decisions that have been made by the JATS Standing
266
+ Committee.
267
+
268
+ 9. JATS became version "1.1d3" and "v1.1 20150301//EN"
269
+
270
+ =============================================================
271
+ JATS Version 1.1d2 (DAL/BTU) v1.1d2 (2014-09-30)
272
+
273
+ NISO JATS is a continuing maintenance NISO Standard, which
274
+ requires voting by the NISO membership to be changed. This
275
+ Committee Draft 1.1d2 will be sent to the NISO voting
276
+ membership, to become (if approved) NISO JATS 1.1.
277
+
278
+ This catalog represents an interim version of the
279
+ non-normative JATS DTD Suite, as an indication to JATS users
280
+ the decisions that have been made by the JATS Standing
281
+ Committee.
282
+
283
+ 8. JATS became version "1.1d2" and "v1.1d2 20140930//EN"
284
+
285
+ =============================================================
286
+ NISO JATS Version 1.1d1 (DAL/BTU) v1.1 (2013-11-15)
287
+
288
+ ANSI/NISO Z39.96-2012 (pre-release for V1.0 BITS; Version 1.1d1)
289
+
290
+ NISO JATS Standing Committee met and answered the requests and
291
+ suggestions from the NISO request forms.
292
+
293
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
294
+ XSDs, RNGs and supporting documentation are available at
295
+ http://jats.nlm.nih.gov/1.3d2/
296
+
297
+ 7. GLOBAL ATTRIBUTES - Added the new parameter entity
298
+ %jats-common-atts;
299
+ to every element in this module. This PE adds (for now) the
300
+ @id attribute and the @xml:base attribute to every element,
301
+ whether metadata or narrative.
302
+ Since the @id in this parameter entity is optional, a second
303
+ parameter entity jats-common-atts-id-required was also added.
304
+ The two are kept in sync with the jats-base-atts parameter
305
+ entity.
306
+
307
+ =============================================================
308
+ NISO JATS Version 1.0 (DAL/BTU) v1.0 (2012-xx-xx)
309
+
310
+ ANSI/NISO Z39.96-2012 (Version 1.0)
311
+
312
+ Details concerning ANSI/NISO Z39.96-2012 JATS-based DTDs,
313
+ XSDs, RNGs and supporting documentation are available at
314
+ http://jats.nlm.nih.gov/1.3d2/
315
+
316
+ 6. RELATED-OBJECT ATTRIBUTES - Added the attribute @ext-link-type
317
+
318
+ 5. RELATED-OBJECT ATTRIBUTES - Added the linking attribute to
319
+ <related-object> through the "might-link-atts".
320
+
321
+ 4. Updated the DTD-version attribute to "1.0" and the formal
322
+ public identifier to the date: "v1.0 20120330//EN".
323
+
324
+ =============================================================
325
+ Version 0.4 (DAL/BTU) v0.4 (2011-01-31)
326
+
327
+ This Tag Set is in the process of becoming a NISO standard.
328
+ The version numbers are starting over from 0.4", as a Trial
329
+ Use Draft, to be made into "Version 1.0" when the Tag Suite
330
+ becomes a NISO standard. Thus, the version number that would
331
+ have been "NLM Version 3.1 Draft" has become NISO JATS
332
+ "Version 0.4".
333
+
334
+ Details on NISO Trial Use Draft Version 0.4 are available at
335
+ http://jats.nlm.nih.gov/JATS-0.4.
336
+
337
+ 3. Updated the DTD-version attribute to "0.4"
338
+
339
+ 2. Updated the public identifier to "v0.4 20110131",
340
+ modified the formal public identifier to include "JATS (Z39.96)",
341
+ and the filename as delivered to include "JATS" and the
342
+ new version number "0".
343
+
344
+ =============================================================
345
+ Version 3.0 (DAL/BTU) v3.0 (2007-10-31)
346
+
347
+ Version 3.0 is the first non-backward-compatible release.
348
+ In addition to the usual incremental changes, some
349
+ elements and attributes have been renamed and/or remodeled
350
+ to better meet user needs and to increase tag set consistency.
351
+ All module change histories are available through the Tag Suite
352
+ web site at http://dtd.nlm.nih.gov.
353
+
354
+ Details on version 3.0 are available at
355
+ http://dtd.nlm.nih.gov/3.0.
356
+
357
+ 1. Updated public identifier to "v3.0 20071031//EN"
358
+ -->
359
+ <!-- ============================================================= -->
360
+ <!--
361
+ Details concerning
362
+ ANSI/NISO Z39.96-2015 JATS-based DTDs, XSDs,
363
+ RNGs and supporting documentation are available at
364
+ http://jats.nlm.nih.gov/1.1/
365
+ -->
366
+ <!-- ============================================================= -->
367
+ <!-- RELATED OBJECT ATTRIBUTES -->
368
+ <!-- ============================================================= -->
369
+ <!-- RELATED OBJECT ATTRIBUTES -->
370
+ <!-- Attributes for <related-object> -->
371
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
372
+ <define name="related-object-atts">
373
+ <ref name="jats-common-atts"/>
374
+ <optional>
375
+ <attribute name="link-type"/>
376
+ </optional>
377
+ <optional>
378
+ <attribute name="ext-link-type"/>
379
+ </optional>
380
+ <optional>
381
+ <attribute name="source-id"/>
382
+ </optional>
383
+ <optional>
384
+ <attribute name="source-id-type"/>
385
+ </optional>
386
+ <optional>
387
+ <attribute name="source-type"/>
388
+ </optional>
389
+ <optional>
390
+ <attribute name="document-id"/>
391
+ </optional>
392
+ <optional>
393
+ <attribute name="document-id-type"/>
394
+ </optional>
395
+ <optional>
396
+ <attribute name="document-type"/>
397
+ </optional>
398
+ <optional>
399
+ <attribute name="object-id"/>
400
+ </optional>
401
+ <optional>
402
+ <attribute name="object-id-type"/>
403
+ </optional>
404
+ <optional>
405
+ <attribute name="object-type"/>
406
+ </optional>
407
+ <optional>
408
+ <attribute name="content-type"/>
409
+ </optional>
410
+ <optional>
411
+ <attribute name="specific-use"/>
412
+ </optional>
413
+ <optional>
414
+ <attribute name="xml:lang">
415
+ <data type="NMTOKEN"/>
416
+ </attribute>
417
+ </optional>
418
+ <ref name="might-link-atts"/>
419
+ </define>
420
+ <!-- ============================================================= -->
421
+ <!-- RELATED OBJECT ELEMENT -->
422
+ <!-- ============================================================= -->
423
+ <!-- RELATED OBJECT ELEMENTS -->
424
+ <!-- Elements allowed inside <related-object> -->
425
+ <!-- RELATED OBJECT INFORMATION -->
426
+ <!--
427
+ Wrapper element, used as a container for
428
+ text links to a related object, possibly
429
+ accompanied by a very brief description of
430
+ the object, for example a related book, a
431
+ related chapter or figure in a book, a
432
+ related dataset, etc.
433
+ Details at:
434
+ http://jats.nlm.nih.gov/archiving/tag-library/1.3/index.html?elem=related-object
435
+ http://jats.nlm.nih.gov/publishing/tag-library/1.3/index.html?elem=related-object
436
+ http://jats.nlm.nih.gov/articleauthoring/tag-library/1.3/index.html?elem=related-object
437
+ -->
438
+ <define name="related-object">
439
+ <element name="related-object">
440
+ <ref name="related-object-attlist"/>
441
+ <zeroOrMore>
442
+ <choice>
443
+ <text/>
444
+ <ref name="related-object-elements"/>
445
+ </choice>
446
+ </zeroOrMore>
447
+ </element>
448
+ </define>
449
+ <define name="related-object-attlist" combine="interleave">
450
+ <ref name="related-object-atts"/>
451
+ </define>
452
+ </grammar>
453
+ <!-- ================== End Related Object Element Module ======== -->