metanorma-iso 2.1.9 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
7
7
  <preface><foreword id="A"><title>Preface</title>
8
8
  <table id="A0"/>
9
9
  <permission model="ogc" id="A1">
10
+ <title>First</title>
10
11
  <identifier>/ogc/recommendation/wfs/2</identifier>
11
12
  </permission>
12
13
  <table id="A2"/>
@@ -26,7 +27,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
26
27
  <name>Table 1</name>
27
28
  </table>
28
29
  <table id='A1' class='modspec' type='recommend'>
29
- <name>Table 2 — Permission 1</name>
30
+ <name>Table 2 — Permission 1: First</name>
30
31
  <tbody>
31
32
  <tr>
32
33
  <td>Identifier</td>
@@ -69,6 +70,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
69
70
  <ogc-standard xmlns="https://standards.opengeospatial.org/document">
70
71
  <preface><foreword id="A"><title>Preface</title>
71
72
  <permission model="ogc" id="A1">
73
+ <title>First</title>
72
74
  <identifier>/ogc/recommendation/wfs/2</identifier>
73
75
  <inherit>/ss/584/2015/level/1</inherit>
74
76
  <inherit><eref type="inline" bibitemid="rfc2616" citeas="RFC 2616">RFC 2616 (HTTP/1.1)</eref></inherit>
@@ -133,7 +135,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
133
135
  <ogc-standard xmlns="https://standards.opengeospatial.org/document" type="presentation">
134
136
  <preface><foreword id="A" displayorder="1"><title>Preface</title>
135
137
  <table id="A1" class="modspec" type="recommend">
136
- <name>Table 1 — Permission 1</name>
138
+ <name>Table 1 — Permission 1: First</name>
137
139
  <tbody>
138
140
  <tr><td>Identifier</td><td><tt>/ogc/recommendation/wfs/2</tt></td></tr>
139
141
  <tr><td>Subject</td><td>user</td></tr><tr><td>Dependency</td><td>/ss/584/2015/level/1</td></tr><tr><td>Dependency</td><td><eref type="inline" bibitemid="rfc2616" citeas="RFC 2616">RFC 2616 (HTTP/1.1)</eref></td></tr>
@@ -259,11 +261,376 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
259
261
  </ogc-standard>
260
262
  OUTPUT
261
263
 
