metanorma-ogc 2.8.7 → 2.8.8
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/isodoc/ogc/ogc.abstract-specification-topic.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.best-practice.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.community-practice.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.community-standard.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.discussion-paper.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.draft-standard.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.engineering-report.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.other.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.policy.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.reference-model.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.release-notes.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.standard.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.test-suite.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.user-guide.xsl +149 -55
 - data/lib/isodoc/ogc/ogc.white-paper.xsl +146 -118
 - data/lib/isodoc/ogc/presentation_sections.rb +3 -3
 - data/lib/metanorma/ogc/converter.rb +3 -2
 - data/lib/metanorma/ogc/front.rb +2 -6
 - data/lib/metanorma/ogc/log.rb +68 -0
 - data/lib/metanorma/ogc/validate.rb +15 -25
 - data/lib/metanorma/ogc/version.rb +1 -1
 - data/lib/relaton/render/config.yml +5 -5
 - data/metanorma-ogc.gemspec +1 -1
 - metadata +5 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 329d53d7eebb925fa310162c7934f469c633e15960b614932c8137005f59528b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 49b5a035108197c19e38ed797a9b141686892451a66580abe1a0b122e10af307
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a3204db665fcf5d3ca0cc30d2063ac1e7bb816286558dd8617263779ec7fdd873d74d759966d91ea7adb3c30f72de63bd4b080acee72cf61844a764969e52c24
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3caa57b3f66c1419ac1b56a9e1563ae80b6ef3c58cc33ed174e35186d5e79d6a36cc46431d36490c731de897e31bf42db9c1b59bc0e3de2eea5252acbfa6cf7d
         
     | 
| 
         @@ -652,7 +652,7 @@ 
     | 
|
| 
       652 
652 
     | 
    
         
             
            										<xsl:when test="$isLegacy = 'true'">
         
     | 
| 
       653 
653 
     | 
    
         
             
            											<fo:block-container font-size="17pt" background-color="{$color_background_blue}" margin-left="-2.5mm" height="11.5mm" width="56mm" display-align="center" margin-top="0.5mm">
         
     | 
| 
       654 
654 
     | 
    
         
             
            												<fo:block-container margin-left="2.5mm">
         
     | 
| 
       655 
     | 
    
         
            -
            													<fo:block-container  
     | 
| 
      
 655 
     | 
    
         
            +
            													<fo:block-container xsl:use-attribute-sets="reset-margins-style">
         
     | 
| 
       656 
656 
     | 
    
         
             
            														<fo:block margin-top="1mm">
         
     | 
| 
       657 
657 
     | 
    
         
             
            															<xsl:call-template name="addLetterSpacing">
         
     | 
| 
       658 
658 
     | 
    
         
             
            																<xsl:with-param name="text" select="$stage_uc"/>
         
     | 
| 
         @@ -766,7 +766,7 @@ 
     | 
|
| 
       766 
766 
     | 
    
         
             
            								<xsl:when test="$isLegacy = 'true'">
         
     | 
| 
       767 
767 
     | 
    
         
             
            									<fo:block-container margin-left="-7mm" color="{$color_design}" background-color="{$color_background_blue}" width="202mm">
         
     | 
| 
       768 
768 
     | 
    
         
             
            										<fo:block-container margin-left="2.5mm" margin-right="1mm" padding-top="0.5mm" padding-bottom="0.5mm">
         
     | 
| 
       769 
     | 
    
         
            -
            											<fo:block-container  
     | 
| 
      
 769 
     | 
    
         
            +
            											<fo:block-container xsl:use-attribute-sets="reset-margins-style">
         
     | 
| 
       770 
770 
     | 
    
         
             
            												<fo:block>
         
     | 
| 
       771 
771 
     | 
    
         
             
            													<xsl:variable name="legal_statement">
         
     | 
| 
       772 
772 
     | 
    
         
             
            														<xsl:apply-templates select="/mn:metanorma/mn:boilerplate/mn:legal-statement" mode="update_xml_step1"/>
         
     | 
| 
         @@ -859,7 +859,7 @@ 
     | 
|
| 
       859 
859 
     | 
    
         
             
            	<xsl:template name="insertListOf_Title">
         
     | 
| 
       860 
860 
     | 
    
         
             
            		<xsl:param name="title"/>
         
     | 
| 
       861 
861 
     | 
    
         
             
            		<fo:block-container xsl:use-attribute-sets="toc-listof-title-style">
         
     | 
| 
       862 
     | 
    
         
            -
            			<fo:block-container  
     | 
| 
      
 862 
     | 
    
         
            +
            			<fo:block-container xsl:use-attribute-sets="reset-margins-style" role="H2">
         
     | 
| 
       863 
863 
     | 
    
         
             
            				<xsl:call-template name="insertSectionTitle">
         
     | 
| 
       864 
864 
     | 
    
         
             
            					<xsl:with-param name="title" select="$title"/>
         
     | 
| 
       865 
865 
     | 
    
         
             
            				</xsl:call-template>
         
     | 
| 
         @@ -1022,7 +1022,7 @@ 
     | 
|
| 
       1022 
1022 
     | 
    
         
             
            		</xsl:variable>
         
     | 
| 
       1023 
1023 
     | 
    
         | 
| 
       1024 
1024 
     | 
    
         
             
            		<fo:block-container margin-left="-18mm" margin-bottom="40pt">
         
     | 
