From f0f342072b85e1d97e79ef2148f7501f1bd646cd Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Sun, 10 Mar 2024 12:28:12 +0100 Subject: [PATCH] Improve documentation when in multi-runtime --- .../src/org/argeo/api/acr/RuntimeNamespaceContext.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/org.argeo.api.acr/src/org/argeo/api/acr/RuntimeNamespaceContext.java b/org.argeo.api.acr/src/org/argeo/api/acr/RuntimeNamespaceContext.java index fe50fd0c3..dc4749338 100644 --- a/org.argeo.api.acr/src/org/argeo/api/acr/RuntimeNamespaceContext.java +++ b/org.argeo.api.acr/src/org/argeo/api/acr/RuntimeNamespaceContext.java @@ -12,8 +12,12 @@ import javax.xml.namespace.NamespaceContext; /** * Programmatically defined {@link NamespaceContext}, which is valid at runtime * (when the software is running). Code contributing namespaces MUST register - * here with a single default prefix, nad MUST make sure that stored data - * contains the fully qualified namespace URI. + * here with a single default prefix, and MUST make sure that stored data + * contains the fully qualified namespace URI.
+ *
+ * All environments sharing the classloader of this class MUST use strictly the + * same default prefix / namespace mappings, as a static reference to the + * mapping is kept. */ public class RuntimeNamespaceContext implements NamespaceContext { public final static String XSD_DEFAULT_PREFIX = "xs"; -- 2.30.2