Hi,

It certainly looks like it. However I can’t locate the corresponding code in 
the DSpace source (the link seems to be to a separate XOAI repo).

I am probably just showing my ignorance.

Thanks,

Robin




On 25 Jun 2014, at 8:25 pm, Ondřej Košarko 
<kosa...@ufal.mff.cuni.cz<mailto:kosa...@ufal.mff.cuni.cz>> wrote:

Hey,
Isn't this the bug described in https://jira.duraspace.org/browse/DS-1959 ?

Regards,
OK


2014-06-25 2:16 GMT+02:00 João Melo 
<jm...@lyncode.com<mailto:jm...@lyncode.com>>:
Hi Robin,

yes, those namespaces should be in the output and are, currently, missing.
That's a bug, a major bug.

I'm going to take care of that one. I'm going to create a jira issue to track 
this one.



On 24 June 2014 23:27, Robin Harper 
<robin.har...@barnet.com.au<mailto:robin.har...@barnet.com.au>> wrote:
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
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to