From dba06402933f444089fba89bea0076a41b209db1 Mon Sep 17 00:00:00 2001
From: gmantele <gmantele@ari.uni-heidelberg.de>
Date: Thu, 24 Aug 2017 11:35:49 +0200
Subject: [PATCH] [TAP] Fix the ObsCore 1.1's IVO-ID. The previous fix was made
 against the ObsCore-DM 1.1 because the given IVO-ID was rejected by EuroVO
 registry. Now that EuroVO registry has fixed its IVO-ID rule, the IVO-ID of
 ObsCore 1.1 is accepted. Hence this commit.

---
 src/tap/resource/TAP.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tap/resource/TAP.java b/src/tap/resource/TAP.java
index c766053..e8fa139 100644
--- a/src/tap/resource/TAP.java
+++ b/src/tap/resource/TAP.java
@@ -708,7 +708,7 @@ public class TAP implements VOSIResource {
 			}
 			// Finally add the appropriate DM declaration:
 			if (hasAllXel == 31) // 2^5 - 1 =  0001 1111
-				xml.append(linePrefix + "<dataModel ivo-id=\"ivo://ivoa.net/std/ObsCore/v1.1\">ObsCore-1.1</dataModel>\n");
+				xml.append(linePrefix + "<dataModel ivo-id=\"ivo://ivoa.net/std/ObsCore#core-1.1\">ObsCore-1.1</dataModel>\n");
 			else
 				xml.append(linePrefix + "<dataModel ivo-id=\"ivo://ivoa.net/std/ObsCore/v1.0\">ObsCore-1.0</dataModel>\n");
 		}
-- 
GitLab