| 
       1025 
     | 
    
         
            -
            			<fo:block-container  
     | 
| 
      
 1025 
     | 
    
         
            +
            			<fo:block-container xsl:use-attribute-sets="reset-margins-style">
         
     | 
| 
       1026 
1026 
     | 
    
         
             
            				<fo:block xsl:use-attribute-sets="toc-title-style">
         
     | 
| 
       1027 
1027 
     | 
    
         
             
            					<xsl:call-template name="addLetterSpacing">
         
     | 
| 
       1028 
1028 
     | 
    
         
             
            						<xsl:with-param name="text" select="java:toUpperCase(java:java.lang.String.new($title-toc))"/>
         
     | 
| 
         @@ -1332,24 +1332,6 @@ 
     | 
|
| 
       1332 
1332 
     | 
    
         
             
            			<xsl:call-template name="getLevel"/>
         
     | 
| 
       1333 
1333 
     | 
    
         
             
            		</xsl:variable>
         
     | 
| 
       1334 
1334 
     | 
    
         | 
| 
       1335 
     | 
    
         
            -
            		<xsl:variable name="font-size">
         
     | 
| 
       1336 
     | 
    
         
            -
            			<xsl:choose>
         
     | 
| 
       1337 
     | 
    
         
            -
            				<xsl:when test="$level = 3">14pt</xsl:when>
         
     | 
| 
       1338 
     | 
    
         
            -
            				<xsl:when test="$level = 4">12pt</xsl:when>
         
     | 
| 
       1339 
     | 
    
         
            -
            				<xsl:when test="$level >= 5">11pt</xsl:when>
         
     | 
| 
       1340 
     | 
    
         
            -
            				<xsl:otherwise>18pt</xsl:otherwise>
         
     | 
| 
       1341 
     | 
    
         
            -
            			</xsl:choose>
         
     | 
| 
       1342 
     | 
    
         
            -
            		</xsl:variable>
         
     | 
| 
       1343 
     | 
    
         
            -
             
     | 
| 
       1344 
     | 
    
         
            -
            		<xsl:variable name="font-weight">
         
     | 
| 
       1345 
     | 
    
         
            -
            			<xsl:choose>
         
     | 
| 
       1346 
     | 
    
         
            -
            				<xsl:when test="$level = 3">bold</xsl:when>
         
     | 
| 
       1347 
     | 
    
         
            -
            				<xsl:when test="$level = 4">bold</xsl:when>
         
     | 
| 
       1348 
     | 
    
         
            -
            				<xsl:when test="$level = 5">bold</xsl:when>
         
     | 
| 
       1349 
     | 
    
         
            -
            				<xsl:otherwise>normal</xsl:otherwise>
         
     | 
| 
       1350 
     | 
    
         
            -
            			</xsl:choose>
         
     | 
| 
       1351 
     | 
    
         
            -
            		</xsl:variable>
         
     | 
| 
       1352 
     | 
    
         
            -
             
     | 
| 
       1353 
1335 
     | 
    
         
             
            		<xsl:variable name="element-name">
         
     | 
| 
       1354 
1336 
     | 
    
         
             
            			<xsl:choose>
         
     | 
| 
       1355 
1337 
     | 
    
         
             
            				<xsl:when test="../@inline-header = 'true'">fo:inline</xsl:when>
         
     | 
| 
         @@ -1357,11 +1339,14 @@ 
     | 
|
| 
       1357 
1339 
     | 
    
         
             
            			</xsl:choose>
         
     | 
| 
       1358 
1340 
     | 
    
         
             
            		</xsl:variable>
         
     | 
| 
       1359 
1341 
     | 
    
         | 
| 
      
 1342 
     | 
    
         
            +
            		<xsl:variable name="title_styles"><styles xsl:use-attribute-sets="title-style"><xsl:call-template name="refine_title-style"/></styles></xsl:variable>
         
     | 
| 
      
 1343 
     | 
    
         
            +
             
     | 
| 
       1360 
1344 
     | 
    
         
             
            		<xsl:choose>
         
     | 
| 
       1361 
1345 
     | 
    
         
             
            			<xsl:when test="$level = 1">
         
     | 
| 
       1362 
1346 
     | 
    
         
             
            				<fo:block-container margin-left="-22mm" role="SKIP">
         
     | 
| 
       1363 
     | 
    
         
            -
            					<fo:block-container  
     | 
| 
       1364 
     | 
    
         
            -
            						<fo:block 
     | 
| 
      
 1347 
     | 
    
         
            +
            					<fo:block-container xsl:use-attribute-sets="reset-margins-style">
         
     | 
| 
      
 1348 
     | 
    
         
            +
            						<fo:block>
         
     | 
| 
      
 1349 
     | 
    
         
            +
            							<xsl:copy-of select="xalan:nodeset($title_styles)/styles/@*[local-name() = 'space-before' or local-name() = 'margin-bottom' or          local-name() = 'keep-with-next' or local-name() = 'role']"/>
         
     | 
| 
       1365 
1350 
     | 
    
         
             
            							<fo:table table-layout="fixed" width="100%">
         
     | 
| 
       1366 
1351 
     | 
    
         
             
            								<fo:table-column column-width="22mm"/>
         
     | 
| 
       1367 
1352 
     | 
    
         
             
            								<fo:table-column column-width="158mm"/>
         
     | 
| 
         @@ -1377,7 +1362,8 @@ 
     | 
|
| 
       1377 
1362 
     | 
    
         
             
            											</fo:block>
         
     | 
| 
       1378 
1363 
     | 
    
         
             
            										</fo:table-cell>
         
     | 
| 
       1379 
1364 
     | 
    
         
             
            										<fo:table-cell>
         
     | 
| 
       1380 
     | 
    
         
            -
            											<fo:block 
     | 
| 
      
 1365 
     | 
    
         
            +
            											<fo:block>
         
     | 
| 
      
 1366 
     | 
    
         
            +
            												<xsl:copy-of select="xalan:nodeset($title_styles)/styles/@*[local-name() = 'space-before']"/>
         
     | 
| 
       1381 
1367 
     | 
    
         
             
            												<xsl:variable name="title">
         
     | 
| 
       1382 
1368 
     | 
    
         
             
            													<xsl:choose>
         
     | 
| 
       1383 
1369 
     | 
    
         
             
            														<xsl:when test="mn:tab">
         
     | 
| 
         @@ -1401,8 +1387,8 @@ 
     | 
|
| 
       1401 
1387 
     | 
    
         
             
            				</fo:block-container>
         
     | 
| 
       1402 
1388 
     | 
    
         
             
            			</xsl:when>
         
     | 
| 
       1403 
1389 
     | 
    
         
             
            			<xsl:when test="$level = 2">
         
     | 
| 
       1404 
     | 
    
         
            -
            				<fo:block 
     | 
| 
       1405 
     | 
    
         
            -
            					<xsl: 
     | 
| 
      
 1390 
     | 
    
         
            +
            				<fo:block>
         
     | 
| 
      
 1391 
     | 
    
         
            +
            					<xsl:copy-of select="xalan:nodeset($title_styles)/styles/@*[local-name() = 'space-before' or local-name() = 'margin-bottom' or        local-name() = 'keep-with-next' or local-name() = 'role']"/>
         
     | 
| 
       1406 
1392 
     | 
    
         
             
            					<xsl:variable name="title">
         
     | 
| 
       1407 
1393 
     | 
    
         
             
            						<xsl:choose>
         
     | 
| 
       1408 
1394 
     | 
    
         
             
            							<xsl:when test="mn:tab">
         
     | 
| 
         @@ -1423,13 +1409,8 @@ 
     | 
|
| 
       1423 
1409 
     | 
    
         
             
            			</xsl:when>
         
     | 
| 
       1424 
1410 
     | 
    
         
             
            			<xsl:otherwise>
         
     | 
| 
       1425 
1411 
     | 
    
         
             
            				<xsl:element name="{$element-name}">
         
     | 
| 
       1426 
     | 
    
         
            -
            					<xsl: 
     | 
| 
       1427 
     | 
    
         
            -
             
     | 
| 
       1428 
     | 
    
         
            -
            					<xsl:attribute name="keep-with-next">always</xsl:attribute>
         
     | 
| 
       1429 
     | 
    
         
            -
            					<xsl:attribute name="margin-top">30pt</xsl:attribute>
         
     | 
| 
       1430 
     | 
    
         
            -
            					<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
         
     | 
| 
       1431 
     | 
    
         
            -
            					<xsl:attribute name="color"><xsl:value-of select="$color_text_title"/></xsl:attribute>
         
     | 
| 
       1432 
     | 
    
         
            -
            					<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
         
     | 
| 
      
 1412 
     | 
    
         
            +
            					<xsl:copy-of select="xalan:nodeset($title_styles)/styles/@*"/>
         
     | 
| 
      
 1413 
     | 
    
         
            +
             
     | 
| 
       1433 
1414 
     | 
    
         
             
            					<xsl:apply-templates/>
         
     | 
| 
       1434 
1415 
     | 
    
         
             
            					<xsl:apply-templates select="following-sibling::*[1][self::mn:variant-title][@type = 'sub']" mode="subtitle"/>
         
     | 
| 
       1435 
1416 
     | 
    
         
             
            				</xsl:element>
         
     | 
| 
         @@ -1454,21 +1435,15 @@ 
     | 
|
| 
       1454 
1435 
     | 
    
         
             
            				<xsl:otherwise>fo:block</xsl:otherwise>
         
     | 
| 
       1455 
1436 
     | 
    
         
             
            			</xsl:choose>
         
     | 
| 
       1456 
1437 
     | 
    
         
             
            		</xsl:variable>
         
     | 
| 
       1457 
     | 
    
         
            -
            		<xsl:element name="{$element-name}">
         
     | 
| 
       1458 
     | 
    
         
            -
            			<xsl:copy-of select="@id"/>
         
     | 
| 
       1459 
1438 
     | 
    
         | 
| 
       1460 
     | 
    
         
            -
             
     | 
| 
      
 1439 
     | 
    
         
            +
            		<xsl:variable name="p_styles">
         
     | 
| 
      
 1440 
     | 
    
         
            +
            			<styles xsl:use-attribute-sets="p-style">
         
     | 
| 
      
 1441 
     | 
    
         
            +
            				<xsl:call-template name="refine_p-style"><xsl:with-param name="element-name" select="$element-name"/></xsl:call-template>
         
     | 
| 
      
 1442 
     | 
    
         
            +
            			</styles>
         
     | 
| 
      
 1443 
     | 
    
         
            +
            		</xsl:variable>
         
     | 
| 
       1461 
1444 
     | 
    
         | 
| 
       1462 
     | 
    
         
            -
             
     | 
| 
       1463 
     | 
    
         
            -
             
     | 
| 
       1464 
     | 
    
         
            -
            				<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
         
     | 
| 
       1465 
     | 
    
         
            -
            			</xsl:if>
         
     | 
| 
       1466 
     | 
    
         
            -
            			<xsl:if test="ancestor::mn:dd and not(ancestor::mn:table)">
         
     | 
| 
       1467 
     | 
    
         
            -
            				<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
         
     | 
| 
       1468 
     | 
    
         
            -
            				<xsl:if test="not(ancestor::mn:dd[1]/following-sibling::mn:dt)">
         
     | 
| 
       1469 
     | 
    
         
            -
            					<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
         
     | 
| 
       1470 
     | 
    
         
            -
            				</xsl:if>
         
     | 
| 
       1471 
     | 
    
         
            -
            			</xsl:if>
         
     | 
| 
      
 1445 
     | 
    
         
            +
            		<xsl:element name="{$element-name}">
         
     | 
| 
      
 1446 
     | 
    
         
            +
            			<xsl:copy-of select="xalan:nodeset($p_styles)/styles/@*"/>
         
     | 
| 
       1472 
1447 
     | 
    
         | 
| 
       1473 
1448 
     | 
    
         
             
            			<xsl:apply-templates>
         
     | 
| 
       1474 
1449 
     | 
    
         
             
            				<xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
         
     | 
| 
         @@ -1507,7 +1482,7 @@ 
     | 
|
| 
       1507 
1482 
     | 
    
         
             
            					<xsl:attribute name="margin-top">1mm</xsl:attribute>
         
     | 
| 
       1508 
1483 
     | 
    
         
             
            				</xsl:if>
         
     | 
| 
       1509 
1484 
     | 
    
         
             
            			</xsl:if>
         
     | 
| 
       1510 
     | 
    
         
            -
            			<fo:block-container  
     | 
| 
      
 1485 
     | 
    
         
            +
            			<fo:block-container xsl:use-attribute-sets="reset-margins-style">
         
     | 
| 
       1511 
1486 
     | 
    
         
             
            				<fo:list-block xsl:use-attribute-sets="list-style">
         
     | 
| 
       1512 
1487 
     | 
    
         
             
            					<xsl:call-template name="refine_list-style"/>
         
     | 
| 
       1513 
1488 
     | 
    
         | 
| 
         @@ -3979,6 +3954,10 @@ 
     | 
|
| 
       3979 
3954 
     | 
    
         
             
            		</xsl:element>
         
     | 
| 
       3980 
3955 
     | 
    
         
             
            	</xsl:template>
         
     | 
| 
       3981 
3956 
     | 
    
         | 
| 
      
 3957 
     | 
    
         
            +
            	<!-- show sourcecode's name 'before' or 'after' source code -->
         
     | 
| 
      
 3958 
     | 
    
         
            +
            	<xsl:variable name="sourcecode-name-position"><xsl:text>after</xsl:text>
         
     | 
| 
      
 3959 
     | 
    
         
            +
            	</xsl:variable>
         
     | 
| 
      
 3960 
     | 
    
         
            +
             
     | 
| 
       3982 
3961 
     | 
    
         
             
            	<xsl:template match="mn:sourcecode" name="sourcecode">
         
     | 
| 
       3983 
3962 
     | 
    
         | 
| 
       3984 
3963 
     | 
    
         
             
            		<xsl:variable name="sourcecode_attributes">
         
     | 
| 
         @@ -4002,7 +3981,12 @@ 
     | 
|
| 
       4002 
3981 
     | 
    
         | 
| 
       4003 
3982 
     | 
    
         
             
            					<xsl:call-template name="refine_sourcecode-container-style"/>
         
     | 
| 
       4004 
3983 
     | 
    
         | 
| 
       4005 
     | 
    
         
            -
            					<fo:block-container margin-left="0mm" role="SKIP">
         
     | 
| 
      
 3984 
     | 
    
         
            +
            					<fo:block-container margin-left="0mm" margin-right="0mm" role="SKIP">
         
     | 
| 
      
 3985 
     | 
    
         
            +
             
     | 
| 
      
 3986 
     | 
    
         
            +
            						<!-- <xsl:if test="$namespace = 'rsd'"> -->
         
     | 
| 
      
 3987 
     | 
    
         
            +
            						<xsl:if test="$sourcecode-name-position = 'before'">
         
     | 
| 
      
 3988 
     | 
    
         
            +
            							<xsl:apply-templates select="mn:fmt-name"/> <!-- show sourcecode's name BEFORE content -->
         
     | 
| 
      
 3989 
     | 
    
         
            +
            						</xsl:if>
         
     | 
| 
       4006 
3990 
     | 
    
         
             
            						<xsl:if test="parent::mn:example">
         
     | 
| 
       4007 
3991 
     | 
    
         
             
            							<fo:block font-size="1pt" line-height="10%" space-after="4pt"> </fo:block>
         
     | 
| 
       4008 
3992 
     | 
    
         
             
            						</xsl:if>
         
     | 
| 
         @@ -4027,7 +4011,16 @@ 
     | 
|
| 
       4027 
4011 
     | 
    
         
             
            						</fo:block>
         
     | 
| 
       4028 
