metanorma-ogc 2.3.9 → 2.3.11
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 +652 -246
- data/lib/isodoc/ogc/ogc.best-practice.xsl +652 -246
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +652 -246
- data/lib/isodoc/ogc/ogc.community-practice.xsl +652 -246
- data/lib/isodoc/ogc/ogc.community-standard.xsl +652 -246
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +652 -246
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +652 -246
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +652 -246
- data/lib/isodoc/ogc/ogc.other.xsl +652 -246
- data/lib/isodoc/ogc/ogc.policy.xsl +652 -246
- data/lib/isodoc/ogc/ogc.reference-model.xsl +652 -246
- data/lib/isodoc/ogc/ogc.release-notes.xsl +652 -246
- data/lib/isodoc/ogc/ogc.standard.xsl +652 -246
- data/lib/isodoc/ogc/ogc.test-suite.xsl +652 -246
- data/lib/isodoc/ogc/ogc.user-guide.xsl +652 -246
- data/lib/isodoc/ogc/ogc.white-paper.xsl +608 -200
- data/lib/metanorma/ogc/boilerplate.xml +1 -1
- data/lib/metanorma/ogc/isodoc.rng +23 -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: f1fce1f6d212b06d45f5f35a63ffc6d2183bf35e888e017e855ce14c169aad4f
|
4
|
+
data.tar.gz: dad50c63f0d04c49d364b1773b0db8f37de0200789e590b6e667b8ade0697669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c206df06b23919be1b1de2c4056cbb7f8c98d49031ba011701fdceca23860a26bf536d70d4acd2f2b138bcd2074ced80a3f2ce16505c4df51a60bedf092a25bc
|
7
|
+
data.tar.gz: cc992bdbc3679c55cb1c046d32deb4f0dbbe8970c317649bd9d5dbf7724c96a3d32e7b323628dccfb1eb1afcf2c731f2780ecec7dc27164f705a307e8e126b90
|
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)
|