metanorma-ogc 2.6.1 → 2.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -817,7 +817,7 @@
817
817
  <xsl:choose>
818
818
  <xsl:when test="@level = 1">
819
819
  <fo:list-block provisional-distance-between-starts="8mm">
820
- <xsl:if test="@type = 'annex'">
820
+ <xsl:if test="@type = 'annex' or (@type = 'references' and normalize-space(@section) = '')">
821
821
  <xsl:attribute name="provisional-distance-between-starts">0mm</xsl:attribute>
822
822
  </xsl:if>
823
823
  <fo:list-item>
@@ -13637,6 +13637,39 @@
13637
13637
  </pdf:catalog>
13638
13638
  <x:xmpmeta xmlns:x="adobe:ns:meta/">
13639
13639
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
13640
+ <rdf:Description xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/" xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#" xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#" rdf:about="">
13641
+ <pdfaExtension:schemas>
13642
+ <rdf:Bag>
13643
+ <rdf:li rdf:parseType="Resource">
13644
+ <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
13645
+ <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
13646
+ <pdfaSchema:schema>PDF/UA identification schema</pdfaSchema:schema>
13647
+ <pdfaSchema:property>
13648
+ <rdf:Seq>
13649
+ <rdf:li rdf:parseType="Resource">
13650
+ <pdfaProperty:category>internal</pdfaProperty:category>
13651
+ <pdfaProperty:description>PDF/UA version identifier</pdfaProperty:description>
13652
+ <pdfaProperty:name>part</pdfaProperty:name>
13653
+ <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
13654
+ </rdf:li>
13655
+ <rdf:li rdf:parseType="Resource">
13656
+ <pdfaProperty:category>internal</pdfaProperty:category>
13657
+ <pdfaProperty:description>PDF/UA amendment identifier</pdfaProperty:description>
13658
+ <pdfaProperty:name>amd</pdfaProperty:name>
13659
+ <pdfaProperty:valueType>Text</pdfaProperty:valueType>
13660
+ </rdf:li>
13661
+ <rdf:li rdf:parseType="Resource">
13662
+ <pdfaProperty:category>internal</pdfaProperty:category>
13663
+ <pdfaProperty:description>PDF/UA corrigenda identifier</pdfaProperty:description>
13664
+ <pdfaProperty:name>corr</pdfaProperty:name>
13665
+ <pdfaProperty:valueType>Text</pdfaProperty:valueType>
13666
+ </rdf:li>
13667
+ </rdf:Seq>
13668
+ </pdfaSchema:property>
13669
+ </rdf:li>
13670
+ </rdf:Bag>
13671
+ </pdfaExtension:schemas>
13672
+ </rdf:Description>
13640
13673
  <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
13641
13674
  <!-- Dublin Core properties go here -->
13642
13675
  <dc:title>
@@ -13647,33 +13680,57 @@
13647
13680
 
13648
13681
  </xsl:for-each>
13649
13682
  </xsl:variable>
13650
- <xsl:choose>
13651
- <xsl:when test="normalize-space($title) != ''">
13652
- <xsl:value-of select="$title"/>
13653
- </xsl:when>
13654
- <xsl:otherwise>
13655
- <xsl:text> </xsl:text>
13656
- </xsl:otherwise>
13657
- </xsl:choose>
13683
+ <rdf:Alt>
13684
+ <rdf:li xml:lang="x-default">
13685
+ <xsl:choose>
13686
+ <xsl:when test="normalize-space($title) != ''">
13687
+ <xsl:value-of select="$title"/>
13688
+ </xsl:when>
13689
+ <xsl:otherwise>
13690
+ <xsl:text> </xsl:text>
13691
+ </xsl:otherwise>
13692
+ </xsl:choose>
13693
+ </rdf:li>
13694
+ </rdf:Alt>
13658
13695
  </dc:title>
13659
- <dc:creator>
13696
+ <xsl:variable name="dc_creator">
13660
13697
  <xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
13661
13698
 
13662
- <xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
13663
- <xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
13664
- <xsl:if test="position() != last()">; </xsl:if>
13665
- </xsl:for-each>
13699
+ <rdf:Seq>
13700
+ <xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
13701
+ <rdf:li>
13702
+ <xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
13703
+ </rdf:li>
13704
+ <!-- <xsl:if test="position() != last()">; </xsl:if> -->
13705
+ </xsl:for-each>
13706
+ </rdf:Seq>
13666
13707
 
13667
13708
  </xsl:for-each>
13668
- </dc:creator>
13669
- <dc:description>
13709
+ </xsl:variable>
13710
+ <xsl:if test="normalize-space($dc_creator) != ''">
13711
+ <dc:creator>
13712
+ <xsl:copy-of select="$dc_creator"/>
13713
+ </dc:creator>
13714
+ </xsl:if>
13715
+
13716
+ <xsl:variable name="dc_description">
13670
13717
  <xsl:variable name="abstract">
13671
13718
 
13672
13719
  <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
13673
13720
 
13674
13721
  </xsl:variable>
13675
- <xsl:value-of select="normalize-space($abstract)"/>
13676
- </dc:description>
13722
+ <rdf:Alt>
13723
+ <rdf:li xml:lang="x-default">
13724
+ <xsl:value-of select="normalize-space($abstract)"/>
13725
+ </rdf:li>
13726
+ </rdf:Alt>
13727
+ </xsl:variable>
13728
+ <xsl:if test="normalize-space($dc_description)">
13729
+ <dc:description>
13730
+ <xsl:copy-of select="$dc_description"/>
13731
+ </dc:description>
13732
+ </xsl:if>
13733
+
13677
13734
  <pdf:Keywords>
13678
13735
  <xsl:call-template name="insertKeywords">
13679
13736
  <xsl:with-param name="meta">true</xsl:with-param>
@@ -817,7 +817,7 @@
817
817
  <xsl:choose>
818
818
  <xsl:when test="@level = 1">
819
819
  <fo:list-block provisional-distance-between-starts="8mm">
820
- <xsl:if test="@type = 'annex'">
820
+ <xsl:if test="@type = 'annex' or (@type = 'references' and normalize-space(@section) = '')">
821
821
  <xsl:attribute name="provisional-distance-between-starts">0mm</xsl:attribute>
822
822
  </xsl:if>
823
823
  <fo:list-item>
@@ -13637,6 +13637,39 @@
13637
13637
  </pdf:catalog>
13638
13638
  <x:xmpmeta xmlns:x="adobe:ns:meta/">
13639
13639
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
13640
+ <rdf:Description xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/" xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#" xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#" rdf:about="">
13641
+ <pdfaExtension:schemas>
13642
+ <rdf:Bag>
13643
+ <rdf:li rdf:parseType="Resource">
13644
+ <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
13645
+ <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
13646
+ <pdfaSchema:schema>PDF/UA identification schema</pdfaSchema:schema>
13647
+ <pdfaSchema:property>
13648
+ <rdf:Seq>
13649
+ <rdf:li rdf:parseType="Resource">
13650
+ <pdfaProperty:category>internal</pdfaProperty:category>
13651
+ <pdfaProperty:description>PDF/UA version identifier</pdfaProperty:description>
13652
+ <pdfaProperty:name>part</pdfaProperty:name>
13653
+ <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
13654
+ </rdf:li>
13655
+ <rdf:li rdf:parseType="Resource">
13656
+ <pdfaProperty:category>internal</pdfaProperty:category>
13657
+ <pdfaProperty:description>PDF/UA amendment identifier</pdfaProperty:description>
13658
+ <pdfaProperty:name>amd</pdfaProperty:name>
13659
+ <pdfaProperty:valueType>Text</pdfaProperty:valueType>
13660
+ </rdf:li>
13661
+ <rdf:li rdf:parseType="Resource">
13662
+ <pdfaProperty:category>internal</pdfaProperty:category>
13663
+ <pdfaProperty:description>PDF/UA corrigenda identifier</pdfaProperty:description>
13664
+ <pdfaProperty:name>corr</pdfaProperty:name>
13665
+ <pdfaProperty:valueType>Text</pdfaProperty:valueType>
13666
+ </rdf:li>
13667
+ </rdf:Seq>
13668
+ </pdfaSchema:property>
13669
+ </rdf:li>
13670
+ </rdf:Bag>
13671
+ </pdfaExtension:schemas>
13672
+ </rdf:Description>
13640
13673
  <rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
13641
13674
  <!-- Dublin Core properties go here -->
13642
13675
  <dc:title>
@@ -13647,33 +13680,57 @@
13647
13680
 
13648
13681
  </xsl:for-each>
13649
13682
  </xsl:variable>
13650
- <xsl:choose>
13651
- <xsl:when test="normalize-space($title) != ''">
13652
- <xsl:value-of select="$title"/>
13653
- </xsl:when>
13654
- <xsl:otherwise>
13655
- <xsl:text> </xsl:text>
13656
- </xsl:otherwise>
13657
- </xsl:choose>
13683
+ <rdf:Alt>
13684
+ <rdf:li xml:lang="x-default">
13685
+ <xsl:choose>
13686
+ <xsl:when test="normalize-space($title) != ''">
13687
+ <xsl:value-of select="$title"/>
13688
+ </xsl:when>
13689
+ <xsl:otherwise>
13690
+ <xsl:text> </xsl:text>
13691
+ </xsl:otherwise>
13692
+ </xsl:choose>
13693
+ </rdf:li>
13694
+ </rdf:Alt>
13658
13695
  </dc:title>
13659
- <dc:creator>
13696
+ <xsl:variable name="dc_creator">
13660
13697
  <xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
13661
13698
 
13662
- <xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
13663
- <xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
13664
- <xsl:if test="position() != last()">; </xsl:if>
13665
- </xsl:for-each>
13699
+ <rdf:Seq>
13700
+ <xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
13701
+ <rdf:li>
13702
+ <xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
13703
+ </rdf:li>
13704
+ <!-- <xsl:if test="position() != last()">; </xsl:if> -->
13705
+ </xsl:for-each>
13706
+ </rdf:Seq>
13666
13707
 
13667
13708
  </xsl:for-each>
13668
- </dc:creator>
13669
- <dc:description>
13709
+ </xsl:variable>
13710
+ <xsl:if test="normalize-space($dc_creator) != ''">
13711
+ <dc:creator>
13712
+ <xsl:copy-of select="$dc_creator"/>
13713
+ </dc:creator>
13714
+ </xsl:if>
13715
+
13716
+ <xsl:variable name="dc_description">
13670
13717
  <xsl:variable name="abstract">
13671
13718
 
13672
13719
  <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
13673
13720
 
13674
13721
  </xsl:variable>
13675
- <xsl:value-of select="normalize-space($abstract)"/>
13676
- </dc:description>
13722
+ <rdf:Alt>
13723
+ <rdf:li xml:lang="x-default">
13724
+ <xsl:value-of select="normalize-space($abstract)"/>
13725
+ </rdf:li>
13726
+ </rdf:Alt>
13727
+ </xsl:variable>
13728
+ <xsl:if test="normalize-space($dc_description)">
13729
+ <dc:description>
13730
+ <xsl:copy-of select="$dc_description"/>
13731
+ </dc:description>
13732
+ </xsl:if>
13733
+
13677
13734
  <pdf:Keywords>
13678
13735
  <xsl:call-template name="insertKeywords">
13679
13736
  <xsl:with-param name="meta">true</xsl:with-param>
@@ -12406,6 +12406,39 @@
12406
12406
  </pdf:catalog>
12407
12407
  <x:xmpmeta xmlns:x="adobe:ns:meta/">