4012 
     | 
    
         | 
| 
       4029 
4013 
     | 
    
         
             
            						<xsl:apply-templates select="mn:dl"/> <!-- Key table -->
         
     | 
| 
       4030 
     | 
    
         
            -
             
     | 
| 
      
 4014 
     | 
    
         
            +
             
     | 
| 
      
 4015 
     | 
    
         
            +
            						<!-- <xsl:choose>
         
     | 
| 
      
 4016 
     | 
    
         
            +
            							<xsl:when test="$namespace = 'rsd'"></xsl:when>
         
     | 
| 
      
 4017 
     | 
    
         
            +
            							<xsl:otherwise>
         
     | 
| 
      
 4018 
     | 
    
         
            +
            								<xsl:apply-templates select="mn:fmt-name" />  --><!-- show sourcecode's name AFTER content -->
         
     | 
| 
      
 4019 
     | 
    
         
            +
            							<!-- </xsl:otherwise>
         
     | 
| 
      
 4020 
     | 
    
         
            +
            						</xsl:choose> -->
         
     | 
| 
      
 4021 
     | 
    
         
            +
            						<xsl:if test="$sourcecode-name-position = 'after'">
         
     | 
| 
      
 4022 
     | 
    
         
            +
            							<xsl:apply-templates select="mn:fmt-name"/> <!-- show sourcecode's name AFTER content -->
         
     | 
| 
      
 4023 
     | 
    
         
            +
            						</xsl:if>
         
     | 
| 
       4031 
4024 
     | 
    
         
             
            						<xsl:if test="parent::mn:example">
         
     | 
| 
       4032 
4025 
     | 
    
         
             
            							<fo:block font-size="1pt" line-height="10%" space-before="6pt"> </fo:block>
         
     | 
| 
       4033 
4026 
     | 
    
         
             
            						</xsl:if>
         
     | 
| 
         @@ -9915,6 +9908,10 @@ 
     | 
|
| 
       9915 
9908 
     | 
    
         
             
            	<!-- image    -->
         
     | 
| 
       9916 
9909 
     | 
    
         
             
            	<!-- ====== -->
         
     | 
| 
       9917 
9910 
     | 
    
         | 
| 
      
 9911 
     | 
    
         
            +
            	<!-- show figure's name 'before' or 'after' image -->
         
     | 
| 
      
 9912 
     | 
    
         
            +
            	<xsl:variable name="figure-name-position"><xsl:text>after</xsl:text>
         
     | 
| 
      
 9913 
     | 
    
         
            +
            	</xsl:variable>
         
     | 
| 
      
 9914 
     | 
    
         
            +
             
     | 
| 
       9918 
9915 
     | 
    
         
             
            	<xsl:template match="mn:figure" name="figure">
         
     | 
| 
       9919 
9916 
     | 
    
         
             
            		<xsl:variable name="isAdded" select="@added"/>
         
     | 
| 
       9920 
9917 
     | 
    
         
             
            		<xsl:variable name="isDeleted" select="@deleted"/>
         
     | 
| 
         @@ -9927,6 +9924,10 @@ 
     | 
|
| 
       9927 
9924 
     | 
    
         
             
            				<xsl:with-param name="isDeleted" select="$isDeleted"/>
         
     | 
| 
       9928 
9925 
     | 
    
         
             
            			</xsl:call-template>
         
     | 
| 
       9929 
9926 
     | 
    
         | 
| 
      
 9927 
     | 
    
         
            +
            			<xsl:if test="$figure-name-position = 'before'"> <!-- show figure's name BEFORE image -->
         
     | 
| 
      
 9928 
     | 
    
         
            +
            				<xsl:apply-templates select="mn:fmt-name"/>
         
     | 
| 
      
 9929 
     | 
    
         
            +
            			</xsl:if>
         
     | 
| 
      
 9930 
     | 
    
         
            +
             
     | 
| 
       9930 
9931 
     | 
    
         
             
            			<!-- Example: Dimensions in millimeters -->
         
     | 
| 
       9931 
9932 
     | 
    
         
             
            			<xsl:apply-templates select="mn:note[@type = 'units']"/>
         
     | 
| 
       9932 
9933 
     | 
    
         | 
| 
         @@ -9947,7 +9948,16 @@ 
     | 
|
| 
       9947 
9948 
     | 
    
         
             
            			<xsl:if test="normalize-space($show_figure_key_in_block_container) = 'true'">
         
     | 
| 
       9948 
9949 
     | 
    
         
             
            				<xsl:call-template name="showFigureKey"/>
         
     | 
| 
       9949 
9950 
     | 
    
         
             
            			</xsl:if>
         
     | 
| 
       9950 
     | 
    
         
            -
             
     | 
| 
      
 9951 
     | 
    
         
            +
             
     | 
| 
      
 9952 
     | 
    
         
            +
            			<!-- <xsl:choose>
         
     | 
| 
      
 9953 
     | 
    
         
            +
            				<xsl:when test="$namespace = 'bsi' or $namespace = 'pas' or $namespace = 'rsd'"></xsl:when>
         
     | 
| 
      
 9954 
     | 
    
         
            +
            				<xsl:otherwise>
         
     | 
| 
      
 9955 
     | 
    
         
            +
            					<xsl:apply-templates select="mn:fmt-name" /> --> <!-- show figure's name AFTER image -->
         
     | 
