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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6472ad50fd7594f708c94c185ef73f6f1288754fedde33a967f838dc80e160c9
4
- data.tar.gz: 4b1f2468e1bb16fc2a0d222562e1fb6d69490e21fa8a0776cc53febfce9c7f7f
3
+ metadata.gz: 9183a03e97f8b3696c2c331bae148dd68da657377b21498d46ec9979d01a90b3
4
+ data.tar.gz: 60b41c7e75930794348ff33de9d375b1c297cd93dcb36e670a80aa61424bf34c
5
5
  SHA512:
6
- metadata.gz: b23e0accbd91e86c75bd5072f659889618e75843e53f745af2a12c6ee1f13f08a2054e391f076f216b8b7bc7df6d94a55f59f5eed280357fb5eb5b503a1b1637
7
- data.tar.gz: f02e54f22d14e566ad4ab3ea9512ec4c2db5ba7c143c3970d92315f9ec1095c6cac95d1e56a5126d2b23547ac8e5034fd3615eafbb3a8f0fa1a58960303b2a3e
6
+ metadata.gz: 4c4fddf1abf4133f3ad0350c65524da184d313264fd4ba3dd88c7b47ca677aa0e3b1b15fe3a03391b4dd0a9d23af072f3353b7761b1ce014d2f66d1d3fada73c
7
+ data.tar.gz: cadaba89b08e33ba50912814bea94b2f1b1373f5698c371ce941b87065412a6ce071e95bc2c695095c63380e862dacaab9051945df4530548cb9449c8594597c
@@ -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)