12408
12408
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
12409
+ <rdf:Description xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/" xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#" xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#" rdf:about="">
12410
+ <pdfaExtension:schemas>
12411
+ <rdf:Bag>
12412
+ <rdf:li rdf:parseType="Resource">
12413
+ <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
12414
+ <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
12415
+ <pdfaSchema:schema>PDF/UA identification schema</pdfaSchema:schema>
12416
+ <pdfaSchema:property>
12417
+ <rdf:Seq>
12418
+ <rdf:li rdf:parseType="Resource">
12419
+ <pdfaProperty:category>internal</pdfaProperty:category>
12420
+ <pdfaProperty:description>PDF/UA version identifier</pdfaProperty:description>
12421
+ <pdfaProperty:name>part</pdfaProperty:name>
12422
+ <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
12423
+ </rdf:li>
12424
+ <rdf:li rdf:parseType="Resource">
12425
+ <pdfaProperty:category>internal</pdfaProperty:category>
12426
+ <pdfaProperty:description>PDF/UA amendment identifier</pdfaProperty:description>
12427
+ <pdfaProperty:name>amd</pdfaProperty:name>
12428
+ <pdfaProperty:valueType>Text</pdfaProperty:valueType>
12429
+ </rdf:li>
12430
+ <rdf:li rdf:parseType="Resource">
12431
+ <pdfaProperty:category>internal</pdfaProperty:category>
12432
+ <pdfaProperty:description>PDF/UA corrigenda identifier</pdfaProperty:description>
12433
+ <pdfaProperty:name>corr</pdfaProperty:name>
12434
+ <pdfaProperty:valueType>Text</pdfaProperty:valueType>
12435
+ </rdf:li>
12436
+ </rdf:Seq>
12437
+ </pdfaSchema:property>
12438
+ </rdf:li>
12439
+ </rdf:Bag>
12440
+ </pdfaExtension:schemas>
12441
+ </rdf:Description>
12409
12442
  <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
12410
12443
  <!-- Dublin Core properties go here -->
12411
12444
  <dc:title>
@@ -12416,33 +12449,57 @@
12416
12449
 
12417
12450
  </xsl:for-each>
12418
12451
  </xsl:variable>
12419
- <xsl:choose>
12420
- <xsl:when test="normalize-space($title) != ''">
12421
- <xsl:value-of select="$title"/>
12422
- </xsl:when>
12423
- <xsl:otherwise>
12424
- <xsl:text> </xsl:text>
12425
- </xsl:otherwise>
12426
- </xsl:choose>
12452
+ <rdf:Alt>
12453
+ <rdf:li xml:lang="x-default">
12454
+ <xsl:choose>
12455
+ <xsl:when test="normalize-space($title) != ''">
12456
+ <xsl:value-of select="$title"/>
12457
+ </xsl:when>
12458
+ <xsl:otherwise>
12459
+ <xsl:text> </xsl:text>
12460
+ </xsl:otherwise>
12461
+ </xsl:choose>
12462
+ </rdf:li>
12463
+ </rdf:Alt>
12427
12464
  </dc:title>
12428
- <dc:creator>
12465
+ <xsl:variable name="dc_creator">
12429
12466
  <xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
12430
12467
 
12431
- <xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
12432
- <xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
12433
- <xsl:if test="position() != last()">; </xsl:if>
12434
- </xsl:for-each>
12468
+ <rdf:Seq>
12469
+ <xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
12470
+ <rdf:li>
12471
+ <xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
12472
+ </rdf:li>
12473
+ <!-- <xsl:if test="position() != last()">; </xsl:if> -->
12474
+ </xsl:for-each>
12475
+ </rdf:Seq>
12435
12476
 
12436
12477
  </xsl:for-each>
12437
- </dc:creator>
12438
- <dc:description>
12478
+ </xsl:variable>
12479
+ <xsl:if test="normalize-space($dc_creator) != ''">
12480
+ <dc:creator>
12481
+ <xsl:copy-of select="$dc_creator"/>
12482
+ </dc:creator>
12483
+ </xsl:if>
12484
+
12485
+ <xsl:variable name="dc_description">
12439
12486
  <xsl:variable name="abstract">
12440
12487
 
12441
12488
  <xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
12442
12489
 
12443
12490
  </xsl:variable>
12444
- <xsl:value-of select="normalize-space($abstract)"/>
12445
- </dc:description>
12491
+ <rdf:Alt>
12492
+ <rdf:li xml:lang="x-default">
12493
+ <xsl:value-of select="normalize-space($abstract)"/>
12494
+ </rdf:li>
12495
+ </rdf:Alt>
12496
+ </xsl:variable>
12497
+ <xsl:if test="normalize-space($dc_description)">
12498
+ <dc:description>
12499
+ <xsl:copy-of select="$dc_description"/>
12500
+ </dc:description>
12501
+ </xsl:if>
12502
+
12446
12503
  <pdf:Keywords>
12447
12504
  <xsl:call-template name="insertKeywords">
12448
12505
  <xsl:with-param name="meta">true</xsl:with-param>