Hello!
I have had this error when running the item importer. I do not see what is wrong with the corresponding XML file which appears to be the cause (see below for the XML)
On execution:
=====
[the 3 first items are OK]...
3 004
org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:635)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1309)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:123)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:191)
at org.dspace.app.itemimport.ItemImport.loadXML(ItemImport.java:584)
at org.dspace.app.itemimport.ItemImport.loadDublinCore(ItemImport.java:396)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:309)
at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:215)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:175)
org.xml.sax.SAXParseException: The reference to entity "D" must end with the ';' delimiter.
=====
The XML file:
=====
<?xml version="1.0" encoding="UTF-8"?>
<dublin_core>
<dcvalue element="contributor" qualifier="author">Alj, Hakim</dcvalue>
<dcvalue element="contributor" qualifier="author">Benyoucef, Morad</dcvalue>
<dcvalue element="contributor" qualifier="author">Keller, Rudolf K</dcvalue>
<dcvalue element="contributor" qualifier="author">Levy, Kim</dcvalue>
<dcvalue element="title" qualifier="none">A Rule-driven Approach for Defining the Behavior of Negotiating Software Agents</dcvalue>
<dcvalue element="date" qualifier="issued">2002-03</dcvalue>
</dublin_core>
=====
I do not see what is the entity the error message is referring to.
I also have another question: if I re-run the item importer with the same data set (once the problem is solved), do I have to first remove from the set the three items which were correctly imported or will the importer manage those items already loaded?
Thanks!
---
Luc Grondin
Analyste en gestion de l'information numérique
SERTI - DGTIC, Université de Montréal
téléphone:
(514) 343-6111 p. 3988 - télécopieur:
(514) 343-2155