OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



STEP BY STEP FOR USING CROSSREF

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Sat Jan 11, 2014 2:27 pm

Hi,
Today I was upload all issue xml CrossRef. But I was received this message for every uploaded xml issue.
Our DOI like this
http://dx.doi.org/10.14704/nq.2013.11.4.670

Sample issue XML attached. Our OJS 2.4.2.0.
My issues don't have DOIs assigned, only articles have DOIs assigned.

This is unsolved similar topic
https://pkp-www.lib.sfu.ca/support/foru ... =2&t=10942

https://pkp-www.lib.sfu.ca/support/foru ... f=8&t=9144

What is this?
Thank for your support!
**********************
<?xml version="1.0" encoding="UTF-8"?>
<doi_batch_diagnostic status="completed" sp="ds4.crossref.org">
<submission_id>1363585200</submission_id>
<batch_id>NQ_1389458993</batch_id>
<record_diagnostic status="Failure">
<doi />
<msg>org.crossref.common.xml.MalformedXmlException: Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '6' for type '#AnonType_doi'.
Error: cvc-type.3.1.3: The value '' of element 'doi' is not valid.
</msg>
</record_diagnostic>
<batch_data>
<record_count>1</record_count>
<success_count>0</success_count>
<warning_count>0</warning_count>
<failure_count>1</failure_count>
</batch_data>
</doi_batch_diagnostic>
Attachments
crossref.xml
(20.52 KiB) Downloaded 39 times
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Tue Jan 14, 2014 1:07 am

Hi,
I was received a response from CrossRef.
..........
Jan 13 12:20:
Hi,
The value for element <doi> is required. Your file is missing DOI numbers at issue level. The issue level DOIs are not required, if you don't want to assign DOIs for journal issue, please remove the following empty blocks from your xml.
Example: <
<doi_data><doi></doi><resource>http://www.neuroquantology.com/index.php/journal/issue/view/48</resource></doi_data>

Regards,

.............
But I want to upload 45 old issues with DOI.
This means that the old 45 Crossref.xml file I need to fix manually. I make mistakes during the editing.
Is there any practical way export in the crossref.xml files for only articles not (empty doi) issues?
Sincerely,
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Tue Jan 14, 2014 11:07 am

Any help?
Upgrade to new version?
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Wed Jan 15, 2014 6:50 am

solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby asmecher » Wed Jan 15, 2014 7:51 am

Hi Solty,

Yes, please try that patch. FYI, it's usually a good idea to look through the recommended patches list for your version to see if an issue is addressed there. This bug is also fixed in OJS 2.4.3, so upgrading is another option.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9050
Joined: Wed Aug 10, 2005 12:56 pm

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Wed Jan 15, 2014 7:58 am

Thank you Alec.
I will try.
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Wed Jan 15, 2014 12:11 pm

Hi Alec,
I was register all issue - articles (from 2003-2010) with DOI numbers except for year 2011-2012 vol 1.
There are strange problem/error upload issues between issues 2010-2011 Vol 1-2-3-4 to 2012 vol 1.
I don't understand mean of error: "publication date problem."

<?xml version="1.0" encoding="UTF-8"?>
<doi_batch_diagnostic status="completed" sp="ds4.crossref.org">
<submission_id>1363637241</submission_id>
<batch_id>NQ_1389812542</batch_id>
<record_diagnostic status="Failure">
<doi />
<msg>org.crossref.common.xml.MalformedXmlException: Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'doi_data'. One of '{"http://www.crossref.org/schema/4.3.0":publication_date}' is expected.
Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'doi_data'. One of '{"http://www.crossref.org/schema/4.3.0":publication_date}' is expected.
Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'doi_data'. One of '{"http://www.crossref.org/schema/4.3.0":publication_date}' is expected.
</msg>
</record_diagnostic>
<batch_data>
<record_count>1</record_count>
<success_count>0</success_count>
<warning_count>0</warning_count>
<failure_count>1</failure_count>
</batch_data>
</doi_batch_diagnostic>


Is there any explanation? What is the mean of this "publication date problem"?
Warmly,
Attachments
crossref.xml
(8.02 KiB) Downloaded 35 times
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby asmecher » Wed Jan 15, 2014 12:22 pm

Hi solty,

I believe that means that the publication dates have not been set for all content. For the articles without publication_date elements, make sure that there is a publication date set on that article's Editing page (as Editor).

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9050
Joined: Wed Aug 10, 2005 12:56 pm

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Wed Jan 15, 2014 1:59 pm

Hi Alec,
I was check sample issue 2012:1 for published dates as editor.
All papers assigned a published date. There are no any empty paper.

For example I was validate/check xml file in the
http://www.crossref.org/02publishers/parser.html

