From 0aabccff4c278951513984167bf893b27fa16f65 Mon Sep 17 00:00:00 2001 From: James Dempsey Date: Mon, 26 Aug 2024 10:36:35 +1000 Subject: [PATCH] reg: update location of OAI-PMH.xsd Addresses issue #185 --- reg/src/main/java/org/opencadc/reg/oai/OAIWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reg/src/main/java/org/opencadc/reg/oai/OAIWriter.java b/reg/src/main/java/org/opencadc/reg/oai/OAIWriter.java index a47fb62..8d7e016 100644 --- a/reg/src/main/java/org/opencadc/reg/oai/OAIWriter.java +++ b/reg/src/main/java/org/opencadc/reg/oai/OAIWriter.java @@ -161,7 +161,7 @@ private Document createEnvelopeOAI(URL oaiEndpoint, String oaiRequest) { //root.addNamespaceDeclaration(xsd); root.addNamespaceDeclaration(xsi); root.setAttribute("schemaLocation", - "http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd", xsi); + "http://www.openarchives.org/OAI/2.0/ https://www.openarchives.org/OAI/2.0/OAI-PMH.xsd", xsi); Document ret = new Document(); ret.addContent(root);