diff --git a/plugins/metadata/dc11/filter/Dc11SchemaPublicationFormatAdapter.php b/plugins/metadata/dc11/filter/Dc11SchemaPublicationFormatAdapter.php index 7a547765354..db8e924758c 100755 --- a/plugins/metadata/dc11/filter/Dc11SchemaPublicationFormatAdapter.php +++ b/plugins/metadata/dc11/filter/Dc11SchemaPublicationFormatAdapter.php @@ -166,7 +166,12 @@ public function extractMetadataFromDataObject(&$publicationFormat) if ($pubId) { $dc11Description->addStatement('dc:identifier', $pubId); } + $publicationPubId = $plugin->getPubId($publication); + if ($publicationPubId) { + $dc11Description->addStatement('dc:relation', $publicationPubId); + } } + $context = $request->getContext(); if (!$context) { $contextDao = Application::getContextDAO(); @@ -178,14 +183,12 @@ public function extractMetadataFromDataObject(&$publicationFormat) if ($doi) { $dc11Description->addStatement('dc:identifier', $doi); } - } - if ($context->areDoisEnabled()) { - $doi = $publication->getData('doiObject'); - if ($doi) { - $dc11Description->addStatement('dc:relation', $doi->getData('doi')); + $publicationDoi = $publication->getData('doiObject'); + if ($publicationDoi) { + $dc11Description->addStatement('dc:relation', $publicationDoi->getData('doi')); } } - + // Identifier: others $identificationCodeFactory = $publicationFormat->getIdentificationCodes(); while ($identificationCode = $identificationCodeFactory->next()) {