RESULT
File: crossref.xml
[Error] :2:1169: cvc-complex-type.2.4.a: Invalid content starting with element 'doi_data'. The content must match '(("http://www.crossref.org/schema/4.3.0":titles){1-20},("http://www.crossref.org/schema/4.3.0":contributors){0-1},("http://www.crossref.org/schema/4.3.0":publication_date){1-10},("http://www.crossref.org/schema/4.3.0":pages){0-1},("http://www.crossref.org/schema/4.3.0":publisher_item){0-1},("http://www.crossref.org/schema/4.3.0":crossmark){0-1},("http://www.crossref.org/schema/4.3.0":doi_data),("http://www.crossref.org/schema/4.3.0":citation_list){0-1},("http://www.crossref.org/schema/4.3.0":component_list){0-1})'.


and also DOI error response
<?xml version="1.0" encoding="UTF-8"?>
<doi_batch_diagnostic status="completed" sp="ds4.crossref.org">
<submission_id>1363643458</submission_id>
<batch_id>NQ_1389818591</batch_id>
<record_diagnostic status="Failure">
<doi />
<msg>org.crossref.common.xml.MalformedXmlException: Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'doi_data'. One of '{"http://www.crossref.org/schema/4.3.0":publication_date}' is expected.
</msg>
</record_diagnostic>
<batch_data>
<record_count>1</record_count>
<success_count>0</success_count>
<warning_count>0</warning_count>
<failure_count>1</failure_count>
</batch_data>
</doi_batch_diagnostic>


This is CrossReff's suggested samples:
http://www.crossref.org/schema/info/sam ... 0_samples/
I see both but I was not see any problem or differences with my eyes. :shock:

Or my be problem comes from Access >> Access status > Open access date. But all issues open access. :oops:

:(
crossref.xml
(21.65 KiB) Downloaded 45 times
Last edited by solty on Wed Jan 15, 2014 11:53 pm, edited 2 times in total.
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Wed Jan 15, 2014 2:17 pm

Alec,
I think that problem is XML problem, "Validation problem csvc-complex-type.2.4.a Invalid content - But element is in the list!"
There are same problems XML files:
http://www.oxygenxml.com/forum/topic6891.html
http://stackoverflow.com/questions/1979 ... nt-markupl
http://stackoverflow.com/questions/1519 ... ement-role
http://stackoverflow.com/questions/1846 ... -x-is-expe

As a result for me, Main problem: "cvc-complex-type.2.4.a: Invalid content starting with element 'doi_data'." for 2011-2010 issues' XML export .
But I don't understand and solved xml problem.

Best,
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby swing » Thu Jan 16, 2014 3:39 am

Hi Solty,

Some of your articles do miss the publication date. In your last XML file I found one -- the article 524, 'Ten Years of NeuroQuantology: A Long and Narrow Road'. After I inserted a 'publication_date' element in the XML file, the CrossRef validation worked. Thus, could you please also check all the other XML files i.e. articles. You can find the articles with the missing publication date also in the database -- in the table 'published_articles', column 'date_published' = NULL. See then the column 'article_id' to find the article. Please don't change the date in the database but as editor in the scheduling part on the article's 'Editing' page!!!

Best,
Bozana Bokan
swing
 
Posts: 142
Joined: Tue Oct 09, 2007 2:59 am

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Thu Jan 16, 2014 5:08 am

Ok. I will try... many thanks... :D :D :D :D
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby solty » Sat Jan 18, 2014 1:50 am

Many thanks. Worked fine for all articles and issues.
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: STEP BY STEP FOR USING CROSSREF

Postby cristianviza » Wed Jul 02, 2014 10:28 am

Hello . I have similars problems, in ojs 2.3.7 and I don't have idea how to fix it.
I export one article xml (attached .xml below)
error fragment:
<msg>org.crossref.common.xml.MalformedXmlException: Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_registrant'.
Error: cvc-type.3.1.3: The value '' of element 'registrant' is not valid.
Error: cvc-complex-type.2.4.b: The content of element 'journal_metadata' is not complete.

What is the mean of this "with length", "registrant" and "journal_metadata" problem? xml file seems is correct.

link full text error: https://docs.google.com/document/d/1efVonVlu7bQsywepd6G4G37QEdZL3k_S6Zwhg6tFa38/edit?usp=sharing


registrant: Crossref response
The log contains following error. Which means that the empty elements are not allowed, please provide value for <registrant/> and re-upload all failed files. We encourage publishers to review submission history after every deposit. You can use Reports tab from 'doi.crossref.org' to confirm if the DOI has been registered successfully or not.

<msg>org.crossref.common.xml.MalformedXmlException: Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type '#AnonType_registrant'.
Error: cvc-type.3.1.3: The value '' of element 'registrant' is not valid.



Regards Cristian
Attachments
crossref1.xml
xml for one article
(1.43 KiB) Downloaded 30 times
cristianviza
 
Posts: 75
Joined: Tue Nov 06, 2012 10:22 am
Location: Argentina

Re: STEP BY STEP FOR USING CROSSREF

Postby cristianviza » Wed Jul 02, 2014 11:00 am

The problem <registrant></registrant> sloved : viewtopic.php?f=2&t=7419#p31775. :)

other problems remain
cristianviza
 
Posts: 75
Joined: Tue Nov 06, 2012 10:22 am
Location: Argentina

PreviousNext

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests