I am attempting to add elements to the DC datastream, but Fedora is
stripping away any schemes or qualifiers that I add. I assume that I am
not using the correct namespace, but Fedora is also stripping away any
additional namespaces I add.

As an example I would like to add various dates with qualifiers that
identify which date is being referenced, but all of my qualifiers are
being stripped off.

I'm sure this is possible with the proper syntax, but I am at a loss for
what that might be.

Any suggestions?

Thank you
Rich

-----Original Message-----
From: Franck Borel [mailto:franck.bo...@ub.uni-freiburg.de] 
Sent: Friday, January 27, 2012 8:35 AM
To: fedora-commons-users@lists.sourceforge.net
Subject: [fcrepo-user] oaiprovider: Identify.xml doesn't work

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

------------------------------------------------------------------------------
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