metanorma-standoc 1.10.5 → 1.10.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -175,7 +175,8 @@ RSpec.describe Asciidoctor::Standoc do
175
175
  term:[blah,word]
176
176
  {{blah,term,word}}
177
177
  {{blah,term,word,xref}}
178
- {{blah,term,word,xref,option="noital,noref"}}
178
+ {{blah,term,word,xref,options="noital,noref,nolinkmention,nolinkref"}}
179
+ {{blah,term,word,xref,options="ital,ref,linkmention,linkref"}}
179
180
 
180
181
  [[clause1]]
181
182
  == Clause
@@ -283,7 +284,17 @@ RSpec.describe Asciidoctor::Standoc do
283
284
  <tt>blah</tt>
284
285
  </strong>
285
286
  </concept>
286
- <concept ital='false' ref='false'>
287
+ <concept ital='false' ref='false' linkmention='false' linkref='false'>
288
+ <strong>
289
+ term
290
+ <tt>blah</tt>
291
+ , display
292
+ <tt>term</tt>
293
+ not resolved via ID
294
+ <tt>blah</tt>
295
+ </strong>
296
+ </concept>
297
+ <concept ital='true' ref='true' linkmention='true' linkref='true'>
287
298
  <strong>
288
299
  term
289
300
  <tt>blah</tt>
@@ -323,8 +334,8 @@ RSpec.describe Asciidoctor::Standoc do
323
334
  {{<<Clause2>>,word}}
324
335
  {{<<Clause2>>,word,term}}
325
336
  {{<<Clause2>>,word,term,xref}}
326
- {{<<Clause2>>,word,term,xref,option="noital,noref"}}
327
- {{<<Clause2>>,word,term,xref,option="ital,ref"}}
337
+ {{<<Clause2>>,word,term,xref,options="noital,noref,nolinkmention,nolinkref"}}
338
+ {{<<Clause2>>,word,term,xref,options="ital,ref,linkmention,linkref"}}
328
339
 
329
340
  == Terms and definitions
330
341
  === Clause1
@@ -398,12 +409,12 @@ RSpec.describe Asciidoctor::Standoc do
398
409
  <renderterm>term</renderterm>
399
410
  <xref target='Clause2'>xref</xref>
400
411
  </concept>
401
- <concept ital='false' ref='false'>
412
+ <concept ital='false' ref='false' linkmention='false' linkref='false'>
402
413
  <refterm>word</refterm>
403
414
  <renderterm>term</renderterm>
404
415
  <xref target='Clause2'>xref</xref>
405
416
  </concept>
406
- <concept ital='true' ref='true'>
417
+ <concept ital='true' ref='true' linkmention='true' linkref='true'>
407
418
  <refterm>word</refterm>
408
419
  <renderterm>term</renderterm>
409
420
  <xref target='Clause2'>xref</xref>
@@ -678,7 +689,7 @@ RSpec.describe Asciidoctor::Standoc do
678
689
  <definitions id='clause1' obligation='normative'>
679
690
  <title>Symbols and abbreviated terms</title>
680
691
  <dl id='_'>
681
- <dt id='symbol-_-_x_-'>
692
+ <dt id='symbol-_-__x230a_x__x230b_-'>
682
693
  <stem type='MathML'>
683
694
  <math xmlns='http://www.w3.org/1998/Math/MathML'>
684
695
  <mo>&#8970;</mo>
@@ -700,7 +711,7 @@ RSpec.describe Asciidoctor::Standoc do
700
711
  function.
701
712
  </p>
702
713
  </dd>
703
- <dt id='symbol-_-_x_--1'>
714
+ <dt id='symbol-_-__x2308_x__x2309_-'>
704
715
  <stem type='MathML'>
705
716
  <math xmlns='http://www.w3.org/1998/Math/MathML'>
706
717
  <mo>&#8968;</mo>