| 
      
 9956 
     | 
    
         
            +
            				<!-- </xsl:otherwise>
         
     | 
| 
      
 9957 
     | 
    
         
            +
            			</xsl:choose> -->
         
     | 
| 
      
 9958 
     | 
    
         
            +
            			<xsl:if test="$figure-name-position = 'after'">
         
     | 
| 
      
 9959 
     | 
    
         
            +
            				<xsl:apply-templates select="mn:fmt-name"/> <!-- show figure's name AFTER image -->
         
     | 
| 
      
 9960 
     | 
    
         
            +
            			</xsl:if>
         
     | 
| 
       9951 
9961 
     | 
    
         | 
| 
       9952 
9962 
     | 
    
         
             
            		</fo:block-container>
         
     | 
| 
       9953 
9963 
     | 
    
         
             
            	</xsl:template>
         
     | 
| 
         @@ -12065,7 +12075,6 @@ 
     | 
|
| 
       12065 
12075 
     | 
    
         
             
            	</xsl:attribute-set>
         
     | 
| 
       12066 
12076 
     | 
    
         | 
| 
       12067 
12077 
     | 
    
         
             
            	<xsl:template name="refine_references-non-normative-title-style">
         
     | 
| 
       12068 
     | 
    
         
            -
             
     | 
| 
       12069 
12078 
     | 
    
         
             
            	</xsl:template>
         
     | 
| 
       12070 
12079 
     | 
    
         | 
| 
       12071 
12080 
     | 
    
         
             
            	<!-- bibitem in Normative References (references/@normative="true") -->
         
     | 
| 
         @@ -14106,7 +14115,7 @@ 
     | 
|
| 
       14106 
14115 
     | 
    
         
             
            	<!-- ===================================== -->
         
     | 
| 
       14107 
14116 
     | 
    
         | 
| 
       14108 
14117 
     | 
    
         
             
            	<xsl:attribute-set name="annex-title-style">
         
     | 
| 
       14109 
     | 
    
         
            -
            	</xsl:attribute-set>
         
     | 
| 
      
 14118 
     | 
    
         
            +
            	</xsl:attribute-set> <!-- annex-title-style -->
         
     | 
| 
       14110 
14119 
     | 
    
         | 
| 
       14111 
14120 
     | 
    
         
             
            	<xsl:template name="refine_annex-title-style">
         
     | 
| 
       14112 
14121 
     | 
    
         
             
            	</xsl:template>
         
     | 
| 
         @@ -14117,6 +14126,78 @@ 
     | 
|
| 
       14117 
14126 
     | 
    
         
             
            	<xsl:template name="refine_p-zzSTDTitle1-style">
         
     | 
| 
       14118 
14127 
     | 
    
         
             
            	</xsl:template>
         
     | 
| 
       14119 
14128 
     | 
    
         | 
| 
      
 14129 
     | 
    
         
            +
            	<xsl:attribute-set name="p-style">
         
     | 
| 
      
 14130 
     | 
    
         
            +
            	</xsl:attribute-set> <!-- p-style -->
         
     | 
| 
      
 14131 
     | 
    
         
            +
             
     | 
| 
      
 14132 
     | 
    
         
            +
            	<xsl:template name="refine_p-style">
         
     | 
| 
      
 14133 
     | 
    
         
            +
            		<xsl:param name="element-name"/>
         
     | 
| 
      
 14134 
     | 
    
         
            +
            		<xsl:param name="margin"/>
         
     | 
| 
      
 14135 
     | 
    
         
            +
            		<xsl:copy-of select="@id"/>
         
     | 
| 
      
 14136 
     | 
    
         
            +
             
     | 
| 
      
 14137 
     | 
    
         
            +
            		<xsl:call-template name="setBlockAttributes"/>
         
     | 
| 
      
 14138 
     | 
    
         
            +
             
     | 
| 
      
 14139 
     | 
    
         
            +
            		<xsl:if test="not(ancestor::mn:table)">
         
     | 
| 
      
 14140 
     | 
    
         
            +
            			<xsl:attribute name="line-height">124%</xsl:attribute>
         
     | 
| 
      
 14141 
     | 
    
         
            +
            			<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
         
     | 
| 
      
 14142 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14143 
     | 
    
         
            +
            		<xsl:if test="ancestor::mn:dd and not(ancestor::mn:table)">
         
     | 
| 
      
 14144 
     | 
    
         
            +
            			<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
         
     | 
| 
      
 14145 
     | 
    
         
            +
            			<xsl:if test="not(ancestor::mn:dd[1]/following-sibling::mn:dt)">
         
     | 
| 
      
 14146 
     | 
    
         
            +
            				<xsl:attribute name="margin-bottom">0pt</xsl:attribute>
         
     | 
| 
      
 14147 
     | 
    
         
            +
            			</xsl:if>
         
     | 
| 
      
 14148 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14149 
     | 
    
         
            +
            		<!-- $namespace = 'ogc' -->
         
     | 
| 
      
 14150 
     | 
    
         
            +
             
     | 
| 
      
 14151 
     | 
    
         
            +
            	</xsl:template> <!-- refine_p-style -->
         
     | 
| 
      
 14152 
     | 
    
         
            +
             
     | 
| 
      
 14153 
     | 
    
         
            +
            	<xsl:attribute-set name="title-style">
         
     | 
| 
      
 14154 
     | 
    
         
            +
            		<!-- Note: font-size for level 1 title -->
         
     | 
