Dear All,
I am experiencing another error when harvesting. I have control on both the
harvesting server and the OAI provider. When running dspace harvest -r -e
eperson -c collection_handle from the command line, it is giving me this
message:
[Fatal Error] :53:3: The element type "link" must be terminated by the
matching
end-tag "</link>".
And then the command line seems to hang. The harvesting server send an
email message with this content:
Collection cc169410-c2d3-4924-a2ce-e56bdf2a06fd failed on harvest:
Date: 9/13/18 2:28 PM
Status Flag: -1
The element type "link" must be terminated by the matching end-tag
"</link>".
Exception:
org.xml.sax.SAXParseException; lineNumber: 53; columnNumber: 3; The element
type "link" must be terminated by the matching end-tag "</link>".
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at ORG.oclc.oai.harvester2.verb.HarvesterVerb.harvest(
HarvesterVerb.java:260)
at ORG.oclc.oai.harvester2.verb.HarvesterVerb.<init>(
HarvesterVerb.java:183)
at ORG.oclc.oai.harvester2.verb.Identify.<init>(Identify.java:48)
at org.dspace.harvest.OAIHarvester.oaiGetDateGranularity(
OAIHarvester.java:738)
at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:251)
at org.dspace.app.harvest.Harvest.runHarvest(Harvest.java:434)
at org.dspace.app.harvest.Harvest.main(Harvest.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
ScriptLauncher.java:229)
at org.dspace.app.launcher.ScriptLauncher.main(
ScriptLauncher.java:81)
While in the dspace log, the error is:
2018-09-13 14:28:17,872 ERROR org.dspace.harvest.OAIHarvester @ Error
occurred while generating an OAI response: The element type "link" must be
terminated by the matching end-tag "</link>". null
org.xml.sax.SAXParseException; lineNumber: 53; columnNumber: 3; The element
type "link" must be terminated by the matching end-tag "</link>".
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
ORG.oclc.oai.harvester2.verb.HarvesterVerb.harvest(HarvesterVerb.java:260)
at
ORG.oclc.oai.harvester2.verb.HarvesterVerb.<init>(HarvesterVerb.java:183)
at ORG.oclc.oai.harvester2.verb.Identify.<init>(Identify.java:48)
at
org.dspace.harvest.OAIHarvester.oaiGetDateGranularity(OAIHarvester.java:738)
at org.dspace.harvest.OAIHarvester.runHarvest(OAIHarvester.java:251)
at org.dspace.app.harvest.Harvest.runHarvest(Harvest.java:434)
at org.dspace.app.harvest.Harvest.main(Harvest.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
Then I tried to harvest the collection in demo.dspace.org server with the
same settings and the harvest is successful. So I assumed that there is
nothing wrong in the OAI provider side but with the harvesting server.
Please advise on where should I look to fix the unterminated tag that is
mentioned in the messages above. I did not change anything in the oai.cfg
but I added oai.harvester.eperson in my local.cfg.
Thanks in advance,
euler
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.