@@ -1600,44 +1611,44 @@ RSpec.describe Asciidoctor::Standoc do
1600
1611
  [lutaml_uml_datamodel_description,#{example_file}]
1601
1612
  --
1602
1613
  [.diagram_include_block, base_path="requirements/"]
1603
- ...
1614
+ .....
1604
1615
  Diagram text
1605
- ...
1616
+ .....
1606
1617
 
1607
1618
  [.include_block, package="Another", base_path="spec/fixtures/"]
1608
- ...
1619
+ .....
1609
1620
  my text
1610
- ...
1621
+ .....
1611
1622
 
1612
1623
  [.include_block, base_path="spec/fixtures/"]
1613
- ...
1624
+ .....
1614
1625
  my text
1615
- ...
1626
+ .....
1616
1627
 
1617
1628
  [.before]
1618
- ...
1629
+ .....
1619
1630
  mine text
1620
- ...
1631
+ .....
1621
1632
 
1622
1633
  [.before, package="Another"]
1623
- ...
1634
+ .....
1624
1635
  text before Another package
1625
- ...
1636
+ .....
1626
1637
 
1627
1638
  [.after, package="Another"]
1628
- ...
1639
+ .....
1629
1640
  text after Another package
1630
- ...
1641
+ .....
1631
1642
 
1632
1643
  [.after, package="CityGML"]
1633
- ...
1644
+ .....
1634
1645
  text after CityGML package
1635
- ...
1646
+ .....
1636
1647
 
1637
1648
  [.after]
1638
- ...
1649
+ .....
1639
1650
  footer text
1640
- ...
1651
+ .....
1641
1652
  --
1642
1653
  TEXT
1643
1654
  end
@@ -340,6 +340,29 @@ RSpec.describe Asciidoctor::Standoc do
340
340
  # INPUT
341
341
  # end
342
342
 
343
+ it "warns and aborts if concept attributes are malformed" do
344
+ FileUtils.rm_f "test.xml"
345
+ FileUtils.rm_f "test.err"
346
+ begin
347
+ input = <<~INPUT
348
+ = Document title
349
+ Author
350
+ :docfile: test.adoc
351
+ :nodoc:
352
+
353
+ == Symbols and Abbreviated Terms
354
+ [[def]]DEF:: def
355
+
356
+ {{<<def>>,term,option="noital"}}
357
+ INPUT
358
+ expect { Asciidoctor.convert(input, *OPTIONS) }.to raise_error(RuntimeError)
359
+ rescue SystemExit, RuntimeError
360
+ end
361
+ expect(File.read("test.err"))
362
+ .to include 'processing {{&lt;&lt;def&gt;&gt;,term,option="noital"}}: error processing ,term,option="noital" as CSV'
363
+ expect(File.exist?("test.xml")).to be false
364
+ end
365
+
343
366
  it "warns and aborts if concept/xref does not point to term or definition" do
344
367
  FileUtils.rm_f "test.xml"
345
368
  FileUtils.rm_f "test.err"
@@ -1,5 +1,6 @@
1
1
  = X
2
2
  A
3
+ :no-pdf:
3
4
 
4
5
  == Clause
5
6
 
@@ -1,326 +1,326 @@
1
- <preface>
2
- <foreword id='_' obligation='informative'>
3
- <title>Foreword</title>
4
- <p id='_'>mine text</p>
5
- </foreword>
6
- </preface>
7
- <sections>
8
- <clause id='lutaml-section-wrapper_nested_package' inline-header='false' obligation='normative'>
9
- <title>Wrapper nested package package</title>
10
- <clause id='_' inline-header='false' obligation='normative'>
11
- <title>Wrapper nested package overview</title>
12
- <p id='_'>Diagram text</p>
13
- <figure id='figure-EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8'>
14
- <name>Fig B1 Full model</name>
15
- <image src='spec/assets/requirements//EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8.png' id='_' mimetype='image/png' height='auto' width='auto'/>
16
- </figure>
17
- <p id='_'>The Wrapper nested package package is organized into 1 packages:</p>
18
- <ol id='_' type='arabic'>
19
- <li>
20
- <p id='_'>ISO 19135 Procedures for item registration XML package</p>
21
- </li>
22
- </ol>
23
- <p id='_'>mine text</p>
24
- </clause>
25
- <clause id='lutaml-section-iso_19135_procedures_for_item_registration_xml' inline-header='false' obligation='normative'>
26
- <title>ISO 19135 Procedures for item registration XML package</title>
27
- <clause id='_' inline-header='false' obligation='normative'>
28
- <title>ISO 19135 Procedures for item registration XML overview</title>
29
- <p id='_'>Diagram text</p>
30
- <figure id='figure-EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8'>
31
- <name>Fig B1 Full model</name>
32
- <image src='spec/assets/requirements//EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8.png' id='_' mimetype='image/png' height='auto' width='auto'/>
33
- </figure>
34
- </clause>
35
- <clause id='_' inline-header='false' obligation='normative'>
36
- <title>Defining tables</title>
37
- <table id='tab-P-iso_19135_procedures_for_item_registration_xml-C-EAID_82206E96_8D23_48dd_AC2F_31939C484AF2' width='100%'>
38
- <name>
39
- Elements of &#8220;ISO 19135 Procedures for item registration
40
- XML::RE_Register&#8221; (class)
41
- </name>
42
- <tbody>
43
- <tr>
44
- <th valign='top' align='left'>Name:</th>
45
- <td colspan='7' valign='top' align='left'>
46
- <p id='_'>RE_Register</p>
47
- </td>
48
- </tr>
49
- <tr>
50
- <th valign='top' align='left'>Definition:</th>
51
- <td colspan='7' valign='top' align='left'>
52
- <p id='_'>
53
- The class &#8220;RE_Register&#8221; specifies information
54
- about the register itself. It is a subtype of the Register
55
- class in the core profile.
56
- </p>
57
- </td>
58
- </tr>
59
- <tr>
60
- <th valign='top' align='left'>Stereotype:</th>
61
- <td colspan='7' valign='top' align='left'>
62
- <p id='_'>interface</p>
63
- </td>
64
- </tr>
65
- <tr>
66
- <th valign='top' align='left'>Inheritance from:</th>
67
- <td colspan='7' valign='top' align='left'>
68
- <p id='_'>Register</p>
69
- </td>
70
- </tr>
71
- <tr>
72
- <th valign='top' align='left'>Generalization of:</th>
73
- <td colspan='7' valign='top' align='left'>
74
- <p id='_'>TermRegister, CL_ClassificationRegister, LC_LCMLRegister</p>
75
- </td>
76
- </tr>
77
- <tr>
78
- <th valign='top' align='left'>Abstract:</th>
79
- <td colspan='7' valign='top' align='left'>
80
- <p id='_'>True</p>
81
- </td>
82
- </tr>
83
- <tr>
84
- <th valign='top' rowspan='2' align='left'>Associations:</th>
85
- <td colspan='4' valign='top' align='left'>
86
- <p id='_'>
87
- <em>Association with</em>
88
- </p>
89
- </td>
90
- <td valign='top' align='left'>
91
- <p id='_'>
92
- <em>Obligation</em>
93
- </p>
94
- </td>
95
- <td valign='top' align='left'>
96
- <p id='_'>
97
- <em>Maximum occurrence</em>
98
- </p>
99
- </td>
100
- <td valign='top' align='left'>
101
- <p id='_'>
102
- <em>Provides</em>
103
- </p>
104
- </td>
105
- </tr>
106
- <tr>
107
- <td colspan='4' valign='top' align='left'>
108
- <p id='_'>RE_ReferenceSource</p>
109
- </td>
110
- <td valign='top' align='left'>
111
- <p id='_'>C</p>
112
- </td>
113
- <td valign='top' align='left'>
114
- <p id='_'>*</p>
115
- </td>
116
- <td valign='top' align='left'>
117
- <p id='_'>citation</p>
118
- </td>
119
- </tr>
120
- <tr>
121
- <th valign='top' rowspan='6' align='left'>Public attributes:</th>
122
- <td valign='top' align='left'>
123
- <p id='_'>
124
- <em>Name</em>
125
- </p>
126
- </td>
127
- <td colspan='2' valign='top' align='left'>
128
- <p id='_'>
129
- <em>Definition</em>
130
- </p>
131
- </td>
132
- <td valign='top' align='left'>
133
- <p id='_'>
134
- <em>Derived</em>
135
- </p>
136
- </td>
137
- <td valign='top' align='left'>
138
- <p id='_'>
139
- <em>Obligation</em>
140
- </p>
141
- </td>
142
- <td valign='top' align='left'>
143
- <p id='_'>
144
- <em>Maximum occurrence</em>
145
- </p>
146
- </td>
147
- <td valign='top' align='left'>
148
- <p id='_'>
149
- <em>Data type</em>
150
- </p>
151
- </td>
152
- </tr>
153
- <tr>
154
- <td valign='top' align='left'>
155
- <p id='_'>alternativeLanguages</p>
156
- </td>
157
- <td colspan='2' valign='top' align='left'>
158
- <p id='_'>
159
- The attribute &#8220;alternativeLanguages&#8221; supports
160
- cultural and linguistic adaptability, individual items in a
161
- register may provide elements of information in additional
162
- languages other than the operating language of the register.
163
- The attribute
164
- <em>alternativeLanguages</em>
165
- shall be represented as a set of instances of RE_Locale,
166
- each specifying an additional unique locale used by items in
167
- the register. Every member of the set shall be used by at
168
- least one item in the register. The
169
- <em>locale</em>
170
- of every
171
- <em>alternativeExpression</em>
172
- used by any item in the register shall be included in this
173
- set of RE_Locales. This attribute provides a summary of
174
- alternative locales used by items in a register. Register
175
- owners shall specify and publish their policy as to whether
176
- all or only some of the items in a register shall have
177
- alternative expressions.
178
- </p>
179
- </td>
180
- <td valign='top' align='left'/>
181
- <td valign='top' align='left'>
182
- <p id='_'>C</p>
183
- </td>
184
- <td valign='top' align='left'>
185
- <p id='_'>1</p>
186
- </td>
187
- <td valign='top' align='left'>
188
- <p id='_'>Set&lt;RE_Locale&gt;</p>
189
- </td>
190
- </tr>
191
- <tr>
192
- <td valign='top' align='left'>
193
- <p id='_'>contentSummary</p>
194
- </td>
195
- <td colspan='2' valign='top' align='left'>
196
- <p id='_'>
197
- The attribute &#8220;contentSummary&#8221; is be represented
198
- as a CharacterString containing a general statement of the
199
- purpose for which items in the register are made available
200
- to potential users. It should also specify any limits to the
201
- scope of the register and identify the types of applications
202
- for which the items are intended. NOTE The scope of a
203
- register could be limited by theme, by region, by language
204
- or other criteria. EXAMPLE The scope of a terminology
205
- register could be limited to Spanish terms used to describe
206
- landforms in Latin America.
207
- </p>
208
- </td>
209
- <td valign='top' align='left'/>
210
- <td valign='top' align='left'>
211
- <p id='_'>M</p>
212
- </td>
213
- <td valign='top' align='left'>
214
- <p id='_'>1</p>
215
- </td>
216
- <td valign='top' align='left'>
217
- <p id='_'>CharacterString</p>
218
- </td>
219
- </tr>
220
- <tr>
221
- <td valign='top' align='left'>
222
- <p id='_'>name</p>
223
- </td>
224
- <td colspan='2' valign='top' align='left'>
225
- <p id='_'>
226
- The attribute &#8220;name&#8221; is be represented as a
227
- CharacterString containing a compact and human-readable
228
- designator that is used to uniquely denote that register
229
- within the set of registers maintained by the register
230
- owner. In the case of a hierarchical register, the &#8220;
231
- <em>name&#8221;</em>
232
- of a subregister shall uniquely identify that subregister
233
- within the scope EXAMPLE &#239;&#191;&#189;ISO/TC 211
234
- Register of Feature Data Dictionaries and Feature
235
- Catalogues&#239;&#191;&#189; might be the name of the
236
- principal register of of all registers established by the
237
- owner of the principal register. a hierarchical register.
238
- &#239;&#191;&#189;DGIWG FACC Data
239
- Dictionary&#239;&#191;&#189; and &#239;&#191;&#189;IHO S-57
240
- Object Dictionary&#239;&#191;&#189; might be the names of
241
- subregisters within the hierarchy.
242
- </p>
243
- </td>
244
- <td valign='top' align='left'/>
245
- <td valign='top' align='left'>
246
- <p id='_'>M</p>
247
- </td>
248
- <td valign='top' align='left'>
249
- <p id='_'>1</p>
250
- </td>
251
- <td valign='top' align='left'>
252
- <p id='_'>CharacterString</p>
253
- </td>
254
- </tr>
255
- <tr>
256
- <td valign='top' align='left'>
257
- <p id='_'>operatingLanguage</p>
258
- </td>
259
- <td colspan='2' valign='top' align='left'>
260
- <p id='_'>
261
- The attribute &#8220;operatingLanguage&#8221; is represented
262
- as an instance of class RE_Locale that is used to specify
263
- language, country information and character encoding for the
264
- proper interpretation of the content of character strings in
265
- the register. The values of all character strings in the
266
- register shall be in accordance with the value of
267
- &#8220;operatingLanguage&#8221;, unless otherwise stated.
268
- </p>
269
- </td>
270
- <td valign='top' align='left'/>
271
- <td valign='top' align='left'>
272
- <p id='_'>M</p>
273
- </td>
274
- <td valign='top' align='left'>
275
- <p id='_'>1</p>
276
- </td>
277
- <td valign='top' align='left'>
278
- <p id='_'>EAID_3996125E_4828_4f3c_93BD_605E9059DE05</p>
279
- </td>
280
- </tr>
281
- <tr>
282
- <td valign='top' align='left'>
283
- <p id='_'>uniformResourceIdentifier</p>
284
- </td>
285
- <td colspan='2' valign='top' align='left'>
286
- <p id='_'>
287
- The attribute &#8220;uniformResourceIdentifier&#8221; takes
288
- as its value a set of URI&#8217;s, each referencing
289
- information about online resources associated with the
290
- register. EXAMPLE &#239;
291
- <em>OnLineResource.linkage</em>
292
- specifies a resource providing access to the complete
293
- content of the register. EXAMPLE
294
- &#239;&#191;&#189;http://www.digest.org/Navigate2.htm&#239;&#191;&#189; and &#239;&#191;&#189;http://www.epa.gov/opppmsd1/PPISdata/index.html&#239;&#191;&#189; are sample values of
295
- <em>OnLineResource.linkage</em>
296
- .
297
- </p>
298
- </td>
299
- <td valign='top' align='left'/>
300
- <td valign='top' align='left'>
301
- <p id='_'>M</p>
302
- </td>
303
- <td valign='top' align='left'>
304
- <p id='_'>*</p>
305
- </td>
306
- <td valign='top' align='left'>
307
- <p id='_'>URI</p>
308
- </td>
309
- </tr>
310
- <tr>
311
- <th valign='top' align='left'>Constraints:</th>
312
- <td colspan='7' valign='top' align='left'>
313
- <p id='_'>
314
- <tt>count(self.version +self.dateOfLastChange) &gt;= 1</tt>
315
- </p>
316
- </td>
317
- </tr>
318
- </tbody>
319
- </table>
320
- <p id='_'>footer text</p>
321
- <p id='_'>footer text</p>
322
- </clause>
323
- </clause>
324
- </clause>
325
- </sections>
326
-
1
+ <preface>
2
+ <foreword id='_' obligation='informative'>
3
+ <title>Foreword</title>
4
+ <p id='_'>mine text</p>
5
+ </foreword>
6
+ </preface>
7
+ <sections>
8
+ <clause id='_' inline-header='false' obligation='normative'>
9
+ <title>Wrapper nested package package</title>
10
+ <clause id='section-EAPK_9C96A88B_E98B_490b_8A9C_24AEDAC64293' inline-header='false' obligation='normative'>
11
+ <title>Wrapper nested package overview</title>
12
+ <p id='_'>Diagram text</p>
13
+ <figure id='figure-EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8'>
14
+ <name>Fig B1 Full model</name>
15
+ <image src='spec/assets/requirements//EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8.png' id='_' mimetype='image/png' height='auto' width='auto'/>
16
+ </figure>
17
+ <p id='_'>The Wrapper nested package package is organized into 1 packages:</p>
18
+ <ol id='_' type='arabic'>
19
+ <li>
20
+ <p id='_'>ISO 19135 Procedures for item registration XML package</p>
21
+ </li>
22
+ </ol>
23
+ <p id='_'>mine text</p>
24
+ </clause>
25
+ <clause id='_' inline-header='false' obligation='normative'>
26
+ <title>ISO 19135 Procedures for item registration XML package</title>
27
+ <clause id='section-EAPK_9C96A88B_E98B_490b_8A9C_24AEDAC64293' inline-header='false' obligation='normative'>
28
+ <title>ISO 19135 Procedures for item registration XML overview</title>
29
+ <p id='_'>Diagram text</p>
30
+ <figure id='figure-EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8'>
31
+ <name>Fig B1 Full model</name>
32
+ <image src='spec/assets/requirements//EAID_0E029ABF_C35A_49e3_9EEA_FFD4F32780A8.png' id='_' mimetype='image/png' height='auto' width='auto'/>
33
+ </figure>
34
+ </clause>
35
+ <clause id='_' inline-header='false' obligation='normative'>
36
+ <title>Defining tables</title>
37
+ <table id='section-EAID_82206E96_8D23_48dd_AC2F_31939C484AF2' width='100%'>
38
+ <name>
39
+ Elements of &#8220;ISO 19135 Procedures for item registration
40
+ XML::RE_Register&#8221; (class)
41
+ </name>
42
+ <tbody>
43
+ <tr>
44
+ <th valign='top' align='left'>Name:</th>
45
+ <td colspan='7' valign='top' align='left'>
46
+ <p id='_'>RE_Register</p>
47
+ </td>
48
+ </tr>
49
+ <tr>
50
+ <th valign='top' align='left'>Definition:</th>
51
+ <td colspan='7' valign='top' align='left'>
52
+ <p id='_'>
53
+ The class &#8220;RE_Register&#8221; specifies information
54
+ about the register itself. It is a subtype of the Register
55
+ class in the core profile.
56
+ </p>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <th valign='top' align='left'>Stereotype:</th>
61
+ <td colspan='7' valign='top' align='left'>
62
+ <p id='_'>interface</p>
63
+ </td>
64
+ </tr>
65
+ <tr>
66
+ <th valign='top' align='left'>Inheritance from:</th>
67
+ <td colspan='7' valign='top' align='left'>
68
+ <p id='_'>Register</p>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <th valign='top' align='left'>Generalization of:</th>
73
+ <td colspan='7' valign='top' align='left'>
74
+ <p id='_'>TermRegister, CL_ClassificationRegister, LC_LCMLRegister</p>
75
+ </td>
76
+ </tr>
77
+ <tr>
78
+ <th valign='top' align='left'>Abstract:</th>
79
+ <td colspan='7' valign='top' align='left'>
80
+ <p id='_'>True</p>
81
+ </td>
82
+ </tr>
83
+ <tr>
84
+ <th valign='top' rowspan='2' align='left'>Associations:</th>
85
+ <td colspan='4' valign='top' align='left'>
86
+ <p id='_'>
87
+ <em>Association with</em>
88
+ </p>
89
+ </td>
90
+ <td valign='top' align='left'>
91
+ <p id='_'>
92
+ <em>Obligation</em>
93
+ </p>
94
+ </td>
95
+ <td valign='top' align='left'>
96
+ <p id='_'>
97
+ <em>Maximum occurrence</em>
98
+ </p>
99
+ </td>
100
+ <td valign='top' align='left'>
101
+ <p id='_'>
102
+ <em>Provides</em>
103
+ </p>
104
+ </td>
105
+ </tr>
106
+ <tr>
107
+ <td colspan='4' valign='top' align='left'>
108
+ <p id='_'>RE_ReferenceSource</p>
109
+ </td>
110
+ <td valign='top' align='left'>
111
+ <p id='_'>C</p>
112
+ </td>
113
+ <td valign='top' align='left'>
114
+ <p id='_'>*</p>
115
+ </td>
116
+ <td valign='top' align='left'>
117
+ <p id='_'>citation</p>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <th valign='top' rowspan='6' align='left'>Public attributes:</th>
122
+ <td valign='top' align='left'>
123
+ <p id='_'>
124
+ <em>Name</em>
125
+ </p>
126
+ </td>
127
+ <td colspan='2' valign='top' align='left'>
128
+ <p id='_'>
129
+ <em>Definition</em>
130
+ </p>
131
+ </td>
132
+ <td valign='top' align='left'>
133
+ <p id='_'>
134
+ <em>Derived</em>
135
+ </p>
136
+ </td>
137
+ <td valign='top' align='left'>
138
+ <p id='_'>
139
+ <em>Obligation</em>
140
+ </p>
141
+ </td>
142
+ <td valign='top' align='left'>
143
+ <p id='_'>
144
+ <em>Maximum occurrence</em>
145
+ </p>
146
+ </td>
147
+ <td valign='top' align='left'>
148
+ <p id='_'>
149
+ <em>Data type</em>
150
+ </p>
151
+ </td>
152
+ </tr>
153
+ <tr>
154
+ <td valign='top' align='left'>
155
+ <p id='_'>alternativeLanguages</p>
156
+ </td>
157
+ <td colspan='2' valign='top' align='left'>
158
+ <p id='_'>
159
+ The attribute &#8220;alternativeLanguages&#8221; supports
160
+ cultural and linguistic adaptability, individual items in a
161
+ register may provide elements of information in additional
162
+ languages other than the operating language of the register.
163
+ The attribute
164
+ <em>alternativeLanguages</em>
165
+ shall be represented as a set of instances of RE_Locale,
166
+ each specifying an additional unique locale used by items in
167
+ the register. Every member of the set shall be used by at
168
+ least one item in the register. The
169
+ <em>locale</em>
170
+ of every
171
+ <em>alternativeExpression</em>
172
+ used by any item in the register shall be included in this
173
+ set of RE_Locales. This attribute provides a summary of
174
+ alternative locales used by items in a register. Register
175
+ owners shall specify and publish their policy as to whether
176
+ all or only some of the items in a register shall have
177
+ alternative expressions.
178
+ </p>
179
+ </td>
180
+ <td valign='top' align='left'/>
181
+ <td valign='top' align='left'>
182
+ <p id='_'>C</p>
183
+ </td>
184
+ <td valign='top' align='left'>
185
+ <p id='_'>1</p>
186
+ </td>
187
+ <td valign='top' align='left'>
188
+ <p id='_'>Set&lt;RE_Locale&gt;</p>
189
+ </td>
190
+ </tr>
191
+ <tr>
192
+ <td valign='top' align='left'>
193
+ <p id='_'>contentSummary</p>
194
+ </td>
195
+ <td colspan='2' valign='top' align='left'>
196
+ <p id='_'>
197
+ The attribute &#8220;contentSummary&#8221; is be represented
198
+ as a CharacterString containing a general statement of the
199
+ purpose for which items in the register are made available
200
+ to potential users. It should also specify any limits to the
201
+ scope of the register and identify the types of applications
202
+ for which the items are intended. NOTE The scope of a
203
+ register could be limited by theme, by region, by language
204
+ or other criteria. EXAMPLE The scope of a terminology
205
+ register could be limited to Spanish terms used to describe
206
+ landforms in Latin America.
207
+ </p>
208
+ </td>
209
+ <td valign='top' align='left'/>
210
+ <td valign='top' align='left'>
211
+ <p id='_'>M</p>
212
+ </td>
213
+ <td valign='top' align='left'>
214
+ <p id='_'>1</p>
215
+ </td>
216
+ <td valign='top' align='left'>
217
+ <p id='_'>CharacterString</p>
218
+ </td>
219
+ </tr>
220
+ <tr>
221
+ <td valign='top' align='left'>
222
+ <p id='_'>name</p>
223
+ </td>
224
+ <td colspan='2' valign='top' align='left'>
225
+ <p id='_'>
226
+ The attribute &#8220;name&#8221; is be represented as a
227
+ CharacterString containing a compact and human-readable
228
+ designator that is used to uniquely denote that register
229
+ within the set of registers maintained by the register
230
+ owner. In the case of a hierarchical register, the &#8220;
231
+ <em>name&#8221;</em>
232
+ of a subregister shall uniquely identify that subregister
233
+ within the scope EXAMPLE &#239;&#191;&#189;ISO/TC 211
234
+ Register of Feature Data Dictionaries and Feature
235
+ Catalogues&#239;&#191;&#189; might be the name of the
236
+ principal register of of all registers established by the
237
+ owner of the principal register. a hierarchical register.
238
+ &#239;&#191;&#189;DGIWG FACC Data
239
+ Dictionary&#239;&#191;&#189; and &#239;&#191;&#189;IHO S-57
240
+ Object Dictionary&#239;&#191;&#189; might be the names of
241
+ subregisters within the hierarchy.
242
+ </p>
243
+ </td>
244
+ <td valign='top' align='left'/>
245
+ <td valign='top' align='left'>
246
+ <p id='_'>M</p>
247
+ </td>
248
+ <td valign='top' align='left'>
249
+ <p id='_'>1</p>
250
+ </td>
251
+ <td valign='top' align='left'>
252
+ <p id='_'>CharacterString</p>
253
+ </td>
254
+ </tr>
255
+ <tr>
256
+ <td valign='top' align='left'>
257
+ <p id='_'>operatingLanguage</p>
258
+ </td>
259
+ <td colspan='2' valign='top' align='left'>
260
+ <p id='_'>
261
+ The attribute &#8220;operatingLanguage&#8221; is represented
262
+ as an instance of class RE_Locale that is used to specify
263
+ language, country information and character encoding for the
264
+ proper interpretation of the content of character strings in
265
+ the register. The values of all character strings in the
266
+ register shall be in accordance with the value of
267
+ &#8220;operatingLanguage&#8221;, unless otherwise stated.
268
+ </p>
269
+ </td>
270
+ <td valign='top' align='left'/>
271
+ <td valign='top' align='left'>
272
+ <p id='_'>M</p>
273
+ </td>
274
+ <td valign='top' align='left'>
275
+ <p id='_'>1</p>
276
+ </td>
277
+ <td valign='top' align='left'>
278
+ <p id='_'>EAID_3996125E_4828_4f3c_93BD_605E9059DE05</p>
279
+ </td>
280
+ </tr>
281
+ <tr>
282
+ <td valign='top' align='left'>
283
+ <p id='_'>uniformResourceIdentifier</p>
284
+ </td>
285
+ <td colspan='2' valign='top' align='left'>
286
+ <p id='_'>
287
+ The attribute &#8220;uniformResourceIdentifier&#8221; takes
288
+ as its value a set of URI&#8217;s, each referencing
289
+ information about online resources associated with the
290
+ register. EXAMPLE
291
+ &#239;&#191;&#189;http://www.digest.org/Navigate2.htm&#239;&#191;
292
+ <em>OnLineResource.linkage</em>
293
+ specifies a resource providing access to the complete
294
+ content of the register. EXAMPLE
295
+ &#239;&#191;&#189;http://www.digest.org/Navigate2.htm&#239;&#191;&#189; and &#239;&#191;&#189;http://www.epa.gov/opppmsd1/PPISdata/index.html&#239;&#191;&#189; are sample values of
296
+ <em>OnLineResource.linkage</em>
297
+ .
298
+ </p>
299
+ </td>
300
+ <td valign='top' align='left'/>
301
+ <td valign='top' align='left'>
302
+ <p id='_'>M</p>
303
+ </td>
304
+ <td valign='top' align='left'>
305
+ <p id='_'>*</p>
306
+ </td>
307
+ <td valign='top' align='left'>
308
+ <p id='_'>URI</p>
309
+ </td>
310
+ </tr>
311
+ <tr>
312
+ <th valign='top' align='left'>Constraints:</th>
313
+ <td colspan='7' valign='top' align='left'>
314
+ <p id='_'>
315
+ <tt>count(self.version +self.dateOfLastChange) &gt;= 1</tt>
316
+ </p>
317
+ </td>
318
+ </tr>
319
+ </tbody>
320
+ </table>
321
+ <p id='_'>footer text</p>
322
+ <p id='_'>footer text</p>
323
+ </clause>
324
+ </clause>
325
+ </clause>
326
+ </sections>