| 
      
 14155 
     | 
    
         
            +
            		<xsl:attribute name="font-size">18pt</xsl:attribute>
         
     | 
| 
      
 14156 
     | 
    
         
            +
            		<xsl:attribute name="font-weight">normal</xsl:attribute>
         
     | 
| 
      
 14157 
     | 
    
         
            +
            		<xsl:attribute name="keep-with-next">always</xsl:attribute>
         
     | 
| 
      
 14158 
     | 
    
         
            +
            		<xsl:attribute name="color"><xsl:value-of select="$color_text_title"/></xsl:attribute>
         
     | 
| 
      
 14159 
     | 
    
         
            +
            	</xsl:attribute-set> <!-- title-style -->
         
     | 
| 
      
 14160 
     | 
    
         
            +
             
     | 
| 
      
 14161 
     | 
    
         
            +
            	<xsl:template name="refine_title-style">
         
     | 
| 
      
 14162 
     | 
    
         
            +
            		<xsl:param name="element-name"/>
         
     | 
| 
      
 14163 
     | 
    
         
            +
            		<xsl:variable name="level">
         
     | 
| 
      
 14164 
     | 
    
         
            +
            			<xsl:call-template name="getLevel"/>
         
     | 
| 
      
 14165 
     | 
    
         
            +
            		</xsl:variable>
         
     | 
| 
      
 14166 
     | 
    
         
            +
             
     | 
| 
      
 14167 
     | 
    
         
            +
            		<xsl:if test="$level = 1">
         
     | 
| 
      
 14168 
     | 
    
         
            +
            			<xsl:attribute name="space-before">36pt</xsl:attribute>
         
     | 
| 
      
 14169 
     | 
    
         
            +
            			<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
         
     | 
| 
      
 14170 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14171 
     | 
    
         
            +
             
     | 
| 
      
 14172 
     | 
    
         
            +
            		<xsl:if test="$level = 2">
         
     | 
| 
      
 14173 
     | 
    
         
            +
            			<xsl:attribute name="space-before">24pt</xsl:attribute>
         
     | 
| 
      
 14174 
     | 
    
         
            +
            			<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
         
     | 
| 
      
 14175 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14176 
     | 
    
         
            +
             
     | 
| 
      
 14177 
     | 
    
         
            +
            		<xsl:if test="$level = 3">
         
     | 
| 
      
 14178 
     | 
    
         
            +
            			<xsl:attribute name="font-size">14pt</xsl:attribute>
         
     | 
| 
      
 14179 
     | 
    
         
            +
            			<xsl:attribute name="font-weight">bold</xsl:attribute>
         
     | 
| 
      
 14180 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14181 
     | 
    
         
            +
             
     | 
| 
      
 14182 
     | 
    
         
            +
            		<xsl:if test="$level >= 3">
         
     | 
| 
      
 14183 
     | 
    
         
            +
            			<xsl:attribute name="margin-top">30pt</xsl:attribute>
         
     | 
| 
      
 14184 
     | 
    
         
            +
            			<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
         
     | 
| 
      
 14185 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14186 
     | 
    
         
            +
             
     | 
| 
      
 14187 
     | 
    
         
            +
            		<xsl:if test="$level = 4">
         
     | 
| 
      
 14188 
     | 
    
         
            +
            			<xsl:attribute name="font-size">12pt</xsl:attribute>
         
     | 
| 
      
 14189 
     | 
    
         
            +
            			<xsl:attribute name="font-weight">bold</xsl:attribute>
         
     | 
| 
      
 14190 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14191 
     | 
    
         
            +
            		<xsl:if test="$level = 5">
         
     | 
| 
      
 14192 
     | 
    
         
            +
            			<xsl:attribute name="font-weight">bold</xsl:attribute>
         
     | 
| 
      
 14193 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14194 
     | 
    
         
            +
            		<xsl:if test="$level >= 5">
         
     | 
| 
      
 14195 
     | 
    
         
            +
            			<xsl:attribute name="font-size">11pt</xsl:attribute>
         
     | 
| 
      
 14196 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
      
 14197 
     | 
    
         
            +
            		<!-- $namespace = 'ogc' -->
         
     | 
| 
      
 14198 
     | 
    
         
            +
            		<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
         
     | 
| 
      
 14199 
     | 
    
         
            +
            	</xsl:template> <!-- refine_title-style -->
         
     | 
| 
      
 14200 
     | 
    
         
            +
             
     | 
| 
       14120 
14201 
     | 
    
         
             
            	<xsl:template name="processPrefaceSectionsDefault">
         
     | 
| 
       14121 
14202 
     | 
    
         
             
            		<xsl:for-each select="/*/mn:preface/*[not(self::mn:note or self::mn:admonition)]">
         
     | 
| 
       14122 
14203 
     | 
    
         
             
            			<xsl:sort select="@displayorder" data-type="number"/>
         
     | 
| 
         @@ -14455,6 +14536,12 @@ 
     | 
|
| 
       14455 
14536 
     | 
    
         
             
            			</xsl:choose>
         
     | 
| 
       14456 
14537 
     | 
    
         
             
            	</xsl:template>
         
     | 
| 
       14457 
14538 
     | 
    
         | 
| 
      
 14539 
     | 
    
         
            +
            	<xsl:attribute-set name="reset-margins-style">
         
     | 
