metanorma-ogc 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4063833ca53f3e93cf63f8ac3a5d8a82b6ffdfd63f5241e443c5f917685fcaff
4
- data.tar.gz: f4fce3ab129c5de35104728ce908b4b57c4de46eaf69d600dbe2daa778e4d2df
3
+ metadata.gz: f1eb36cd9acf77e8aa250a285572951349e07d00f78c574538a514bdae30ffc3
4
+ data.tar.gz: 9777f0f9a6bbe8204f20449024c2644a0956932bf8b1bf5c2722b809debabfcc
5
5
  SHA512:
6
- metadata.gz: c0449f36aaadb5ad9ecf5c534b92b385259147fdd94962e01923ad80a3f4e49f6f0b85f4fe0f1637b46eedc0af9f434eb9a3905170044a618e839f406fa473cf
7
- data.tar.gz: 141846935988beca18f4180ad4a0acd0912fa56bbab0b8ea81f70f3f97dd20bb90b47e666741025814b4283bfa2b5aaa496a93c415c8769960169078f12e97f9
6
+ metadata.gz: a76271bb1ff825eb70caf9c0858b5b70a5f0fc13d07c7cd2713a3670923a9b4550e743b9a61541fc1fda17bfb2a4e8e9011a2b859b0a7d61c8ec9fde5ac67d4a
7
+ data.tar.gz: 3a3ea1f65f90decc18daa92d6958ecb5f4ad8ff61ab6dda324639209516e8b79d90ef1d5eb5e561ca0089b3a603d6c1c18cf4db8139c3daa12f79587c814941c
@@ -5,7 +5,7 @@
5
5
 
6
6
  <p align="center">Copyright
7
7
  © {{ docyear }} Open Geospatial Consortium<br/>
8
- To obtain additional rights of use, visit
8
+ To obtain additional rights of use, visit
9
9
  <link target="http://www.ogc.org/legal/">http://www.ogc.org/legal/</link></p>
10
10
  </clause>
11
11
  <clause>
@@ -113,7 +113,7 @@
113
113
  <clause>
114
114
  <title>Notice</title>
115
115
  <p>This document is not an OGC Standard. This document is an OGC Public Engineering Report created as a deliverable in an OGC Interoperability Initiative and is <em>not an official position</em> of the OGC membership. It is distributed for review and comment. It is subject to change without notice and may not be referred to as an OGC Standard.</p>
116
-
116
+
117
117
  <p>Further, any OGC Engineering Report should not be referenced as required or mandatory technology in procurements. However, the discussions in this document could very well lead to the definition of an OGC Standard.</p>
118
118
  </clause>
119
119
 
@@ -151,7 +151,7 @@
151
151
  <feedback-statement>
152
152
  {% if doctype == "Standard" %}
153
153
  <clause id="boilerplate-standard-feedback">
154
- <p>Suggested additions, changes and comments on this standard are welcome and encouraged. Such suggestions may be submitted using the online change request form on OGC web site: <link target="http://portal.opengeospatial.org/public_ogc/change_request.php">http://portal.opengeospatial.org/public_ogc/change_request.php</link></p>
154
+ <p>Suggested additions, changes and comments on this document are welcome and encouraged. Such suggestions may be submitted using the online change request form on OGC web site: <link target="http://portal.opengeospatial.org/public_ogc/change_request.php">http://portal.opengeospatial.org/public_ogc/change_request.php</link></p>
155
155
  </clause>
156
156
  {% endif %}
157
157
  </feedback-statement>
@@ -10,21 +10,19 @@ permissionclass: Permissions class
10
10
  abstracttest: Abstract test
11
11
  conformanceclass: Conformance class
12
12
  example: Example
13
- security_empty: No security considerations have been made for this %.
13
+ security_empty: No security considerations have been made for this document.
14
14
  internal_terms_boilerplate: |
