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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6472ad50fd7594f708c94c185ef73f6f1288754fedde33a967f838dc80e160c9
4
- data.tar.gz: 4b1f2468e1bb16fc2a0d222562e1fb6d69490e21fa8a0776cc53febfce9c7f7f
3
+ metadata.gz: f1fce1f6d212b06d45f5f35a63ffc6d2183bf35e888e017e855ce14c169aad4f
4
+ data.tar.gz: dad50c63f0d04c49d364b1773b0db8f37de0200789e590b6e667b8ade0697669
5
5
  SHA512:
6
- metadata.gz: b23e0accbd91e86c75bd5072f659889618e75843e53f745af2a12c6ee1f13f08a2054e391f076f216b8b7bc7df6d94a55f59f5eed280357fb5eb5b503a1b1637
7
- data.tar.gz: f02e54f22d14e566ad4ab3ea9512ec4c2db5ba7c143c3970d92315f9ec1095c6cac95d1e56a5126d2b23547ac8e5034fd3615eafbb3a8f0fa1a58960303b2a3e
6
+ metadata.gz: c206df06b23919be1b1de2c4056cbb7f8c98d49031ba011701fdceca23860a26bf536d70d4acd2f2b138bcd2074ced80a3f2ce16505c4df51a60bedf092a25bc
7
+ data.tar.gz: cc992bdbc3679c55cb1c046d32deb4f0dbbe8970c317649bd9d5dbf7724c96a3d32e7b323628dccfb1eb1afcf2c731f2780ecec7dc27164f705a307e8e126b90
@@ -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)