Skip to content

Commit

Permalink
schema version correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ffritze committed Jul 31, 2024
1 parent 62867f2 commit faa2638
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class OpenAireExportUtil {
private static final Logger logger = Logger.getLogger(OpenAireExportUtil.class.getCanonicalName());

public static String XSI_NAMESPACE = "http://www.w3.org/2001/XMLSchema-instance";
public static String SCHEMA_VERSION = "4.1";
public static String SCHEMA_VERSION = "4.5";
public static String RESOURCE_NAMESPACE = "http://datacite.org/schema/kernel-4";
public static String RESOURCE_SCHEMA_LOCATION = "http://schema.datacite.org/meta/kernel-4.5/metadata.xsd";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void testGetXMLNameSpace() throws Exception {
public void testGetXMLSchemaLocation() throws Exception {
System.out.println("getXMLSchemaLocation");
OpenAireExporter instance = new OpenAireExporter();
String expResult = "http://schema.datacite.org/meta/kernel-4.1/metadata.xsd";
String expResult = "http://schema.datacite.org/meta/kernel-4.5/metadata.xsd";
String result = instance.getXMLSchemaLocation();
assertEquals(expResult, result);
}
Expand All @@ -197,7 +197,7 @@ public void testGetXMLSchemaLocation() throws Exception {
public void testGetXMLSchemaVersion() throws Exception {
System.out.println("getXMLSchemaVersion");
OpenAireExporter instance = new OpenAireExporter();
String expResult = "4.1";
String expResult = "4.5";
String result = instance.getXMLSchemaVersion();
assertEquals(expResult, result);
}
Expand Down

0 comments on commit faa2638

Please sign in to comment.