From dada33c3fb94af7295f3273e65e69e46aff97007 Mon Sep 17 00:00:00 2001 From: Zahraa Chreim Date: Thu, 12 Dec 2024 15:18:28 +0200 Subject: [PATCH] 116402: Add quotes to labelTemplate --- .../dspace/content/authority/DSpaceControlledVocabulary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dspace-api/src/main/java/org/dspace/content/authority/DSpaceControlledVocabulary.java b/dspace-api/src/main/java/org/dspace/content/authority/DSpaceControlledVocabulary.java index 7d69f81d1279..56f53fc4afaf 100644 --- a/dspace-api/src/main/java/org/dspace/content/authority/DSpaceControlledVocabulary.java +++ b/dspace-api/src/main/java/org/dspace/content/authority/DSpaceControlledVocabulary.java @@ -63,7 +63,7 @@ public class DSpaceControlledVocabulary extends SelfNamedPlugin implements Hiera protected static String xpathTemplate = "//node[contains(translate(@label,'ABCDEFGHIJKLMNOPQRSTUVWXYZ'," + "'abcdefghijklmnopqrstuvwxyz'),%s)]"; protected static String idTemplate = "//node[@id = '%s']"; - protected static String labelTemplate = "//node[@label = %s]"; + protected static String labelTemplate = "//node[@label = '%s']"; protected static String idParentTemplate = "//node[@id = '%s']/parent::isComposedBy/parent::node"; protected static String rootTemplate = "/node"; protected static String idAttribute = "id";