264
+ html = <<~OUTPUT
265
+ <body lang='en'>
266
+ <div class='title-section'>
267
+ <p> </p>
268
+ </div>
269
+ <br/>
270
+ <div class='prefatory-section'>
271
+ <p> </p>
272
+ </div>
273
+ <br/>
274
+ <div class='main-section'>
275
+ <br/>
276
+ <div id='A'>
277
+ <h1 class='ForewordTitle'>Preface</h1>
278
+ <p class='TableTitle' style='text-align:center;'>Table 1 — Permission 1: First</p>
279
+ <table id='A1' class='modspec' style='border-width:1px;border-spacing:0;'>
280
+ <tbody>
281
+ <tr>
282
+ <td style='border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;'>Identifier</td>
283
+ <td style='border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;'>
284
+ <tt>/ogc/recommendation/wfs/2</tt>
285
+ </td>
286
+ </tr>
287
+ <tr>
288
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Subject</td>
289
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>user</td>
290
+ </tr>
291
+ <tr>
292
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Dependency</td>
293
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>/ss/584/2015/level/1</td>
294
+ </tr>
295
+ <tr>
296
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Dependency</td>
297
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
298
+ <a href='#rfc2616'>RFC 2616 (HTTP/1.1)</a>
299
+ </td>
300
+ </tr>
301
+ <tr>
302
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Control-class</td>
303
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Technical</td>
304
+ </tr>
305
+ <tr>
306
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Priority</td>
307
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>P0</td>
308
+ </tr>
309
+ <tr>
310
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Family</td>
311
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>System and Communications Protection</td>
312
+ </tr>
313
+ <tr>
314
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Family</td>
315
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>System and Communications Protocols</td>
316
+ </tr>
317
+ <tr>
318
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Statement</td>
319
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
320
+ <p id='_'>
321
+ I recommend
322
+ <i>this</i>
323
+ .
324
+ </p>
325
+ </td>
326
+ </tr>
327
+ <tr>
328
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Statement</td>
329
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
330
+ <dl>
331
+ <dt>
332
+ <p>A</p>
333
+ </dt>
334
+ <dd>B</dd>
335
+ <dt>
336
+ <p>C</p>
337
+ </dt>
338
+ <dd>D</dd>
339
+ </dl>
340
+ </td>
341
+ </tr>
342
+ <tr>
343
+ <td colspan='2' style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
344
+ <p id='_'>The measurement target shall be measured as:</p>
345
+ <div id='_'>
346
+ <div class='formula'>
347
+ <p>
348
+ <span class='stem'>(#(r/1 = 0)#)</span>
349
+   (1)
350
+ </p>
351
+ </div>
352
+ </div>
353
+ </td>
354
+ </tr>
355
+ <tr>
356
+ <td colspan='2' style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
357
+ <p id='_'>The following code will be run for verification:</p>
358
+ <pre id='_' class='prettyprint '>
359
+ <br/>
360
+       CoreRoot(success): HttpResponse
361
+ if (success)
362
+ <br/>
363
+       recommendation(label:
364
+ success-response) end
365
+ <br/>
366
+    
367
+ </pre>
368
+ </td>
369
+ </tr>
370
+ <tr>
371
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Test purpose</td>
372
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
373
+ <p>TEST PURPOSE</p>
374
+ </td>
375
+ </tr>
376
+ <tr>
377
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Test method</td>
378
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
379
+ <p>TEST METHOD</p>
380
+ </td>
381
+ </tr>
382
+ <tr>
383
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Conditions</td>
384
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
385
+ <p>CONDITIONS</p>
386
+ </td>
387
+ </tr>
388
+ <tr>
389
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>A</td>
390
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
391
+ <p>FIRST PART</p>
392
+ </td>
393
+ </tr>
394
+ <tr>
395
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>B</td>
396
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
397
+ <p>SECOND PART</p>
398
+ </td>
399
+ </tr>
400
+ <tr>
401
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>C</td>
402
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
403
+ <p>THIRD PART</p>
404
+ </td>
405
+ </tr>
406
+ <tr>
407
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>Reference</td>
408
+ <td style='border-top:none;border-bottom:solid windowtext 1.0pt;'>
409
+ <p>REFERENCE PART</p>
410
+ </td>
411
+ </tr>
412
+ <tr>
413
+ <td style='border-top:none;border-bottom:solid windowtext 1.5pt;'>Panda GHz express</td>
414
+ <td style='border-top:none;border-bottom:solid windowtext 1.5pt;'>
415
+ <p>PANDA PART</p>
416
+ </td>
417
+ </tr>
418
+ </tbody>
419
+ </table>
420
+ </div>
421
+ <p class='zzSTDTitle1'/>
422
+ <br/>
423
+ <div>
424
+ <h1 class='Section3'>Bibliography</h1>
425
+ <p id='rfc2616' class='Biblio'>
426
+ [1]  IETF RFC 2616,
427
+ <i> Hypertext Transfer Protocol — HTTP/1.1 </i>
428
+ </p>
429
+ </div>
430
+ </div>
431
+ </body>
432
+ OUTPUT
433
+
434
+ doc = <<~OUTPUT
435
+ <body lang='EN-US' link='blue' vlink='#954F72'>
436
+ <div class='WordSection1'>
437
+ <p> </p>
438
+ </div>
439
+ <p>
440
+ <br clear='all' class='section'/>
441
+ </p>
442
+ <div class='WordSection2'>
443
+ <p>
444
+ <br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
445
+ </p>
446
+ <div id='A'>
447
+ <h1 class='ForewordTitle'>Preface</h1>
448
+ <p class='Tabletitle' style='text-align:center;'>Table 1 — Permission 1: First</p>
449
+ <div align='center' class='table_container'>
450
+ <table id='A1' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;' width='100%'>
451
+ <tbody>
452
+ <tr>
453
+ <td style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Identifier</td>
454
+ <td style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
455
+ <tt>/ogc/recommendation/wfs/2</tt>
456
+ </td>
457
+ </tr>
458
+ <tr>
459
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Subject</td>
460
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>user</td>
461
+ </tr>
462
+ <tr>
463
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Dependency</td>
464
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>/ss/584/2015/level/1</td>
465
+ </tr>
466
+ <tr>
467
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Dependency</td>
468
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
469
+ <a href='#rfc2616'>RFC 2616 (HTTP/1.1)</a>
470
+ </td>
471
+ </tr>
472
+ <tr>
473
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Control-class</td>
474
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Technical</td>
475
+ </tr>
476
+ <tr>
477
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Priority</td>
478
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>P0</td>
479
+ </tr>
480
+ <tr>
481
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Family</td>
482
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>System and Communications Protection</td>
483
+ </tr>
484
+ <tr>
485
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Family</td>
486
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>System and Communications Protocols</td>
487
+ </tr>
488
+ <tr>
489
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Statement</td>
490
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
491
+ <p class='ForewordText' id='_'>
492
+ I recommend
493
+ <i>this</i>
494
+ .
495
+ </p>
496
+ </td>
497
+ </tr>
498
+ <tr>
499
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Statement</td>
500
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
501
+ <dl>
502
+ <dt>
503
+ <p align='left' style='margin-left:0pt;text-align:left;'>A</p>
504
+ </dt>
505
+ <dd>B</dd>
506
+ <dt>
507
+ <p align='left' style='margin-left:0pt;text-align:left;'>C</p>
508
+ </dt>
509
+ <dd>D</dd>
510
+ </dl>
511
+ </td>
512
+ </tr>
513
+ <tr>
514
+ <td colspan='2' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
515
+ <p class='ForewordText' id='_'>The measurement target shall be measured as:</p>
516
+ <div id='_'>
517
+ <div class='formula'>
518
+ <p>
519
+ <span class='stem'>(#(r/1 = 0)#)</span>
520
+ <span style='mso-tab-count:1'>  </span>
521
+ (1)
522
+ </p>
523
+ </div>
524
+ </div>
525
+ </td>
526
+ </tr>
527
+ <tr>
528
+ <td colspan='2' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
529
+ <p class='ForewordText' id='_'>The following code will be run for verification:</p>
530
+ <p id='_' class='Sourcecode'>
531
+ <br/>
532
+       CoreRoot(success): HttpResponse
533
+ if (success)
534
+ <br/>
535
+       recommendation(label:
536
+ success-response) end
537
+ <br/>
538
+    
539
+ </p>
540
+ </td>
541
+ </tr>
542
+ <tr>
543
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Test purpose</td>
544
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
545
+ <p class='ForewordText'>TEST PURPOSE</p>
546
+ </td>
547
+ </tr>
548
+ <tr>
549
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Test method</td>
550
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
551
+ <p class='ForewordText'>TEST METHOD</p>
552
+ </td>
553
+ </tr>
554
+ <tr>
555
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Conditions</td>
556
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
557
+ <p class='ForewordText'>CONDITIONS</p>
558
+ </td>
559
+ </tr>
560
+ <tr>
561
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>A</td>
562
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
563
+ <p class='ForewordText'>FIRST PART</p>
564
+ </td>
565
+ </tr>
566
+ <tr>
567
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>B</td>
568
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
569
+ <p class='ForewordText'>SECOND PART</p>
570
+ </td>
571
+ </tr>
572
+ <tr>
573
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>C</td>
574
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
575
+ <p class='ForewordText'>THIRD PART</p>
576
+ </td>
577
+ </tr>
578
+ <tr>
579
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Reference</td>
580
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
581
+ <p class='ForewordText'>REFERENCE PART</p>
582
+ </td>
583
+ </tr>
584
+ <tr>
585
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Panda GHz express</td>
586
+ <td style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
587
+ <p class='ForewordText'>PANDA PART</p>
588
+ </td>
589
+ </tr>
590
+ </tbody>
591
+ </table>
592
+ </div>
593
+ </div>
594
+ <p> </p>
595
+ </div>
596
+ <p>
597
+ <br clear='all' class='section'/>
598
+ </p>
599
+ <div class='WordSection3'>
600
+ <p class='zzSTDTitle1'/>
601
+ <p>
602
+ <br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
603
+ </p>
604
+ <div>
605
+ <h1 class='BiblioTitle'>Bibliography</h1>
606
+ <p id='rfc2616' class='Biblio'>
607
+ [1]
608
+ <span style='mso-tab-count:1'>  </span>
609
+ IETF RFC 2616,
610
+ <i> Hypertext Transfer Protocol — HTTP/1.1 </i>
611
+ </p>
612
+ </div>
613
+ </div>
614
+ <br clear='all' style='page-break-before:left;mso-break-type:section-break'/>
615
+ <div class='colophon'/>
616
+ </body>
617
+ OUTPUT
618
+
262
619
  expect(xmlpp(IsoDoc::Iso::PresentationXMLConvert.new({})
263
620
  .convert("test", input, true)
264
621
  .gsub(%r{^.*<body}m, "<body")
265
622
  .gsub(%r{</body>.*}m, "</body>")))
266
623
  .to be_equivalent_to xmlpp(presxml)
624
+ expect(xmlpp(IsoDoc::Iso::HtmlConvert.new({})
625
+ .convert("test", presxml, true)
626
+ .gsub(%r{^.*<body}m, "<body")
627
+ .gsub(%r{</body>.*}m, "</body>")))
628
+ .to be_equivalent_to xmlpp(html)
629
+ expect(xmlpp(IsoDoc::Iso::WordConvert.new({})
630
+ .convert("test", presxml, true)
631
+ .gsub(%r{^.*<body}m, "<body")
632
+ .gsub(%r{</body>.*}m, "</body>")))
633
+ .to be_equivalent_to xmlpp(doc)
267
634
  end
268
635
 
269
636
  it "processes permission verifications" do
@@ -272,6 +639,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
272
639
  <preface>
273
640
  <foreword id="A"><title>Preface</title>
274
641
  <permission model="ogc" id="A1" type="verification">
642
+ <title>First</title>
275
643
  <identifier>/ogc/recommendation/wfs/2</identifier>
276
644
  <inherit>/ss/584/2015/level/1</inherit>
277
645
  <subject>user</subject>
@@ -325,7 +693,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
325
693
  <foreword id='A' displayorder='1'>
326
694
  <title>Preface</title>
327
695
  <table id='A1' class='modspec' type='recommendtest'>
328
- <name>Table 1 — Permission test 1</name>
696
+ <name>Table 1 — Permission test 1: First</name>
329
697
  <tbody>
330
698
  <tr>
331
699
  <td>Identifier</td>
@@ -413,6 +781,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
413
781
  <preface>
414
782
  <foreword id="A"><title>Preface</title>
415
783
  <permission model="ogc" id="A1" type="abstracttest">
784
+ <title>First</title>
416
785
  <identifier>/ogc/recommendation/wfs/2</identifier>
417
786
  <inherit>/ss/584/2015/level/1</inherit>
418
787
  <subject>user</subject>
@@ -464,7 +833,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
464
833
  <preface>
465
834
  <foreword id="A" displayorder="1"><title>Preface</title>
466
835
  <table id="A1" type="recommendtest" class="modspec">
467
- <name>Table 1 — Abstract test 1</name>
836
+ <name>Table 1 — Abstract test 1: First</name>
468
837
  <tbody>
469
838
  <tr><td>Identifier</td><td><tt>/ogc/recommendation/wfs/2</tt></td></tr>
470
839
  <tr><td>Subject</td><td>user</td></tr><tr><td>Dependency</td><td>/ss/584/2015/level/1</td></tr><tr><td>Control-class</td><td>Technical</td></tr><tr><td>Priority</td><td>P0</td></tr><tr><td>Family</td><td>System and Communications Protection</td></tr><tr><td>Family</td><td>System and Communications Protocols</td></tr>
@@ -511,21 +880,26 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
511
880
  <ogc-standard xmlns="https://standards.opengeospatial.org/document">
512
881
  <preface><foreword id="A"><title>Preface</title>
513
882
  <permission model="ogc" id="A1" type="class" keep-with-next="true" keep-lines-together="true">
883
+ <title>First</title>
514
884
  <identifier>/ogc/recommendation/wfs/2</identifier>
515
885
  <inherit>/ss/584/2015/level/1</inherit>
516
886
  <inherit>/ss/584/2015/level/2</inherit>
517
887
  <subject>user</subject>
518
888
  <permission model="ogc" id="A2">
889
+ <title>First #1</title>
519
890
  <identifier>/ogc/recommendation/wfs/10</identifier>
520
891
  </permission>
521
892
  <requirement model="ogc" id="A3">
893
+ <title>First #2</title>
522
894
  <identifier>Requirement 1</identifier>
523
895
  </requirement>
524
896
  <recommendation model="ogc" id="A4">
897
+ <title>First #3</title>
525
898
  <identifier>Recommendation 1</identifier>
526
899
  </recommendation>
527
900
  </permission>
528
901
  <permission model="ogc" id="B1">
902
+ <title>Second</title>
529
903
  <identifier>/ogc/recommendation/wfs/10</identifier>
530
904
  </permission>
531
905
  </foreword></preface>
@@ -538,7 +912,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
538
912
  <foreword id='A' displayorder='1'>
539
913
  <title>Preface</title>
540
914
  <table id='A1' keep-with-next='true' keep-lines-together='true' class='modspec' type='recommendclass'>
541
- <name>Table 1 — Permissions class 1</name>
915
+ <name>Table 1 — Permissions class 1: First</name>
542
916
  <tbody>
543
917
  <tr>
544
918
  <td>Identifier</td>
@@ -561,24 +935,24 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
561
935
  <td>
562
936
  <xref target='B1'>
563
937
  Permission 1:
564
- <tt>/ogc/recommendation/wfs/10</tt>
938
+ Second
565
939
  </xref>
566
940
  <br/>
567
941
  <xref target='A3'>
568
942
  Requirement 1-1:
569
- <tt>Requirement 1</tt>
943
+ First #2
570
944
  </xref>
571
945
  <br/>
572
946
  <xref target='A4'>
573
947
  Recommendation 1-1:
574
- <tt>Recommendation 1</tt>
948
+ First #3
575
949
  </xref>
576
950
  </td>
577
951
  </tr>
578
952
  </tbody>
579
953
  </table>
580
954
  <table id='B1' class='modspec' type='recommend'>
581
- <name>Table 2 — Permission 1</name>
955
+ <name>Table 2 — Permission 1: Second</name>
582
956
  <tbody>
583
957
  <tr>
584
958
  <td>Identifier</td>
@@ -587,10 +961,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
587
961
  <tr>
588
962
  <td>Included in</td>
589
963
  <td>
590
- <xref target='A1'>
591
- Permissions class 1:
592
- <tt>/ogc/recommendation/wfs/2</tt>
593
- </xref>
964
+ <xref target='A1'>Permissions class 1: First</xref>
594
965
  </td>
595
966
  </tr>
596
967
  </tbody>
@@ -612,6 +983,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
612
983
  <ogc-standard xmlns="https://standards.opengeospatial.org/document">
613
984
  <preface><foreword id="A"><title>Preface</title>
614
985
  <permission model="ogc" id="A1" type="conformanceclass">
986
+ <title>First</title>
615
987
  <identifier>/ogc/recommendation/wfs/2</identifier>
616
988
  <inherit>/ss/584/2015/level/1</inherit>
617
989
  <inherit>ABC</inherit>
@@ -630,9 +1002,11 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
630
1002
  </recommendation>
631
1003
  </permission>
632
1004
  <permission model="ogc" id="B" type="conformanceclass">
1005
+ <title>Second</title>
633
1006
  <identifier>ABC</identifier>
634
1007
  </permission>
635
1008
  <permission model="ogc" id="B2">
1009
+ <title>Third</title>
636
1010
  <identifier>Permission 1</identifier>
637
1011
  </permission>
638
1012
  </foreword></preface>
@@ -645,7 +1019,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
645
1019
  <foreword id='A' displayorder='1'>
646
1020
  <title>Preface</title>
647
1021
  <table id='A1' class='modspec' type='recommendclass'>
648
- <name>Table 1 — Conformance class 1</name>
1022
+ <name>Table 1 — Conformance class 1: First</name>
649
1023
  <tbody>
650
1024
  <tr>
651
1025
  <td>Identifier</td>
@@ -658,7 +1032,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
658
1032
  <tr>
659
1033
  <td>Requirements class</td>
660
1034
  <td>
661
- <xref target='B'>Conformance class 2: <tt>ABC</tt></xref>
1035
+ <xref target='B'>Conformance class 2: Second</xref>
662
1036
  </td>
663
1037
  </tr>
664
1038
  <tr>
@@ -668,7 +1042,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
668
1042
  <tr>
669
1043
  <td>Dependency</td>
670
1044
  <td>
671
- <xref target='B'>Conformance class 2: <tt>ABC</tt></xref>
1045
+ <xref target='B'>Conformance class 2: Second</xref>
672
1046
  </td>
673
1047
  </tr>
674
1048
  <tr>
@@ -680,7 +1054,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
680
1054
  <tr>
681
1055
  <td>Indirect Dependency</td>
682
1056
  <td>
683
- <xref target='B'>Conformance class 2: <tt>ABC</tt></xref>
1057
+ <xref target='B'>Conformance class 2: Second</xref>
684
1058
  </td>
685
1059
  </tr>
686
1060
  <tr>
@@ -688,24 +1062,22 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
688
1062
  <td>
689
1063
  <xref target='B2'>
690
1064
  Permission 1:
691
- <tt>Permission 1</tt>
1065
+ Third
692
1066
  </xref>
693
1067
  <br/>
694
1068
  <xref target='A3'>
695
- Requirement 1-1:
696
- <tt>Requirement 1</tt>
1069
+ Requirement 1-1
697
1070
  </xref>
698
1071
  <br/>
699
1072
  <xref target='A4'>
700
- Recommendation 1-1:
701
- <tt>Recommendation 1</tt>
1073
+ Recommendation 1-1
702
1074
  </xref>
703
1075
  </td>
704
1076
  </tr>
705
1077
  </tbody>
706
1078
  </table>
707
1079
  <table id='B' class='modspec' type='recommendclass'>
708
- <name>Table 2 — Conformance class 2</name>
1080
+ <name>Table 2 — Conformance class 2: Second</name>
709
1081
  <tbody>
710
1082
  <tr>
711
1083
  <td>Identifier</td>
@@ -714,7 +1086,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
714
1086
  </tbody>
715
1087
  </table>
716
1088
  <table id='B2' class='modspec' type='recommend'>
717
- <name>Table 3 — Permission 1</name>
1089
+ <name>Table 3 — Permission 1: Third</name>
718
1090
  <tbody>
719
1091
  <tr>
720
1092
  <td>Identifier</td>
@@ -725,7 +1097,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
725
1097
  <td>
726
1098
  <xref target='A1'>
727
1099
  Conformance class 1:
728
- <tt>/ogc/recommendation/wfs/2</tt>
1100
+ First
729
1101
  </xref>
730
1102
  </td>
731
1103
  </tr>
@@ -749,6 +1121,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
749
1121
  <bibdata><language>fr</language></bibdata>
750
1122
  <preface><foreword id="A"><title>Preface</title>
751
1123
  <permission model="ogc" id="A1" type="conformanceclass">
1124
+ <title>First</title>
752
1125
  <identifier>/ogc/recommendation/wfs/2</identifier>
753
1126
  <inherit>/ss/584/2015/level/1</inherit>
754
1127
  <inherit>ABC</inherit>
@@ -767,9 +1140,11 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
767
1140
  </recommendation>
768
1141
  </permission>
769
1142
  <permission model="ogc" id="B" type="conformanceclass">
1143
+ <title>Second</title>
770
1144
  <identifier>ABC</identifier>
771
1145
  </permission>
772
1146
  <permission model="ogc" id="B2">
1147
+ <title>Third</title>
773
1148
  <identifier>Permission 1</identifier>
774
1149
  </permission>
775
1150
  </foreword></preface>
@@ -784,7 +1159,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
784
1159
  <foreword id='A' displayorder='1'>
785
1160
  <title>Preface</title>
786
1161
  <table id='A1' class='modspec' type='recommendclass'>
787
- <name>Tableau 1 — Classe de confirmité 1</name>
1162
+ <name>Tableau 1 — Classe de confirmité 1&#xa0;: First</name>
788
1163
  <tbody>
789
1164
  <tr>
790
1165
  <td>Identifiant</td>
@@ -797,7 +1172,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
797
1172
  <tr>
798
1173
  <td>Classe d&#x2019;exigences</td>
799
1174
  <td>
800
- <xref target='B'>Classe de confirmité 2: <tt>ABC</tt></xref>
1175
+ <xref target='B'>Classe de confirmité 2&#xa0;: Second</xref>
801
1176
  </td>
802
1177
  </tr>
803
1178
  <tr>
@@ -807,7 +1182,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
807
1182
  <tr>
808
1183
  <td>D&#xE9;pendance</td>
809
1184
  <td>
810
- <xref target='B'>Classe de confirmité 2: <tt>ABC</tt></xref>
1185
+ <xref target='B'>Classe de confirmité 2&#xa0;: Second</xref>
811
1186
  </td>
812
1187
  </tr>
813
1188
  <tr>
@@ -819,32 +1194,30 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
819
1194
  <tr>
820
1195
  <td>D&#xE9;pendance indirecte</td>
821
1196
  <td>
822
- <xref target='B'>Classe de confirmité 2: <tt>ABC</tt></xref>
1197
+ <xref target='B'>Classe de confirmité 2&#xa0;: Second</xref>
823
1198
  </td>
824
1199
  </tr>
825
1200
  <tr>
826
1201
  <td>Dispositions</td>
827
1202
  <td>
828
1203
  <xref target='B2'>
829
- Autorisation 1:
830
- <tt>Permission 1</tt>
1204
+ Autorisation 1&#xa0;:
1205
+ Third
831
1206
  </xref>
832
1207
  <br/>
833
1208
  <xref target='A3'>
834
- Exigence 1-1:
835
- <tt>Requirement 1</tt>
1209
+ Exigence 1-1
836
1210
  </xref>
837
1211
  <br/>
838
1212
  <xref target='A4'>
839
- Recommandation 1-1:
840
- <tt>Recommendation 1</tt>
1213
+ Recommandation 1-1
841
1214
  </xref>
842
1215
  </td>
843
1216
  </tr>
844
1217
  </tbody>
845
1218
  </table>
846
1219
  <table id='B' class='modspec' type='recommendclass'>
847
- <name>Tableau 2 — Classe de confirmité 2</name>
1220
+ <name>Tableau 2 — Classe de confirmité 2&#xa0;: Second</name>
848
1221
  <tbody>
849
1222
  <tr>
850
1223
  <td>Identifiant</td>
@@ -853,7 +1226,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
853
1226
  </tbody>
854
1227
  </table>
855
1228
  <table id='B2' class='modspec' type='recommend'>
856
- <name>Tableau 3 — Autorisation 1</name>
1229
+ <name>Tableau 3 — Autorisation 1&#xa0;: Third</name>
857
1230
  <tbody>
858
1231
  <tr>
859
1232
  <td>Identifiant</td>
@@ -863,8 +1236,8 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
863
1236
  <td>Inclus dans</td>
864
1237
  <td>
865
1238
  <xref target='A1'>
866
- Classe de confirmit&#xE9; 1:
867
- <tt>/ogc/recommendation/wfs/2</tt>
1239
+ Classe de confirmit&#xE9; 1&#xa0;:
1240
+ First
868
1241
  </xref>
869
1242
  </td>
870
1243
  </tr>
@@ -887,21 +1260,26 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
887
1260
  <ogc-standard xmlns="https://standards.opengeospatial.org/document">
888
1261
  <preface><foreword id="A"><title>Preface</title>
889
1262
  <requirement model="ogc" id="A1" type="class">
1263
+ <title>First</title>
890
1264
  <identifier>/ogc/recommendation/wfs/2</identifier>
891
1265
  <inherit>/ss/584/2015/level/1</inherit>
892
1266
  <inherit>/ss/584/2015/level/2</inherit>
893
1267
  <subject>user</subject>
894
1268
  <permission model="ogc" id="A2">
1269
+ <title>First #1</title>
895
1270
  <identifier>Permission 1</identifier>
896
1271
  </permission>
897
1272
  <requirement model="ogc" id="A3">
1273
+ <title>First #2</title>
898
1274
  <identifier>Requirement 1</identifier>
899
1275
  </requirement>
900
1276
  <recommendation model="ogc" id="A4">
1277
+ <title>First #3</title>
901
1278
  <identifier>Recommendation 1</identifier>
902
1279
  </recommendation>
903
1280
  </requirement>
904
1281
  <permission model="ogc" id="A5">
1282
+ <title>Second</title>
905
1283
  <identifier>Permission 1</identifier>
906
1284
  </permission>
907
1285
  </foreword></preface>
@@ -914,7 +1292,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
914
1292
  <foreword id='A' displayorder='1'>
915
1293
  <title>Preface</title>
916
1294
  <table id='A1' class='modspec' type='recommendclass'>
917
- <name>Table 1 — Requirements class 1</name>
1295
+ <name>Table 1 — Requirements class 1: First</name>
918
1296
  <tbody>
919
1297
  <tr>
920
1298
  <td>Identifier</td>
@@ -937,24 +1315,24 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
937
1315
  <td>
938
1316
  <xref target='A5'>
939
1317
  Permission 1:
940
- <tt>Permission 1</tt>
1318
+ Second
941
1319
  </xref>
942
1320
  <br/>
943
1321
  <xref target='A3'>
944
1322
  Requirement 1-1:
945
- <tt>Requirement 1</tt>
1323
+ First #2
946
1324
  </xref>
947
1325
  <br/>
948
1326
  <xref target='A4'>
949
1327
  Recommendation 1-1:
950
- <tt>Recommendation 1</tt>
1328
+ First #3
951
1329
  </xref>
952
1330
  </td>
953
1331
  </tr>
954
1332
  </tbody>
955
1333
  </table>
956
1334
  <table id='A5' class='modspec' type='recommend'>
957
- <name>Table 2 — Permission 1</name>
1335
+ <name>Table 2 — Permission 1: Second</name>
958
1336
  <tbody>
959
1337
  <tr>
960
1338
  <td>Identifier</td>
@@ -965,7 +1343,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
965
1343
  <td>
966
1344
  <xref target='A1'>
967
1345
  Requirements class 1:
968
- <tt>/ogc/recommendation/wfs/2</tt>
1346
+ First
969
1347
  </xref>
970
1348
  </td>
971
1349
  </tr>
@@ -988,17 +1366,21 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
988
1366
  <ogc-standard xmlns="https://standards.opengeospatial.org/document">
989
1367
  <preface><foreword id="A"><title>Preface</title>
990
1368
  <recommendation model="ogc" id="A1" type="class">
1369
+ <title>First</title>
991
1370
  <identifier>/ogc/recommendation/wfs/2</identifier>
992
1371
  <inherit>/ss/584/2015/level/1</inherit>
993
1372
  <inherit>/ss/584/2015/level/2</inherit>
994
1373
  <subject>user</subject>
995
1374
  <permission model="ogc" id="A2">
1375
+ <title>First #1</title>
996
1376
  <identifier>Permission 1</identifier>
997
1377
  </permission>
998
1378
  <requirement model="ogc" id="A3">
1379
+ <title>First #2</title>
999
1380
  <identifier>Requirement 1</identifier>
1000
1381
  </requirement>
1001
1382
  <recommendation model="ogc" id="A4">
1383
+ <title>First #3</title>
1002
1384
  <identifier>Recommendation 1</identifier>
1003
1385
  </recommendation>
1004
1386
  </recommendation>
@@ -1012,7 +1394,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
1012
1394
  <foreword id='A' displayorder='1'>
1013
1395
  <title>Preface</title>
1014
1396
  <table id='A1' class='modspec' type='recommendclass'>
1015
- <name>Table 1 — Recommendations class 1</name>
1397
+ <name>Table 1 — Recommendations class 1: First</name>
1016
1398
  <tbody>
1017
1399
  <tr>
1018
1400
  <td>Identifier</td>
@@ -1033,19 +1415,18 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
1033
1415
  <tr>
1034
1416
  <td>Provisions</td>
1035
1417
  <td>
1036
- <xref target='A2'>
1037
- Permission 1-1:
1038
- <tt>Permission 1</tt>
1418
+ <xref target='A2'>Permission 1-1:
1419
+ First #1
1039
1420
  </xref>
1040
1421
  <br/>
1041
1422
  <xref target='A3'>
1042
1423
  Requirement 1-1:
1043
- <tt>Requirement 1</tt>
1424
+ First #2
1044
1425
  </xref>
1045
1426
  <br/>
1046
1427
  <xref target='A4'>
1047
1428
  Recommendation 1-1:
1048
- <tt>Recommendation 1</tt>
1429
+ First #3
1049
1430
  </xref>
1050
1431
  </td>
1051
1432
  </tr>
@@ -1185,6 +1566,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
1185
1566
  <ogc-standard xmlns="https://standards.opengeospatial.org/document">
1186
1567
  <preface><foreword id="A"><title>Preface</title>
1187
1568
  <recommendation model="ogc" id="_">
1569
+ <title>First</title>
1188
1570
  <identifier>/ogc/recommendation/wfs/2</identifier>
1189
1571
  <inherit>/ss/584/2015/level/1</inherit>
1190
1572
  <subject>user</subject>
@@ -1237,7 +1619,7 @@ RSpec.describe Metanorma::Requirements::Iso::Modspec do
1237
1619
  <foreword id='A' displayorder='1'>
1238
1620
  <title>Preface</title>
1239
1621
  <table id='_' class='modspec' type='recommend'>
1240
- <name>Table 1 — Recommendation 1</name>
1622
+ <name>Table 1 — Recommendation 1: First</name>
1241
1623
  <tbody>
1242
1624
  <tr>
1243
1625
  <td>Identifier</td>