From d089dde1b4df95b51014e122fa0916291b433c05 Mon Sep 17 00:00:00 2001 From: Dave Waltermire Date: Mon, 22 Jul 2024 12:47:43 -0400 Subject: [PATCH] Added support for namespace bindings in modules and external constraints. --- .../metaschema-module-metaschema.xml | 11 ++++++++--- schema/xml/metaschema-meta-constraints.xsd | 1 + schema/xml/metaschema.xsd | 19 +++++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/schema/metaschema/metaschema-module-metaschema.xml b/schema/metaschema/metaschema-module-metaschema.xml index 0b9c143d..b80b818d 100644 --- a/schema/metaschema/metaschema-module-metaschema.xml +++ b/schema/metaschema/metaschema-module-metaschema.xml @@ -53,7 +53,7 @@ - + @@ -189,7 +189,7 @@ Metapath Namespace Declaration Assigns a Metapath namespace to a prefix for use in a Metapath expression in a lexical qualified name. - namespace + namespace-binding Metapath Namespace URI The namespace URI to bind to the prefix. @@ -1256,6 +1256,11 @@ A relative or absolute URI for retrieving an out-of-line Metaschema constraint definition. + + + + + @@ -1321,7 +1326,7 @@ metaschema-meta-constraints - + diff --git a/schema/xml/metaschema-meta-constraints.xsd b/schema/xml/metaschema-meta-constraints.xsd index 287eb2e1..ea0b74d5 100644 --- a/schema/xml/metaschema-meta-constraints.xsd +++ b/schema/xml/metaschema-meta-constraints.xsd @@ -11,6 +11,7 @@ + diff --git a/schema/xml/metaschema.xsd b/schema/xml/metaschema.xsd index d12822a4..fa16238b 100644 --- a/schema/xml/metaschema.xsd +++ b/schema/xml/metaschema.xsd @@ -45,6 +45,8 @@ + + @@ -80,6 +82,22 @@ + + + Assigns a Metapath namespace to a prefix for use in a Metapath expression in a lexical qualified name. + + + + The prefix that is bound to the namespace. + + + + + The namespace URI to bind to the prefix. + + + + @@ -1303,6 +1321,7 @@ +