OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Unable to validate coding

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Unable to validate coding

Postby CharlieJ » Fri Sep 27, 2013 10:04 am

Never had a problem with scripts like this before, but now I can no longer validate this code in any of the standard validators.
They are unable access pkp.sfu.ca/ojs/dtds/native.dtd
Any ideas what is happening?
--Ch

<?xml version="1.0" ?>
<!DOCTYPE html issue PUBLIC "-//PKP//OJS Articles and Issues XML//EN" "http://pkp.sfu.ca/ojs/dtds/native.dtd">
<issue published="false" current="false" identification="title">
<title>Encounter Vol 13 No 4 (2001)</title>
<volume>13</volume>
<number>4</number>
<year>2000</year>
<date_published>2000-12-15</date_published>

<section>
<title locale="en_US">Articles</title>
<abbrev locale="en_US">ART</abbrev>
<article>
<title locale="en_US">Encounter 13(4) Full Issue PDF</title>
<abstract locale="en_US">Entire Issue in PDF Format</abstract>
<pages>1-63</pages>
<date_published>2000-12-15</date_published>
<author primary_contact="true">
<firstname>Jeffrey</firstname>
<middlename><![CDATA[ ]]></middlename>
<lastname>Kane</lastname>
<email><![CDATA[ ]]></email>
</author>
<galley>
<label>PDF</label>
<file><href mime_type="application/pdf" src="http://ojs.great-ideas.org/Encounter/Encounter134.pdf" />
</file>
</galley>
</article>
CharlieJ
 
Posts: 33
Joined: Sun Oct 24, 2010 2:44 pm

Re: Unable to validate coding

Postby asmecher » Fri Sep 27, 2013 10:24 am

Hi CharlieJ,

We've recently moved websites and are still fixing broken links here and there. We'll replace the DTD shortly. Meanwhile, you can use the copy distributed with your OJS installation.

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

Re: Unable to validate coding

Postby CharlieJ » Fri Sep 27, 2013 1:04 pm

Alec,
Also am unable to upload the xml file using the Journal Manager/Articles and Issues Import dialogue. Is it a simple matter of changing "http://pkp.sfu.ca/ojs/dtds/native.dtd" to the new site?
Ch
CharlieJ
 
Posts: 33
Joined: Sun Oct 24, 2010 2:44 pm

Re: Unable to validate coding

Postby asmecher » Fri Sep 27, 2013 4:31 pm

Hi Charlie,

The missing DTD (which has been fixed, by the way) shouldn't affect the upload. Do you get an error message? Have you tried validating the file (either against the local DTD or against the live version on the PKP website)?

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


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests