xoai
xoai copied to clipboard
OAI-PMH Java Toolkit
Just a note: for Dataverse also relying on this library, we have been hacking on it to create a new version 5.0 and are near to a first release on...
Giving the following response XML from an OAI repository: ``` ... ... ... ``` We get an error if we try to parse it using XOAI. `ERROR: 'The prefix "xsi"...
Hi all, Our tool has found several potential NPE bugs. 1. In the statement ```filters.add(new ScopedFilter(context.getSet(setSpec).getCondition(), Scope.Set));``` at line [168](https://github.com/DSpace/xoai/blob/xoai-4.1.0/xoai-data-provider/src/main/java/com/lyncode/xoai/dataprovider/handlers/helpers/ItemRepositoryHelper.java#L168), ```context.getSet(setSpec)``` may return null according to its definition at line...
I'm trying to parse the records list of a OAI Repository, but XOAI returns all records as empty records. This happens because the response namespace is declared as HTTPS. To...
I would like to implement a standalone oai-pmh version 2 data provider server using xoai 4.1.x without DSpace. Can anyone direct me to any documentation for doing this or to...
Stacktrace as follows: ``` Exception in thread "main" java.util.NoSuchElementException at org.codehaus.stax2.ri.Stax2EventReaderImpl.throwEndOfInput(Stax2EventReaderImpl.java:453) at org.codehaus.stax2.ri.Stax2EventReaderImpl.nextEvent(Stax2EventReaderImpl.java:242) at com.lyncode.xml.XmlReader.next(XmlReader.java:134) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:43) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:44) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:44) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:44) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:44) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:44) at org.dspace.xoai.serviceprovider.parsers.MetadataParser.parseElement(MetadataParser.java:44) at...
XOAI will try forever to connect to a OAI repository that is not available
Hello I get a MalformedByteSequenceException executing this: `String url = "http://www.investigacionesgeograficas.com/oai"; ``` OAIClient oaiClient = new HttpOAIClient(url); Context context; try { context = new Context() .withOAIClient(oaiClient) .withMetadataTransformer(FORMAT, KnownTransformer.OAI_DC); ServiceProvider underTest...
Provoking test case: ``` @Test public void listRecords() throws NoSetHierarchyException, BadArgumentException, HttpException { OAIClient oaiClient = new HttpOAIClient("http://www.ssoar.info/OAIHandler/request"); Context context = new Context() .withOAIClient(oaiClient) .withMetadataTransformer( "xoai", identity() ); ServiceProvider ssoarOaiPmhEndpoint...
Hello, I am trying to use xoai-data provider as the implementation of oai protocol. In version 3.x in order to map internal metadata format xoai to oai_dc oai_dc.xsl was used....