Skip to content

Commit

Permalink
Merge pull request #12 from ajnyga/master
Browse files Browse the repository at this point in the history
Fix validation errors
  • Loading branch information
ajnyga authored Feb 22, 2024
2 parents ef62623 + 4139444 commit 78ffe8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OAIMetadataFormat_OpenAIRE.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ function toXml($record, $format = null) {

$response = "
<article
dtd-version=\"1.1d3\"
dtd-version=\"1.1\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\"
xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xmlns:ali=\"http://www.niso.org/schemas/ali/1.0\"
xmlns=\"https://jats.nlm.nih.gov/publishing/1.1/\"
article-type=\"" . htmlspecialchars($this->_mapCoarResourceTypeToJatsArticleType($resourceType)) . "\"
xml:lang=\"" . substr($articleLocale, 0, 2) . "\">
<front>
Expand Down

0 comments on commit 78ffe8c

Please sign in to comment.