diff --git a/build/check_mdrpi.xsl b/build/check_mdrpi.xsl new file mode 100644 index 00000000..0588f005 --- /dev/null +++ b/build/check_mdrpi.xsl @@ -0,0 +1,160 @@ + + + + + + + + + + + RegistrationInfo must only appear within an Extensions element + + + + + RegistrationInfo must only appear within Extensions of EntityDescriptor or EntitiesDescriptor + + + + + + + more than one RegistrationInfo element in one Extensions element + + + + + + + RegistrationInfo may not appear on both EntitiesDescriptor and child elements + + + + + + + + + + + + + + + + + + + + + + non-unique lang values on + + elements + + + + + + + + + PublicationInfo must only appear within an Extensions element + + + + + PublicationInfo must only appear within Extensions of EntityDescriptor or EntitiesDescriptor + + + + + + + PublicationInfo must be within document element's Extensions + + + + + + + more than one PublicationInfo element in one Extensions element + + + + + + + + misspelled or misplaced mdrpi element within md:Extensions: + + + + + + diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index ed6b8133..65c1d83e 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -126,6 +126,44 @@ + + + + + + + + + + + + + + + + + + + + + +