From 0d2a2051109bf67482ca926df2a275838c6ebf12 Mon Sep 17 00:00:00 2001 From: Steve Jamieson Date: Tue, 13 Jan 2015 14:20:57 -0600 Subject: [PATCH] Fix for OpenURL 0.1 resolver detection The discoverResolvers function was looking for the wrong XML tag name representing OpenURL version 0.1 in the response from the WorldCat Registry --- chrome/content/zotero/xpcom/openurl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/openurl.js b/chrome/content/zotero/xpcom/openurl.js index 941288307a..73210e5e6a 100644 --- a/chrome/content/zotero/xpcom/openurl.js +++ b/chrome/content/zotero/xpcom/openurl.js @@ -74,7 +74,7 @@ Zotero.OpenURL = new function() { if(resolver.getElementsByTagName("Z39.88-2004").length > 0) { var version = "1.0"; - } else if(resolver.getElementsByTagName("OpenUrl 0.1").length > 0) { + } else if(resolver.getElementsByTagName("OpenURL_0.1").length > 0) { var version = "0.1"; } else { continue;