15
- <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this standard and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
16
- <p>This document also uses terms defined in the OGC Standard for Modular specifications (<link target="https://portal.opengeospatial.org/files/?artifact_id=34762">OGC 08-131r3</link>), also known as the 'ModSpec'. The definitions of terms such as standard, specification, requirement, and conformance test are provided in the ModSpec.</p>
17
- <p>For the purposes of this document, the following additional terms and definitions apply.</p>
15
+ <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this document and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
16
+ <p>This document also uses terms defined in the OGC Standard for Modular specifications (<link target="https://portal.opengeospatial.org/files/?artifact_id=34762">OGC 08-131r3</link>), also known as the 'ModSpec'. The definitions of terms such as standard, specification, requirement, and conformance test are provided in the ModSpec.</p>
17
+ <p>For the purposes of this document, the following additional terms and definitions apply.</p>
18
18
  external_terms_boilerplate: |
19
- <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this standard and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
20
- <p>This document also uses terms defined in the OGC Standard for Modular specifications (<link target="https://portal.opengeospatial.org/files/?artifact_id=34762">OGC 08-131r3</link>), also known as the 'ModSpec'. The definitions of terms such as standard, specification, requirement, and conformance test are provided in the ModSpec.</p>
21
- <p>For the purposes of this document,
22
- the terms and definitions given in % additionally apply.</p>
19
+ <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this document and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
20
+ <p>This document also uses terms defined in the OGC Standard for Modular specifications (<link target="https://portal.opengeospatial.org/files/?artifact_id=34762">OGC 08-131r3</link>), also known as the 'ModSpec'. The definitions of terms such as standard, specification, requirement, and conformance test are provided in the ModSpec.</p>
21
+ <p>For the purposes of this document, the terms and definitions given in % additionally apply.</p>
23
22
  internal_external_terms_boilerplate: |
24
- <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this standard and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
25
- <p>This document also uses terms defined in the OGC Standard for Modular specifications (<link target="https://portal.opengeospatial.org/files/?artifact_id=34762">OGC 08-131r3</link>), also known as the 'ModSpec'. The definitions of terms such as standard, specification, requirement, and conformance test are provided in the ModSpec.</p>
26
- <p>For the purposes of this document, the terms and definitions
27
- given in % and the following additionally apply.</p>
23
+ <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this document and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
24
+ <p>This document also uses terms defined in the OGC Standard for Modular specifications (<link target="https://portal.opengeospatial.org/files/?artifact_id=34762">OGC 08-131r3</link>), also known as the 'ModSpec'. The definitions of terms such as standard, specification, requirement, and conformance test are provided in the ModSpec.</p>
25
+ <p>For the purposes of this document, the terms and definitions given in % and the following additionally apply.</p>
28
26
  term_defined_in: "(%)"
29
27
  stage_dict:
30
28
  draft: Draft
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -7065,12 +7065,15 @@
7065
7065
  <xsl:param name="default">left</xsl:param>
7066
7066
  <xsl:attribute name="text-align">
7067
7067
  <xsl:choose>
7068
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7068
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7069
7069
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7070
7070
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7071
7071
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7072
7072
  </xsl:choose>
7073
7073
  </xsl:attribute>
7074
+ <xsl:if test="@align = 'indent'">
7075
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7076
+ </xsl:if>
7074
7077
  </xsl:template><xsl:template name="number-to-words">
7075
7078
  <xsl:param name="number"/>
7076
7079
  <xsl:param name="first"/>
@@ -6369,12 +6369,15 @@
6369
6369
  <xsl:param name="default">left</xsl:param>
6370
6370
  <xsl:attribute name="text-align">
6371
6371
  <xsl:choose>
6372
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6372
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
6373
6373
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
6374
6374
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
6375
6375
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
6376
6376
  </xsl:choose>
6377
6377
  </xsl:attribute>
6378
+ <xsl:if test="@align = 'indent'">
6379
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6380
+ </xsl:if>
6378
6381
  </xsl:template><xsl:template name="number-to-words">
6379
6382
  <xsl:param name="number"/>
6380
6383
  <xsl:param name="first"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ogc
3
- VERSION = "1.5.1".freeze
3
+ VERSION = "1.5.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639
@@ -195,7 +195,6 @@ files:
195
195
  - Gemfile
196
196
  - LICENSE
197
197
  - README.adoc
198
- - README.adoc.old
199
198
  - Rakefile
200
199
  - bin/console
201
200
  - bin/rspec
