Skip to content

Commit

Permalink
Merge pull request #1335 from bozana/2258
Browse files Browse the repository at this point in the history
pkp/pkp-lib#2258 crossref schema url update
  • Loading branch information
bozana committed Mar 28, 2017
2 parents d936520 + b516796 commit 212d901
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions dbscripts/xml/upgrade/3.1.0_update.xml
Expand Up @@ -27,5 +27,8 @@
<!-- #2159 add missing first editor decision SUBMISSION_EDITOR_DECISION_EXTERNAL_REVIEW (changing the stage from WORKFLOW_STAGE_ID_SUBMISSION to WORKFLOW_STAGE_ID_EXTERNAL_REVIEW) for those migrated from OJS 2.4.x -->
<query>INSERT INTO edit_decisions (submission_id, review_round_id, stage_id, round, decision, editor_id, date_decided) SELECT DISTINCT ed.submission_id, 0, 1, 0, 8, ed.editor_id, ed.date_decided FROM edit_decisions ed JOIN (SELECT submission_id, MIN(date_decided) AS date_decided FROM edit_decisions GROUP BY submission_id) ed1 ON (ed1.submission_id = ed.submission_id) WHERE ed.stage_id = 3 AND ed1.date_decided = ed.date_decided AND NOT EXISTS (SELECT ed2.submission_id FROM edit_decisions ed2 WHERE ed2.stage_id = 1 AND ed2.decision = 8 AND ed2.submission_id = ed.submission_id)</query>
</sql>
<sql><!-- pkp/pkp-lib#2258 -->
<query>UPDATE filter_groups SET output_type = 'xml::schema(https://www.crossref.org/schemas/crossref4.3.6.xsd)' WHERE output_type = 'xml::schema(http://www.crossref.org/schema/deposit/crossref4.3.6.xsd)'</query>
</sql>
</data>

Expand Up @@ -21,7 +21,7 @@
define('CROSSREF_XMLNS' , 'http://www.crossref.org/schema/4.3.6');
define('CROSSREF_XMLNS_XSI' , 'http://www.w3.org/2001/XMLSchema-instance');
define('CROSSREF_XSI_SCHEMAVERSION' , '4.3.6');
define('CROSSREF_XSI_SCHEMALOCATION' , 'http://www.crossref.org/schema/deposit/crossref4.3.6.xsd');
define('CROSSREF_XSI_SCHEMALOCATION' , 'https://www.crossref.org/schemas/crossref4.3.6.xsd');
define('CROSSREF_XMLNS_JATS' , 'http://www.ncbi.nlm.nih.gov/JATS1');
define('CROSSREF_XMLNS_AI' , 'http://www.crossref.org/AccessIndicators.xsd');

Expand Down
4 changes: 2 additions & 2 deletions plugins/importexport/crossref/filter/filterConfig.xml
Expand Up @@ -18,14 +18,14 @@
displayName="plugins.importexport.crossref.displayName"
description="plugins.importexport.crossref.description"
inputType="class::classes.issue.Issue[]"
outputType="xml::schema(http://www.crossref.org/schema/deposit/crossref4.3.6.xsd)" />
outputType="xml::schema(https://www.crossref.org/schemas/crossref4.3.6.xsd)" />
<!-- Crossref XML article output -->
<filterGroup
symbolic="article=>crossref-xml"
displayName="plugins.importexport.crossref.displayName"
description="plugins.importexport.crossref.description"
inputType="class::classes.article.Article[]"
outputType="xml::schema(http://www.crossref.org/schema/deposit/crossref4.3.6.xsd)" />
outputType="xml::schema(https://www.crossref.org/schemas/crossref4.3.6.xsd)" />
</filterGroups>
<filters>
<!-- Crossref XML issue output -->
Expand Down

0 comments on commit 212d901

Please sign in to comment.