| 
      
 14540 
     | 
    
         
            +
            		<xsl:attribute name="margin-left">0mm</xsl:attribute>
         
     | 
| 
      
 14541 
     | 
    
         
            +
            		<xsl:attribute name="margin-right">0mm</xsl:attribute>
         
     | 
| 
      
 14542 
     | 
    
         
            +
            		<xsl:attribute name="role">SKIP</xsl:attribute>
         
     | 
| 
      
 14543 
     | 
    
         
            +
            	</xsl:attribute-set>
         
     | 
| 
      
 14544 
     | 
    
         
            +
             
     | 
| 
       14458 
14545 
     | 
    
         
             
            	<xsl:attribute-set name="clause-style">
         
     | 
| 
       14459 
14546 
     | 
    
         | 
| 
       14460 
14547 
     | 
    
         
             
            	</xsl:attribute-set>
         
     | 
| 
         @@ -15470,8 +15557,9 @@ 
     | 
|
| 
       15470 
15557 
     | 
    
         | 
| 
       15471 
15558 
     | 
    
         
             
            	<xsl:template name="setTextAlignment">
         
     | 
| 
       15472 
15559 
     | 
    
         
             
            		<xsl:param name="default">left</xsl:param>
         
     | 
| 
      
 15560 
     | 
    
         
            +
            		<xsl:param name="skip_default">false</xsl:param>
         
     | 
| 
       15473 
15561 
     | 
    
         
             
            		<xsl:variable name="align" select="normalize-space(@align)"/>
         
     | 
| 
       15474 
     | 
    
         
            -
            		<xsl: 
     | 
| 
      
 15562 
     | 
    
         
            +
            		<xsl:variable name="text_align">
         
     | 
| 
       15475 
15563 
     | 
    
         
             
            			<xsl:choose>
         
     | 
| 
       15476 
15564 
     | 
    
         
             
            				<xsl:when test="$lang = 'ar' and $align = 'left'">start</xsl:when>
         
     | 
| 
       15477 
15565 
     | 
    
         
             
            				<xsl:when test="$lang = 'ar' and $align = 'right'">end</xsl:when>
         
     | 
| 
         @@ -15479,9 +15567,13 @@ 
     | 
|
| 
       15479 
15567 
     | 
    
         
             
            				<xsl:when test="$align != '' and not($align = 'indent')"><xsl:value-of select="$align"/></xsl:when>
         
     | 
| 
       15480 
15568 
     | 
    
         
             
            				<xsl:when test="ancestor::mn:td/@align"><xsl:value-of select="ancestor::mn:td/@align"/></xsl:when>
         
     | 
| 
       15481 
15569 
     | 
    
         
             
            				<xsl:when test="ancestor::mn:th/@align"><xsl:value-of select="ancestor::mn:th/@align"/></xsl:when>
         
     | 
| 
      
 15570 
     | 
    
         
            +
            				<xsl:when test="$skip_default = 'true'"/>
         
     | 
| 
       15482 
15571 
     | 
    
         
             
            				<xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
         
     | 
| 
       15483 
15572 
     | 
    
         
             
            			</xsl:choose>
         
     | 
| 
       15484 
     | 
    
         
            -
            		</xsl: 
     | 
| 
      
 15573 
     | 
    
         
            +
            		</xsl:variable>
         
     | 
| 
      
 15574 
     | 
    
         
            +
            		<xsl:if test="normalize-space($text_align) != ''">
         
     | 
| 
      
 15575 
     | 
    
         
            +
            			<xsl:attribute name="text-align"><xsl:value-of select="$text_align"/></xsl:attribute>
         
     | 
| 
      
 15576 
     | 
    
         
            +
            		</xsl:if>
         
     | 
| 
       15485 
15577 
     | 
    
         
             
            		<xsl:if test="$align = 'indent'">
         
     | 
| 
       15486 
15578 
     | 
    
         
             
            			<xsl:attribute name="margin-left">7mm</xsl:attribute>
         
     | 
| 
       15487 
15579 
     | 
    
         
             
            		</xsl:if>
         
     | 
| 
         @@ -15489,8 +15581,10 @@ 
     | 
|
| 
       15489 
15581 
     | 
    
         | 
| 
       15490 
15582 
     | 
    
         
             
            	<xsl:template name="setBlockAttributes">
         
     | 
| 
       15491 
15583 
     | 
    
         
             
            		<xsl:param name="text_align_default">left</xsl:param>
         
     | 
| 
      
 15584 
     | 
    
         
            +
            		<xsl:param name="skip_text_align_default">false</xsl:param>
         
     | 
| 
       15492 
15585 
     | 
    
         
             
            		<xsl:call-template name="setTextAlignment">
         
     | 
| 
       15493 
15586 
     | 
    
         
             
            			<xsl:with-param name="default" select="$text_align_default"/>
         
     | 
| 
      
 15587 
     | 
    
         
            +
            			<xsl:with-param name="skip_default" select="$skip_text_align_default"/>
         
     | 
| 
       15494 
15588 
     | 
    
         
             
            		</xsl:call-template>
         
     | 
| 
       15495 
15589 
     | 
    
         
             
            		<xsl:call-template name="setKeepAttributes"/>
         
     | 
| 
       15496 
15590 
     | 
    
         
             
            		<xsl:if test="node()[1][self::mn:span][contains(@style, 'line-height')]">
         
     |