metanorma-ogc 2.3.9 → 2.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/metadata.rb +10 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +626 -237
- data/lib/isodoc/ogc/ogc.best-practice.xsl +626 -237
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +626 -237
- data/lib/isodoc/ogc/ogc.community-practice.xsl +626 -237
- data/lib/isodoc/ogc/ogc.community-standard.xsl +626 -237
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +626 -237
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +626 -237
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +626 -237
- data/lib/isodoc/ogc/ogc.other.xsl +626 -237
- data/lib/isodoc/ogc/ogc.policy.xsl +626 -237
- data/lib/isodoc/ogc/ogc.reference-model.xsl +626 -237
- data/lib/isodoc/ogc/ogc.release-notes.xsl +626 -237
- data/lib/isodoc/ogc/ogc.standard.xsl +626 -237
- data/lib/isodoc/ogc/ogc.test-suite.xsl +626 -237
- data/lib/isodoc/ogc/ogc.user-guide.xsl +626 -237
- data/lib/isodoc/ogc/ogc.white-paper.xsl +588 -193
- data/lib/metanorma/ogc/boilerplate.xml +1 -1
- data/lib/metanorma/ogc/isodoc.rng +5 -1
- data/lib/metanorma/ogc/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: 9183a03e97f8b3696c2c331bae148dd68da657377b21498d46ec9979d01a90b3
|
4
|
+
data.tar.gz: 60b41c7e75930794348ff33de9d375b1c297cd93dcb36e670a80aa61424bf34c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c4fddf1abf4133f3ad0350c65524da184d313264fd4ba3dd88c7b47ca677aa0e3b1b15fe3a03391b4dd0a9d23af072f3353b7761b1ce014d2f66d1d3fada73c
|
7
|
+
data.tar.gz: cadaba89b08e33ba50912814bea94b2f1b1373f5698c371ce941b87065412a6ce071e95bc2c695095c63380e862dacaab9051945df4530548cb9449c8594597c
|
data/lib/isodoc/ogc/metadata.rb
CHANGED
@@ -70,6 +70,16 @@ module IsoDoc
|
|
70
70
|
"[role/@type = 'contributor']/person"))
|
71
71
|
set(:contributors, extract_person_names(contributors))
|
72
72
|
agency(isoxml)
|
73
|
+
copyright(isoxml)
|
74
|
+
end
|
75
|
+
|
76
|
+
def copyright(isoxml)
|
77
|
+
c = isoxml.xpath(ns("//bibdata/copyright/owner/organization/name"))
|
78
|
+
.each_with_object([]) do |n, m|
|
79
|
+
m << n.text
|
80
|
+
end
|
81
|
+
c.empty? and c = ["Open Geospatial Consortium"]
|
82
|
+
set(:copyright_holder, @i18n.boolean_conj(c, "and"))
|
73
83
|
end
|
74
84
|
|
75
85
|
def docid(isoxml, _out)
|