metanorma-standoc 1.10.5 → 1.10.6
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.
- checksums.yaml +4 -4
- data/lib/asciidoctor/standoc/base.rb +4 -0
- data/lib/asciidoctor/standoc/blocks.rb +3 -0
- data/lib/asciidoctor/standoc/cleanup_block.rb +5 -2
- data/lib/asciidoctor/standoc/cleanup_inline.rb +9 -3
- data/lib/asciidoctor/standoc/cleanup_reqt.rb +53 -16
- data/lib/asciidoctor/standoc/cleanup_terms.rb +1 -1
- data/lib/asciidoctor/standoc/converter.rb +1 -0
- data/lib/asciidoctor/standoc/isodoc.rng +17 -2
- data/lib/asciidoctor/standoc/macros_terms.rb +30 -15
- data/lib/asciidoctor/standoc/reqt.rb +2 -2
- data/lib/asciidoctor/standoc/terms.rb +9 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/spec/asciidoctor/blocks_spec.rb +92 -2
- data/spec/asciidoctor/cleanup_blocks_spec.rb +1018 -0
- data/spec/asciidoctor/cleanup_spec.rb +63 -968
- data/spec/asciidoctor/macros_spec.rb +35 -24
- data/spec/asciidoctor/validate_spec.rb +23 -0
- data/spec/assets/xref_error.adoc +1 -0
- data/spec/fixtures/datamodel_description_sections_tree.xml +326 -326
- metadata +3 -2
@@ -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,
|
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,
|
327
|
-
{{<<Clause2>>,word,term,xref,
|
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-_-
|
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>⌊</mo>
|
@@ -700,7 +711,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
700
711
|
function.
|
701
712
|
</p>
|
702
713
|
</dd>
|
703
|
-
<dt id='symbol-_-
|
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>⌈</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 {{<<def>>,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"
|
data/spec/assets/xref_error.adoc
CHANGED
@@ -1,326 +1,326 @@
|
|
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
|
-
|
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 “ISO 19135 Procedures for item registration
|
40
|
+
XML::RE_Register” (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 “RE_Register” 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 “alternativeLanguages” 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<RE_Locale></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 “contentSummary” 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 “name” 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 “
|
231
|
+
<em>name”</em>
|
232
|
+
of a subregister shall uniquely identify that subregister
|
233
|
+
within the scope EXAMPLE �ISO/TC 211
|
234
|
+
Register of Feature Data Dictionaries and Feature
|
235
|
+
Catalogues� 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
|
+
�DGIWG FACC Data
|
239
|
+
Dictionary� and �IHO S-57
|
240
|
+
Object Dictionary� 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 “operatingLanguage” 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
|
+
“operatingLanguage”, 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 “uniformResourceIdentifier” takes
|
288
|
+
as its value a set of URI’s, each referencing
|
289
|
+
information about online resources associated with the
|
290
|
+
register. EXAMPLE
|
291
|
+
�http://www.digest.org/Navigate2.htmï¿
|
292
|
+
<em>OnLineResource.linkage</em>
|
293
|
+
specifies a resource providing access to the complete
|
294
|
+
content of the register. EXAMPLE
|
295
|
+
�http://www.digest.org/Navigate2.htm� and �http://www.epa.gov/opppmsd1/PPISdata/index.html� 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) >= 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>
|