Hi German,

that is another issue already fixed on master (unbounded xml).

https://github.com/DSpace/DSpace/pull/813

This might work, but I am not 100% confident.
Try to build your local dspace by changing the xoai dependency:

- Go to dspace-oai/pom.xml
- Search for <xoai.version>3.2.7</xoai.version>
- Replace it with <xoai.version>3.2.9</xoai.version>

Then the usual build steps 'mvn clean package' & 'ant update_webapps'

On 29 December 2014 at 15:35, Germán Biozzoli <[email protected]>
wrote:

> Dear João
>
> Thanks! Now it's working OK, at least does not appear the 500 error and
> the xsl is correctly applied from server side.
>
> One more doubt: I'm trying to harvest from an older production instance
> (3.2 version). It says in both cases (oai_dc and qdc)  that the prefix
> oai_dc and qdc are not bound. Exactly the error is:
>
> Running: a harvest cycle on 855
> Initializing the harvester... Looking up by id: 855, parsed as '855', in
> context: org.dspace.core.Context@18e609b
> success.
> Harvest started...
> [Fatal Error] :1:1180: The prefix "qdc" for element "qdc:qualifieddc" is
> not bound.
> org.xml.sax.SAXParseException: The prefix "qdc" for element
> "qdc:qualifieddc" is not bound.
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> Source)
>
> But it looks that the root element has the appropiate namespace bounded,
> isn't it?
>
>
> <qdc:qualifieddc xmlns:qdc="http://dspace.org/qualifieddc/";
> xmlns:dc="http://purl.org/dc/elements/1.1/";
> xmlns:dcterms="http://purl.org/dc/terms/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
> http://purl.org/dc/elements/1.1/
> http://dublincore.org/schemas/xmls/qdc/2006/01/06/dc.xsd
> http://purl.org/dc/terms/
> http://dublincore.org/schemas/xmls/qdc/2006/01/06/dcterms.xsd
> http://dspace.org/qualifieddc/
> http://www.ukoln.ac.uk/metadata/dcmi/xmlschema/qualifieddc.xsd";>
>
> Any (other) idea?
> Regards & thanks again
> Germán
>
>
>
> 2014-12-29 9:06 GMT-03:00 João Melo <[email protected]>:
>
> Hi German,
>>
>> just a quick heads up on this. The QDC xsl definition was actually wrong,
>> there was no root element. The exception being thrown was due to the
>> invalid xml generated.
>>
>> You can easily fix the issue by replacing the qdc.xsl file by the
>> following one https://gist.github.com/lyncodev/a384da4cefc751158315
>>
>> Regards,
>> Joao
>>
>> On 29 December 2014 at 09:49, helix84 <[email protected]> wrote:
>>
>>> I was able to confirm the bug and I created a Jira issue. For further
>>> conversation, please watch the issue:
>>>
>>> https://jira.duraspace.org/browse/DS-2386
>>>
>>>
>>> Regards,
>>> ~~helix84
>>>
>>> Compulsory reading: DSpace Mailing List Etiquette
>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Dive into the World of Parallel Programming! The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>>> a
>>> look and join the conversation now. http://goparallel.sourceforge.net
>>> _______________________________________________
>>> 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
>>>
>>
>>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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