lib/adiwg/mdtranslator/readers/fgdc/modules/module_taxonSystem.rb in adiwg-mdtranslator-2.6.1 vs lib/adiwg/mdtranslator/readers/fgdc/modules/module_taxonSystem.rb in adiwg-mdtranslator-2.7.0
- old
+ new
@@ -49,17 +49,20 @@
hTaxonomy[:taxonSystem] << hTaxonSystem
end
end
- # taxonomy bio.2.2 (idref) - taxonomic identification reference [] {citation}
- # -> resourceInfo.taxonomy.idReferences.citation
+ # taxonomy bio.2.2 (idref) - taxonomic identification reference [] {identifier}
+ # -> resourceInfo.taxonomy.idReferences.authority
axTaxRef = xSystem.xpath('./idref')
unless axTaxRef.empty?
axTaxRef.each do |xTaxRef|
hCitation = Citation.unpack(xTaxRef, hResponseObj)
unless hCitation.nil?
- hTaxonomy[:idReferences] << hCitation
+ hIdentifier = intMetadataClass.newIdentifier
+ hIdentifier[:identifier] = 'none'
+ hIdentifier[:citation] = hCitation
+ hTaxonomy[:idReferences] << hIdentifier
end
end
end
# taxonomy bio.2.3 (ider) - taxonomic identifier [] {contact}