Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMDI crosswalk is not working #610

Closed
milanmajchrak opened this issue Apr 8, 2024 · 5 comments
Closed

CMDI crosswalk is not working #610

milanmajchrak opened this issue Apr 8, 2024 · 5 comments
Assignees

Comments

@milanmajchrak
Copy link
Collaborator

2024-04-04 09:15:00,636 ERROR unknown d4bd6bdf-f670-4367-b9c4-246fedfb558b org.dspace.xoai.controller.DSpaceOAIDataProvider @ A sequence of more than one item is not allowed as the first argument of fn:starts-with() ("#1-EuroMatrix Plus", "#2-Faust") 
com.lyncode.xoai.dataprovider.exceptions.OAIException: A sequence of more than one item is not allowed as the first argument of fn:starts-with() ("#1-EuroMatrix Plus", "#2-Faust") 
	at com.lyncode.xoai.dataprovider.handlers.ListRecordsHandler.createRecord(ListRecordsHandler.java:168) ~[xoai-3.4.0.jar:3.4.0]
	at com.lyncode.xoai.dataprovider.handlers.ListRecordsHandler.handle(ListRecordsHandler.java:124) ~[xoai-3.4.0.jar:3.4.0]
	at com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.java:213) ~[xoai-3.4.0.jar:3.4.0]
	at org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:131) [dspace-oai-7.6.1.jar:7.6.1]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
@MajoBerger
Copy link

The CMDI crosswalk must be reworked, to show the information correctly, as is the case in ufal.

@MajoBerger
Copy link

I expect there are plethora of similar problems. We should make automated tests to see each file individually, or each collection, compare with current lindat, see the differences... Otherwise we cannot be even remotely sure this works. There are plenty possibilities for more edge cases that were not expected. This system is fragile. In certain places it can require special character, certain (most?) metadata fields cannot be duplicated and when they are, this error happens etc. etc.

Needs a lot of work to be even remotely confident in this functionality.

@MajoBerger
Copy link

find out more, why, how, what are the possibilities

@MajoBerger
Copy link

set max identifiers to more, to test all the items at once :) on top of xoai.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants