Hi folks,

I am attempting to install the OAIProvider Service on Fedora. I created 
a Identity.xml and placed this file under /opt/tomcat/webapps/oaiprovider.

I receiving an error when attempting to call 
http://localhost/oaiprovider/?verb=Identify:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://dilbert.ub.uni-freiburg.de/oaiprovider/?verb=Identify
Line Number 8, Column 1:<?xml version="1.0" encoding="UTF-8"?>
^

My identify.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<Identify>
   <repositoryName>UB Freiburg</repositoryName>
   <baseURL>http://dilbert.ub.uni-freiburg.de/proai</baseURL>
   <protocolVersion>2.0</protocolVersion>
   <adminEmail>e...@ub.uni-freiburg.de</adminEmail>
   <earliestDatestamp>2001-01-01T00:00:00Z</earliestDatestamp>
   <deletedRecord>no</deletedRecord>
   <granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
   <description>
     <oai-identifier xsi:schemaLocation="http://www.openarchives.org 
/OAI/2.0/oai-identifier 
http://www.openarchives.org/OAI/2.0/oai-identifier.xsd";>
       <scheme>oai</scheme>
       <repositoryIdentifier>ub.uni-freiburg.de</repositoryIdentifier>
       <delimiter>:</delimiter>
       <sampleIdentifier>oai:ub.uni-freiburg.de:123</sampleIdentifier>
       </oai-identifier>
     </description>
</Identify>

I tested the file with "file Identify.xml".

I don't know if this is right way to set up the identify.xml. I have 
read that this Identify.xml may need to be manually created as a 
datastream.

Have a nice day!

-- Franck



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to