diff --git a/schema/metaschema/metaschema-module-constraints.xml b/schema/metaschema/metaschema-module-constraints.xml index e5e04fc6..91346dc5 100644 --- a/schema/metaschema/metaschema-module-constraints.xml +++ b/schema/metaschema/metaschema-module-constraints.xml @@ -5,7 +5,7 @@ - + Index Module Short Names Ensures that the current and all imported modules have a unique short name. @@ -20,18 +20,18 @@ + test="exists($all-imports/define-assembly/root-name)"> Require Root Assembly for Top-Level Modules A top-level module, a module that is not marked as @abstract='yes', must have at least one assembly with a root-name. Unless marked as @abstract='yes', a Metaschema module (or an imported module) should have at least one assembly with a root-name. - + Require Unique Namespace Entries Ensures that all declared namespace entries are unique. - + Require Unique Namespace Entry Prefixes Ensures that all declared namespace entries have a unique prefix. @@ -54,7 +54,7 @@ - Avoid Deprecated Data Type Use @@ -66,13 +66,13 @@ - + Require Unique Namespace Entries Ensures that all declared namespace entries are unique. - + Require Unique Namespace Entry Prefixes Ensures that all declared namespace entries have a unique prefix. diff --git a/schema/metaschema/metaschema-module-metaschema.xml b/schema/metaschema/metaschema-module-metaschema.xml index 57fbec65..4bc4becc 100644 --- a/schema/metaschema/metaschema-module-metaschema.xml +++ b/schema/metaschema/metaschema-module-metaschema.xml @@ -1325,6 +1325,14 @@ Defines constraint rules to be applied to an existing set of Metaschema module-based models. metaschema-meta-constraints + + Declares a set of Metaschema constraints from an out-of-line resource to import, supporting composition of constraint sets. + + + A relative or absolute URI for retrieving an out-of-line Metaschema constraint definition. + + + diff --git a/schema/metaschema/sarif-module.xml b/schema/metaschema/sarif-module.xml index 450ca183..0bccfbe2 100644 --- a/schema/metaschema/sarif-module.xml +++ b/schema/metaschema/sarif-module.xml @@ -212,7 +212,7 @@ - + The value '{ . }' is not greater than or equal to '-1'. @@ -264,7 +264,7 @@ - + At least one id or text must be provided. @@ -281,7 +281,7 @@ Index The index within the run artifacts array of the artifact object associated with the artifact location. - + The index '{ . }' is not greater than or equal to '-1'. @@ -315,7 +315,7 @@ - + The id '{ . }' is not greater than or equal to '-1'. @@ -344,7 +344,7 @@ - + At least one address or artifactLocation must be provided. @@ -361,7 +361,7 @@ Index The index within the logical locations array. - + The index '{ . }' is not greater than or equal to '-1'. @@ -378,7 +378,7 @@ Parent Index Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type. - + The index '{ . }' is not greater than or equal to '-1'. @@ -417,7 +417,7 @@ Character Offset The zero-based offset from the beginning of the artifact of the first character in the region. - + The offset '{ . }' is not greater than or equal to '-1'. @@ -432,7 +432,7 @@ Byte Offset The zero-based offset from the beginning of the artifact of the first byte in the region - + The offset '{ . }' is not greater than or equal to '-1'. @@ -449,7 +449,7 @@ - + At least a startLine, charOffset, or byteOffset must be provided.