data/README.adoc.old DELETED
@@ -1,187 +0,0 @@
1
- = metanorma-ogc: Asciidoctor processor for Open Geospatial Consortium documents
2
-
3
- image:https://img.shields.io/gem/v/metanorma-ogc.svg["Gem Version", link="https://rubygems.org/gems/metanorma-ogc"]
4
- image:https://img.shields.io/travis/riboseinc/metanorma-ogc/master.svg["Build Status", link="https://travis-ci.com/riboseinc/metanorma-ogc"]
5
- image:https://codeclimate.com/github/riboseinc/metanorma-ogc/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/riboseinc/metanorma-ogc"]
6
-
7
- WARNING: This gem is still under development.
8
-
9
- == Functionality
10
-
11
- This gem processes documents following a template for generating OGC documents.
12
- For http://asciidoctor.org/[Asciidoctor] input, the Metanorma toolchain uses the Asciidoctor gem as its parser.
13
-
14
- The gem currently inherits from the https://github.com/riboseinc/metanorma-standoc
15
- gem, and aligns closely to it. Refer to the ISO gem documentation
16
- for guidance, including https://github.com/riboseinc/metanorma-iso/wiki/Guidance-for-authoring
17
-
18
- The following outputs are generated.
19
-
20
- * an XML representation of the document, intended as a document model for OGC documents.
21
- * The XML representation is processed in turn to generate the following outputs
22
- as end deliverable OGC documents.
23
- ** HTML
24
- ** http://asciimath.org[AsciiMathML] is to be used for mathematical formatting.
25
- The gem uses the https://github.com/asciidoctor/asciimath[Ruby AsciiMath parser],
26
- which is syntactically stricter than the common MathJax processor;
27
- if you do not get expected results, try bracketing terms your in AsciiMathML
28
- expressions.
29
-
30
- == Usage
31
-
32
- The preferred way to invoke this gem is via the `metanorma` script:
33
-
34
- [source,console]
35
- ----
36
- $ metanorma --type ogc a.adoc # output HTML
37
- $ metanorma --type ogc --extensions html a.adoc # output just HTML
38
- $ metanorma --type ogc --extensions xml a.adoc # output RSD XML
39
- ----
40
-
41
- The gem translates the document into Metanorma XML format, and then
42
- validates its output against the Metanorma XML document model; errors are
43
- reported to console against the XML, and are intended for users to
44
- check that they have provided all necessary components of the
45
- document.
46
-
47
- The gem then converts the XML into HTML.
48
-
49
- The gem can also be invoked directly within asciidoctor, though this is deprecated:
50
-
51
- [source,console]
52
- ----
53
- $ asciidoctor -b ogc -r 'metanorma-ogc' a.adoc
54
- ----
55
-
56
- === Installation
57
-
58
- If you are using a Mac, the https://github.com/riboseinc/metanorma-macos-setup
59
- repository has instructions on setting up your machine to run Metanorma
60
- scripts such as this one. You need only run the following in a Terminal console:
61
-
62
- [source,console]
63
- ----
64
- $ bash <(curl -s https://raw.githubusercontent.com/riboseinc/metanorma-macos-setup/master/metanorma-setup)
65
- $ gem install metanorma-ogc
66
- $ gem install metanorma-cli
67
- ----
68
-
69
- == Approach
70
-
71
- === Document model
72
-
73
- The OGC Document model used by this gem is an instance of the
74
- https://github.com/riboseinc/isodoc-models[StandardDocument model].
75
-
76
- The Metanorma XML format intends to introduce rigor into the OGC
77
- standards authoring process, and is prescribed in a separate document.
78
-
79
- === Asciidoctor
80
-
81
- Asciidoctor has been selected as the authoring tool to generate the document
82
- model representation of OGC standards. It is a document formatting tool like
83
- Markdown and DocBook, which combines the relative ease of use of the former
84
- (using relatively lightweight markup), and the rigor and expressively of the
85
- latter (it has a well-defined syntax, and was in fact initially developed as a
86
- DocBook document authoring tool). Asciidoctor has built-in capability to output
87
- Text, DocBook and HTML; so it can be used to preview the file as it is being
88
- autA
89
-
90
- Generating documents via a document model substantially automated formatting
91
- associated with the document, including automating numbering of headings, figures,
92
- tables etc, and automatically generating references and citations.
93
- hored.
94
-
95
- == Document Attributes
96
-
97
- === Common attributes
98
-
99
- The gem relies on Asciidoctor document attributes to provide necessary
100
- metadata about the document. The https://github.com/riboseinc/metanorma-standoc[metanorma-standoc]
101
- gem documents the Asciidoctor document attributes common to all metanorma gems.
102
- Where these preexisting metanorma attributes correspond to attributes already used
103
- by OGC in their Asciidoctor template, they are treated as synonyms of the Metanorma
104
- attributes. These include:
105
-
106
- `:edition:`:: The document version; e.g. `2.0`.
107
-
108
- `:revdate:`:: The date the document was last updated
109
-
110
- `:copyright-year:`:: The year which will be claimed as when the copyright for
111
- the document was issued
112
-
113
- `:title:`:: The main component of the English title of the document
114
- (mandatory). (The first line of the AsciiDoc document, which contains the title
115
- introduced with `=`, is ignored)
116
-
117
- `:doctype:`:: The document type (mandatory). The permitted types are:
118
- +
119
- --
120
- * Standards
121
- implementation-standard::: Implementation Standard (with or without Compliance Suite)
122
- abstract-specification::: Abstract Specification (with or without Compliance Suite)
123
- community-standard::: Community Standard (with or without Compliance Suite)
124
- profile::: Profile (with or without Compliance Suite)
125
- best-practices::: Best Practices Document
126
- * Other
127
- engineering-report::: Engineering Report
128
- discussion-paper::: Discussion Paper
129
- white-paper::: White Paper
130
- user-guide::: User Guide
131
- policy-directive::: Technical Committee Policy Directive
132
- informative::: Informative
133
- --
134
-
135
- `:status:``:: The document status. The permitted types are:
136
-
137
- * SWG Work
138
- * OAB Review
139
- * OGC-NA Review
140
- * Public Review
141
- * Prepare for Approval
142
- * TC Approval to Vote
143
- * TC Vote
144
- * PC Vote
145
- * Published
146
-
147
- `:committee:` (OGC: `:workingGroup:`):: The name of the relevant committee (mandatory)
148
-
149
- `:language:` :: The language of the document (only `en` for now) (mandatory)
150
-
151
- `:published-date` (OGC: `:publicationDate:`):: The publication date for the document.
152
- `:issued-date` (OGC: `:approvalDate:`):: The approval date for the document.
153
- `:created-date`:: The creation date for the document.
154
- `:submitted-date` (OGC: `:submissionDate:`):: The date at which the document was submitted to the standards body.
155
-
156
- `:uri:`:: The URI to which this standard is published.
157
- `:docnumber:` (OGC: `docReference`):: The internal identifier referring to this document.
158
-
159
- The attribute `:draft:`, if present, includes review notes in the XML output;
160
- these are otherwise suppressed.
161
-
162
- == Asciidoctor features specific to OGC
163
-
164
- The https://github.com/riboseinc/metanorma-standoc[metanorma-standoc]
165
- gem documents the customisations of Asciidoctor markup common to all metanorma gems.
166
- The following markup is specific to this gem:
167
-
168
- `:external-id:`:: The external identifier referring to this document.
169
- `:referenceURLID:`:: The identifier embedded into a document type-specific
170
- external URL.
171
-
172
- `:fullname{_i}`:: The full name of a person who is a contributor to the document.
173
- A second person is indicated by using a numeric suffix: `:fullname`, `:fullname_2`, `fullname_3`, &c.
174
-
175
- `:surname{_i}`:: The surname of a person who is a contributor to the document.
176
- `:givenname{_i}`:: The given name(s) of a person who is a contributor to the document.
177
- `:role{_i}`:: The role of a a person who is a contributor to the document. By default,
178
- they are coded as an `editor`; they can also be represented as an `author`.
179
-
180
- OGC `:editor:`:: corresponds to `:fullname:` with `role` = "editor"
181
-
182
- == Examples
183
-
184
- * link:spec/examples/rfc6350.adoc[] is an Metanorma Asciidoctor version of https://tools.ietf.org/html/rfc6350[RFC 6350].
185
- * link:spec/examples/rfc6350.html[] is an HTML file generated from the Asciidoctor.
186
- * link:spec/examples/rfc6350.doc[] is a Word document generated from the Asciidoctor.
187
-