Improve documentation when in multi-runtime
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 10 Mar 2024 11:28:12 +0000 (12:28 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 10 Mar 2024 11:28:12 +0000 (12:28 +0100)
org.argeo.api.acr/src/org/argeo/api/acr/RuntimeNamespaceContext.java

index fe50fd0c3b58058c55a16b0c3feef24486f64510..dc47493384adfbbc095221b6a7a43482d5f87236 100644 (file)
@@ -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.</br>
+ * </br>
+ * 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";