Forgive me if this should really go into dspace-devel

I am having problems with OAI, and unspecified errors if I try and harvest from 
the 5.0-snapshot dspace I am using.

Using a browser to query the OAI all looks well (although different from the 
demo.dspace) until I send a command like this.

/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=col_11003_2946

Then I get in the browser (firefox)

 XML Parsing Error: prefix not bound to a namespace
Location: 
http://dspace.barnet.com.au:8080/oai/request?verb=ListRecords&metadataPrefix=oai_dc&set=col_11003_2946
Line Number 1, Column 707:

 (Safari just fails quietly.)

I *think* the problem is that I am missing some headers:

Before each record I have


<metadata><oai_dc:dc 
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ 
http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>
<dc:title>Some title</dc:title>

But I think there should be more there for instance demo.dspace has

<metadata><oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"; 
xmlns:doc="http://www.lyncode.com/xoai"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:dc="http://purl.org/dc/elements/1.1/"; 
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ 
http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>

I can probably fix this - if its the right problem, but just wondered if it was 
a known problem with a known fix? I may be misreading it, but none of the pull 
requests in the jira appear to be on point.

Thanks

Robin

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to