<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman",serif;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Times New Roman",serif;
        mso-fareast-language:EN-ZW;
        font-weight:bold;}
span.personname
        {mso-style-name:person_name;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-ZW link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am trying to import an XML formatted file in Eprints as outlines in <a href="http://www.nottingham.ac.uk/~uazmjg/eprints/archives/000074.html">http://www.nottingham.ac.uk/~uazmjg/eprints/archives/000074.html</a> . Below is the file that I have created using the XML::Writer from metadata harvested from an OAI-compliant repository using the &nbsp;Net::OAI::Harvester .<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p class=MsoNormal>&lt;eprints&gt;<o:p></o:p></p><p class=MsoNormal>&lt;record&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;userid&quot;&gt;1&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;datestamp&quot;&gt;2010-07-26&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;type&quot;&gt;article&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;title&quot;&gt;State - Civil Relations and Economic Management: the contribution of the Institute of Development Studies, University of Zimbabwe&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;creators&quot;&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part name=&quot;given&quot;&gt;Donald&lt;/part&gt;<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;part name=&quot;family&quot;&gt;Chimanikire&lt;/part&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;divisions&quot;&gt;universities&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;keywords&quot;&gt;civil society&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;keywords&quot;&gt;state relations&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;keywords&quot;&gt;economic management&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;keywords&quot;&gt;Southern Africa&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;keywords&quot;&gt;Zimbabwe&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;eprint_status&quot;&gt;archive&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;metadata_visibility&quot;&gt;show&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;full_text_status&quot;&gt;none&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;URL&quot;&gt;http://hdl.handle.net/10646/8&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;field name=&quot;abstract&quot;&gt;Paper presented at a National Workshop sponsored by OSSREA on &quot;Promoting Good Governance and Wider Civil Society Participation in Eastern and Southern Africa: The Case of Zimbabwe&quot;, 15 September 2000&lt;/field&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/record&gt;<o:p></o:p></p><p class=MsoNormal>&lt;/eprints&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Now when I import using the command<span style='font-family:"Courier New"'> &nbsp;&nbsp;&nbsp;./bin/import&nbsp;&nbsp; researchdatabase&nbsp; --verbose&nbsp;&nbsp;&nbsp; --user 1&nbsp; archive&nbsp; XML&nbsp; output.xml</span><o:p></o:p></p><p class=MsoNormal>Where output.xml is the file with the xml that is shown above, I get the following message:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Use of qw(...) as parentheses is deprecated at /usr/share/eprints3/bin/../perl_lib/Apache/DBI.pm line 264.<o:p></o:p></p><p class=MsoNormal>Use of qw(...) as parentheses is deprecated at /usr/share/eprints3/bin/../perl_lib/Apache/DBI.pm line 288.<o:p></o:p></p><p class=MsoNormal>&quot;my&quot; variable $basename masks earlier declaration in same scope at /usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Secret.pm line 169.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Starting EPrints Repository.<o:p></o:p></p><p class=MsoNormal>Connecting to DB ... done.<o:p></o:p></p><p class=MsoNormal>Number of records imported: 1<o:p></o:p></p><p class=MsoNormal>525<o:p></o:p></p><p class=MsoNormal>Ending EPrints Repository.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>However, on &nbsp;accessing the record 525, the record has no metadata values that were in the file output.xml. It only contains the auto-generated metadata fields<o:p></o:p></p><h1><span style='font-size:12.0pt'>Article #525 <o:p></o:p></span></h1><p style='margin-bottom:12.0pt'>UNSPECIFIED <em>UNSPECIFIED</em> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'>Full text not available from this Research Database. <o:p></o:p></span></p><table class=MsoNormalTable border=0 cellpadding=0><tr><td style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal align=right style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;text-align:right'><b><span style='font-size:12.0pt'>Publication Type:<o:p></o:p></span></b></p></td><td style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm'><span style='font-size:12.0pt'>Article <o:p></o:p></span></p></td></tr><tr><td style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal align=right style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;text-align:right'><b><span style='font-size:12.0pt'>Submitting User:<o:p></o:p></span></b></p></td><td valign=top style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm'><span class=personname><span style='font-size:12.0pt'>Mr. Research Administrator</span></span><span style='font-size:12.0pt'> <o:p></o:p></span></p></td></tr><tr><td style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal align=right style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;text-align:right'><b><span style='font-size:12.0pt'>Date Submitted:<o:p></o:p></span></b></p></td><td valign=top style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm'><span style='font-size:12.0pt'>26 Feb 2015 18:21<o:p></o:p></span></p></td></tr><tr><td style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal align=right style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;text-align:right'><b><span style='font-size:12.0pt'>Last Modified:<o:p></o:p></span></b></p></td><td valign=top style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm'><span style='font-size:12.0pt'>26 Feb 2015 18:21<o:p></o:p></span></p></td></tr><tr><td style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal align=right style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;text-align:right'><b>URI:<o:p></o:p></b></p></td><td valign=top style='padding:2.25pt 2.25pt 2.25pt 2.25pt'><p class=MsoNormal style='mso-margin-top-alt:12.0pt;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm'><a href="http://rczproject.uz.ac.zw/id/eprint/525">http://rczproject.uz.ac.zw/id/eprint/52</a><o:p></o:p></p></td></tr></table><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p class=MsoNormal>I will appreciate any pointers as to where I am getting it wrong.<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'>Kind Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'>Admire Mutsikiwa (Mr)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'>ICT Manager<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'>Libraries<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'>University of Zimbabwe<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'><a href="Tel:+263-4-303276">Tel:+263-4-303276</a><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'>Mob:+263782476883<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZW'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:9.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-ZW'>&#8220;It is easy to dodge our responsibilities, but we cannot dodge the consequences of dodging our responsibilities.&#8221;&nbsp; </span></b><span style='mso-fareast-language:EN-ZW'><a href="http://www.goodreads.com/author/show/4867406.Josiah_Charles_Stamp">Josiah Charles Stamp</a></span><b><span style='font-size:9.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-ZW'><o:p></o:p></span></b></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>