File: referenceMod.xsd

package info (click to toggle)
jaxe 3.5-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 39,024 kB
  • sloc: java: 40,756; xml: 20,913; sh: 83; makefile: 32
file content (546 lines) | stat: -rw-r--r-- 20,631 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<?xml version="1.0" encoding="UTF-8"?>
<!-- ============================================================= -->
<!--                    HEADER                                     -->
<!-- ============================================================= -->
<!--  MODULE:    DITA Reference XSD  Module                        -->
<!--  VERSION:   1.2                                             -->
<!--  DATE:      July 2007                                     -->
<!--                                                               -->
<!-- ============================================================= -->

<!-- ============================================================= -->
<!-- SYSTEM:     Darwin Information Typing Architecture (DITA)     -->
<!--                                                               -->
<!-- PURPOSE:    XSD to describe DITA References                   -->
<!--                                                               -->
<!-- ORIGINAL CREATION DATE:                                       -->
<!--             March 2001                                        -->
<!--                                                               -->
<!--             (C) Copyright OASIS-Open.org 2005, 2009                -->
<!--             (C) Copyright IBM Corporation 2001, 2004.         -->
<!--             All Rights Reserved.                              -->
<!-- ============================================================= -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
  <!-- ==================== Import Section ======================= -->
   <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.2"/>
   <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="urn:oasis:names:tc:dita:xsd:ditaarch.xsd:1.2"/>
   
   <xs:annotation>
    <xs:appinfo>
      <dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic reference)</dita:domainsModule>
    </xs:appinfo>
    <xs:documentation> 
    
    </xs:documentation>
  </xs:annotation>

  <xs:element name="reference">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>reference</keyword>&gt; element defines a top-level container
        for a reference topic. Reference topics document programming constructs or
        facts about a product. Examples of reference topics include language elements,
        class descriptions, commands, functions, statements, protocols, types, declarators,
        operands, and API information, which provide quick access to facts, but no
        explanation of concepts or procedures. Reference topics have the same high-level
        structure as any other topic type, with a title, short description, and body.
        Within the body, reference topics are typically organized into one or more
        sections, property lists, and tables. The reference topic type provides general
        rules that apply to all kinds of reference information, using elements like &lt;<keyword>refsyn</keyword>&gt; for
        syntax or signatures, and &lt;<keyword>properties</keyword>&gt; for lists of properties
        and values.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="reference.class">
          <xs:attribute ref="class" default="- topic/topic reference/reference "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="refbody">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>refbody</keyword>&gt; element is a container for the
        main content of the reference topic. Reference topics limit the body structure
        to tables (both simple and standard), property lists, syntax sections, and
        generic sections and examples, in any sequence or number.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="refbody.class">
          <xs:attribute ref="class" default="- topic/body reference/refbody "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="refsyn">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>refsyn</keyword>&gt; element is a special section inside
        a reference topic. The section often contains syntax or signature content
        (for example, a command-line utility's calling syntax, or an API's signature).
        The &lt;<keyword>refsyn</keyword>&gt; contains a brief, possibly diagrammatic
        description of the subject's interface or high-level structure.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:complexContent>
        <xs:extension base="refsyn.class">
          <xs:attribute ref="class" default="- topic/section reference/refsyn "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="properties">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>properties</keyword>&gt; element gives a list of properties for 
        the subject of the current topic, for example whether a class is public or protected. 
        Each property can include the type, value, and a description. The typical rendering is 
        usually in a table-like format. To represent multiple values for a type, just create 
        additional property elements and use only the &lt;<keyword>propvalue</keyword>&gt; 
        element (and &lt;<keyword>propdesc</keyword>&gt; when needed) for each successive 
        value.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="properties.class">
          <xs:attribute ref="class" default="- topic/simpletable reference/properties "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="property">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>property</keyword>&gt; element represents a property
        of the current topic's subject. For example, if the current topic is a class,
        the property might show that the class is protected rather than public.
        It contains three optional elements: type, value, and description.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="property.class">
          <xs:attribute ref="class" default="- topic/strow  reference/property "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="propvalue">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>propvalue</keyword>&gt; element indicates the value or values
        for the current property type. You can put values in separate rows if they
        need separate descriptions, and just leave the &lt;<keyword>proptype</keyword>&gt; element
        blank.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:complexContent>
        <xs:extension base="propvalue.class">
          <xs:attribute ref="class" default="- topic/stentry  reference/propvalue "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="propdesc">
    <xs:annotation>
      <xs:documentation>
        The &lt;<keyword>propdesc</keyword>&gt; element is used to provide a short description
        of the property type and its listed values (or just the value).
      </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:complexContent>
        <xs:extension base="propdesc.class">
          <xs:attribute ref="class" default="- topic/stentry  reference/propdesc "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="proptype">
    <xs:annotation>
      <xs:documentation>
        The proptype element describes the type of property.        
      </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:complexContent>
        <xs:extension base="proptype.class">
          <xs:attribute ref="class" default="- topic/stentry reference/proptype "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="prophead"> 
    <xs:annotation>
      <xs:documentation>
        The prophead element supports regular headings for the properties element.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="prophead.class">
          <xs:attribute ref="class" default="- topic/sthead  reference/prophead "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="propvaluehd">
    <xs:complexType mixed="true">
      <xs:complexContent>
        <xs:extension base="propvaluehd.class">
          <xs:attribute ref="class" default="- topic/stentry  reference/propvaluehd "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
   
  <xs:element name="propdeschd">
    <xs:complexType mixed="true">
     <xs:complexContent>
       <xs:extension base="propdeschd.class">
         <xs:attribute ref="class" default="- topic/stentry  reference/propdeschd "/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType> 
  </xs:element>
   
  <xs:element name="proptypehd">
    <xs:complexType mixed="true">
      <xs:complexContent>
        <xs:extension base="proptypehd.class">
          <xs:attribute ref="class" default="- topic/stentry reference/proptypehd "/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>

   <xs:group name="reference-info-types">
    <xs:choice>
      <xs:group ref="reference"/>
      <xs:group ref="info-types"/>
    </xs:choice>
  </xs:group>

   <!-- Base type: topic.class -->
  <xs:complexType name="reference.class">
    <xs:sequence>
      <xs:group ref="reference.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="reference.attributes"/>
  </xs:complexType>
   
   <xs:group name="reference.content">
     <xs:sequence>
       <xs:sequence>
      <xs:group ref="title"/>
      <xs:group ref="titlealts" minOccurs="0"/>
      <xs:choice minOccurs="0">
        <xs:group ref="shortdesc" minOccurs="0"/>
        <xs:group ref="abstract" minOccurs="0"/>
      </xs:choice>
      <xs:group ref="prolog" minOccurs="0"/>
      <xs:group ref="refbody" minOccurs="0"/>
      <xs:group ref="related-links" minOccurs="0"/>
      <xs:group ref="reference-info-types" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="reference.attributes">
     <xs:attribute name="id" type="xs:ID" use="required"/>
    <xs:attributeGroup ref="conref-atts" />
    <xs:attributeGroup ref="domains-att"/>
    <xs:attribute ref="ditaarch:DITAArchVersion"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="select-atts"/>
    <xs:attributeGroup ref="localization-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

  <!-- Base type: body.class -->
  <xs:complexType name="refbody.class">
    <xs:sequence>
      <xs:group ref="refbody.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="refbody.attributes"/>
  </xs:complexType>
   
   <xs:group name="refbody.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="refsyn" minOccurs="0"/>
      <xs:group ref="table" minOccurs="0"/>
      <xs:group ref="simpletable" minOccurs="0"/>
      <xs:group ref="properties" minOccurs="0"/>
      <xs:group ref="section" minOccurs="0"/>
      <xs:group ref="example" minOccurs="0"/>
      <xs:group ref="data.elements.incl" minOccurs="0"/>
      <xs:group ref="foreign.unknown.incl" minOccurs="0"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="refbody.attributes">
     <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attribute name="base" type="xs:string" />
    <xs:attributeGroup ref="base-attribute-extensions"/>
    <xs:attributeGroup ref="id-atts"/>
    <xs:attributeGroup ref="localization-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>


   <!-- Base type: section.class -->
  <xs:complexType name="refsyn.class" mixed="true">
    <xs:sequence>
      <xs:group ref="refsyn.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="refsyn.attributes"/>
  </xs:complexType>
   
   <xs:group name="refsyn.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="section.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="refsyn.attributes">
     <xs:attribute name="spectitle" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

  <!-- Base type: simpletable.class -->
  <xs:complexType name="properties.class">
    <xs:sequence>
      <xs:group ref="properties.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="properties.attributes"/>
  </xs:complexType>
   
   <xs:group name="properties.content">
     <xs:sequence>
       <xs:sequence>
      <xs:group ref="prophead" minOccurs="0"/>
      <xs:group ref="property" maxOccurs="unbounded"/>
    </xs:sequence>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="properties.attributes">
     <xs:attribute name="relcolwidth" type="xs:string"/>
    <xs:attribute name="keycol" type="xs:NMTOKEN"/>
    <xs:attribute name="refcols" type="xs:NMTOKENS"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attribute name="spectitle" type="xs:string"/>
    <xs:attributeGroup ref="display-atts"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>


  <!-- Base type: sthead.class -->
  <xs:complexType name="prophead.class">
    <xs:sequence>
      <xs:group ref="prophead.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="prophead.attributes"/>
  </xs:complexType>
   
   <xs:group name="prophead.content">
     <xs:sequence>
       <xs:sequence>
      <xs:group ref="proptypehd" minOccurs="0"/>
      <xs:group ref="propvaluehd" minOccurs="0"/>
      <xs:group ref="propdeschd" minOccurs="0"/>
    </xs:sequence>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="prophead.attributes">
     <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

  <!-- Base type: stentry.class -->
  <xs:complexType name="proptypehd.class" mixed="true">
    <xs:sequence>
      <xs:group ref="proptypehd.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="proptypehd.attributes"/>
  </xs:complexType>
   
   <xs:group name="proptypehd.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tblcell.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="proptypehd.attributes">
     <xs:attribute name="specentry" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

  <!-- Base type: stentry.class -->
  <xs:complexType name="propvaluehd.class" mixed="true">
     <xs:sequence>
      <xs:group ref="propvaluehd.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="propvaluehd.attributes"/>
  </xs:complexType>
   
   <xs:group name="propvaluehd.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tblcell.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="propvaluehd.attributes">
     <xs:attribute name="specentry" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

  <!-- Base type: stentry.class -->
  <xs:complexType name="propdeschd.class" mixed="true">
    <xs:sequence>
      <xs:group ref="propdeschd.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="propdeschd.attributes"/>
  </xs:complexType>
   
   <xs:group name="propdeschd.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tblcell.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="propdeschd.attributes">
     <xs:attribute name="specentry" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

  <!-- Base type: strow.class -->
  <xs:complexType name="property.class">
    <xs:sequence>
      <xs:group ref="property.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="property.attributes"/>
  </xs:complexType>
   
   <xs:group name="property.content">
     <xs:sequence>
       <xs:sequence>
      <xs:group ref="proptype" minOccurs="0"/>
      <xs:group ref="propvalue" minOccurs="0"/>
      <xs:group ref="propdesc" minOccurs="0"/>
    </xs:sequence>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="property.attributes">
     <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

   <!-- Base type: stentry.class -->
  <xs:complexType name="proptype.class" mixed="true">
    <xs:sequence>
      <xs:group ref="proptype.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="proptype.attributes"/>
  </xs:complexType>
   
   <xs:group name="proptype.content">
     <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ph.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="proptype.attributes">
     <xs:attribute name="specentry" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

   <!-- Base type: stentry.class -->
  <xs:complexType name="propvalue.class" mixed="true">
    <xs:sequence>
      <xs:group ref="propvalue.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="propvalue.attributes"/>
  </xs:complexType>
   
   <xs:group name="propvalue.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ph.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="propvalue.attributes">
     <xs:attribute name="specentry" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>

   <!-- Base type: stentry.class -->
  <xs:complexType name="propdesc.class" mixed="true">
    <xs:sequence>
      <xs:group ref="propdesc.content"/>
    </xs:sequence>
    <xs:attributeGroup ref="propdesc.attributes"></xs:attributeGroup>
  </xs:complexType>
   
   <xs:group name="propdesc.content">
     <xs:sequence>
       <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="desc.cnt"/>
    </xs:choice>
     </xs:sequence>
   </xs:group>
   
   <xs:attributeGroup name="propdesc.attributes">
     <xs:attribute name="specentry" type="xs:string"/>
    <xs:attribute name="outputclass" type="xs:string"/>
    <xs:attributeGroup ref="univ-atts"/>
    <xs:attributeGroup ref="global-atts"/>
   </xs:attributeGroup>
</xs:schema>