From 9d28a99b2d219fe40eb73bb19f4a504454cc63eb Mon Sep 17 00:00:00 2001 From: Ian Young Date: Tue, 29 Apr 2014 14:54:07 +0000 Subject: [PATCH] Add very basic but generic ruleset for mdattr (entity attributes) specification. --- mdx/_rules/check_mdattr.xsl | 70 +++++++++++++++++++++++++++++++++++++ mdx/validation-beans.xml | 21 +++++++++++ 2 files changed, 91 insertions(+) create mode 100644 mdx/_rules/check_mdattr.xsl diff --git a/mdx/_rules/check_mdattr.xsl b/mdx/_rules/check_mdattr.xsl new file mode 100644 index 00000000..f5782d52 --- /dev/null +++ b/mdx/_rules/check_mdattr.xsl @@ -0,0 +1,70 @@ + + + + + + + + + + + EntityAttributes must only appear within an Extensions element + + + + + EntityAttributes must only appear within Extensions of EntityDescriptor or EntitiesDescriptor + + + + + + + Assertion may not appear in the EntityAttributes for an EntitiesDescriptor + + + + + + + more than one EntityAttributes element in an Extensions element + + + + diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index 540b66eb..c5f5a995 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -303,6 +303,26 @@ + + + + + + + + + + +