metanorma-iso 2.8.5 → 2.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/html/style-human.css +1 -1
- data/lib/isodoc/iso/html/style-iso.css +1 -1
- data/lib/isodoc/iso/iso.amendment.xsl +74 -17
- data/lib/isodoc/iso/iso.international-standard.xsl +74 -17
- data/lib/metanorma/iso/basicdoc.rng +861 -481
- data/lib/metanorma/iso/biblio-standoc.rng +87 -20
- data/lib/metanorma/iso/biblio.rng +882 -325
- data/lib/metanorma/iso/front_contributor.rb +10 -6
- data/lib/metanorma/iso/isodoc.rng +1031 -915
- data/lib/metanorma/iso/reqt.rng +94 -75
- data/lib/metanorma/iso/validate.rb +43 -15
- data/lib/metanorma/iso/validate_section.rb +1 -0
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddb53f2b57b43d15c8642f188c78935c617cb9d6171f29d52ee81b8cfb14b988
|
4
|
+
data.tar.gz: d170b0caf5967ebfa44259a9c76353d2ea9ebeef591e6c48fa82e4144c14b192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 585acab1303c34a7ac8b3b081262f425f6d5dceec79378172be4b77f07db26dd7a78680fda017dc4fdac72792d222daa55c87ebd7ba2c9a560838b66350422d2
|
7
|
+
data.tar.gz: e1d4ba3749ae6de29bd312a2022594736f65afcf43364a48fe96810f09b019a3392eab054d6c19c862723434e07964470b66f3b3b37f739d8590a0bb780b6547
|
@@ -17185,6 +17185,39 @@
|
|
17185
17185
|
</pdf:catalog>
|
17186
17186
|
<x:xmpmeta xmlns:x="adobe:ns:meta/">
|
17187
17187
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
17188
|
+
<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="">
|
17189
|
+
<pdfaExtension:schemas>
|
17190
|
+
<rdf:Bag>
|
17191
|
+
<rdf:li rdf:parseType="Resource">
|
17192
|
+
<pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
|
17193
|
+
<pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
|
17194
|
+
<pdfaSchema:schema>PDF/UA identification schema</pdfaSchema:schema>
|
17195
|
+
<pdfaSchema:property>
|
17196
|
+
<rdf:Seq>
|
17197
|
+
<rdf:li rdf:parseType="Resource">
|
17198
|
+
<pdfaProperty:category>internal</pdfaProperty:category>
|
17199
|
+
<pdfaProperty:description>PDF/UA version identifier</pdfaProperty:description>
|
17200
|
+
<pdfaProperty:name>part</pdfaProperty:name>
|
17201
|
+
<pdfaProperty:valueType>Integer</pdfaProperty:valueType>
|
17202
|
+
</rdf:li>
|
17203
|
+
<rdf:li rdf:parseType="Resource">
|
17204
|
+
<pdfaProperty:category>internal</pdfaProperty:category>
|
17205
|
+
<pdfaProperty:description>PDF/UA amendment identifier</pdfaProperty:description>
|
17206
|
+
<pdfaProperty:name>amd</pdfaProperty:name>
|
17207
|
+
<pdfaProperty:valueType>Text</pdfaProperty:valueType>
|
17208
|
+
</rdf:li>
|
17209
|
+
<rdf:li rdf:parseType="Resource">
|
17210
|
+
<pdfaProperty:category>internal</pdfaProperty:category>
|
17211
|
+
<pdfaProperty:description>PDF/UA corrigenda identifier</pdfaProperty:description>
|
17212
|
+
<pdfaProperty:name>corr</pdfaProperty:name>
|
17213
|
+
<pdfaProperty:valueType>Text</pdfaProperty:valueType>
|
17214
|
+
</rdf:li>
|
17215
|
+
</rdf:Seq>
|
17216
|
+
</pdfaSchema:property>
|
17217
|
+
</rdf:li>
|
17218
|
+
</rdf:Bag>
|
17219
|
+
</pdfaExtension:schemas>
|
17220
|
+
</rdf:Description>
|
17188
17221
|
<rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
|
17189
17222
|
<!-- Dublin Core properties go here -->
|
17190
17223
|
<dc:title>
|
@@ -17195,33 +17228,57 @@
|
|
17195
17228
|
|
17196
17229
|
</xsl:for-each>
|
17197
17230
|
</xsl:variable>
|
17198
|
-
<
|
17199
|
-
<
|
17200
|
-
<xsl:
|
17201
|
-
|
17202
|
-
|
17203
|
-
|
17204
|
-
|
17205
|
-
|
17231
|
+
<rdf:Alt>
|
17232
|
+
<rdf:li xml:lang="x-default">
|
17233
|
+
<xsl:choose>
|
17234
|
+
<xsl:when test="normalize-space($title) != ''">
|
17235
|
+
<xsl:value-of select="$title"/>
|
17236
|
+
</xsl:when>
|
17237
|
+
<xsl:otherwise>
|
17238
|
+
<xsl:text> </xsl:text>
|
17239
|
+
</xsl:otherwise>
|
17240
|
+
</xsl:choose>
|
17241
|
+
</rdf:li>
|
17242
|
+
</rdf:Alt>
|
17206
17243
|
</dc:title>
|
17207
|
-
<
|
17244
|
+
<xsl:variable name="dc_creator">
|
17208
17245
|
<xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
|
17209
17246
|
|
17210
|
-
<
|
17211
|
-
<xsl:
|
17212
|
-
|
17213
|
-
|
17247
|
+
<rdf:Seq>
|
17248
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
|
17249
|
+
<rdf:li>
|
17250
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
17251
|
+
</rdf:li>
|
17252
|
+
<!-- <xsl:if test="position() != last()">; </xsl:if> -->
|
17253
|
+
</xsl:for-each>
|
17254
|
+
</rdf:Seq>
|
17214
17255
|
|
17215
17256
|
</xsl:for-each>
|
17216
|
-
</
|
17217
|
-
<
|
17257
|
+
</xsl:variable>
|
17258
|
+
<xsl:if test="normalize-space($dc_creator) != ''">
|
17259
|
+
<dc:creator>
|
17260
|
+
<xsl:copy-of select="$dc_creator"/>
|
17261
|
+
</dc:creator>
|
17262
|
+
</xsl:if>
|
17263
|
+
|
17264
|
+
<xsl:variable name="dc_description">
|
17218
17265
|
<xsl:variable name="abstract">
|
17219
17266
|
|
17220
17267
|
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
|
17221
17268
|
|
17222
17269
|
</xsl:variable>
|
17223
|
-
<
|
17224
|
-
|
17270
|
+
<rdf:Alt>
|
17271
|
+
<rdf:li xml:lang="x-default">
|
17272
|
+
<xsl:value-of select="normalize-space($abstract)"/>
|
17273
|
+
</rdf:li>
|
17274
|
+
</rdf:Alt>
|
17275
|
+
</xsl:variable>
|
17276
|
+
<xsl:if test="normalize-space($dc_description)">
|
17277
|
+
<dc:description>
|
17278
|
+
<xsl:copy-of select="$dc_description"/>
|
17279
|
+
</dc:description>
|
17280
|
+
</xsl:if>
|
17281
|
+
|
17225
17282
|
<pdf:Keywords>
|
17226
17283
|
<xsl:call-template name="insertKeywords">
|
17227
17284
|
<xsl:with-param name="meta">true</xsl:with-param>
|
@@ -17185,6 +17185,39 @@
|
|
17185
17185
|
</pdf:catalog>
|
17186
17186
|
<x:xmpmeta xmlns:x="adobe:ns:meta/">
|
17187
17187
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
17188
|
+
<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="">
|
17189
|
+
<pdfaExtension:schemas>
|
17190
|
+
<rdf:Bag>
|
17191
|
+
<rdf:li rdf:parseType="Resource">
|
17192
|
+
<pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
|
17193
|
+
<pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
|
17194
|
+
<pdfaSchema:schema>PDF/UA identification schema</pdfaSchema:schema>
|
17195
|
+
<pdfaSchema:property>
|
17196
|
+
<rdf:Seq>
|
17197
|
+
<rdf:li rdf:parseType="Resource">
|
17198
|
+
<pdfaProperty:category>internal</pdfaProperty:category>
|
17199
|
+
<pdfaProperty:description>PDF/UA version identifier</pdfaProperty:description>
|
17200
|
+
<pdfaProperty:name>part</pdfaProperty:name>
|
17201
|
+
<pdfaProperty:valueType>Integer</pdfaProperty:valueType>
|
17202
|
+
</rdf:li>
|
17203
|
+
<rdf:li rdf:parseType="Resource">
|
17204
|
+
<pdfaProperty:category>internal</pdfaProperty:category>
|
17205
|
+
<pdfaProperty:description>PDF/UA amendment identifier</pdfaProperty:description>
|
17206
|
+
<pdfaProperty:name>amd</pdfaProperty:name>
|
17207
|
+
<pdfaProperty:valueType>Text</pdfaProperty:valueType>
|
17208
|
+
</rdf:li>
|
17209
|
+
<rdf:li rdf:parseType="Resource">
|
17210
|
+
<pdfaProperty:category>internal</pdfaProperty:category>
|
17211
|
+
<pdfaProperty:description>PDF/UA corrigenda identifier</pdfaProperty:description>
|
17212
|
+
<pdfaProperty:name>corr</pdfaProperty:name>
|
17213
|
+
<pdfaProperty:valueType>Text</pdfaProperty:valueType>
|
17214
|
+
</rdf:li>
|
17215
|
+
</rdf:Seq>
|
17216
|
+
</pdfaSchema:property>
|
17217
|
+
</rdf:li>
|
17218
|
+
</rdf:Bag>
|
17219
|
+
</pdfaExtension:schemas>
|
17220
|
+
</rdf:Description>
|
17188
17221
|
<rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="">
|
17189
17222
|
<!-- Dublin Core properties go here -->
|
17190
17223
|
<dc:title>
|
@@ -17195,33 +17228,57 @@
|
|
17195
17228
|
|
17196
17229
|
</xsl:for-each>
|
17197
17230
|
</xsl:variable>
|
17198
|
-
<
|
17199
|
-
<
|
17200
|
-
<xsl:
|
17201
|
-
|
17202
|
-
|
17203
|
-
|
17204
|
-
|
17205
|
-
|
17231
|
+
<rdf:Alt>
|
17232
|
+
<rdf:li xml:lang="x-default">
|
17233
|
+
<xsl:choose>
|
17234
|
+
<xsl:when test="normalize-space($title) != ''">
|
17235
|
+
<xsl:value-of select="$title"/>
|
17236
|
+
</xsl:when>
|
17237
|
+
<xsl:otherwise>
|
17238
|
+
<xsl:text> </xsl:text>
|
17239
|
+
</xsl:otherwise>
|
17240
|
+
</xsl:choose>
|
17241
|
+
</rdf:li>
|
17242
|
+
</rdf:Alt>
|
17206
17243
|
</dc:title>
|
17207
|
-
<
|
17244
|
+
<xsl:variable name="dc_creator">
|
17208
17245
|
<xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
|
17209
17246
|
|
17210
|
-
<
|
17211
|
-
<xsl:
|
17212
|
-
|
17213
|
-
|
17247
|
+
<rdf:Seq>
|
17248
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
|
17249
|
+
<rdf:li>
|
17250
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
17251
|
+
</rdf:li>
|
17252
|
+
<!-- <xsl:if test="position() != last()">; </xsl:if> -->
|
17253
|
+
</xsl:for-each>
|
17254
|
+
</rdf:Seq>
|
17214
17255
|
|
17215
17256
|
</xsl:for-each>
|
17216
|
-
</
|
17217
|
-
<
|
17257
|
+
</xsl:variable>
|
17258
|
+
<xsl:if test="normalize-space($dc_creator) != ''">
|
17259
|
+
<dc:creator>
|
17260
|
+
<xsl:copy-of select="$dc_creator"/>
|
17261
|
+
</dc:creator>
|
17262
|
+
</xsl:if>
|
17263
|
+
|
17264
|
+
<xsl:variable name="dc_description">
|
17218
17265
|
<xsl:variable name="abstract">
|
17219
17266
|
|
17220
17267
|
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()[not(ancestor::*[local-name() = 'title'])]"/>
|
17221
17268
|
|
17222
17269
|
</xsl:variable>
|
17223
|
-
<
|
17224
|
-
|
17270
|
+
<rdf:Alt>
|
17271
|
+
<rdf:li xml:lang="x-default">
|
17272
|
+
<xsl:value-of select="normalize-space($abstract)"/>
|
17273
|
+
</rdf:li>
|
17274
|
+
</rdf:Alt>
|
17275
|
+
</xsl:variable>
|
17276
|
+
<xsl:if test="normalize-space($dc_description)">
|
17277
|
+
<dc:description>
|
17278
|
+
<xsl:copy-of select="$dc_description"/>
|
17279
|
+
</dc:description>
|
17280
|
+
</xsl:if>
|
17281
|
+
|
17225
17282
|
<pdf:Keywords>
|
17226
17283
|
<xsl:call-template name="insertKeywords">
|
17227
17284
|
<xsl:with-param name="meta">true</xsl:with-param>
|